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.