pkgsrc-Users archive

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

Re: postgresql83(-client) failing to build on OS X 10.5 (Leopard) [SOLVED]



On Fri, Feb 27, 2009 at 03:58:38PM +0200, Jonathan Groll wrote:
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

Interestigly, the build can be resumed if the following is done manually:
cd work/postgresql-8.3.5/src/interfaces/ecpg/compatlib/

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
Does anyone have a suggestion as to what needs to be fixed in the
pkgsrc package for the above to work correctly under OS X/Darwin
during the bmake build, as it is still quite mystifying for me what is
actually failing here?

Regards,
Jonathan


Home | Main Index | Thread Index | Old Index