Debian wheezy has a huge number of different java choices so I thought
I should briefly document the particular choices I made which
lead to the error below.

I installed the gcj-4.7-jdk package which seemed to suck in everything
else that is needed via the large number of package dependencies for
that package. However, CMake needs help finding the peculiar location
of the headers and libraries that this package uses.  So before
running cmake in an initially empty build tree I had to set the
following environment variables:

export CMAKE_INCLUDE_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/include
export CMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/gcj-4.7-13

After that, running cmake seemed to work fine to find all java
components, and the java bindings were built without any
obvious issues.  However, when trying to compile the examples,
I ran into the following peculiar error:

software@raven> make x01j
[  0%] Built target plhershey-unicode-gen
[  0%] Built target plhershey-unicode.h_built
[  0%] Built target csirocsa
[ 13%] Built target csironn
[ 13%] Built target deltaT-gen
[ 17%] Built target deltaT.h_built
[ 17%] Built target tai-utc-gen
[ 21%] Built target tai-utc.h_built
[ 26%] Built target qsastime
[ 78%] Built target plplotd
[ 78%] Built target plplotjavac_wrap
[ 95%] Built target plplot_core
Scanning dependencies of target x01j
[100%] Generating plplot/examples/x01.class
gcj-4.7: error: utf8: No such file or directory

and similarly for any of our other Java examples.

@Andrew:

I believe you have had success with Java on Debian unstable. What do
you do that is different from what I did above?  Can you also confirm
the above issue on Debian unstable for the Java package selection
(gcj-4.7-jdk) that I made?  Is there something else I should install
as well to get that to work?  When I did a google search for the above
error message there were only a few hits, but they appeared to be
quite significant because they were associated with Debian package
builds which also appear to be running into this same gcj error.

Thanks in advance for any help you can give me with this error.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to