Erlang Build Failing on configure

Robert Sanford wobbet at gmail.com
Sun Dec 20 15:39:44 PST 2009


Running Snow Leopard on MacBookPro 2,2 (32 bit Core2Duo).

It says that SMP Emulator was enabled by user but I didn't explicitly enable anything.

I'm clueless and any help is much appreciated.

rjsjr

Macintosh-2:~ wobbet$ sudo port install erlang
Password:
--->  Computing dependencies for erlang
--->  Configuring erlang
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B02" && ./configure --prefix=/opt/local --disable-dependency-tracking --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/destroot/opt/local --enable-kernel-poll --enable-threads --enable-dynamic-ssl-lib --enable-smp-support --enable-hipe --disable-ssl " returned error 1
Command output: checking size of void *... 8
checking whether compilation mode forces ARCH adjustment... yes: adjusting ARCH=x86 to ARCH=amd64
configure: Adjusting LDFLAGS to cope with 64bit Darwin
checking if VM has to be linked with Carbon framework... no
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking for ranlib... ranlib
checking for bison... bison -y
checking for perl5... /opt/local/bin/perl5
checking whether ln -s works... yes
checking for ar... ar
checking for rm... /bin/rm
checking for mkdir... /bin/mkdir
checking for a BSD-compatible install... /usr/bin/install -c
checking how to create a directory including parents... /usr/bin/install -c -d
checking for extra flags needed to export symbols... none
none
checking for sin in -lm... no
checking for dlopen in -ldl... no
checking for main in -linet... no
checking for openpty in -lutil... no
checking for native win32 threads... no
checking for pthread_create in -lpthread... no
checking for pthread_create in -lc_r... no
checking if the '-pthread' switch can be used... no
checking whether default stack size should be modified... no
checking for void *... (cached) yes
checking size of void *... (cached) 8
checking whether an emulator with smp support should be built... yes; enabled by user
configure: error: cannot build smp enabled emulator since no thread library was found
configure: error: /bin/sh '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B02/erts/configure' failed for erts

Error: Status 1 encountered during processing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20091220/ed1d2340/attachment.html>


More information about the macports-users mailing list