Re: [GENERAL] Can't compile 6.4.2 on Solaris 2.6
От | Patrick Verdon |
---|---|
Тема | Re: [GENERAL] Can't compile 6.4.2 on Solaris 2.6 |
Дата | |
Msg-id | 36C619CE.ACCDA5ED@kan.co.uk обсуждение исходный текст |
Ответ на | RE: [GENERAL] Can't compile 6.4.2 on Solaris 2.6 ("Daryl W. Dunbar" <daryl@www.com>) |
Список | pgsql-general |
Hi Daryl, Thanks muchly for your help. > Make sure '.' is in your path. Also, make sure you are running sh. > You can simply sh ./configure. This was indeed the cause of the problem. It seems a bit ridiculous that you need to have '.' in your PATH to install PostgreSQL. These problems have obviously been introduced at 6.4.2 because I can compile previous versions without taking these steps. > On Solaris7 with gcc, I ran: > ./configure --without-CXX Thanks also for this pointer - this is something else that seems to have been introduced at 6.4.2 because I've never had to add --without-CXX before and without it the compile fails like so: gmake -C libpq++ all gmake[2]: Entering directory `/usr/local/src/postgresql-6.4.2/src/interfaces/libpq++' gcc -I../../backend -I../../include -I../../interfaces/libpq -I../../include -I../../backend -Wall -Wmissing-prototypes-fPIC -c pgenv.cc -o pgenv.o In file included from pgenv.cc:23: pgenv.h:21: string: No such file or directory gmake[2]: *** [pgenv.o] Error 1 gmake[2]: Leaving directory `/usr/local/src/postgresql-6.4.2/src/interfaces/libpq++' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/local/src/postgresql-6.4.2/src/interfaces' gmake: *** [all] Error 2 Does anyone know why all these complications have been introduced for Solaris compilation? Why change procedures that have worked for ages?? Anyway - thanks again - postmaster is up and running now. Patrick -- #===============================# \ KAN Design & Publishing Ltd / / T: +44 (0)1223 511134 \ \ F: +44 (0)1223 571968 / / E: mailto:patrick@kan.co.uk \ \ W: http://www.kan.co.uk / #===============================#
В списке pgsql-general по дате отправления: