curl-library
Re: compiling curl-7.19.0 on 64-bit HP-UX
Date: Wed, 1 Oct 2008 10:57:09 -0700
On Wed, Oct 01, 2008 at 05:13:11PM +0100, David.Churches_at_smartstream-stp.com wrote:
>
> Hi,
>
> I am trying to compile the source code to libcurl on 64-bit HP-UX.
>
> The result of running uname -a on the machine is:
>
> HP-UX ares B.11.23 U 9000/800 145901597 unlimited-user license
>
> A previous posting advised to use the following arguments to ./configure:
>
> ./configure "CC=cc +DA2.0W -L/usr/lib/pa20_64"
If you download the hpux.connect.org.uk HP-UX curl source archive, you'll see
the following compile instructions in the HPUX.Install file:
-------------------------------------------------------------------------------
NOTE: You must install db, gdbm, gettext, libiconv, libidn, openldap, openssl
perl and zlib before building or installing this curl package.
Files changed:
* Makefile.in:
- "gmake clean" fails to clean the docs or tests dirs, so add those
to the clean: rule.
* Many Makefile.in files:
- "gmake clean" now also deletes config.cache.
* configure:
- Cache file is now config.cache, rather than /dev/null.
- Set up an HP-UX override section, including:
* Set prefix to /usr/local.
* Put /usr/local/bin in the front of the PATH.
* If Itanium, set libdir to /usr/local/lib/hpux32.
* Compile with "cc -O -I/usr/local/include" (use +O1 for Itanium).
* Set LDFLAGS to embed $libdir as a run-time library search path.
* Set RANLIB to /bin/true.
* Enable both shared and static library building.
- Strip any installed binaries.
- Set 755 permissions on any installed scripts.
- Don't link with +h <libname>.
- Only build <libname>.<libext> as a shared lib (i.e. no version numbers).
* mkinstalldirs:
- Create directories with 755 permissions.
* tests/sshserver.pl:
- Add /usr/local/sbin to the paths searched for sshd.
To compile:
[Install the dependencies listed above first!]
[Edit the HP-UX override section of configure for your site,
particularly the prefix setting]
./configure
gmake
To test:
[Install openssh first to allow for full testing]
gmake check
[This should pass all the tests OK]
To install (usually as root):
gmake install
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-10-01