* Larry Rosenman <[EMAIL PROTECTED]> [001021 07:34]:
> I will, in the next couple of days...

Well, I pulled todays (2000/10/21) snapshot. 

I didn't get very far...

1) when I included -with-openssl, it didn't add /usr/local/ssl/lib to
the -L options, so couldn't find libssl.a

2) I forced CC=cc and CXX=CC in src/templates/unixware and removed the
-K i486 option, and we still pass GCC options.  This is *NOT* good...

I'll attach my script file, and the make output. 


-- 
Larry Rosenman                      http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
Script started on Sat Oct 21 08:49:55 2000
$ ./configure --with-includes=/usr/local/include --with-libs=/usr/local/lib 
--with-perl --with-openssl --with-CXX --enable-syslog
loading cache ./config.cache
checking host system type... i586-sco-sysv5uw7.1.1
checking which template to use... unixware
checking whether to build with locale support... no
checking whether to build with recode support... no
checking whether to build with multibyte character support... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
using CFLAGS=-O -K host,inline,loop_unroll,alloca -Dsvr4
checking whether the C compiler (cc -O -K host,inline,loop_unroll,alloca -Dsvr4 ) 
works... yes
checking whether the C compiler (cc -O -K host,inline,loop_unroll,alloca -Dsvr4 ) is a 
cross-compiler... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking how to run the C preprocessor... cc -E
checking whether cc needs -traditional... no
UX:cc: TO FIX: Usage: cc [ 
-01234A:b:B:Ccd:D:e:EgGh:HiI:K:l:L:o:OpPq:Q:Su:U:vVwW:X:Y:z:#Z: ] files ...
checking whether to build with Tcl... no
checking whether to build with Tk... no
checking whether to build Perl modules... yes
checking whether to build Python modules... no
building with OpenSSL support
checking whether to build the ODBC driver... no
checking whether to build C++ modules... yes
checking for c++... CC
checking whether the C++ compiler (CC  ) works... yes
checking whether the C++ compiler (CC  ) is a cross-compiler... no
checking whether we are using GNU C++... no
checking whether CC accepts -g... yes
checking how to run the C++ preprocessor... CC -E
checking for string... yes
checking for namespace std in C++... yes
using CPPFLAGS=  -I/usr/local/include -I/opt/include -I/usr/local/ssl/include
using LDFLAGS=  -L/usr/local/lib -L/opt/lib
checking for a BSD compatible install... /bin/install -c
checking for gawk... gawk
checking for flex... /usr/local/bin/flex
checking whether ln -s works... yes
checking for ld used by GCC... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for ranlib... :
checking for lorder... lorder
checking for tar... /bin/tar
checking for perl... perl
checking for bison... bison -y
checking for main in -lsfio... no
checking for main in -lncurses... no
checking for main in -lcurses... yes
checking for main in -ltermcap... yes
checking for readline in -lreadline... yes
checking for library containing using_history... none required
checking for main in -lbsd... no
checking for setproctitle in -lutil... no
checking for main in -lm... yes
checking for main in -ldl... yes
checking for main in -lsocket... yes
checking for main in -lnsl... yes
checking for main in -lipc... no
checking for main in -lIPC... no
checking for main in -llc... no
checking for main in -ldld... no
checking for main in -lln... no
checking for main in -lld... yes
checking for main in -lcompat... no
checking for main in -lBSD... no
checking for main in -lgen... yes
checking for main in -lPW... no
checking for library containing crypt... none required
checking for inflate in -lz... yes
checking for library containing __inet_ntoa... no
checking for CRYPTO_new_ex_data in -lcrypto... no
configure: error: library `ssl' is required for OpenSSL
$ pwd
/home/ler/pg-dev/pgsql-snap
$ ls /usr/local/ssl/lib
libcrypto.a  libssl.a
$ ^[  
$ ls /usr/local/ssl/lib
$ pwd                  
$ ./configure 
--with-includes=/usr/local/include --with-libs=/usr/local/lib ->
$ ith-openssl 
--with-CXX --enable-syslog                                     <
$ ith-openssl 
--with-CXX --enable-syslo
$ ith-openssl --with-CXX --enable-sysl
$ ith-openssl 
--with-CXX --enable-sys
$ ith-openssl --with-CXX --enable-sy
$ ith-openssl --with-CXX 
--enable-s
$ ith-openssl --with-CXX --enable-
$ ith-openssl --with-CXX --enable
$ 
ith-openssl --with-CXX --enabl
$ ith-openssl --with-CXX --enab
$ ith-openssl 
--with-CXX --ena
$ ith-openssl --with-CXX --en
$ ith-openssl --with-CXX --e
$ 
ith-openssl --with-CXX --
$ ith-openssl --with-CXX -
$ ith-openssl --with-CXX 
$ 
ith-openssl --with-CXX
$ ith-openssl --with-CX
$ ith-openssl --with-C
$ ith-openssl 
--with-
$ ith-openssl --with
$ ith-openssl --wit
$ ith-openssl --wi
$ ith-openssl --w
$ ith-openssl --
$ ith-openssl -
$ ith-openssl 
$ ith-openssl
$ ith-openss
$ ith-opens
$ ith-open
$ ith-ope
$ ith-op
$ ith-o
$ ith-
$ ith
$ it
$ i
$ th-libs=/usr/local/lib 
--with-perl --with-openssl --with-CXX --enable-syslo*
$ th-libs=/usr/local/lib 
--with-perl --
$ th-libs=/usr/local/lib --with-perl -
$ th-libs=/usr/local/lib 
--with-perl with-openssl --with-CXX --enable-syslog <
$ th-libs=/usr/local/lib 
--with-perl -openssl --with-CXX --enable-syslog    
$ th-libs=/usr/local/lib 
--with-perl openssl --with-CXX --enable-syslog 
$ th-libs=/usr/local/lib --with-perl 
--with-CXX --enable-syslog        
$ th-libs=/usr/local/lib --with-perl 
loading cache ./config.cache
checking host system type... i586-sco-sysv5uw7.1.1
checking which template to use... unixware
checking whether to build with locale support... no
checking whether to build with recode support... no
checking whether to build with multibyte character support... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
using CFLAGS=-O -K host,inline,loop_unroll,alloca -Dsvr4
checking whether the C compiler (cc -O -K host,inline,loop_unroll,alloca -Dsvr4 ) 
works... yes
checking whether the C compiler (cc -O -K host,inline,loop_unroll,alloca -Dsvr4 ) is a 
cross-compiler... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking how to run the C preprocessor... cc -E
checking whether cc needs -traditional... no
UX:cc: TO FIX: Usage: cc [ 
-01234A:b:B:Ccd:D:e:EgGh:HiI:K:l:L:o:OpPq:Q:Su:U:vVwW:X:Y:z:#Z: ] files ...
checking whether to build with Tcl... no
checking whether to build with Tk... no
checking whether to build Perl modules... yes
checking whether to build Python modules... no
checking whether to build the ODBC driver... no
checking whether to build C++ modules... yes
checking for c++... CC
checking whether the C++ compiler (CC  ) works... yes
checking whether the C++ compiler (CC  ) is a cross-compiler... no
checking whether we are using GNU C++... no
checking whether CC accepts -g... yes
checking how to run the C++ preprocessor... CC -E
checking for string... yes
checking for namespace std in C++... yes
using CPPFLAGS=  -I/usr/local/include -I/opt/include
using LDFLAGS=  -L/usr/local/lib -L/opt/lib
checking for a BSD compatible install... /bin/install -c
checking for gawk... gawk
checking for flex... /usr/local/bin/flex
checking whether ln -s works... yes
checking for ld used by GCC... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for ranlib... :
checking for lorder... lorder
checking for tar... /bin/tar
checking for perl... perl
checking for bison... bison -y
checking for main in -lsfio... no
checking for main in -lncurses... no
checking for main in -lcurses... yes
checking for main in -ltermcap... yes
checking for readline in -lreadline... yes
checking for library containing using_history... none required
checking for main in -lbsd... no
checking for setproctitle in -lutil... no
checking for main in -lm... yes
checking for main in -ldl... yes
checking for main in -lsocket... yes
checking for main in -lnsl... yes
checking for main in -lipc... no
checking for main in -lIPC... no
checking for main in -llc... no
checking for main in -ldld... no
checking for main in -lln... no
checking for main in -lld... yes
checking for main in -lcompat... no
checking for main in -lBSD... no
checking for main in -lgen... yes
checking for main in -lPW... no
checking for library containing crypt... none required
checking for inflate in -lz... yes
checking for library containing __inet_ntoa... no
checking for crypt.h... yes
checking for dld.h... no
checking for endian.h... no
checking for fp_class.h... no
checking for getopt.h... no
checking for ieeefp.h... yes
checking for xti.h... yes
checking for netinet/tcp.h... yes
checking for pwd.h... yes
checking for sys/ipc.h... yes
checking for sys/pstat.h... no
checking for sys/select.h... yes
checking for sys/sem.h... yes
checking for sys/socket.h... yes
checking for sys/shm.h... yes
checking for sys/types.h... yes
checking for sys/un.h... yes
checking for termios.h... yes
checking for kernel/OS.h... no
checking for kernel/image.h... no
checking for SupportDefs.h... no
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for working const... yes
checking for inline... inline
checking for preprocessor stringizing operator... yes
checking for signed types... yes
checking for volatile... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... no
checking for tzname... yes
checking for union semun... no
checking for struct sockaddr_un... yes
checking for int timezone... yes
checking types of arguments for accept()... int, struct sockaddr *, size_t *
checking whether gettimeofday takes only one argument... no
checking for fcntl(F_SETLK)... yes
checking for fcvt... yes
checking for getopt_long... no
checking for memmove... yes
checking for pstat... no
checking for setproctitle... no
checking for setsid... yes
checking for sigprocmask... yes
checking for sysconf... yes
checking for waitpid... yes
checking for dlopen... yes
checking for PS_STRINGS... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for isinf... yes
checking for getrusage... yes
checking for srandom... yes
checking for gethostname... yes
checking for random... yes
checking for inet_aton... yes
checking for strerror... yes
checking for strdup... yes
checking for strtol... yes
checking for strtoul... yes
checking for strcasecmp... yes
checking for cbrt... yes
checking for rint... yes
checking for rl_completion_append_character... yes
checking whether filename_completion_function is declared... yes
checking for finite... yes
checking for sigsetjmp... yes
checking for syslog... yes
checking whether long int is 64 bits... no
checking whether long long int is 64 bits... yes
checking whether snprintf handles 'long long int' as %lld... yes
checking alignment of short... 2
checking alignment of int... 4
checking alignment of long... 4
checking alignment of long long int... 4
checking alignment of double... 4
checking for POSIX signal interface... yes
updating cache ./config.cache
creating ./config.status
creating GNUmakefile
creating src/GNUmakefile
creating src/Makefile.global
creating src/backend/port/Makefile
creating src/include/config.h
linking ./src/backend/port/dynloader/unixware.c to src/backend/port/dynloader.c
linking ./src/backend/port/dynloader/unixware.h to src/include/dynloader.h
linking ./src/include/port/unixware.h to src/include/os.h
linking ./src/makefiles/Makefile.unixware to src/Makefile.port
linking ./src/backend/port/tas/dummy.s to src/backend/port/tas.s
$ ^D

script done on Sat Oct 21 08:52:39 2000
gmake -C doc all
gmake[1]: Entering directory `/home/ler/pg-dev/pgsql-snap/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home/ler/pg-dev/pgsql-snap/doc'
gmake -C src all
gmake[1]: Entering directory `/home/ler/pg-dev/pgsql-snap/src'
gmake -C backend all
gmake[2]: Entering directory `/home/ler/pg-dev/pgsql-snap/src/backend'
gmake -C parser parse.h
gmake[3]: Entering directory `/home/ler/pg-dev/pgsql-snap/src/backend/parser'
bison -y -d  gram.y
mv y.tab.c ./gram.c
mv y.tab.h ./parse.h
gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql-snap/src/backend/parser'
prereqdir=`cd parser/ && pwd` && \
  cd ../../src/include/parser/ && rm -f parse.h && \
  ln -s $prereqdir/parse.h .
gmake -C utils fmgroids.h
gmake[3]: Entering directory `/home/ler/pg-dev/pgsql-snap/src/backend/utils'
CPP='cc -E' AWK='gawk' /bin/sh Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h
gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql-snap/src/backend/utils'
cd ../../src/include/utils/ && rm -f fmgroids.h && \
    ln -s ../../../src/backend/utils/fmgroids.h .
gmake -C access all
gmake[3]: Entering directory `/home/ler/pg-dev/pgsql-snap/src/backend/access'
gmake -C common SUBSYS.o
gmake[4]: Entering directory `/home/ler/pg-dev/pgsql-snap/src/backend/access/common'
cc -c -I/usr/local/include -I/opt/include -I../../../../src/include -O -K 
host,inline,loop_unroll,alloca -Dsvr4 -Wall -Wmissing-prototypes 
-Wmissing-declarations -o heaptuple.o heaptuple.c
UX:cc: ERROR: Invalid subargument: -Wall
gmake[4]: *** [heaptuple.o] Error 1
gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql-snap/src/backend/access/common'
gmake[3]: *** [common-recursive] Error 2
gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql-snap/src/backend/access'
gmake[2]: *** [access-recursive] Error 2
gmake[2]: Leaving directory `/home/ler/pg-dev/pgsql-snap/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/ler/pg-dev/pgsql-snap/src'
gmake: *** [all] Error 2

Reply via email to