Re: [Clamav-users] Compiling on Tru64 unix

2008-11-03 Thread Allen, Geoff
Thanks to everyone for the help! I now have it compiled and am testing. This 
list is both clueful and helpful. I wish I could say that for every mailing 
list I'm on. 

The secret(s) were:

Török Edwin:
  Yeah, so try CPPFLAGS=-pthread to configure

Jeff Donsbach:
 I would add that to CFLAGS as well.

It did take both. Just CPPFLAGS caused linker errors with unsatisfied 
pthread-related symbols.

The final incantation was:
CLAMAV_MILTER_LIBS=-L/hostlocal/lib -L/usr/local/lib -L/usr/lib ./configure 
--enable-milter CPPFLAGS=-pthread CFLAGS=-pthread

Geoff
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


[Clamav-users] Compiling on Tru64 unix

2008-10-31 Thread Allen, Geoff
This might be a long-shot, but has anyone compiled ClamAV (and
specifically, clamav-milter) on Tru64 Unix? I'm trying, but can't get
configure to generate a proper Makefile that will compile clamav-milter.

 

I'd love to discuss details with anyone who might have some insight.

 

Thanks,

 

Geoff

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] Compiling on Tru64 unix

2008-10-31 Thread aCaB
Allen, Geoff wrote:
 This might be a long-shot, but has anyone compiled ClamAV (and
 specifically, clamav-milter) on Tru64 Unix? I'm trying, but can't get
 configure to generate a proper Makefile that will compile clamav-milter.
 
 I'd love to discuss details with anyone who might have some insight.

Hi Geoff,
if you could provide the developers with some sort of shell access we
may be able to help.
Unfortunately we don't have access to any hpux and the the test shells
from hp were never really usable and anyway they are not available anymore.

Even if not as a top priority we care about non-gcc compilers.

Cheers,
-aCaB

P.S.: AIX is another platform we are currently unable to test, again
shell access is welcome.
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] Compiling on Tru64 unix

2008-10-31 Thread Jeff Donsbach
On Fri, Oct 31, 2008 at 11:53 AM, Allen, Geoff [EMAIL PROTECTED] wrote:
 This might be a long-shot, but has anyone compiled ClamAV (and
 specifically, clamav-milter) on Tru64 Unix? I'm trying, but can't get
 configure to generate a proper Makefile that will compile clamav-milter.



 I'd love to discuss details with anyone who might have some insight.


Not in a long long while, and I don't have access to a Tru64 UNIX
machine easily any more. But, what exactly are the problems you are
encountering?
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] Compiling on Tru64 unix

2008-10-31 Thread Allen, Geoff
 Not in a long long while, and I don't have access to a Tru64 UNIX
 machine easily any more. But, what exactly are the problems you are
 encountering?

Configure runs through and finds the milter libraries (we have them in a
non-standard location, but setting CLAMAV_MILTER_LIBS seems to take care
of that). However, the Makefile generated in clamav-milter has all the
source definitions (sbin_PROGRAMS, clamav_milter_SOURCES,
am__clamav_milter_SOURCES_DIST, am_clamav_milter_OBJECTS) commented out.
Make (I'm using gmake and gcc) says there's nothing to do in that
directory. If I uncomment those sources in Makefile, it then attempts to
compile, but I get fatal errors which indicate to me that there's
probably still another reason the configure script didn't turn on that
compile.

As I'm trying to puzzle out what needs to happen so I can make it
happen, I figured I'd see if anyone already knew and could say, Oh
yeah, you just need to flip the doodad in the dinglehopper and it'll
compile right up.

Geoff
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] Compiling on Tru64 unix

2008-10-31 Thread Allen, Geoff
 Did you use --enable-milter in configure?

Yes.

Geoff
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] Compiling on Tru64 unix

2008-10-31 Thread Allen, Geoff
 Can you pastebin the config.log?
 Perhaps somebody will have an idea on what is wrong.

Sure.

http://pastebin.com/m4d9e964

Geoff
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


Re: [Clamav-users] Compiling on Tru64 unix

2008-10-31 Thread Jeff Donsbach
On Fri, Oct 31, 2008 at 5:11 PM, Török Edwin [EMAIL PROTECTED] wrote:
 meaning clamd won't be built either

 configure:13401: checking pthread.h usability
 configure:13418: gcc -c -g -O2  conftest.c 5
 In file included from conftest.c:94:
 /usr/include/pthread.h:312:4: #error Please compile the module
 including pthread.h with -pthread
 configure:13424: $? = 1

 Yeah, so try CPPFLAGS=-pthread to configure


I would add that to CFLAGS as well.
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml