Hi all of you,
I'm very new and very attracted to OS X. I'm a newbie Unix user, so please excuse me for my poor knowledge...
I tried to download and compile by myself PostgreSQL 7.1.3, grabbing the postgresql-7.1.3.tar.gz via ftp from one of the mirror servers.
I then ran gunzip, tar -xvf and got the directory full of the sources.
All of this using the root account.
Then I did the configure using the following string:
./configure --bindir=/usr/local/bin --mandir=/usr/local/share/man/ --docdir=/usr/local/share/doc/ --enable-recode --with-CXX --enable-odbc --enable-syslog --enable-unicode-conversion --enable-multibyte --enable-debug
It all went fine.
The problems were when I did make.
In the final rows I had these errors:
/usr/bin/ld: -undefined error must be used when -twolevel_namespace is in effect
make[3]: *** [libpq.so.2.1] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
I had only two strange thing, this one
make -C doc all
make[1]: Nothing to be done for `all'.
and a warning for a parameter undeclared, but no errors at all.
Can you help me to make it compile?
Thanks so much in advance! Please notice I'm using 5G15 if this can make a point...
I'm very new and very attracted to OS X. I'm a newbie Unix user, so please excuse me for my poor knowledge...
I tried to download and compile by myself PostgreSQL 7.1.3, grabbing the postgresql-7.1.3.tar.gz via ftp from one of the mirror servers.
I then ran gunzip, tar -xvf and got the directory full of the sources.
All of this using the root account.
Then I did the configure using the following string:
./configure --bindir=/usr/local/bin --mandir=/usr/local/share/man/ --docdir=/usr/local/share/doc/ --enable-recode --with-CXX --enable-odbc --enable-syslog --enable-unicode-conversion --enable-multibyte --enable-debug
It all went fine.
The problems were when I did make.
In the final rows I had these errors:
/usr/bin/ld: -undefined error must be used when -twolevel_namespace is in effect
make[3]: *** [libpq.so.2.1] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
I had only two strange thing, this one
make -C doc all
make[1]: Nothing to be done for `all'.
and a warning for a parameter undeclared, but no errors at all.
Can you help me to make it compile?
Thanks so much in advance! Please notice I'm using 5G15 if this can make a point...