Hi I'm running:
make install DESTDIR=$PWD/live This takes 41 seconds. That is, after immediately running the same command. Most of the time seems to be spent on libtool's decision to relink modules. /bin/sh ../libtool --mode=install /usr/bin/install -c 'res_adsi.la' '/home/tzafrir/Proj/CallWeaver/Git/live/usr/local/lib/callweaver/modules/res_adsi.la' libtool: install: warning: relinking `res_adsi.la' (cd /home/tzafrir/Proj/CallWeaver/Git/res; /bin/sh ../libtool --tag=CC --mode=relink gcc -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -module -avoid-version -no-undefined -o res_adsi.la -rpath /usr/local/lib/callweaver/modules res_adsi.lo ../corelib/libcallweaver.la -lrt -lresolv -lpthread -lnsl -lreadline -lncurses -lm -ldb -lc -inst-prefix-dir /home/tzafrir/Proj/CallWeaver/Git/live) gcc -shared .libs/res_adsi.o -Wl,--rpath -Wl,/usr/local/lib/callweaver -L/home/tzafrir/Proj/CallWeaver/Git/live/usr/local/lib/callweaver -L/usr/local/lib/callweaver -lcallweaver -lrt -lresolv -lpthread -lnsl -lreadline -lncurses -lm -ldb -lc -Wl,-soname -Wl,res_adsi.so -o .libs/res_adsi.so /usr/bin/install -c .libs/res_adsi.soT /home/tzafrir/Proj/CallWeaver/Git/live/usr/local/lib/callweaver/modules/res_adsi.so The same basically repeats for every module. Now this is a very bad thing if I want to create a binary package: installing to a destdir involves a different linking command than the one used for building on the system. (Ah, and rpath is used. This one should be killed as well before getting into a package: http://wiki.debian.org/RpathIssue ) -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir _______________________________________________ Callweaver-dev mailing list [email protected] http://lists.callweaver.org/mailman/listinfo/callweaver-dev
