Re: UnixWare 7.1.1b FS

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: UnixWare 7.1.1b FS
Дата
Msg-id 20001021120738.A12327@lerami.lerctr.org
обсуждение исходный текст
Ответ на Re: UnixWare 7.1.1b FS  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: UnixWare 7.1.1b FS  (Larry Rosenman <ler@lerctr.org>)
Список pgsql-hackers
* Peter Eisentraut <peter_e@gmx.net> [001021 12:02]:
> I wrote:
> 
> > Larry Rosenman writes:
> > 
> > > 1) when I included -with-openssl, it didn't add /usr/local/ssl/lib to
> > > the -L options, so couldn't find libssl.a
> > 
> > Confirmed.  It's being put into a different variable.  I'll see about
> > fixing this.
> 
> No, this is fine.  It's in the LIBS variable, where it belongs.  Whatever
> you're seeing is a different problem.  Check config.log to find out.
it's stupider.  It forgot the -lssl after the -L/usr/local/ssl/lib. 

Here is config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:677: checking host system type
configure:703: checking which template to use
configure:866: checking whether to build with locale support
configure:895: checking whether to build with recode support
configure:925: checking whether to build with multibyte character support
configure:978: checking for default port number
configure:1012: checking for default soft limit on number of connections
configure:1062: checking for gcc
configure:1175: checking whether the C compiler (cc  ) works
configure:1191: cc -o conftest    conftest.c  1>&5
configure:1217: checking whether the C compiler (cc  ) is a cross-compiler
configure:1222: checking whether we are using GNU C
configure:1231: cc -E conftest.c
configure:1250: checking whether cc accepts -g
configure:1286: checking whether the C compiler (cc -O -K host,inline,loop_unroll,alloca -Dsvr4 ) works
configure:1302: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   conftest.c  1>&5
configure:1328: checking whether the C compiler (cc -O -K host,inline,loop_unroll,alloca -Dsvr4 ) is a cross-compiler
configure:1333: checking for Cygwin environment
configure:1349: cc -c -O -K host,inline,loop_unroll,alloca -Dsvr4  conftest.c 1>&5
UX:acomp: ERROR: "configure", line 1345: undefined symbol: __CYGWIN32__
UX:acomp: WARNING: "configure", line 1346: statement not reached
configure: failed program was:
#line 1338 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1366: checking for mingw32 environment
configure:1378: cc -c -O -K host,inline,loop_unroll,alloca -Dsvr4  conftest.c 1>&5
UX:acomp: ERROR: "configure", line 1374: undefined symbol: __MINGW32__
UX:acomp: WARNING: "configure", line 1375: statement not reached
configure: failed program was:
#line 1371 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1397: checking for executable suffix
configure:1407: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   conftest.c  1>&5
configure:1428: checking how to run the C preprocessor
configure:1449: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1683: checking whether to build with Tcl
configure:1707: checking whether to build with Tk
configure:1769: checking whether to build Perl modules
configure:1796: checking whether to build Python modules
configure:2073: checking whether to build the ODBC driver
configure:2155: checking whether to build C++ modules
configure:2183: checking for c++
configure:2215: checking whether the C++ compiler (c++  ) works
configure:2231: c++ -o conftest    conftest.C  -L/usr/local/ssl/lib 1>&5
configure:2257: checking whether the C++ compiler (c++  ) is a cross-compiler
configure:2262: checking whether we are using GNU C++
configure:2271: c++ -E conftest.C
configure:2290: checking whether c++ accepts -g
configure:2322: checking how to run the C++ preprocessor
configure:2340: c++ -E  conftest.C >/dev/null 2>conftest.out
configure:2375: checking for string
configure:2385: c++ -E  conftest.C >/dev/null 2>conftest.out
configure:2454: checking for namespace std in C++
configure:2481: c++ -c -g -O2  conftest.C 1>&5
configure:2536: checking for a BSD compatible install
configure:2614: checking for gawk
configure:2644: checking for flex
configure:2712: checking whether ln -s works
configure:2777: checking for non-GNU ld
configure:2812: checking if the linker (/usr/bin/ld) is GNU ld
configure:2831: checking for ranlib
configure:2863: checking for lorder
configure:2895: checking for tar
configure:2932: checking for perl
configure:2966: checking for bison
configure:3042: checking for main in -lsfio
configure:3057: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lsfio   -L/usr/local/ssl/lib 1>&5
 
UX:ld: ERROR: library not found: -lsfio
configure: failed program was:
#line 3050 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3085: checking for main in -lncurses
configure:3100: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lncurses   -L/usr/local/ssl/lib 1>&5
 
UX:ld: ERROR: library not found: -lncurses
configure: failed program was:
#line 3093 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3126: checking for main in -lcurses
configure:3141: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lcurses   -L/usr/local/ssl/lib 1>&5
 
configure:3171: checking for main in -ltermcap
configure:3186: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -ltermcap  -lcurses  -L/usr/local/ssl/lib 1>&5
 
configure:3214: checking for readline in -lreadline
configure:3233: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lreadline  -ltermcap -lcurses  -L/usr/local/ssl/lib
1>&5
configure:3262: checking for library containing using_history
configure:3280: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lreadline -ltermcap -lcurses  -L/usr/local/ssl/lib
1>&5
configure:3329: checking for main in -lbsd
configure:3344: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lbsd  -lreadline -ltermcap -lcurses
-L/usr/local/ssl/lib1>&5
 
UX:ld: ERROR: library not found: -lbsd
configure: failed program was:
#line 3337 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3373: checking for setproctitle in -lutil
configure:3392: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lutil  -lreadline -ltermcap -lcurses
-L/usr/local/ssl/lib1>&5
 
Undefined            first referenced
symbol                  in file
setproctitle                        conftest.o
UX:ld: ERROR: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 3381 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2   builtin and then its argument prototype would still
apply. */
 
char setproctitle();

int main() {
setproctitle()
; return 0; }
configure:3420: checking for main in -lm
configure:3435: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lm  -lreadline -ltermcap -lcurses
-L/usr/local/ssl/lib1>&5
 
configure:3463: checking for main in -ldl
configure:3478: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -ldl  -lm -lreadline -ltermcap -lcurses
-L/usr/local/ssl/lib1>&5 
configure:3506: checking for main in -lsocket
configure:3521: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lsocket  -ldl -lm -lreadline -ltermcap -lcurses
-L/usr/local/ssl/lib1>&5
 
configure:3549: checking for main in -lnsl
configure:3564: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lnsl  -lsocket -ldl -lm -lreadline -ltermcap -lcurses
-L/usr/local/ssl/lib 1>&5
 
configure:3592: checking for main in -lipc
configure:3607: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lipc  -lnsl -lsocket -ldl -lm -lreadline -ltermcap
-lcurses -L/usr/local/ssl/lib 1>&5
 
UX:ld: ERROR: library not found: -lipc
configure: failed program was:
#line 3600 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3635: checking for main in -lIPC
configure:3650: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lIPC  -lnsl -lsocket -ldl -lm -lreadline -ltermcap
-lcurses -L/usr/local/ssl/lib 1>&5
 
UX:ld: ERROR: library not found: -lIPC
configure: failed program was:
#line 3643 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3678: checking for main in -llc
configure:3693: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -llc  -lnsl -lsocket -ldl -lm -lreadline -ltermcap
-lcurses -L/usr/local/ssl/lib 1>&5
 
UX:ld: ERROR: library not found: -llc
configure: failed program was:
#line 3686 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3721: checking for main in -ldld
configure:3736: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -ldld  -lnsl -lsocket -ldl -lm -lreadline -ltermcap
-lcurses -L/usr/local/ssl/lib 1>&5
 
UX:ld: ERROR: library not found: -ldld
configure: failed program was:
#line 3729 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3764: checking for main in -lln
configure:3779: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lln  -lnsl -lsocket -ldl -lm -lreadline -ltermcap
-lcurses -L/usr/local/ssl/lib 1>&5
 
UX:ld: ERROR: library not found: -lln
configure: failed program was:
#line 3772 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3807: checking for main in -lld
configure:3822: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lld  -lnsl -lsocket -ldl -lm -lreadline -ltermcap
-lcurses -L/usr/local/ssl/lib 1>&5
 
configure:3850: checking for main in -lcompat
configure:3865: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lcompat  -lld -lnsl -lsocket -ldl -lm -lreadline
-ltermcap-lcurses  -L/usr/local/ssl/lib 1>&5
 
UX:ld: ERROR: library not found: -lcompat
configure: failed program was:
#line 3858 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3893: checking for main in -lBSD
configure:3908: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lBSD  -lld -lnsl -lsocket -ldl -lm -lreadline
-ltermcap-lcurses  -L/usr/local/ssl/lib 1>&5
 
UX:ld: ERROR: library not found: -lBSD
configure: failed program was:
#line 3901 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3936: checking for main in -lgen
configure:3951: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lgen  -lld -lnsl -lsocket -ldl -lm -lreadline
-ltermcap-lcurses  -L/usr/local/ssl/lib 1>&5
 
configure:3979: checking for main in -lPW
configure:3994: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lPW  -lgen -lld -lnsl -lsocket -ldl -lm -lreadline
-ltermcap-lcurses  -L/usr/local/ssl/lib 1>&5
 
UX:ld: ERROR: library not found: -lPW
configure: failed program was:
#line 3987 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:4023: checking for library containing crypt
configure:4041: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lgen -lld -lnsl -lsocket -ldl -lm -lreadline
-ltermcap-lcurses  -L/usr/local/ssl/lib 1>&5
 
configure:4084: checking for inflate in -lz
configure:4103: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lz  -lgen -lld -lnsl -lsocket -ldl -lm -lreadline
-ltermcap-lcurses  -L/usr/local/ssl/lib 1>&5
 
configure:4132: checking for library containing __inet_ntoa
configure:4150: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lz -lgen -lld -lnsl -lsocket -ldl -lm -lreadline
-ltermcap-lcurses  -L/usr/local/ssl/lib 1>&5
 
Undefined            first referenced
symbol                  in file
__inet_ntoa                         conftest.o
UX:ld: ERROR: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 4139 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2   builtin and then its argument prototype would still
apply. */
 
char __inet_ntoa();

int main() {
__inet_ntoa()
; return 0; }
configure:4172: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lbind  -lz -lgen -lld -lnsl -lsocket -ldl -lm
-lreadline-ltermcap -lcurses  -L/usr/local/ssl/lib 1>&5
 
UX:ld: ERROR: library not found: -lbind
configure: failed program was:
#line 4161 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2   builtin and then its argument prototype would still
apply. */
 
char __inet_ntoa();

int main() {
__inet_ntoa()
; return 0; }
configure:4430: checking for CRYPTO_new_ex_data in -lcrypto
configure:4449: cc -o conftest -O -K host,inline,loop_unroll,alloca -Dsvr4   -I/usr/local/include -I/opt/include
-I/usr/local/ssl/include  -L/usr/local/lib -L/opt/lib conftest.c -lcrypto  -lz -lgen -lld -lnsl -lsocket -ldl -lm
-lreadline-ltermcap -lcurses  -L/usr/local/ssl/lib 1>&5
 
UX:ld: ERROR: library not found: -lcrypto
configure: failed program was:
#line 4438 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2   builtin and then its argument prototype would still
apply. */
 
char CRYPTO_new_ex_data();

int main() {
CRYPTO_new_ex_data()
; return 0; }
> 
> -- 
> Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/

-- 
Larry Rosenman                      http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: UnixWare 7.1.1b FS
Следующее
От: Patrick Welche
Дата:
Сообщение: failed runcheck