llvm port problem
Ryan Schmidt
ryandesign at macports.org
Wed Jun 6 18:36:39 PDT 2007
On Jun 6, 2007, at 19:59, Steve Dekorte wrote:
> $ sudo port install llvm
> ---> Building llvm with target all
> Error: Target com.apple.build returned: shell command "cd /opt/
> local/var/db/dports/build/
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_
> dports_lang_llvm/work/cfrontend/build && make all" returned error 2
> Command output: SHLIB_LINK='' \
> SHLIB_INSTALL='' \
> SHLIB_EXT='' \
> SHLIB_MULTILIB='' \
> SHLIB_MKMAP='' \
> SHLIB_MKMAP_OPTS='' \
> SHLIB_MAPFILES='' \
> SHLIB_NM_FLAGS='-pg' \
> MULTILIB_OSDIRNAMES='' \
> mkinstalldirs='/bin/sh ../../src/gcc/mkinstalldirs' \
> /bin/sh mklibgcc > tmp-libgcc.mk
> mv tmp-libgcc.mk libgcc.mk
> TARGET_CPU_DEFAULT="" \
> HEADERS="ansidecl.h" DEFINES="" \
> /bin/sh ../../src/gcc/mkconfig.sh tconfig.h
> tconfig.h is unchanged
> make \
> CFLAGS="-O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -
> Wmissing-prototypes -pedantic -Wno-long-long -fno-common " \
> CONFIG_H="tconfig.h ../../src/gcc/../include/ansidecl.h"
> TM_H="tm.h ../../src/gcc/config/i386/i386.h ../../src/gcc/
> config/darwin.h ../../src/gcc/config/i386/darwin.h ../../src/gcc/
> defaults.h insn-constants.h insn-flags.h" \
> MAKEOVERRIDES= \
> -f libgcc.mk all
> for d in libgcc; do \
> if [ -d $d ]; then true; else /bin/sh ../../src/gcc/mkinstalldirs
> $d; fi; \
> done
> if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
> /opt/local/var/db/dports/build/
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_
> dports_lang_llvm/work/cfrontend/build/gcc/xgcc -B/opt/local/var/db/
> dports/build/
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_
> dports_lang_llvm/work/cfrontend/build/gcc/ -B/opt/local/lib/llvm/
> i686-apple-darwin8.9.1/bin/ -B/opt/local/lib/llvm/i686-apple-
> darwin8.9.1/lib/ -isystem /opt/local/lib/llvm/i686-apple-
> darwin8.9.1/include -isystem /opt/local/lib/llvm/i686-apple-
> darwin8.9.1/sys-include -O2 -DIN_GCC -DDEFAULT_TARGET_MACHINE=
> \"i686-apple-darwin8.9.1\" -W -Wall -Wwrite-strings -Wstrict-
> prototypes -Wmissing-prototypes -isystem ./include -g -
> DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../src/gcc -
> I../../src/gcc/. -I../../src/gcc/../include -DL_muldi3 -c ../../
> src/gcc/libgcc2.c -o libgcc/./_muldi3.o
> xgcc: installation problem, cannot exec `gccas': No such file or
> directory
> make[2]: *** [libgcc/./_muldi3.o] Error 1
> make[1]: *** [libgcc.a] Error 2
> make: *** [all-gcc] Error 2
I tried it just now, and llvm 2.0_0 installs just fine for me on
Intel Core 2 Duo with Mac OS X 10.4.9 and MacPorts 1.4.42 and Xcode
2.4.1.
What MacPorts version do you have? Is your ports tree up to date? Try
"sudo port selfupdate" to update both.
Do you have the latest Xcode?
More information about the macports-users
mailing list