DIYMacServer » DSPAM

17 posts

dspam 3.9.0 beta1 on snow leopard

started at 11 Sep 2009
started by wafox
last reply from wafox
  • 11 Sep 2009
    #

    Ok I'm stating to dig into this. Has anyone had any luck getting dspam to compile under snow leopard? I'm getting a bunch of libtool errors. it will run the configure fine but it won't compile.

    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DLOGDIR=\"/usr/local/var/dspam/log\" -DCONFDIR=\"/usr/local/etc\" -DCONFIG_DEFAULT=\"/usr/local/etc/dspam.conf\" -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE -I. -I/usr/local/mysql/include -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -MT libdspam.lo -MD -MP -MF .deps/libdspam.Tpo -c -o libdspam.lo libdspam.c
    ../libtool: line 821: X--tag=CC: command not found
    ../libtool: line 854: libtool: ignoring unknown tag : command not found
    ../libtool: line 821: X--mode=compile: command not found
    ../libtool: line 988: *** Warning: inferring the mode of operation is deprecated.: command not found
    ../libtool: line 989: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
    ../libtool: line 1132: Xgcc: command not found
    ../libtool: line 1132: X-DHAVE_CONFIG_H: command not found

  • jeffrey.matt
    15 Sep 2009
    #

    I tried this last night and got the same errors. Anyone figured this out yet?

  • 15 Sep 2009
    #

    Sorry, no avail yet. I had the Alpha version working under Leopard but got sidetracked by the release of Snow Leopard. I'll see what I can do...

  • 16 Sep 2009
    #

    I've reported it as a bug, we'll see what comes of it...
    http://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2859795&group_id=250683

  • 21 Sep 2009
    #

    Richard,

    in your bug report you said you could get it to compile alpha 2? Might I ask how?

  • 21 Sep 2009
    #

    Yes, you need to do a patch described in this bug report:
    http://sourceforge.net/tracker/index.php?func=detail&aid=2770990&group_id=250683&atid=1126467

    And this is the configure string if I read my notes correctly:

    ./configure --enable-daemon --with-storage-driver=mysql_drv --with-mysql-includes=/usr/local/mysql/include --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-mysql4-initialization --enable-domain-scale --enable-virtual-users --enable-debug --enable-verbose-debug

  • 24 Sep 2009
    #

    well I've about ready to toss in the towel on dspam. Using your fix I can compile ALPHA2 but running it just results in a segfault.

    Process: dspam [85503]
    Path: /usr/local/bin/dspam
    Identifier: dspam
    Version: ??? (???)
    Code Type: X86-64 (Native)
    Parent Process: bash [68132]

    Date/Time: 2009-09-23 21:18:42.986 -0700
    OS Version: Mac OS X 10.6.1 (10B504)
    Report Version: 6

    Exception Type: EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

    Thread 0 Crashed: Dispatch queue: com.apple.main-thread
    0 dspam 0x0000000100009458 set_libdspam_attributes + 120 (config_api.c:79)
    1 dspam 0x0000000100001c5d daemon_start + 253 (dspam.c:3951)
    2 dspam 0x0000000100009108 main + 536 (dspam.c:183)
    3 dspam 0x0000000100001794 start + 52

    Thread 0 crashed with X86 Thread State (64-bit):
    rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
    rdi: 0x0000000000000000 rsi: 0x0000000100011e14 rbp: 0x00007fff5fbfec60 rsp: 0x00007fff5fbfec20
    r8: 0x00000001001fc0a0 r9: 0x00000001001fc0a4 r10: 0x0000000100039b6b r11: 0x0000000100024410
    r12: 0x0000000100101f60 r13: 0x0000000000000000 r14: 0x0000000100102190 r15: 0x0000000000000000
    rip: 0x0000000100009458 rfl: 0x0000000000010246 cr2: 0x0000000000000000

    Binary Images:
    0x100000000 - 0x100012ff7 +dspam ??? (???) <2BC23E2C-45B7-685B-AEAB-5EF7679E76DA> /usr/local/bin/dspam
    0x100019000 - 0x100034fff +libdspam.7.dylib ??? (???) <6ED30B52-8A88-FFA4-6ABC-18CC189FFC8F> /usr/local/lib/libdspam.7.dylib
    0x100042000 - 0x10008bfef +libmysqlclient.16.dylib ??? (???) <3A72CA50-0CF5-3CE9-3921-D234C4058B34> /usr/local/mysql/lib/mysql/libmysqlclient.16.dylib
    0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <B633F790-4DDB-53CD-7ACF-2A3682BCEA9F> /usr/lib/dyld
    0x7fff83265000 - 0x7fff83269ff7 libmathCommon.A.dylib ??? (???) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
    0x7fff8851b000 - 0x7fff886d9ff7 libSystem.B.dylib ??? (???) <66102D4E-6C8B-77D0-6766-2A1788B20C6F> /usr/lib/libSystem.B.dylib
    0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???) <66102D4E-6C8B-77D0-6766-2A1788B20C6F> /usr/lib/libSystem.B.dylib

  • 24 Sep 2009
    #

    I'm sorry to hear this, I will have a look myself on how I got it working. Keep us informed. I saw someone else posted a bug report on sourgeforce as well.

  • 12 Oct 2009
    #

    Hi small update, please read the first bugreport on a solution that looks like it is working.

  • 14 Oct 2009
    #

    I don't see much of an update there. I got beta1 to compile now but it still just seg faults when I run it.

  • 14 Oct 2009
    #

    We've moved to another bug report, it still segfaults but someone is currently looking at it. I'm compiling and sending the crashreports.
    https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2864743&group_id=250683

  • 23 Oct 2009
    #

    which crash reports does they want? the one like I posted or do they want the something else? I'll be happy to upload mine as well. I'm drowning in spam so anything I can do help!

  • 27 Oct 2009
    #

    I've answered all the questions and did not get another one after sending the latest crash report with debug enabled.

    I'll ask for an update.

  • 10 Nov 2009
    #

    Looks like they closed the ticket?

  • 10 Nov 2009
    #

    Yep, they have solved the issue. But it is not released yet. You need to get the latest release from Git if you want to try it. I aranged access to a mac for one of the developers (Stevan) to solve the issue. I still have some problems but they are related to my test machine. Please give it a go and let me know how it works out for you.

Reply »

You must log in to post.