[AWS] AWS on Mac OS X
John B. Matthews
trashgod at gmail.com
Mon Oct 22 11:45:56 CEST 2007
Recently, I've been successfully building AWS on Mac OS X 10.4.10
(ppc), using GNAT 4.3 for Mac <http://www.macada.org/>. Several
correspondents have suggested describing the results on this list. I
note only two anomalies:
1) On Mac OS, the ssl shared library is named /usr/lib/
libcrypto.dylib. Adding this to the list of known SSL_PATHs allows
setting SOCKET=ssl in makefile.conf.
2) I set SHARED = false in makefile.conf. I have not tried to build a
shared library, although it should be possible: <http://
home.woh.rr.com/jbmatthews/misc/shared.html>
For reference, here are my current diffs:
$ svn diff makefile.conf ssl/makefile
Index: makefile.conf
===================================================================
--- makefile.conf (revision 118506)
+++ makefile.conf (working copy)
@@ -16,7 +16,7 @@
# Set to true if AWS must be built as a shared library. If SHARED is
set to
# false AWS is built as a static library.
#
-SHARED = true
+SHARED = false
########################################################################
######
# XMLADA optional, needed if you want to build SOAP's AWS support.
Set XMLADA
@@ -59,7 +59,7 @@
# on this platform. (note that below ssl and openssl are aliases).
# SOCKET = [std/ssl/openssl/gnutls]
#
-SOCKET=std
+SOCKET=ssl
########################################################################
######
# AWS provides a binding to the LDAP API. This binding will use the
standard
Index: ssl/makefile
===================================================================
--- ssl/makefile (revision 118506)
+++ ssl/makefile (working copy)
@@ -35,6 +35,7 @@
SSL_PATH2 := $(shell ls /lib/libcrypto.a 2> /dev/null)
SSL_PATH3 := $(shell ls /usr/lib/libcrypto.so 2> /dev/null)
SSL_PATH4 := $(shell ls /lib/libcrypto.so 2> /dev/null)
+SSL_PATH5 := $(shell ls /usr/lib/libcrypto.dylib 2> /dev/null)
endif
SSL_PATH = $(SSL_PATH1)
@@ -48,6 +49,9 @@
ifeq (${SSL_PATH},)
SSL_PATH = $(SSL_PATH4)
endif
+ifeq (${SSL_PATH},)
+ SSL_PATH = $(SSL_PATH5)
+endif
build:
$(GNAT) make -Pssl -XSOCKET=${SOCKET} \
-----
John
--
John B. Matthews
trashgod at gmail.com
http://home.woh.rr.com/jbmatthews/
More information about the AWS
mailing list