Bug Tracker item #2859795, was opened at 2009-09-16 07:41 Message generated for change (Comment added) made by sbajic You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2859795&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.9.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Richard5 (richard-5) Assigned to: Nobody/Anonymous (nobody) Summary: Can't build 3.9.0 beta1 on OSX 10.6 Initial Comment: I encountered a small problem when trying to compile beta1 on OSX Snow Leopard and could not find any other reference to this problem on the bug tracker. It looks like something is going wrong during make as I don't see any compilation going on and it just moves into the linker and complaining about libraries. I was able to compile ALPHA2 with the fix. I've attached the output of ./configure and make (it looks like configure is run again during make????) Richard ---------------------------------------------------------------------- >Comment By: Stevan Bajic (sbajic) Date: 2009-10-12 20:10 Message: Please see this here: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2864743&group_id=250683 Regarding your first issue: You have not read the DSPAM wiki entry regarding how to compile DSPAM. There you should see that you need to execute autogen.sh. Can I now close this bug report? Kind Regards from Switzerland Stevan Bajic ---------------------------------------------------------------------- Comment By: Richard5 (richard-5) Date: 2009-10-12 20:07 Message: Allright, the fix from 2770990 works!! See: http://sourceforge.net/tracker/index.php?func=detail&aid=2770990&group_id=250683&atid=1126467 This change makes it work! diff --git a/src/read_config.h b/src/read_config.h index 8502af4..666eb3f 100644 --- a/src/read_config.h +++ b/src/read_config.h @@ -35,6 +35,6 @@ config_t read_config (const char *path); int configure_algorithms (DSPAM_CTX * CTX); agent_pref_t pref_config(void); -config_t agent_config; +static config_t agent_config; #endif /* _READ_CONFIG_H */ Thanks ---------------------------------------------------------------------- Comment By: Richard5 (richard-5) Date: 2009-10-12 19:57 Message: Sorry, did not work. Make failed again, though different error. ld: duplicate symbol _agent_config in .libs/read_config.o and .libs/pref.o collect2: ld returned 1 exit status make[3]: *** [libdspam.la] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 I'm going to look if I can solve this by applying fix 2770990 which worked for the same error on ALPHA ---------------------------------------------------------------------- Comment By: Stevan Bajic (sbajic) Date: 2009-10-12 11:37 Message: Hallo Richard Can you try this and tell me if that works? ------ # export MACOSX_DEPLOYMENT_TARGET=10.6 # ./autogen.sh # CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" LDFLAGS="" \ ./configure \ --with-storage-driver=mysql_drv \ --with-mysql-includes=/usr/local/mysql/include/mysql \ --with-mysql-libraries=/usr/local/mysql/lib/mysql \ --enable-preferences-extension \ --with-dspam-home-owner=_dspam \ --with-dspam-home-group=_postfix \ --with-dspam-home=/usr/local/var/dspam \ --enable-long-usernames \ --with-dspam-group=postfix \ --enable-domain-scale \ --enable-virtual-users \ --enable-debug \ --enable-verbose-debug \ --enable-daemon \ --enable-syslog \ --disable-large-scale \ --disable-external-lookup \ --disable-clamav \ --disable-homedir \ --disable-bnr-debug ------ Kind Regards from Switzerland Stevan Bajic ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2859795&group_id=250683 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel