For Programmers: Free Programming Magazines  


Home > Archive > Compression > September 2004 > Compiling correctly zlib for use with another program without root / administrator pr









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Compiling correctly zlib for use with another program without root / administrator pr
pascalv

2004-09-18, 3:55 pm

I would like to install mutella on a unix box where I do not have root
privilege (Linux Debian 2.4.18-32 #1 Sat Apr 10 14:01:10 UTC 2004
parisc unknown).
Mutella requires zlib.

Hence I first installed zlib with these commands:
$ tar xvzf zlib-1.2.1.tar.gz
$ cd zlib-1.2.1
$ ./configure --prefix=$HOME --exec-prefix=$HOME
$ make
$ make install

A file $HOME/lib/zlib.a has been created (OK)

Then I attempted to compile mutella with these commands:
$ tar xvzf mutella-0.4.5.tar.gz
$ cd mutella-0.4.5
$ ./configure --prefix=$HOME --exec-prefix=$HOME
--with-zlib=$HOME/lib/zlib.a

The ./configure fails with this error:
checking for compress in -lz... no
configure: error: You must have zlib installed!

Does somebody have a clue?

Cheers

Pascal
Hannah Schroeter

2004-09-18, 3:55 pm

Hello!

pascalv <pascalv@despammed.com> wrote:

>Then I attempted to compile mutella with these commands:
>$ tar xvzf mutella-0.4.5.tar.gz
>$ cd mutella-0.4.5
>$ ./configure --prefix=$HOME --exec-prefix=$HOME
>--with-zlib=$HOME/lib/zlib.a


Try --with-zlib=$HOME?

>The ./configure fails with this error:
>checking for compress in -lz... no
>configure: error: You must have zlib installed!


>Does somebody have a clue?


Sucky OS where zlib isn't installed by default...

Kind regards,

Hannah.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com