Bug 1984 - tlwidget has hardwired .jar paths
Summary: tlwidget has hardwired .jar paths
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 1664 1975
  Show dependency treegraph
 
Reported: 2005-12-06 17:22 UTC by Andrew Cagney
Modified: 2005-12-08 17:34 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2005-12-06 17:22:30 UTC
On FC5, this error occures:

gcj -fjni -I/opt/frysk/share/java/gtk2.8.jar \
            --classpath=/opt/frysk/share/java/glib0.2-0.2.jar:./src/java \
            -g -O2 -c
../../../frysk/frysk-imports/tlwidgets/src/java/com/redhat/ftk/Stripchart.java
-o ../tlwidgets/Stripchart.o
../../../frysk/frysk-imports/tlwidgets/src/java/com/redhat/ftk/Stripchart.java:17:
error: Class or interface ‘org.gnu.gtk.Widget’ not found in import.
   import org.gnu.gtk.Widget;

notice the hardwired path to /opt/frysk/share/java/gtk2.8.jar.
Comment 1 Andrew Cagney 2005-12-08 17:34:27 UTC
Index: frysk-imports/tlwidgets/ChangeLog
2005-12-08  Andrew Cagney  <cagney@redhat.com>

        * Makefile.am: Replace references to /opt/frysk with corresponding
        makefile macros.

fixes immediate problem.