![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Using GCC 4.0.1 on Solaris 9 the configure test for isinf incorrectly detects success so postgres does not link. |
#3
| |||
| |||
|
|
The config.log and a build log are attached. |
|
Note that there are actually two bugs in the build but the build terminates due to the isinf bug. The failure to link due to -lreadline needing -lcurses does not occur until later. |
#4
| |||
| |||
|
|
Bob Friesenhahn wrote: The config.log and a build log are attached. It's puzzling why the test program compiles and links without complaint when the isinf() function does not exist. Can you try to isolate the test program from configure and see what is going on? |
|
Note that there are actually two bugs in the build but the build terminates due to the isinf bug. The failure to link due to -lreadline needing -lcurses does not occur until later. In the logs you sent, configure decides to use -ledit, which is something different altogether. |
#5
| |||
| |||
|
|
Ugh. I do think that readline 5.0 itself has a minor bug in that ldd on libreadline.so does not show a dependency on the curses library, even though it is obviously required. This means that the linkage of libreadline.so is incomplete. |
#6
| |||
| |||
|
|
Bob Friesenhahn <bfriesen (AT) simple (DOT) dallas.tx.us> writes: Ugh. I do think that readline 5.0 itself has a minor bug in that ldd on libreadline.so does not show a dependency on the curses library, even though it is obviously required. This means that the linkage of libreadline.so is incomplete. That's fairly standard I fear. Certainly libreadline is like that on my Fedora machine (and it doesn't stop our configure script from getting it right). It may be that the presence of both libedit and libreadline is what's messing things up. I seem to recall fixing configure to deal with that [ digs in logs ... ] oh, here we go: |
![]() |
| Thread Tools | |
| Display Modes | |
| |