| The following commands fail attempting to build httrack on Mac OS X 10.4.3 w/
GCC 4.0.1
./configure --prefix=/usr/local/stow/httrack
make
make install DESTROOT=/tmp/destroot
Specifically, it fails with the message:
----
(cd /tmp/httrack-3.33.16/libtest; /bin/sh ../libtool --mode=relink gcc -g -O2
-L../src -L/usr/lib -o liblistlinks.la -rpath
/usr/local/stow/httrack/lib/httrack -version-info 1:0:0
callbacks-example-listlinks.lo -lpthread -lhttrack -lz -inst-prefix-dir
/Users/brian/dev/ports/httrack/temp/httrack-3.33.16/destdir)
gcc -dynamiclib -flat_namespace -undefined suppress -o
.libs/liblistlinks.1.0.0.dylib callbacks-example-listlinks.lo
-L/Users/brian/dev/ports/httrack/temp/httrack-3.33.16/src -L/usr/lib -lpthread
/usr/local/stow/httrack/lib/libhttrack.dylib -lz -lc -install_name
/usr/local/stow/httrack/lib/httrack/liblistlinks.1.dylib
-compatibility_version 2 -current_version 2.0
powerpc-apple-darwin8-gcc-4.0.1: /usr/local/stow/httrack/lib/libhttrack.dylib:
No such file or directory
libtool: install: error: relink `liblistlinks.la' with the above command
before installing it
make[2]: *** [install-pkglibLTLIBRARIES] Error 1
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
----
It looks like it's attempting to rebuild a library during the install phase
(naughty) and use the library from it's prefix location instead of the
destroot location (which just doesn't work). | |