I'm having a beast of a time getting curl to compile.
I've spent the past two hours trying to figure out what's wrong, basically losing a night of development.
Here is my ./configure line:
PATH=/opt/PalmPDK/arm-gcc/bin:"$PATH" CPPFLAGS=-I/opt/PalmPDK/include/\ -I`cd ../palm-arm/include/; pwd`\ -I`cd ../palm-arm/include/openssl/; pwd` LDFLAGS=-L/opt/PalmPDK/device/lib/\ -L`cd ../palm-arm/lib/; pwd`\ -Wl LIBS=-lz\ -lcrypto\ -lssl ./configure --prefix=`cd ../palm-arm/; pwd` --host=arm-none-linux-gnueabi --disable-shared --enable-static --enable-http --enable-ftp --enable-file --disable-ldap --disable-ldaps --enable-rtsp --enable-proxy --enable-dict --enable-telnet --enable-tftp --enable-pop3 --enable-imap --enable-smtp --disable-manual --enable-ipv6 --enable-nonblocking --enable-threaded-resolver --enable-verbose --enable-crypto-auth --enable-cookies --with-ssl=`cd ../palm-arm/; pwd` --without-nss --with-ca-bundle=cacert.pem --build=x86_64-apple-darwin10.4.0
I have a sibling directory structure, palm-arm with libz, libcrypto, libssl:
When I run configure, I get the following error:
checking if argv can be written to... no
configure: WARNING: the previous check could not be made default was used
checking if Kerberos4 support is requested... no
checking if SPNEGO support is requested... no
checking if GSSAPI support is requested... no
configure: PKG_CONFIG_LIBDIR will be set to "/Users/hborders/xcode-workspaces/personal/pdk-samples/simple/mac/palm-arm/lib/pkgconfig"
checking for arm-none-linux-gnueabi-pkg-config... no
checking for pkg-config... (cached) no
checking for CRYPTO_lock in -lcrypto... yes
checking for SSL_connect in -lssl... no
checking for ssl with RSAglue/rsaref libs in use... checking for SSL_connect in -lssl... (cached) no
configure: error: OpenSSL libs and/or directories were not found where specified!
I'd love any help I can get. The ./configure script is really dense bash and difficult to discern. I'll probably try manually running their test C code and verifying that I can link against it. openssl configured and compiled just fine, so I'm guessing I'm just compiling curl wrong.
I'd _really_ appreciate some tips for setting up a ./configure for curl within the pdk.