[ dspam-Bug Tracker-3431582 ] 3.10.1 configure fails with MySQL 5.5 on Solaris 10

SourceForge.net <[email protected]> Tue, 01 Nov 2011 03:03:43 +0000
Newsgroups gmane.mail.spam.dspam.devel
Message-ID <[email protected]>
Bug Tracker item #3431582, was opened at 2011-11-01 03:03
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3431582&group_id=250683

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: v3.10.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: 3.10.1 configure fails with MySQL 5.5 on Solaris 10

Initial Comment:
The configure script for DSpam 3.10.0 fails when attempting to verify that MySQL 5.0 or later is present when configuring on an amd64 Solaris 10u9 platform with 64-bit MySQL 5.5.8 installed, using Sun cc.  I was able to copy the test applet source and successfully compile and run it, with the correct results, at the shell, but could not get configure to pass the mysql>=5.0 test.  I was able to get DSpam to compile only by modifying configure to force this test to always succeed.

Configure options that were successful in the end with the forced-to-succeed mysql>=5 test:

CC=/usr/bin/cc CXX=/usr/bin/CC CFLAGS='-fast -xarch=generic -xtarget=generic -xcache=generic -m64' CPPFLAGS='-fast -xarch=generic -xtarget=generic -xcache=generic -m64' LDFLAGS='-m64 -L/usr/lib/64 -R/usr/lib/64 -L/usr/ucblib/amd64 -R/usr/ucblib/amd64 -L/opt/mysql/mysql/lib -R/opt/mysql/mysql/lib' ./configure --prefix=/usr --sysconfdir=/etc/dspam --mandir=/usr/share/man --enable-daemon --enable-clamav --enable-syslog --enable-preferences-extension --with-dspam-home=/var/spool/dspam --with-storage-driver=mysql_drv --with-mysql-includes=/opt/mysql/mysql/include --with-mysql-libraries=/opt/mysql/mysql/lib --with-dspam-mode=6511 --with-dspam-owner=dspam --with-dspam-group=mail

This BUILT DSpam correctly, but in order for it to run correctly I still had to add /usr/ucblib/amd64 to the runtime library search path using crle.  I also moved the resulting 64-bit libspam from /usr/lib to /usr/lib/lib64 where it belongs.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3431582&group_id=250683

------------------------------------------------------------------------------
RSA&reg; Conference 2012
Save &#36;700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1