#29194: transfig @3.2.5d make fails when using custom install path for MacPorts 1.9.2 (OS X 10.5.8, Xcode 3.1.4) ---------------------------------+------------------------------------------ Reporter: helpdesk@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: prefix | Port: ---------------------------------+------------------------------------------ In our setup the MacPorts tree is being built in a custom location "/phil/sw/macports/i386", instead op "/opt/local". The buildhost is a Mac Mini with OS X 10.5.8 and Xcode 3.1.4. We set up our MacPorts as follows: download MacPorts source, unpack, cd into the MacPorts directory: {{{ ./configure --prefix=/phil/sw/macports/i386 make && make install port selfupdate port search transfig port -d install transfig 2>&1 > transfig.debug }}} This results in a make error (see below, and the attached files). We checked that installing transfig (and our main goal, "xfig") do install just fine if we compile MacPorts from source with no extra "-- prefix"-option so that everything gets installed in the default "/opt/local"-location. {{{ :debug:configure Assembled command: 'cd "/phil/sw/macports/i386/var/macports/build/_phil_sw_macports_i386_var_macports_sources_rsync.macports.org_release_ports_print_transfig/work/transfig.3.2.5d" && xmkmf' :info:configure mv -f Makefile Makefile.bak :info:configure imake -DUseInstalled -I/phil/sw/macports/i386/lib/X11/config :info:configure making Makefiles in fig2dev... :info:configure mv -f Makefile Makefile.bak :info:configure Imakefile.c:15: error: Imake.tmpl: No such file or directory :info:configure imake: Exit code 1. :info:configure Stop. :info:configure make[1]: *** [fig2dev/Makefile] Error 1 :info:configure make[1]: *** No rule to make target `Makefiles'. Stop. :info:configure making Makefiles in transfig... :info:configure mv -f Makefile Makefile.bak :info:configure Imakefile.c:15: error: Imake.tmpl: No such file or directory :info:configure imake: Exit code 1. :info:configure Stop. :info:configure make[1]: *** [transfig/Makefile] Error 1 :info:configure make[1]: *** No rule to make target `Makefiles'. Stop. :msg:configure ---> Building transfig :debug:build build phase started at Fri Apr 15 17:20:59 CEST 2011 :debug:build Executing org.macports.build (transfig) :debug:build Environment: CPATH='/phil/sw/macports/i386/include' CC_PRINT_OPTIONS_FILE='/phil/sw/macports/i386/var/macports/build/_phil_sw_macports_i386_var_macports_sources_rsync.macports.org_release_ports_print_transfig/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/phil/sw/macports/i386/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5' :debug:build Assembled command: 'cd "/phil/sw/macports/i386/var/macports/build/_phil_sw_macports_i386_var_macports_sources_rsync.macports.org_release_ports_print_transfig/work/transfig.3.2.5d" && /usr/bin/make -j2 all' :info:build making all in ./fig2dev... :info:build make[1]: *** No rule to make target `all'. Stop. :info:build making all in ./transfig... :info:build make[1]: *** No rule to make target `all'. Stop. :info:build make: *** [all] Error 2 :info:build shell command " cd "/phil/sw/macports/i386/var/macports/build/_phil_sw_macports_i386_var_macports_sources_rsync.macports.org_release_ports_print_transfig/work/transfig.3.2.5d" && /usr/bin/make -j2 all " returned error 2 }}} We'd be glad to test solutions or to provide more information if needed. Thanks for your attention! -- Ticket URL: <https://trac.macports.org/ticket/29194> MacPorts <http://www.macports.org/> Ports system for Mac OS