I'm backporting some applications from Cooker, Mandriva's developing version, on Gdium and I run into some problems. Some applications fails at compilation time, due to dumbness in original specfiles, but some others fails about some Gdium specific issue. For instance, libxml2-config --libs returns null, whereas linux32 libxl2-config --libs returns -lxml2 -lm -lz. In fact, it appears that some apps must be compiled with a linux32 prefix !
I've also installed ccache on my development environnement, which allows caching for .o files before linking. rpmbuild always starts by removing the precdent BUILD tree, so if rpm packaging failed about a missing man page, you must re-compile the whole package. ccache is then great for speeding-up the re-compilation process. To enable ccache, just install it and then change a bit your path, to be sure, ccache is used :
urpmi ccache
export PATH=/sbin:/usr/sbin:/usr/X11R6/bin:/bin:/usr/lib/ccache/bin:/usr/bin:/usr/local/bin:/root/bin:/usr/lib/qt4/bin
ccache -M 2G
Post new comment