Just as an update to those who have an interest,

gcc 4.0 and higher will cause problems with milter-spamc release 0.25. The configure script puts in params that changed between gcc 3.x and 4.x (specifically the -fvolatile ). It also has a problem with the -V .

gcc: argument to `-V' is missing
cc1: error: unrecognized command line option "-fvolatile"

Mac/X "Tiger" has the 3.3 compiler installed as well, although 4.0.0 is the default.
Use "gcc_select -force 3.3" to make 3.3 the default.

Edit the configure script to make "-o" into "-o " (note the space). Otherwise it will error on

/usr/bin/ld: unknown flag: -oconftest

Now it will build (of course in this example I still have to make libmilter & the Berkeley DB)

  Mutex........: POSIX_API
  Shared Memory: POSIX_API
  Time.........: BSD_API
  Berkeley DB..: not found
  libmilter....: no
  CFLAGS.......:  -D_REENTRANT -g -Wall -fvolatile
  LDFLAGS......:
  LIBS.........: -lpthread

But at least it gets to the end without bombing out!!

Thanks to Anthony Howe for his help in pointing me in the right direction.....




________________________________________________________

Dr. Robert Young
ALI Database Consultants
1151 Williams Dr
Aiken SC 29803
USA

WWW: http://www.aliconsultants.com
Tele: 1-803-648-5931
Toll free in US: 1-866-257-8970 Fax:1-803-641-0345
Email: [EMAIL PROTECTED]
"Source of Rdb Controller, software for database analysis & performance tuning"


Reply via email to