List Info

Thread: Re: Compile error




Re: Compile error
country flaguser name
United States
2008-03-13 08:24:53
Have you solved this problem?

How?


Eduard Martinescu wrote:
> 
> I'm trying to get the latest version of jdk 1.6
compiled/installed on my 
> FreeBSD system, but I'm running into a compile error
while building the 
> port.
> Last few lines included below, and I think it is tied
to the problem 
> with the 'ls' command.
> 
> Is it just a problem because I'm running an old version
of FreeBSD?
> 
> FreeBSD domain.crafts4life.com 5.4-RELEASE FreeBSD
5.4-RELEASE #0: Sun 
> May  8 10:21:06 UTC 2005 
> rootharlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC 
i386
> [
> 
> 
> hare/vm/prims/jvmtiEnv.cpp
../generated/jvmtifiles/jvmtiEnvStub.cpp 
> ../generated/jvmtifiles/jvmtiEnvRecommended.cpp
> Generating ../generated/jvmtifiles/jvmti.h
> /usr/local/diablo-jdk1.5.0/bin/java -classpath
../generated/jvmtifiles 
> jvmtiGen -IN 
>
/usr/ports/java/jdk16/work/hotspot/src/share/vm/prims/jvmti.
xml -XSL 
>
/usr/ports/java/jdk16/work/hotspot/src/share/vm/prims/jvmtiH
.xsl -OUT 
> ../generated/jvmtifiles/jvmti.h
> gmake[5]: Leaving directory 
>
`/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/o
utputdir/bsd_i486_compiler2/product'
> /bin/ls: Argument list too long
> gmake[5]: Entering directory 
>
`/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/o
utputdir/bsd_i486_compiler2/product'
> if [ -d /usr/ports/java/jdk16/work/hotspot/agent -a
"i486" != "ia64" ] ; 
> then 
>     gmake -f sa.make ../generated/sa-jdi.jar; 
> fi
> /bin/ls: Argument list too long
> gmake[6]: Entering directory 
>
`/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/o
utputdir/bsd_i486_compiler2/product'
> if [ "/usr/local/diablo-jdk1.5.0" =
"" ]; then 
>    echo "ALT_BOOTDIR, BOOTDIR or JAVA_HOME needs
to be defined to build 
> SA"; 
>    exit 1; 
> fi
> echo "Making ../generated/sa-jdi.jar"
> Making ../generated/sa-jdi.jar
> if [ ! -d ../generated/saclasses ] ; then 
>    mkdir -p ../generated/saclasses;        
> fi
> /usr/local/diablo-jdk1.5.0/bin/javac -source 1.4
-classpath 
> /usr/local/diablo-jdk1.5.0/lib/tools.jar -g -d
../generated/saclasses
> javac: no source files
> 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
>    -cp <path>                 Specify where to
find user class files
>    -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
>    -d <directory>             Specify where to
place generated class 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
>    -X                         Print a synopsis of
nonstandard options
>    -J<flag>                   Pass <flag>
directly to the runtime system
> 
> gmake[6]: *** [../generated/sa-jdi.jar] Error 2
> gmake[6]: Leaving directory 
>
`/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/o
utputdir/bsd_i486_compiler2/product'
> gmake[5]: *** [all] Error 2
> gmake[5]: Leaving directory 
>
`/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/o
utputdir/bsd_i486_compiler2/product'
> gmake[4]: *** [sa_stuff] Error 2
> gmake[4]: Leaving directory 
>
`/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/o
utputdir/bsd_i486_compiler2/product'
> gmake[3]: *** [product] Error 2
> gmake[3]: Leaving directory 
>
`/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/o
utputdir'
> gmake[2]: *** [generic_build2] Error 2
> gmake[2]: Leaving directory
`/usr/ports/java/jdk16/work/hotspot/make'
> gmake[1]: *** [product] Error 2
> gmake[1]: Leaving directory
`/usr/ports/java/jdk16/work/hotspot/make'
> gmake: *** [hotspot-build] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/java/jdk16.
> *** Error code 1
> 
> _______________________________________________
> freebsd-javafreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java

> To unsubscribe, send any mail to
"freebsd-java-unsubscribefreebsd.org"
> 
> 

-- 
View this message in context: http://www.nabble.com/Compile-error-tp15539778p16025
217.html
Sent from the freebsd-java mailing list archive at
Nabble.com.

_______________________________________________
freebsd-javafreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java

To unsubscribe, send any mail to
"freebsd-java-unsubscribefreebsd.org"

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )