gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I pass on openssl lib/include configuration information for base


From: T.J. Yang
Subject: How do I pass on openssl lib/include configuration information for base ?
Date: Mon, 25 Oct 2004 16:57:58 -0500

1. Again, there is no configure option for openssl lib/inlcude as shown below
for gnustep-base-1.10.0.

<snip>
Optional Packages:
 --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 --with-ffi-include=PATH include path for ffi (ffcall/libffi) headers
 --with-ffi-library=PATH library path for ffi (ffcall/libffi) libraries
 --with-xml-prefix=PFX    Prefix where libxml is installed (optional)
 --with-gmp-include=PATH  include path for gmp headers
 --with-gmp-library=PATH  library path for gmp libraries
 --with-libiconv-library=PATH  library path for libiconv libraries

2. I tried to pass on these informatoin by borrowing existing configure option.

root> head /opt/build/gnustep-base-1.10.0/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

$ ./configure CC=gcc CFLAGS=-O2 -mcpu=v8 LDFLAGS=-R/opt/TWWfsw/libxml242/lib:/opt/TWWfsw/gcc332r: --prefix=/opt/TWWfsw/GNUstep --with-libiconv-library=/opt/TWWfsw/libiconv16 -L/opt/TWWfsw/libopenssl097/lib --with-xml-prefix=/opt/TWWfsw/libxml242 -I/opt/TWWfsw/libopenssl097/include --disable-xmltest

## --------- ##
## Platform. ##
root>
2.SSL library/include headers can't be found from ./configure
<snip>
checking for stdint.h... (cached) no
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: WARNING: SSL bundle will not be built: Could not find openssl libraries
configure: creating ./config.status
config.status: creating config.mak
config.status: creating config.h
config.status: config.h is unchanged
root>
3. following is the config.mak

root> more config.mak
#
# Extra make variables for base library
#

WHOAMI=/usr/ucb/whoami

DYNAMIC_LINKER=simple

HAVE_LIBXML=1

WITH_FFI=libffi

NX_CONST_STRING_CLASS=NSConstantString

HAVE_PTHREAD_H=yes

CONFIG_SYSTEM_INCL += -I/opt/TWWfsw/libxml242/include/libxml2 -I/opt/TWWfsw/libiconv18/include
ifeq ($(shared),yes)
CONFIG_SYSTEM_LIBS += -ldl -R/opt/TWWfsw/libxml242/lib:/opt/TWWfsw/gcc332r: -lz -lffi -L/opt/TWWfsw/libxml242/l ib -R/opt/TWWfsw/libxml242/lib -lxml2 -L/opt/TWWfsw/zlib11/lib -R/opt/TWWfsw/zlib11/lib -lz -L/opt/TWWfsw/libiconv
18/lib -R/opt/TWWfsw/libiconv18/lib -liconv -lm -lsocket -lnsl -lxslt
endif

GNUSTEP_BASE_HAVE_LIBXML=1

# Default to building only -baseadd
# on non *-gnu-* library combos
ifneq ($(FOUNDATION_LIB),gnu)
add=yes
base=no
endif
root> pwd
/opt/build/gnustep-base-1.10.0
root>


I think the configure script generated by configure.ac has room
for improvement.  Too bad I am weak on the autoconf stuff.


Again, thanks for your pointer.

tj

_________________________________________________________________
Get ready for school! Find articles, homework help and more in the Back to School Guide! http://special.msn.com/network/04backtoschool.armx





reply via email to

[Prev in Thread] Current Thread [Next in Thread]