* Dale Walsh <[EMAIL PROTECTED]> [20050316 19:40]: wrote:
> 
> On Mar 16, 2005, at 10:24, Odhiambo Washington wrote:
> 
> >
> >I am trying to statically compile zlib-1.2.2 into my clamav 
> >installation
> >on FreeBSD 4.11.
> >
> >cd zlib-1.2.2 && ./configure && make
> >
> >cd ../clamav-devel
> >
> >./configure --with-zlib=../zlib-1.2.2 [other opts]
> 
> This is obviously wrong and wont give you the results you are after.

Oh!

> >I get this error:
> >
> ><cut>
> >checking for pthread.h... yes
> >checking for zlib installation... using ../zlib-1.2.2
> >configure: error: Please install zlib and zlib-devel packages
> ></cut>
> >
> >I'm thinking this should be the correct way. I don't intend to install
> >zlib-1.2.2 over what is on my system until they import it into the base
> >system ;)
> 
> When you configure zlib without specifying a prefix it will defalut to 
> /usr/local and wont overwrite your existing zlib if it is installed in 
> /usr.

Well, that is what I actually expected! I don't want to overwrite the
system's zlib.


> however, I offer the following advice.
> 
> If libz.a is installed in /usr/lib then build zlib 1.2.2 with the 
> following command.
> ./configure --prefix=/usr && make && make install.
> 
> If libz.a is installed in /usr/local/lib then build zlib 1.2.2 with the 
> following command.
> ./configure && make && make install.
> 
> If libz.a is installed in another folder, let me know where and I'll 
> give you a proper build/install command.

I actually don't want to overwrite system zlib. I mentioned that in my
post, no?


> By installing an updated zlib, it wont break your system or anything 
> that depends on the zlib libraries and is a safe upgrade to perform 
> from a user standpoint.

I don't want to mess with this server at all. I just want to see the
diff between two clamds compiled differently.

> Don't be afraid, no harm will come to your system and later when they 
> get it into the RPM's, nothing will break when you update other apps.

I run FreeBSD, so I'm allergic to RPMs ;-)

> As well, I recommend building from source

..that is what I always do with clamav...

[The rest of the story snipped].

Where are the archives of this list, like for last week? I remember
someone mentioned how to do what I want to do and I think I am almost
right in how I was doing it... I don't intent to install zlib-1.2.2
over my system's zlib!



-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <[EMAIL PROTECTED]>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
The trouble with a kitten is that
When it grows up, it's always a cat
                -- Ogden Nash.
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to