pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

postgresql83(-client) failing to build on OS X 10.5 (Leopard)



Recent attempts to build databases/postgresql83 (and -82) are failing
whilst building databases/postgresql83-client:

libtool  --mode=link gcc -no-cpp-precomp -L../../../../src/port -L/usr/pkg/lib 
-L/usr/lib    -rpath /usr/pkg/lib -version-info 3:0 -o libecpg_compat.la 
informix.lo -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes 
../../../../src/interfaces/libpq/libpq.la -lm -lpthread
*** [buildlink3] Warning: libtool replaced -lecpg with ../ecpglib/libecpg.la
*** [buildlink3] Warning: libtool replaced -lpgtypes with 
../pgtypeslib/libpgtypes.la
gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o 
.libs/libecpg_compat.3.0.0.dylib  .libs/informix.o  
-L/Volumes/pkgsrc/pkgsrc/databases/postgresql83-client/work/postgresql-8.3.5/src/port
 -L/usr/pkgsrc/databases/postgresql83-client/work/.buildlink/lib 
-L/Volumes/pkgsrc/pkgsrc/databases/postgresql83-client/work/postgresql-8.3.5/src/interfaces/ecpg/ecpglib
 ../ecpglib/.libs/libecpg.dylib 
-L/Volumes/pkgsrc/pkgsrc/databases/postgresql83-client/work/postgresql-8.3.5/src/interfaces/ecpg/pgtypeslib
 
/Volumes/pkgsrc/pkgsrc/databases/postgresql83-client/work/postgresql-8.3.5/src/interfaces/ecpg/pgtypeslib/.libs/libpgtypes.dylib
 
/Volumes/pkgsrc/pkgsrc/databases/postgresql83-client/work/postgresql-8.3.5/src/interfaces/libpq/.libs/libpq.dylib
 /usr/pkgsrc/databases/postgresql83-client/work/.buildlink/lib/libintl.dylib 
../pgtypeslib/.libs/libpgtypes.dylib 
../../../../src/interfaces/libpq/.libs/libpq.dylib -lm -lpthread  -install_name 
 /usr/pkg/lib/libecpg_compat.3.dylib -compatibility_version 4 -current_version 
4.0 -Wl,-single_module
/usr/bin/libtool: can't locate file for: -lpgtypes
/usr/bin/libtool: file: -lpgtypes is not an object file (not allowed in a 
library)
/usr/bin/libtool: can't locate file for: -lpq
/usr/bin/libtool: file: -lpq is not an object file (not allowed in a library)
gnumake[2]: *** [libecpg_compat.la] Error 1
gnumake[1]: *** [all] Error 2
gnumake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/databases/postgresql83-client
*** Error code 1

-----
Could this be linked to the warning? (i.e. libtool):
*** [buildlink3] Warning: libtool replaced -lpgtypes with 
../pgtypeslib/libpgtypes.la

# uname -a
Darwin badapple.groll.co.za 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 
17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
# gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking 
-enable-werror --prefix=/usr --mandir=/share/man 
--enable-languages=c,objc,c++,obj-c++ 
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ 
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib 
--build=i686-apple-darwin9 --with-arch=apple --with-tune=generic 
--host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)

Pkgsrc tag is Tpkgsrc-2008Q4

Regards,
Jonathan Groll.


Home | Main Index | Thread Index | Old Index