Hi, all of NetBSD users&freeks.
Now, I’m suffering from errorous response of Linux emulation on my
NetBSD(i386) workstation.
Yesterday, I have tried to install Java Depeloping Kits (as sun-jdk7),
using NetBSD pkgsrc suits.
It installed all of related packages and softwares correctly. And this
installation includes packages for Linux emulation environment.
This packages for Linux emuration build it’s own directories on my
filesystem.
> </usr/local/pkg/emul/linux> ls
> bin dev etc lib proc sbin usr var
Then, after installation, I tried to invoke “javac”, which is a member of
Java Depelopment Kit, and I received several errorous messages,
as below.
> javac: /usr/lib/libpthread.so.0: no version information available
(required by /usr/local/pkg/java/sun-7/bin/../lib/i386/jli/libjli.so)
> javac: /usr/lib/libpthread.so.0: no version information available
(required by /usr/local/pkg/java/sun-7/bin/../lib/i386/jli/libjli.so)
> javac: symbol lookup error: /usr/lib/libpthread.so.0: undefined
symbol: __isthreaded
I guess that, it indicates that Linux emurator failed to look up shared
objects on Liunx emuation environment.
However, Once I switched to ROOT user, and tried to invoke it again. It may
run correctly.
<~> su
Password:
root# javac
Usage: javac <options> <source files>
where possible options include:
-g
Generate all debugging info
-g:none
Generate no debugging info
-g:{lines,vars,source} Generate only some
debugging info
-nowarn
Generate no warnings
-verbose
Output messages about what the compiler is doing
-deprecation
Output source locations where deprecated APIs are used
-classpath
<path> Specify where
to find user class files and annotation processors
-cp
<path>
Specify where to find user class files and annotation processors
-sourcepath
<path> Specify where to
find input source files
-bootclasspath <path> Override
location of bootstrap class files
-extdirs
<dirs>
Override location of installed extensions
-endorseddirs <dirs>
Override location of endorsed standards path
-proc:{none,only} Control
whether annotation processing and/or compilation is done.
-processor <class1>[,<class2>,<class3>...] Names
of the annotation processors to run; bypasses default discovery process
-processorpath <path> Specify
where to find annotation processors
-d
<directory>
Specify where to place generated class files
-s
<directory>
Specify where to place generated source files
-implicit:{none,class} Specify whether or
not to generate class files for implicitly referenced files
-encoding <encoding>
Specify character encoding used by source files
-source
<release> Provide
source compatibility with specified release
-target
<release> Generate
class files for specific VM version
-version
Version information
-help
Print a synopsis of standard options
-Akey[=value]
Options to pass to annotation processors
-X
Print a synopsis of nonstandard options
-J<flag>
Pass <flag> directly to the runtime system
-Werror
Terminate compilation if warnings occur
@<filename>
Read options and filenames from file
root#
Running on ROOT mode, Linux emurator grasps correct searchpath for all
shared objects?
It’s the first time for me, to use Linux emuration on my NetBSD
workstation.
How can I do to make available Linux emuration environment and run Java
suites on my NetBSD, appropriately?
I have beaten...
|