it was that simple

according to the cURL site, “Install clearly describes how to go ahead when you want to compile and install curl on your system. ”

i have included the text of the aforementioned clear description, in the more text, due to its startling … clarity.

i found more … clarity out there than you can shake a stick at. and then i found this place and these instructions:

cd /usr/local/src
tar -zxvf curl-x.x.tar.gz
cd /curl-x.x
./configure –with-ssl
make
make install

* * * * * * *
now this doesn’t cover the part where apache continued to give me an error message about my version being too old, or how i ran through several reconfigures including the big scary one that says USE AT OWN RISK but KISS YOUR SERVER GOODBYE FIRST, which wasn’t so bad afterall. and i finally got cURL installed.

now the only problem is the script that needs it? doesn’t work.

small detail.


and this is about average, as far as … clarity:
*************************
A normal unix installation is made in three or four steps (after you’ve unpacked the source archive):

./configure
make
make test (optional)
make install
You probably need to be root when doing the last command.

If you have checked out the sources from the CVS repository, read the CVS-INFO on how to proceed.

Get a full listing of all available configure options by invoking it like:

./configure –help

If you want to install curl in a different file hierarchy than /usr/local, you need to specify that already when running configure:

./configure –prefix=/path/to/curl/tree

If you happen to have write permission in that directory, you can do ‘make install’ without being root. An example of this would be to make a local install in your own home directory:

./configure –prefix=$HOME
make
make install
The configure script always tries to find a working SSL library unless explicitly told not to. If you have OpenSSL installed in the default search path for your compiler/linker, you don’t need to do anything special. If you have OpenSSL installed in /usr/local/ssl, you can run configure like:

./configure –with-ssl

If you have OpenSSL installed somewhere else (for example, /opt/OpenSSL,) you can run configure like this:

./configure –with-ssl=/opt/OpenSSL

If you insist on forcing a build without SSL support, even though you may have OpenSSL installed in your system, you can run configure like this:

./configure –without-ssl

If you have OpenSSL installed, but with the libraries in one place and the header files somewhere else, you have to set the LDFLAGS and CPPFLAGS environment variables prior to running configure. Something like this should work:

(with the Bourne shell and its clones):

CPPFLAGS=”-I/path/to/ssl/include” LDFLAGS=”-L/path/to/ssl/lib” ./configure
(with csh, tcsh and their clones):
env CPPFLAGS=”-I/path/to/ssl/include” LDFLAGS=”-L/path/to/ssl/lib” ./configure
If your SSL library was compiled with rsaref (usually for use in the United States), you may also need to set:

LIBS=-lRSAglue -lrsaref
(as suggested by Doug Kaufman)
MORE OPTIONS
*************************
yes! there are more options!

8 thoughts on “it was that simple

  1. the nun just nods his head and says..mmmm hmmmm… pretending he even remotley understood one small part of that.

  2. yes, i did — and it didn’t work, it came up with that same “your version is too old”. it was the advanced version of easyapache that finally did it.

    script still doesn’t work though.

    but it will.

  3. Well, sure; if you want to do it the easy way <g>…

    Did you ever try the,
    ./configure –with-apxs=/usr/local/apache/bin/apxs –with-xml –enable-bcmath –enable-calendar –enable-ftp –with-gd=../gd-1.8.4 –with-jpeg-dir=/usr/local –with-png-dir=/usr –with-imap=../imap-2001.BETA.SNAP-0105220031 –with-mcrypt –with-ming=../ming-0.1.1 –enable-magic-quotes –with-mysql –with-pear –enable-safe-mode –enable-track-vars –with-ttf –enable-versioning –with-curl –with-zlib

    deal?

    Seriously, how is your brain today after that session?

  4. i’m so glad you’re injecting yourself with the mad scientist serum first, so i know whether it’s going to kill me or turn me green or give me extra eyes, limbs, teeth etc. i mean here i am with jaguar and all this highly extensible software and just looking at the command line interface makes me want to start drinking again.

    cheers, doctor livingstone!

Leave a Reply

Your email address will not be published. Required fields are marked *