Opened 14 years ago
Closed 13 years ago
#29194 closed defect (invalid)
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)
Reported by: | helpdesk@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | transfig |
Description
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!
Attachments (2)
Change History (8)
Changed 14 years ago by helpdesk@…
Attachment: | transfig.debug added |
---|
Changed 14 years ago by helpdesk@…
the "main.log" file, referenced in the debug log
comment:1 follow-up: 2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | prefix removed |
---|---|
Port: | transfig added |
Hmm, it works for me in a nonstandard prefix. The error seems to be:
: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
transfig needs imake to build, and imake needs Imake.tmpl, which is supposed to have been installed in ${prefix}/lib/X11/config by xorg-cf-files, which is a dependency of imake. Are imake and xorg-cf-files installed and active? What do they contain? (use port contents imake xorg-cf-files
)
comment:2 follow-up: 3 Changed 14 years ago by helpdesk@…
Replying to ryandesign@…:
Hmm, it works for me in a nonstandard prefix. The error seems to be:
> :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
transfig needs imake to build, and imake needs Imake.tmpl, which is supposed to have been installed in ${prefix}/lib/X11/config by xorg-cf-files, which is a dependency of imake. Are imake and xorg-cf-files installed and active? What do they contain? (use
port contents imake xorg-cf-files
)
Hi, and thanks for your quick reply!
"xorg-cf-files" and "imake" are indeed installed and active:
macports:~ root# port list active | egrep "xorg-cf-files|imake" imake @1.0.3 x11/imake xorg-cf-files @1.0.4 x11/xorg-cf-files
The "Imake.tmpl" is indeed installed in "${prefix}/lib/X11/config". The complete listing is included below.
Good to hear that you can build transfig in a non-default location! So basically you could not reproduce our problem? Did you try the same prefix that we tried ("/phil/sw/macports/i386")? I'll try to to a fresh install in another non-default location to see if this changes anything.
I'm wondering if I could have missed anything else. Basically our environment seems allright, with all the relevant paths and such:
macports:i386 root# env MANPATH=/phil/sw/macports/i386/man:phil/sw/darwin/i386/man:/usr/share/man:/usr/local/share/man:/usr/X11/man GEM_HOME=/phil/sw/macports/i386/lib/ruby/gems/1.8 TERM=xterm SHELL=/bin/sh SSH_CLIENT=xxxxxx (erased) SSH_TTY=/dev/ttys007 USER=root MAIL=/var/mail/root PATH=/phil/sw/macports/i386/bin:/phil/sw/macports/i386/sbin:/phil/sw/darwin/i386/bin:/phil/sw/darwin/i386/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin PWD=/phil/sw/macports/i386 SHLVL=1 HOME=/var/root LOGNAME=root SSH_CONNECTION=xxxxxxxxxxx (erased) RUBYLIB=/phil/sw/macports/i386/lib/ruby:/phil/sw/macports/i386/lib/site_ruby/1.8
macports:~ root# port contents imake xorg-cf-files Port imake contains: /phil/sw/macports/i386/bin/ccmakedep /phil/sw/macports/i386/bin/cleanlinks /phil/sw/macports/i386/bin/imake /phil/sw/macports/i386/bin/makeg /phil/sw/macports/i386/bin/mergelib /phil/sw/macports/i386/bin/mkdirhier /phil/sw/macports/i386/bin/mkhtmlindex /phil/sw/macports/i386/bin/revpath /phil/sw/macports/i386/bin/xmkmf /phil/sw/macports/i386/share/man/man1/ccmakedep.1.gz /phil/sw/macports/i386/share/man/man1/cleanlinks.1.gz /phil/sw/macports/i386/share/man/man1/imake.1.gz /phil/sw/macports/i386/share/man/man1/makeg.1.gz /phil/sw/macports/i386/share/man/man1/mergelib.1.gz /phil/sw/macports/i386/share/man/man1/mkdirhier.1.gz /phil/sw/macports/i386/share/man/man1/mkhtmlindex.1.gz /phil/sw/macports/i386/share/man/man1/revpath.1.gz /phil/sw/macports/i386/share/man/man1/xmkmf.1.gz Port xorg-cf-files contains: /phil/sw/macports/i386/lib/X11/config/Amoeba.cf /phil/sw/macports/i386/lib/X11/config/DGUX.cf /phil/sw/macports/i386/lib/X11/config/DragonFly.cf /phil/sw/macports/i386/lib/X11/config/FreeBSD.cf /phil/sw/macports/i386/lib/X11/config/Imake.cf /phil/sw/macports/i386/lib/X11/config/Imake.rules /phil/sw/macports/i386/lib/X11/config/Imake.tmpl /phil/sw/macports/i386/lib/X11/config/Library.tmpl /phil/sw/macports/i386/lib/X11/config/Mips.cf /phil/sw/macports/i386/lib/X11/config/Motif.rules /phil/sw/macports/i386/lib/X11/config/Motif.tmpl /phil/sw/macports/i386/lib/X11/config/NetBSD.cf /phil/sw/macports/i386/lib/X11/config/Oki.cf /phil/sw/macports/i386/lib/X11/config/OpenBSD.cf /phil/sw/macports/i386/lib/X11/config/OpenBSDLib.rules /phil/sw/macports/i386/lib/X11/config/OpenBSDLib.tmpl /phil/sw/macports/i386/lib/X11/config/QNX4.cf /phil/sw/macports/i386/lib/X11/config/QNX4.rules /phil/sw/macports/i386/lib/X11/config/Server.tmpl /phil/sw/macports/i386/lib/X11/config/ServerLib.tmpl /phil/sw/macports/i386/lib/X11/config/Threads.tmpl /phil/sw/macports/i386/lib/X11/config/Win32.cf /phil/sw/macports/i386/lib/X11/config/Win32.rules /phil/sw/macports/i386/lib/X11/config/WinLib.tmpl /phil/sw/macports/i386/lib/X11/config/X11.rules /phil/sw/macports/i386/lib/X11/config/X11.tmpl /phil/sw/macports/i386/lib/X11/config/apollo.cf /phil/sw/macports/i386/lib/X11/config/bsd.cf /phil/sw/macports/i386/lib/X11/config/bsdLib.rules /phil/sw/macports/i386/lib/X11/config/bsdLib.tmpl /phil/sw/macports/i386/lib/X11/config/bsdi.cf /phil/sw/macports/i386/lib/X11/config/bsdiLib.rules /phil/sw/macports/i386/lib/X11/config/bsdiLib.tmpl /phil/sw/macports/i386/lib/X11/config/cde.rules /phil/sw/macports/i386/lib/X11/config/cde.tmpl /phil/sw/macports/i386/lib/X11/config/convex.cf /phil/sw/macports/i386/lib/X11/config/cray.cf /phil/sw/macports/i386/lib/X11/config/cross.def /phil/sw/macports/i386/lib/X11/config/cross.rules /phil/sw/macports/i386/lib/X11/config/cygwin.cf /phil/sw/macports/i386/lib/X11/config/cygwin.rules /phil/sw/macports/i386/lib/X11/config/cygwin.tmpl /phil/sw/macports/i386/lib/X11/config/darwin.cf /phil/sw/macports/i386/lib/X11/config/darwinLib.rules /phil/sw/macports/i386/lib/X11/config/darwinLib.tmpl /phil/sw/macports/i386/lib/X11/config/date.def /phil/sw/macports/i386/lib/X11/config/dmx.cf /phil/sw/macports/i386/lib/X11/config/fujitsu.cf /phil/sw/macports/i386/lib/X11/config/generic.cf /phil/sw/macports/i386/lib/X11/config/gnu.cf /phil/sw/macports/i386/lib/X11/config/gnuLib.rules /phil/sw/macports/i386/lib/X11/config/gnuLib.tmpl /phil/sw/macports/i386/lib/X11/config/host.def /phil/sw/macports/i386/lib/X11/config/hp.cf /phil/sw/macports/i386/lib/X11/config/hpLib.rules /phil/sw/macports/i386/lib/X11/config/hpLib.tmpl /phil/sw/macports/i386/lib/X11/config/ibm.cf /phil/sw/macports/i386/lib/X11/config/ibmLib.rules /phil/sw/macports/i386/lib/X11/config/ibmLib.tmpl /phil/sw/macports/i386/lib/X11/config/isc.cf /phil/sw/macports/i386/lib/X11/config/linux.cf /phil/sw/macports/i386/lib/X11/config/lnxLib.rules /phil/sw/macports/i386/lib/X11/config/lnxLib.tmpl /phil/sw/macports/i386/lib/X11/config/lnxdoc.rules /phil/sw/macports/i386/lib/X11/config/lnxdoc.tmpl /phil/sw/macports/i386/lib/X11/config/luna.cf /phil/sw/macports/i386/lib/X11/config/lynx.cf /phil/sw/macports/i386/lib/X11/config/macII.cf /phil/sw/macports/i386/lib/X11/config/mach.cf /phil/sw/macports/i386/lib/X11/config/mingw.cf /phil/sw/macports/i386/lib/X11/config/mingw.rules /phil/sw/macports/i386/lib/X11/config/mingw.tmpl /phil/sw/macports/i386/lib/X11/config/minix.cf /phil/sw/macports/i386/lib/X11/config/moto.cf /phil/sw/macports/i386/lib/X11/config/ncr.cf /phil/sw/macports/i386/lib/X11/config/nec.cf /phil/sw/macports/i386/lib/X11/config/necLib.rules /phil/sw/macports/i386/lib/X11/config/necLib.tmpl /phil/sw/macports/i386/lib/X11/config/noop.rules /phil/sw/macports/i386/lib/X11/config/nto.cf /phil/sw/macports/i386/lib/X11/config/nto.rules /phil/sw/macports/i386/lib/X11/config/oldlib.rules /phil/sw/macports/i386/lib/X11/config/os2.cf /phil/sw/macports/i386/lib/X11/config/os2.rules /phil/sw/macports/i386/lib/X11/config/os2Lib.rules /phil/sw/macports/i386/lib/X11/config/os2Lib.tmpl /phil/sw/macports/i386/lib/X11/config/osf1.cf /phil/sw/macports/i386/lib/X11/config/osfLib.rules /phil/sw/macports/i386/lib/X11/config/osfLib.tmpl /phil/sw/macports/i386/lib/X11/config/pegasus.cf /phil/sw/macports/i386/lib/X11/config/sco.cf /phil/sw/macports/i386/lib/X11/config/sco5.cf /phil/sw/macports/i386/lib/X11/config/scoLib.rules /phil/sw/macports/i386/lib/X11/config/sequent.cf /phil/sw/macports/i386/lib/X11/config/sequentLib.rules /phil/sw/macports/i386/lib/X11/config/sgi.cf /phil/sw/macports/i386/lib/X11/config/sgiLib.rules /phil/sw/macports/i386/lib/X11/config/sgiLib.tmpl /phil/sw/macports/i386/lib/X11/config/site.def /phil/sw/macports/i386/lib/X11/config/sony.cf /phil/sw/macports/i386/lib/X11/config/sun.cf /phil/sw/macports/i386/lib/X11/config/sunLib.rules /phil/sw/macports/i386/lib/X11/config/sunLib.tmpl /phil/sw/macports/i386/lib/X11/config/sv3Lib.rules /phil/sw/macports/i386/lib/X11/config/sv3Lib.tmpl /phil/sw/macports/i386/lib/X11/config/sv4Lib.rules /phil/sw/macports/i386/lib/X11/config/sv4Lib.tmpl /phil/sw/macports/i386/lib/X11/config/svr3.cf /phil/sw/macports/i386/lib/X11/config/svr4.cf /phil/sw/macports/i386/lib/X11/config/ultrix.cf /phil/sw/macports/i386/lib/X11/config/usl.cf /phil/sw/macports/i386/lib/X11/config/version.def /phil/sw/macports/i386/lib/X11/config/x386.cf /phil/sw/macports/i386/lib/X11/config/xf86.rules /phil/sw/macports/i386/lib/X11/config/xf86.tmpl /phil/sw/macports/i386/lib/X11/config/xf86site.def /phil/sw/macports/i386/lib/X11/config/xfree86.cf /phil/sw/macports/i386/lib/X11/config/xorg.cf /phil/sw/macports/i386/lib/X11/config/xorg.tmpl /phil/sw/macports/i386/lib/X11/config/xorgsite.def /phil/sw/macports/i386/lib/X11/config/xorgversion.def
Thanks for your support!
comment:3 follow-up: 4 Changed 14 years ago by helpdesk@…
Good to hear that you can build transfig in a non-default location! So basically you could not reproduce our problem? Did you try the same prefix that we tried ("/phil/sw/macports/i386")? I'll try to to a fresh install in another non-default location to see if this changes anything.
Hi, I just tested a new MacPorts install and used "/testlocation" as a prefix:
./configure --prefix=/testlocation make && make install /testlocation/bin/port selfupdate /testlocation/bin/port install transfig
This works! So the problem we experience with "/phil/sw/macports/i386" is not a general "does not work with a custom path" error, but a more specific problem. I'll try compile with some more custom paths to see if I can reproduce the problem with specific elements in the path.
comment:4 Changed 14 years ago by helpdesk@…
We tested some more and seem to be getting the same error in another prefix-location which includes numbers in the path, "/i386". I'll do one more build into a prefix with some other numbers to see if the problem is with number in general or this specific string.
I'm wondering if a problem like this is problem that could be solved in MacPorts? Or should this be reported to the Transfig developers?
comment:5 Changed 13 years ago by helpdesk@…
Hi, a quick update on this situation.
We had to spend some time on other issues, but after testing various paths and compiling transfig manually it turns out that this probably is a problem with Imake and the string "i386" in the path were the software was installed to. We got the same error while trying a manual compilation, so the problem is not related to MacPorts itself. Issue is resolved by using an install path without the string "i386" in it. Works great in MacPorts.
Ticket can probably be closed now.
comment:6 Changed 13 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
debug log of "port -d install transfig 2>&1 > transfig.debug"