Обсуждение: build errors on MacOSX

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

build errors on MacOSX

От
Scott Frankel
Дата:
My build of postgresql-8.1.0 is failing on MacOSX.  Following the
INSTALL file, I passed configure flags for bonjour (what's that?) and
python support.  i.e.:

./configure --with-bonjour --with-python

My invocation of make, launched from the postgres account,  returns
the following errors:

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

OSX v10.4.2
PostgreSQL v8.1.0

Any suggestions?

Thanks
Scott






Re: build errors on MacOSX

От
Tom Lane
Дата:
Scott Frankel <leknarf@pacbell.net> writes:
> My build of postgresql-8.1.0 is failing on MacOSX.

> /usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0)
> file: -lSystem is not an object file (not allowed in a library)

We've seen this before.  IIRC, it means you're using outdated Xcode
tools; you need to update to Xcode 2.0 or later (2.1 is current I
believe).  Try searching the list archives for that error message
if you want more details.

            regards, tom lane

Re: build errors on MacOSX

От
Scott Frankel
Дата:
Voila!  Xcode v2.1 worked.

Thanks!
Scott


On Nov 9, 2005, at 2:22 PM, Tom Lane wrote:

> Scott Frankel <leknarf@pacbell.net> writes:
>
>> My build of postgresql-8.1.0 is failing on MacOSX.
>>
>
>
>> /usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0)
>> file: -lSystem is not an object file (not allowed in a library)
>>
>
> We've seen this before.  IIRC, it means you're using outdated Xcode
> tools; you need to update to Xcode 2.0 or later (2.1 is current I
> believe).  Try searching the list archives for that error message
> if you want more details.
>
>             regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>