Обсуждение: Problems compiling Postgresql 8.0.3 on 10.4
Hi, i have just installed 10.4 on one of our machines and cannot get past this error during make gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -dynamiclib -install_name /usr/local/pgsql/lib/libpq.4.dylib -compatibility_version 4 -current_version 4.0 -multiply_defined suppress fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o -L../../../src/port -lresolv -o libpq.4.0.dylib /usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) file: -lSystem is not an object file (not allowed in a library) make[3]: *** [libpq.4.0.dylib] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all] Error 2 make: *** [all] Error 2
Jamie, That's strange, I have 8.03 building fine on 10.4 ? Did you simply do a make without a make clean and run configure again ? Dave On 20-Jul-05, at 3:37 AM, Jamie Deppeler wrote: > Hi, i have just installed 10.4 on one of our machines and cannot > get past this error during make > > gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith - > Wendif-labels -fno-strict-aliasing -dynamiclib -install_name /usr/ > local/pgsql/lib/libpq.4.dylib -compatibility_version 4 - > current_version 4.0 -multiply_defined suppress fe-auth.o fe- > connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o > fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o > wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o -L../../../ > src/port -lresolv -o libpq.4.0.dylib > > /usr/bin/libtool: for architecture: cputype (16777234) cpusubtype > (0) file: -lSystem is not an object file (not allowed in a library) > > make[3]: *** [libpq.4.0.dylib] Error 1 > > make[2]: *** [all] Error 2 > > make[1]: *** [all] Error 2 > > make: *** [all] Error 2 > > > > ---------------------------(end of > broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match > >
On Jul 20, 2005, at 5:58 AM, Dave Cramer wrote: > > >> Hi, i have just installed 10.4 on one of our machines and cannot >> get past this error during make >> >> >> /usr/bin/libtool: for architecture: cputype (16777234) cpusubtype >> (0) file: -lSystem is not an object file (not allowed in a library) >> Install the new Xcode. that should fix it. -- Jeff Trout <jeff@jefftrout.com> http://www.jefftrout.com/ http://www.stuarthamm.net/