On Mar 16, 2005, at 14:08, Odhiambo Washington wrote:

* 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

I guess you didn't understand my response.

Doing this upgrade is safe and wont break anything and is recommended.

Installing it in a secondary location is not recommended and the reasons should be obvious!!!

This upgrade is recommended because it fixes some bugs, improves performance and fixes some vulnerabilities.

If you don't want to install it for any reason then give just give up on building anything that depends on it because without it they wont build.

Is that any clearer for you?

-- Dale

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to