-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kaplan, Andrew H. wrote:
[snip]
> The line in question reads as follows:    configure:13162: gcc -c -g 02
> -I/usr/local/include conftest.c >&5
> 
> The following text appears immediately after:   cc1: warning: changing search
> order for system directory "/usr/local/include"
>                                                 cc1: warning: as it has 
> already
> been specified as a non-system directory

The warnings mean that /usr/local/include is searched before /usr/include and
any other "system directory".

>>BTW try to use the installed gcc (2.95.2), if you use the newer one you'll
> have to install it later so that libgcc is somewhere permanent.  
>>Perhaps starting with no environment variables set will help.
> 
> I contacted the administrator, who has since left the company, of this system,
> and asked him about the locally installed gcc (2.95.2). Here is an excerpt 
> from
> the e-mail he sent in reply:
> 
> The Makefile looks ok.  I think the problem is the gcc version.  You will have
> to mount /usr/tools and use the gcc installed on that to compile ClamAV.  The
> one under /usr/contrib is no good.

Strange, if the above log was produced with gcc 2.95.2 it means that it works
fine, at least the compile part, we don't know about the link part yet.

Anyway it could be made to work with either, your choice.

I suggest to start with a minimal set of well defined environment variables
(PATH, CC, CFLAGS, LDFLAGS, nothing else), run configure, see any complaints
there, add the required parameters to configure (the defaults install everything
under /usr/local, I use --sysconfdir=/etc --enable-id-check --without-libcurl
- --with-dbdir=/usr/local/share/clamav) and run make.

- --
René Berber
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkPqFg4ACgkQL3NNweKTRgyowQCgjTP33JJ//BCTVD82kGk9pj8L
iJ4AoM1QERe3D6Y4CS8yNrJ8u5ft3B8r
=Cqhl
-----END PGP SIGNATURE-----

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

Reply via email to