Обсуждение: Problems building 8.2beta1 on macos G5 xserve

Поиск
Список
Период
Сортировка

Problems building 8.2beta1 on macos G5 xserve

От
Sean Davis
Дата:
Trying to build 8.2beta1 on MacOS G5 Xserver, OS version 10.4.7.  I got 
this:


....
gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-Winline -Wendif-labels -fno-strict-aliasing   -dynamiclib -install_name 
/usr/local/pgsql/lib/libpq.5.dylib -compatibility_version 5 
-current_version 5.0 -exported_symbols_list exports.list 
-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 -L/sw/lib   -o libpq.5.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.5.0.dylib] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

% uname -a
Darwin Sherlock 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26 15:20:53 
PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh powerpc

Any suggestions?

Thanks,
Sean


Re: Problems building 8.2beta1 on macos G5 xserve

От
Tom Lane
Дата:
Sean Davis <sdavis2@mail.nih.gov> writes:
> Trying to build 8.2beta1 on MacOS G5 Xserver, OS version 10.4.7.  I got 
> this:
> /usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) 
> file: -lSystem is not an object file (not allowed in a library)

What Xcode version have you got?  My recollection is that this is the
symptom of trying to build with pre-10.4 Xcode tools on 10.4.

(Yeah, time to download that 800MB file again :-( ... but at least it's
free...)
        regards, tom lane


Re: Problems building 8.2beta1 on macos G5 xserve

От
Sean Davis
Дата:
Tom Lane wrote:
> Sean Davis <sdavis2@mail.nih.gov> writes:
>   
>> Trying to build 8.2beta1 on MacOS G5 Xserver, OS version 10.4.7.  I got 
>> this:
>> /usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) 
>> file: -lSystem is not an object file (not allowed in a library)
>>     
>
> What Xcode version have you got?  My recollection is that this is the
> symptom of trying to build with pre-10.4 Xcode tools on 10.4.
>
> (Yeah, time to download that 800MB file again :-( ... but at least it's
> free...)
>   
Looks like that might be the case (my gcc is from 2003!).  I'll try 
again after updating and let you know for sure.

Thanks, Tom.

Sean


Re: Problems building 8.2beta1 on macos G5 xserve

От
Sean Davis
Дата:
On Saturday 14 October 2006 19:48, Tom Lane wrote:
> Sean Davis <sdavis2@mail.nih.gov> writes:
> > Trying to build 8.2beta1 on MacOS G5 Xserver, OS version 10.4.7.  I got
> > this:
> > /usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0)
> > file: -lSystem is not an object file (not allowed in a library)
>
> What Xcode version have you got?  My recollection is that this is the
> symptom of trying to build with pre-10.4 Xcode tools on 10.4.
>
> (Yeah, time to download that 800MB file again :-( ... but at least it's
> free...)

For the archive, upgrading to Xcode 2.4 did the trick.

Sean