Building 3.4p1 on HP-UX 11.00, gcc, zlib 1.1.4, OpenSSL 0.9.6d
C. Bensend
benny at bennyvision.com
Fri Jul 12 14:53:05 EST 2002
Hey folks,
I am having a devil of a time compiling 3.4p1 on HP-UX
11.00. I'm running gcc 2.95.2, OpenSSL 0.9.6d, and zlib 1.1.4.
I have two questions, but here's the first... I am getting the dreaded:
*** zlib missing - please install first or check config.log ***
error when running configure, no matter what options I give it.
--with-zlib doesn't help at all - I've tried it with two different
installations of zlib in two different places, and it's ignored
them both. I did make sure to clean up the old zlib before I
installed the new, so I don't think it's a problem with the
different versions. Why is '--with-zlib' ignoring my wishes?
And yes, I did a 'make clean' and/or 'make distclean'. :)
ls -l /usr/lib/libz*
-rwxr-xr-x 1 root root 85856 Jul 11 21:07 /usr/lib/libz.a*
It finds the new OpenSSL installation just fine. *boggle*
My second question has to do with compiling OpenSSH statically.
I have set my CFLAGS env variable to be "-static", I have used the
'--enable-static=yes' option to configure, and I have even gone so
far as to modify the Makefile and openbsd-compat/Makefile to include
'-static' in the CFLAGS, but every time it has compiled dynamically.
Don't ask me why it compiled several times and not others - I don't
know the answer to that question... I have been experimenting with
'make clean' and 'make distclean' to make sure I didn't bork something
in the source, so I'm not sure what I did differently. Either way,
even when it did build, it didn't build statically.
I did search the mailing list archives, as well as googling
for answers, and I haven't found anything yet. If someone could
take a few minutes to help me, I'd appreciate it very much. :)
Benny
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Always carry a short length of fibre-optic cable. If
you get lost, then you can drop it on the ground, wait
ten minutes, and ask the backhoe operator how to get
back to civilization. -Alan Frame
More information about the openssh-unix-dev
mailing list