Re: postgresql and Mac OS X - Mailing list pgsql-general
From | Francisco Figueiredo Jr. |
---|---|
Subject | Re: postgresql and Mac OS X |
Date | |
Msg-id | 438d02260811041004v65f260ffl6a8a0154193b2f3e@mail.gmail.com Whole thread Raw |
In response to | Re: postgresql and Mac OS X (Tom Allison <tom@tacocat.net>) |
Responses |
Re: postgresql and Mac OS X
|
List | pgsql-general |
On Tue, Nov 4, 2008 at 8:21 AM, Tom Allison <tom@tacocat.net> wrote: > 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? > I think you need to install the developer tools. I compile postgresql from sources with no problem on osx 10.5.4 but I installed developer tools before. The library which is missing is the following: > 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 <--------- crt1.10.5.o I hope it helps. -- Regards, Francisco Figueiredo Jr. Npgsql Lead Developer http://fxjr.blogspot.com http://www.npgsql.org
pgsql-general by date: