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:
Show quoted text
Hi, i have just installed 10.4 on one of our machines and cannot
get past this error during makegcc -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/
On Jul 20, 2005, 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 makegcc -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)
by "10.4" we shall have to guess that means MacOS X 10.4 by the name
of the dynamic libraries...
It does work. I just installed Pg 8.0.3 on my workstation using
darwin ports (which really only just sets some funky installation
location paths and does a standard build).
Vivek Khera, Ph.D.
+1-301-869-4449 x806
Vivek Khera wrote:
On Jul 20, 2005, 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 makegcc -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)by "10.4" we shall have to guess that means MacOS X 10.4 by the name
of the dynamic libraries...It does work. I just installed Pg 8.0.3 on my workstation using
darwin ports (which really only just sets some funky installation
location paths and does a standard build).Vivek Khera, Ph.D.
+1-301-869-4449 x806---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
Install Xcode development tools i had the same issue