pdftk not building-suggestions?

Eric Gorr mailist at ericgorr.net
Fri Oct 27 09:41:06 PDT 2006


On Oct 27, 2006, at 12:31 PM, cssdev at mac.com wrote:

> On Oct 27, 2006, at 10:18 AM, Eric Gorr wrote:
>
>> The pdftk port has a dependency on the gcc34 port.
>> Would this work around that dependency?
>
> The homepage for pdftk states that it builds with the GNU Compiler  
> for Java (gcj), and that's only available through the port.  
> However, note that the port does contain a gcc40 variant that  
> builds with gcc40 rather than gcc34. Maybe see if that works?

Thanks for the suggestion. I did try it, but it did not build.

~ $port clean --all pdftk
--->  Cleaning pdftk

~ $port install pdftk +gcc40
--->  Fetching pdftk
--->  Attempting to fetch pdftk-1.12.tar.bz2 from http:// 
www.pdfhacks.com/pdftk/
--->  Verifying checksum(s) for pdftk
--->  Extracting pdftk
--->  Configuring pdftk
--->  Building pdftk with target all
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.12/pdftk" && make all -f  
Makefile.MacOSX TOOLPATH=/opt/local/bin/ VERSUFF=-dp-4.0" returned  
error 2
Command output: make -C ../java_libs
make -C "/opt/local/var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_textproc_pdftk/work/pdftk-1.12/java_libs/gnu_local/java/security";
/opt/local/bin/gcj-dp-4.0  --encoding=UTF-8 -I"/opt/local/var/db/ 
dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_textproc_pdftk/work/pdftk-1.12/java_libs" -c Engine.java -o  
Engine.o
/bin/sh: line 1: /opt/local/bin/gcj-dp-4.0: No such file or directory
make[2]: *** [Engine.o] Error 127
make[1]: *** [libgcj_local] Error 2
make: *** [java_libs] Error 2

Error: Status 1 encountered during processing.






More information about the macports-users mailing list