MAGIC Magic Mailing List
 
 

From: Michael Bajura (mbajura AT isi DOT edu)
Date: Thu Mar 25 2004 - 23:48:18 EST

  • Next message: Vetmarket: "Deer Antler Plus:Multiple 0rgasms, Longer Harder Erect-ions! . .loadings"

    I got magic-7.2-64 to startup and open a couple windows.
    
    These same problems had to be fixed in scripts/configure for 7.3 to get it
    compile on my mac too.
    
    MIke
    
    
    
    
    
    ------ Forwarded Message
    From: Michael Bajura <mbajura AT isi DOT edu>
    Date: Thu, 25 Mar 2004 23:38:12 -0500
    To: <magic-dev AT csl DOT cornell.edu>
    Subject: BUG Report: build for darwin (mac OS X) magic-7.2-64
    scripts/configure
    
    2 places in the scripts/configure file:
    
    1)
    
    I'm having trouble doing the build -- in the main configure script at line
    8198
    
        *darwin*)
          SHDLIB_EXT=".dylib"
          LDDL_FLAGS = "-dynamiclib -flat_namespace -undefined suppress
    -bind_at_lo\
    ad"
          LDFLAGS=${LDFLAGS} ${LIB_SPECS}
          CFLAGS="${CFLAGS} ${X_CFLAGS} ${INC_SPECS} -I/sw/include -fno-common"
          ;;
    
    
    I seem to be getting errors because there are extra spaces around the "="
    sign on the LDDL_FLAGS line,
    I also seem to be getting errors because there are no "'s in the LDFLAGS
    line.
    
    I get these errors when running the first "configure" command to do a build.
    
    
    2)
    Also, later in the scrip there's an unconditional test for $GCC
    
    Which unconditionally adds "
    -Wl,--version-script=\${MAGICDIR}/magic/symbol.map\
    "
    On to the end of LDDL_FLAGS.
    
    Apparently the compiler that comes with mac OSX 10.3 is already called "gcc"
    and does NOT accept these options.  Maybe this test should be under the
    "darwin" test earlier in the script?
    
    
    
    Please check when someone gets a chance.
    
    Thanks,
    
    MIke
    
    
    ------ End of Forwarded Message
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo