C. Bensend
2002-Jul-12 04:53 UTC
Building 3.4p1 on HP-UX 11.00, gcc, zlib 1.1.4, OpenSSL 0.9.6d
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
Darren Tucker
2002-Jul-12 10:52 UTC
Building 3.4p1 on HP-UX 11.00, gcc, zlib 1.1.4, OpenSSL 0.9.6d
"C. Bensend" wrote:> 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 ***I realise this might be stating the blindingly obvious, but what did config.log say? My guess is you're missing the zlib header files. $ sudo rm /usr/local/include/zlib.h /usr/local/include/zconf.h $ ./configure [snip] configure: error: *** zlib missing - please install first or check config.log *** -- Darren Tucker (dtucker at zip.com.au) GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.