Building pdflib on gentoo

Posted on 2004-11-21
Last Modified: 2008-02-01
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 && 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

java-config -j shows

I have /opt/ibm-jdk-bin-1.4.1/bin in my path, as follows:

Can anyone advise what I am doing wrong, or what I need to do in addition to make this work ?
Question by:Anonymouslemming
    LVL 38

    Expert Comment


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

    LVL 5

    Author Comment

    I found the problem in the end...

    While java-config -j and java-config -r were correctly set, java-config -O was not.
    LVL 38

    Expert Comment

    Great you resolved your issue.


    Accepted Solution

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

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
    Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now