[ale] Still trying to upgrade openssh.

Michael E. Barker mbarker68 at home.com
Mon Feb 11 12:41:12 EST 2002


Jerry Swann wrote:
> 
> On Mon, 2002-02-11 at 10:39, Michael E. Barker wrote:
> > I haven't had any success with rpms so I thought I would compile openssh
> > from src.
> >
> > On mandrake I have openssl and zlib installed but when I ./configure for
> > openssh it returns "zlib missing".  So I did ./configure
> > --with-zlib=/lib (no go) and --with-zlib=/lib/libz.so.1.1.3, still
> > missing.
> >
> > What now?
> > -Michael
> 
> The configure script is trying to be more helpful than you expect it
> to.  When you use the --with-zlib option you need to make sure you don't
> specify the last part (/lib) since it will append /lib for the library
> files and append /include for the include files.  So, with your
> --with-zlib=/lib, the configure script is looking in /lib/lib and
> /lib/include respectively.
> 
> 2 ways to fix it:
> 
> Either use  ./configure --with-zlib=/ , this will look in //lib for
> the libraries and //include for the include files, this should work
> in most cases.  The double // is ok.
> 
> or explicitly specify a LDFLAGS and CFLAGS and hard code the paths.
> 
> export LDFLAGS="$LDFLAGS -L/lib -R/lib"
> export CFLAGS="$CFLAGS -I/include"
> 
> These variables are added to what configure uses to test compile it's
> test code.
> 
> The -R may not be required depending if your system already knows how
> to find shared libs in /lib, but I include it any just to make sure.
> 
> --
> Jerry Swann       "Jerry dot Swann at oit dot gatech dot edu"
> Georgia Institute of Technology
> Office Phone: 404 894-1659
> Office Fax:   404 894-9548
I did the ./configure --with-zlib=/  still missing

I did the two exports and the configure script still tells me that zlib
is missing.

I'm now totally baffled.
-- 
-Michael

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list