Re: postgresql and Mac OS X

From: Tom Allison <tom(at)tacocat(dot)net>
To: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
Cc: Niklas Johansson <niklas(at)codecraft(dot)se>, pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgresql and Mac OS X
Date: 2008-11-04 10:21:14
Message-ID: 4910221A.7030000@tacocat.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Grzegorz Jaśkiewicz wrote:
> I feel good about control here, and I certainly don't have any problems.
> So, please don't whine :)
> Especially since I want to run cvs head, and be able to actually update
> it from cvs when I want to, that's the only choice. Postgresql is so
> easy to get from sources, compared to other software packages, I can't
> understand people even with slightest expierence in unix to have any
> problems with it.
>

I tried getting a source install on my mac book yesterday and today.
It's not a normal *nix installation. The location of the files are all
non-standard.
'make' is prefixed by /Developer/usr/bin/.

I added /Developer/usr/bin to PATH and tried ./configure.

checking build system type... i386-apple-darwin9.5.0
checking host system type... i386-apple-darwin9.5.0
checking which template to use... darwin
checking whether to build with 64-bit integer date/time support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.

config.log shows an exit code of 77 with a statement that compiler
cannot create executables. ???

configure:2213: $? = 0
configure:2215: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5488~2/src/configure
--disable-checking -enabl
e-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/includ
e/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9
--with-arch=apple
--with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5488)
configure:2218: $? = 0
configure:2220: gcc -V </dev/null >&5
gcc-4.0: argument to `-V' is missing
configure:2223: $? = 1
configure:2246: checking for C compiler default output file name
configure:2249: gcc conftest.c >&5
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
configure:2252: $? = 1
configure: failed program was:

I think he questin is, what lib was missing so I can go find it and add
it to some path/dir variable?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Yiannos Pericleous 2008-11-04 10:36:23 dumbofs - a postgresql filesystem
Previous Message Andreas Kraftl 2008-11-04 10:07:03 FullText index