id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 11490,BUG: erlang-R11B-2_0 build failure on Intel,scott@…,bfulgham@…,"Installing erlang on Tiger on an Intel iMac results in the following compile error: {{{ gcc -mdynamic-no-pic -g -O2 -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_erlang/work/erlang-R11B-2/erts/i386-apple-darwin8.8.1 -no-cpp-precomp -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DHYBRID -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -Ibeam -Isys/unix -Isys/common -Ii386-apple-darwin8.8.1/opt/hybrid -Ii386-apple-darwin8.8.1 -Izlib -Ihipe -I../include/internal -I../include/internal/i386-apple-darwin8.8.1 -c i386-apple-darwin8.8.1/opt/hybrid/hipe_x86_bifs.S -o obj/i386-apple-darwin8.8.1/opt/hybrid/hipe_x86_bifs.o make[3]: *** No rule to make target `mach_override.h', needed by `obj/i386-apple-darwin8.8.1/opt/hybrid/hipe_x86_signal.o'. Stop. make[2]: *** [opt] Error 2 make[1]: *** [hybrid] Error 2 make: *** [emulator] Error 2 }}} After finding the following post and its accompanying thread, I found that I needed to go get mach_override.c and mach_override.h and place them in the erts/emulator/hipe/ directory: http://www.nabble.com/Re%3A-Finally%3A-Mac-Intel-patches-p5942623.html The source files are part of the mach_star library. Here is the original mach_star library author: http://rentzsch.com/mach_star/ However, his version of the library only works on PowerPC. Fortunately, someone has recently ported mach_star to Intel: http://guiheneuf.org/mach%20inject%20for%20intel.html I downloaded their modified source: http://guiheneuf.org/Files/mach_star-1.2-intel-0.3.zip and copied mach_star-1.2-intel-0.3/mach_override/mach_override.[ch] to the macports build directory for erlang, under erts/emulator/hipe/ , and then re-ran ""sudo port install erlang"". The project built and installed successfully after that. mach_star and its Intel port look like they're under the Creative Commons Attribution License 2.0. Perhaps that is why they're not included in the port? Sorry for my unfamiliarity with Mac Ports -- I'm new here. ",defect,closed,High,,ports,1.4,invalid,,gwright@…,