cURL / Mailing Lists / curl-library / Single Mail

curl-library

openssl config and openembedded

From: Robert P. J. Day <rpjday_at_mindspring.com>
Date: Mon, 1 May 2006 05:00:49 -0400 (EDT)

  (sorry, i accidentally deleted that recent message suggesting i take
a look at how OE handles the configure/build of openssl WRT curl, but
it was a pretty straightforward suggestion.)

  good idea to see how OE handles this, i should have thought of that.
given that (IIRC) OE builds the root filesystem image, i'm *guessing*
that it does a fake "install" of openssl and just bases the subsequent
config/build of curl off of *that*, which would certainly solve the
problem.

  in any event, without messing with the actual source of either
openssl or curl, the two obvious solutions are:

  1) just build openssl, then go into that build directory and move
the built libs into a new "lib/" subdirectory to make the result
*look* like an installation, at which point using "--with-ssl" would
work just fine pointing *there*, or

  2) once openssl is built, do a fake install using some value for
"INSTALL_PREFIX", then base the curl configuration off of *that*,
again using "--with-ssl".

  in either case, i seem to have a reliable recipe for cross-compiling
that guarantees that nothing else on the build system is going to
accidentally get in the way and mess things up.

rday
Received on 2006-05-01