Thread: Configure complaints: Installed libs/apps not found
I am trying to install postgres 7.3.4 on my B180L HPUX workstation. I am having some problems getting the configure script to complete properly. It actually finished once or twice(not how I would like the configs) but then the make failed. The config errors are in the attached text document, and the make failure is listed here: make[4]: Leaving directory `/hpux/database/postgresql-7.3.4/src/backend/utils/mmgr' make -C sort SUBSYS.o make[4]: Entering directory `/hpux/database/postgresql-7.3.4/src/backend/utils/sort' cc -Ae +O2 -I../../../../src/include -c -o logtape.o logtape.c cc -Ae +O2 -I../../../../src/include -c -o tuplesort.o tuplesort.c cc: "tuplesort.c", line 1806: error 1000: Unexpected symbol: "myFunctionCall2". cc: panic 2017: Cannot recover from earlier errors, terminating. make[4]: *** [tuplesort.o] Error 1 make[4]: Leaving directory `/hpux/database/postgresql-7.3.4/src/backend/utils/sort' make[3]: *** [sort-recursive] Error 2 make[3]: Leaving directory `/hpux/database/postgresql-7.3.4/src/backend/utils' make[2]: *** [utils-recursive] Error 2 make[2]: Leaving directory `/hpux/database/postgresql-7.3.4/src/backend' make[1]: *** [all] Error 2 I am at a point in which confusion is taking over! Your help would be much appreciated... Regards, Dusty
Attachment
"Roberson, Dusty (L:ops Unix Admin)" <dusty.roberson@hp.com> writes: > make[4]: Entering directory > `/hpux/database/postgresql-7.3.4/src/backend/utils/sort' > cc -Ae +O2 -I../../../../src/include -c -o logtape.o logtape.c > cc -Ae +O2 -I../../../../src/include -c -o tuplesort.o tuplesort.c > cc: "tuplesort.c", line 1806: error 1000: Unexpected symbol: > "myFunctionCall2". > cc: panic 2017: Cannot recover from earlier errors, terminating. This is odd. Does that file compile if you take out the "inline" keyword on the just-preceding line? > Bison, FLex, and Readline are all installed; > But as the configure output shows, it cannot find them... Sounds like you didn't have bison and flex in your PATH when you ran configure. If libreadline is in /usr/local rather than the system directories, you also need to point configure to where it is. I use --with-includes=/usr/local/include --with-libs=/usr/local/lib when building with HP's cc. (gcc will search these directories by default, but cc will not.) regards, tom lane