Magic Mailing List |
|
From: Michael Bajura (mbajura AT isi DOT edu) Date: Thu Mar 25 2004 - 23:38:12 EST
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
|
|