#25225: Erlang will not build - cannot find file: --------------------------------+------------------------------------------- Reporter: trog24@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.0 Keywords: | Port: --------------------------------+------------------------------------------- When trying to build Erlang via: {{{ sudo port -d upgrade installed }}} the following error occurs: {{{ /usr/bin/g++-4.0 -bundle -flat_namespace -undefined warning -fPIC -framework OpenGL -L/opt/local/lib powerpc-apple-darwin9.8.0/wxe_driver.o powerpc-apple-darwin9.8.0/wxe_ps_init.o powerpc-apple- darwin9.8.0/wxe_impl.o powerpc-apple-darwin9.8.0/wxePrintout.o powerpc- apple-darwin9.8.0/wxe_return.o powerpc-apple-darwin9.8.0/wxe_funcs.o powerpc-apple-darwin9.8.0/wxe_events.o powerpc-apple- darwin9.8.0/wxe_init.o powerpc-apple-darwin9.8.0/gl_funcs.o powerpc-apple- darwin9.8.0/wxe_gl.o -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL -lwx_macu_stc-2.8 -lwx_macu_gl-2.8 -lwx_macu-2.8 -o ../priv/powerpc-apple- darwin9.8.0/wxe_driver.so ld: file not found: /opt/local/lib/libjpeg.7.dylib collect2: ld returned 1 exit status make[3]: *** [../priv/powerpc-apple-darwin9.8.0/wxe_driver.so] Error 1 make[2]: *** [opt] Error 2 make[1]: *** [opt] Error 2 make: *** [libs] Error 2 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work /erlang-R13B04" && /usr/bin/make all " returned error 2 Error: Target org.macports.build returned: shell command failed DEBUG: Backtrace: shell command failed while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" Warning: the following items did not execute (for erlang): org.macports.activate org.macports.build org.macports.destroot org.macports.install Log for erlang is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/main.log Error: Problem while installing erlang }}} Erlang had been deleted because of a persistent inability to build; but, must be a dependency on upgrading another module. The deleting did not indicate a dependency. The following occurred prior to the reinstall attempt: {{{ Franks-Power-Mac-G4:~ frank$ sudo port upgrade installed ---> darwinbuild is replaced by darwinbuild-legacy ---> Computing dependencies for darwinbuild-legacy ---> Cleaning darwinbuild-legacy ---> Computing dependencies for libsdl_image ---> Fetching libsdl_image ---> Verifying checksum(s) for libsdl_image ---> Extracting libsdl_image ---> Configuring libsdl_image ---> Building libsdl_image ---> Staging libsdl_image into destroot ---> Computing dependencies for libsdl_image ---> Installing libsdl_image @1.2.10_2 ---> Deactivating libsdl_image @1.2.10_1 ---> Activating libsdl_image @1.2.10_2 ---> Cleaning libsdl_image ---> Computing dependencies for erlang ---> Building erlang }}} The platform is a Quicksilver PowerPC G4 running MacOS 10.5.8 and the following was run prior to the upgrade attempt: {{{ Franks-Power-Mac-G4:~ frank$ sudo port selfupdate ---> Updating the ports tree ---> Updating MacPorts base sources using rsync MacPorts base version 1.8.2 installed, MacPorts base version 1.9.0 downloaded. ---> MacPorts base is outdated, installing new version 1.9.0 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated }}} -- Ticket URL: <http://trac.macports.org/ticket/25225> MacPorts <http://www.macports.org/> Ports system for Mac OS