Hi Dennis,

Many thanks for all your help and time.

I've tried compiling both packages in /usr/home/USERNAME/local and am still
getting the same errors as before.

 ./configure --with-clamav --prefix=/usr/home/USERNAME/local
and
./configure --with-clamav=/usr/home/solomon2/local --prefix=/usr/home/USERNA
ME/local

both give:
configure: error: can not find sources in . or ..

Trying :

./configure --with-clamav=/usr/home/USERNAME/local --prefix=/usr/home/USERNA
ME/local --srcdir=/usr/home/USERNAME/clamav-0.88.2
and
./configure --with-clamav --prefix=/usr/home/USERNAME/local --srcdir=/usr/ho
me/USERNAME/clamav-0.88.2

both give this error after a few lines:
./configure: 1156: Syntax error: word unexpected (expecting ")")

I still have not got my php.ini edited, could that be the problem?

I did not set the LDFLAGS as you sugested yesterday, is this still required?

Thanks Kevin




> I reproduced your problem and worked through it thusly:
>
> ./configure --with-clamav=/usr/home/USERNAME/bin/clam
>
> make
>
> cd modules
> ldd clamav.so
>
> ... lots of data with library paths correctly identified
>
> When you built clamav all the libs, binaries, includes, manpages, etc.,
> were put in the "--prefix=..." directory as subdirectories, so that is
> where to tell php-clamavlib's build process to look for the parts it
> needs. It's a bit messy and not the way I'd do it, but it will work.
> Adding yet another --prefix in the php-clamavlib build process makes
> things yet more messy, but again, it will work.
>
> I presume you haven't access to /usr/local, so what I'd do is use this
> prefix:
>
> --prefix=/usr/home/USERNAME/local
>
> for both builds. You will end up with /usr/home/USERNAME/local/ with
> bin, sbin, lib, man, share, etc in there (the basic gnu structure) and
> these can be reused for other applications if you build more later.
>
> dp
> _______________________________________________
> http://lurker.clamav.net/list/clamav-users.html
>
>
>


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

Reply via email to