• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 550
  • Last Modified:

Building pdflib on gentoo

I'm trying to build pdflib on gentoo using emerge pdflib, but I'm having a problem. The error I get is as follows:

gzip: /var/tmp/portage/pdflib-5.0.2/image/usr/share/doc/pdflib-5.0.2/pdflib: No
such file or directory java
install: cannot stat `bind/pdflib/java/pdflib.jar': No such file or directory

Earlier up the output, I get the following:
javac PDFlibException.java pdflib.java && mv pdflib.class com/pdflib\
    && mv PDFlibException.class com/pdflib/PDFlibException.class
/bin/sh: line 1: javac: command not found

I have dev-java/ibm-jdk-bin-1.4.1-r2 installed, and java-config -c shows
/opt/ibm-jdk-bin-1.4.1/bin/javac

java-config -j shows
/opt/ibm-jdk-bin-1.4.1/bin/jar

I have /opt/ibm-jdk-bin-1.4.1/bin in my path, as follows:
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/sbin:/opt/ibm-jdk-bin-1.4.1/bin

Can anyone advise what I am doing wrong, or what I need to do in addition to make this work ?
0
Anonymouslemming
Asked:
Anonymouslemming
  • 2
1 Solution
 
wesly_chenCommented:
Hi,

  Try to use
# USE="-*" emerge pdflib-<version name>

Wesly
0
 
AnonymouslemmingAuthor Commented:
I found the problem in the end...

While java-config -j and java-config -r were correctly set, java-config -O was not.
0
 
wesly_chenCommented:
Great you resolved your issue.

Wesly
0
 
ee_ai_constructCommented:
Question answered by asker or dialog valuable.
Closed, 500 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now