Hello, I have noted the following failure in the configure script for 3.8p1. The apparent error is -------------------------------------------------------------------------------------------------- configure:5911: cc -E conftest.c "configure", line 5908.10: 1506-296 (S) #include file <zlib.h> not found. configure:5917: $? = 1 configure: failed program was: #line 5907 "configure" #include "confdefs.h" #include <zlib.h> configure:5936: result: no configure:5941: error: *** zlib.h missing - please install first or check config .log ** -------------------------------------------------------------------------------------------------- The configure command (cc -E) is being invoked without the option -I/usr/local/include. This is not a problem with my previous (and current) copy of 3.7.p2. (I reconfigured, and regenerated for SSL 9.7.d ). I can bypass the problem by setting CPPFLAGS=-I/usr/local/include but wonder if I have missed some change to instructions since I have to do this with 3.8p1 but did not for 3.7p2. The environment is AIX 5.1 ML005, VisualAge/C/C++ v5 (fixes current as of 11/03) Zlib 1.1.4 (zlib.h is in /usr/local/include) configure options are ; ./configure --with-tcp-wrappers --with-prngd-socket=/var/run/egd-pool Has anyone else seen this ?? Thanks , Steve Steve Hall (shall at nebraska.edu) Computing Services Network University of Nebraska
Steve Hall wrote:> Hello, > I have noted the following failure in the configure script for 3.8p1. The > apparent error is[...]> configure:5941: error: *** zlib.h missing - please install first or checkYou have a zlib.a in /usr/lib but don't have the corresponsing zlib.h in /usr/include.> The configure command (cc -E) is being invoked without the option > -I/usr/local/include. > > This is not a problem with my previous (and current) copy of 3.7.p2. (I > reconfigured, and regenerated for SSL 9.7.d ). > > I can bypass the problem by setting CPPFLAGS=-I/usr/local/include but > wonder if I have > missed some change to instructions since I have to do this with 3.8p1 but > did not for 3.7p2.Configure no longer automatically searches /usr/local/{lib,include} by default. If your zlib is in /usr/local (it sounds like it is) you can use "./configure --with-zlib=/usr/local" -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
On Tue, 30 Mar 2004, Steve Hall wrote: [snip]> The configure command (cc -E) is being invoked without the option > -I/usr/local/include. > > This is not a problem with my previous (and current) copy of 3.7.p2. (I > reconfigured, and regenerated for SSL 9.7.d ). > > I can bypass the problem by setting CPPFLAGS=-I/usr/local/include but > wonder if I have > missed some change to instructions since I have to do this with 3.8p1 but > did not for 3.7p2.Here is the relevant entry in ChangeLog 20040123 - (tim) [configure.ac] Remove hard coded -L/usr/local/lib and -I/usr/local/include. Users can do LDFLAGS="-L/usr/local/lib" \ CPPFLAGS="-I/usr/local/include" ./configure if needed. -- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net
I too am experiencing this issue. both /usr/local/libz.a & /usr/lib/libz.a are linked to /opt/freeware/lib/libz.a. While the compile seems to work locally, but when i install ssh on another machine i get: ==================Symbol resolution failed for ssh because: Symbol __strtollmax (number 157) is not exported from dependent module /usr/lib/libc.a(shr.o). Examine .loader section symbols with the 'dump -Tv' command. ==================how is this resolved? Compile options: ./configure LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" --prefix=/usr --with-tcp-wrappers -Thanks, Ryan <snip> Darren Tucker wrote:> Configure no longer automatically searches/usr/local/{lib,include} by> default.Correction: configure will search /usr/local *if* it doesn't find zlib elsewhere. You have zlib.a in /usr/lib, so this doesn't happen __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/