drmeister / legacy-externals-clasp

Libraries that clasp depends on
13 stars 10 forks source link

Build problems on OSX #5

Open jl2 opened 9 years ago

jl2 commented 9 years ago

I cloned the externals-clasp repo and attempted to follow the directions in README.md and ran into the following two problems:

This is running on OSX 10.9.5.

jl2 commented 9 years ago

Should have mentioned, after fixing these, the rest of externals-clasp and clasp itself built successfully.

oubiwann commented 9 years ago

I've got another issue building on Mac OS X, version 10.10.3: it makes it as far as this target:

make boehm-setup
(cd boehm-7.2; \
        export ALL_INTERIOR_PTRS=1; \
        CFLAGS="-DUSE_MMAP" \
        ./configure --enable-shared=no ...)

Its config runs up to this point:

checking whether Solaris gcc optimization fix is necessary... no
checking for dladdr... yes
checking sys/dg_sys_info.h usability... no
checking sys/dg_sys_info.h presence... no
checking for sys/dg_sys_info.h... no
./configure: line 17489: syntax error near unexpected token `ATOMIC_OPS,'
./configure: line 17489: `   PKG_CHECK_MODULES(ATOMIC_OPS, atomic_ops, ,'
make[3]: *** [boehm-setup] Error 2
make[2]: *** [setup] Error 2
make[1]: *** [allnoget] Error 2
make: *** [all] Error 2

Update: same error on 10.10.5.

oubiwann commented 9 years ago

Here's the workaround that I used:

$ brew install boehmgc

I then removed the following from the externals-clasp makefile :

make boehm-setup
make zlib-setup
make boehm-build
make zlib-build

zlib was giving me issues, and since I already had it installed on my system, I removed it. With these changes externals-clasp was successfully built.