[AWS] Compiling AWS clients on OS X 10.2.8

BenjaminC.Place BenjaminC.Place
Mon, 17 Nov 2003 02:31:08 -0500


Hi,

After 2 minor edits, AWS seems to compile OK on my box. But when I try 
to build my app, I get a link error that seems to be related to SSL. 
I've tried make'ing AWS with both MODE=ssl and MODE=std, and both 
produce the same error.

I've also tried editing b~my_app.adb, but that doesn't work

Code for *my_app* has: "with AWS.Client;" as the only reference to AWS.

My output looks like this:

	ben@localhost src 01:29am $ gnatmake -I.../aws-1.4/include/ 
-I.../aws-1.4/src/ -I.../aws-1.4/ssl/ my_app
	gnatbind -aO./ -aO.../aws-1.4/include/ -aO.../aws-1.4/src/ 
-aO.../aws-1.4/ssl/ -I- -x my_app.ali
	gnatlink my_app.ali
	ld: can't locate file for: -lnosslaws
	gnatlink: cannot call /usr/local/gnat/bin/gcc
	gnatmake: *** link failed.

Per Pascal's message of Thu, 20 Mar 2003 17:22:09 +0100, I tried -largs 
-s -laws -lssl -lcrypto, but gnatlink can't find -laws, and neither can 
I. Would it end up in aws-1.4/lib? Because all I have in there is 
libz.a and a makefile.

During "make install", I get an error "mv: cannot stat 
`lib/libnosslaws.a': No such file or directory".

Anybody have any ideas or hints?

OS X, GNAT 5.00w (20010924).

Thanks for any hints,
Ben