Hi all, on my Intel-MacBook I want to install pdftk, which needs gcc41. Installing gcc41 made no problems, but at the end pdftk fails to build. 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_dp orts_textproc_pdftk/work/pdftk-1.41/pdftk" && make all -f Makefile.MacOSX TOOLPATH=/opt/local/bin/ VERSUFF=-dp-4.1 " returned error 2 The directory exists (until cleaning the port), and in it there is a file called "Makefile.MacOSX". What can I do? Thanks, Eckhard.
On May 10, 2007, at 05:27, Eckhard Wiemann wrote:
on my Intel-MacBook I want to install pdftk, which needs gcc41. Installing gcc41 made no problems, but at the end pdftk fails to build.
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_textproc_pdftk/work/pdftk-1.41/pdftk" && make all -f Makefile.MacOSX TOOLPATH=/opt/local/bin/ VERSUFF=-dp-4.1 " returned error 2
The directory exists (until cleaning the port), and in it there is a file called "Makefile.MacOSX".
What can I do?
gcc41 appears to be very incomplete on Intel and nobody appears to know why. See my previous post: http://lists.macosforge.org/pipermail/macports-users/2007-April/ 002858.html I asked the MacPorts gcc41 maintainer and he did not respond. I searched the gcc bug database and didn't find anything that looked relevant (though it's hard to know what to search for). I was considering reporting a bug there to see what they say.
What happens if you edit the pdftk portfile and change the dependency to gcc 4.2? Does it work with pdftk? Mark Ryan Schmidt <ryandesign@macports.org> on Thursday, May 10, 2007 at 2:10 PM -0800 wrote:
on my Intel-MacBook I want to install pdftk, which needs gcc41. Installing gcc41 made no problems, but at the end pdftk fails to build.
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_textproc_pdftk/work/pdftk-1.41/pdftk" && make all -f Makefile.MacOSX TOOLPATH=/opt/local/bin/ VERSUFF=-dp-4.1 " returned error 2
The directory exists (until cleaning the port), and in it there is a file called "Makefile.MacOSX".
What can I do?
gcc41 appears to be very incomplete on Intel and nobody appears to know why. See my previous post:
http://lists.macosforge.org/pipermail/macports-users/2007-April/ 002858.html
I asked the MacPorts gcc41 maintainer and he did not respond. I searched the gcc bug database and didn't find anything that looked relevant (though it's hard to know what to search for). I was considering reporting a bug there to see what they say.
On May 10, 2007, at 18:02, markd wrote:
on my Intel-MacBook I want to install pdftk, which needs gcc41. Installing gcc41 made no problems, but at the end pdftk fails to build.
gcc41 appears to be very incomplete on Intel and nobody appears to know why. See my previous post:
http://lists.macosforge.org/pipermail/macports-users/2007-April/ 002858.html
I asked the MacPorts gcc41 maintainer and he did not respond. I searched the gcc bug database and didn't find anything that looked relevant (though it's hard to know what to search for). I was considering reporting a bug there to see what they say.
What happens if you edit the pdftk portfile and change the dependency to gcc 4.2? Does it work with pdftk?
YES! Very yes. Thank you for the suggestion. I was wary of trying gcc42 before, since it is not a final release, but to heck with it. I've updated the port and now it builds on Intel. http://trac.macosforge.org/projects/macports/changeset/25014 Eckhard, this version should be available in MacPorts within 12 hours, at which time you can "sudo port sync" and try installing pdftk again. In the mean time, you should "sudo port install gcc42". gcc42 took about 2 hours and more than 2GB of free disk space to build so that should keep you busy for awhile. I haven't yet tested on PowerPC; my PowerBook is still many hours away from completing its gcc42 installation.
Hallo Ryan, with gcc42 I succeeded in building pdftk. Thanks for answering! Eckhard.
participants (3)
-
Eckhard Wiemann
-
markd@macports.org
-
Ryan Schmidt