From owner-freebsd-java@FreeBSD.ORG Thu Mar 13 13:41:33 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D7AD106566C for ; Thu, 13 Mar 2008 13:41:33 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 4B1558FC1E for ; Thu, 13 Mar 2008 13:41:33 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JZnQT-00023e-Th for freebsd-java@freebsd.org; Thu, 13 Mar 2008 06:24:53 -0700 Message-ID: <16025217.post@talk.nabble.com> Date: Thu, 13 Mar 2008 06:24:53 -0700 (PDT) From: Vadim Voituk To: freebsd-java@freebsd.org In-Reply-To: <47B91CB4.2090501@rochester.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: voituk@ukr.net References: <47B91CB4.2090501@rochester.rr.com> Subject: Re: Compile error X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2008 13:41:33 -0000 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 > root@harlow.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/outputdir/bsd_i486_compiler2/product' > /bin/ls: Argument list too long > gmake[5]: Entering directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/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/outputdir/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 > 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 Specify where to find user class files > -cp Specify where to find user class files > -sourcepath Specify where to find input source files > -bootclasspath Override location of bootstrap class files > -extdirs Override location of installed extensions > -endorseddirs Override location of endorsed standards path > -d Specify where to place generated class files > -encoding Specify character encoding used by source > files > -source Provide source compatibility with > specified release > -target 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 Pass 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/outputdir/bsd_i486_compiler2/product' > gmake[5]: *** [all] Error 2 > gmake[5]: Leaving directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' > gmake[4]: *** [sa_stuff] Error 2 > gmake[4]: Leaving directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/product' > gmake[3]: *** [product] Error 2 > gmake[3]: Leaving directory > `/usr/ports/java/jdk16/work/control/build/bsd-i586/hotspot/outputdir' > 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-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/Compile-error-tp15539778p16025217.html Sent from the freebsd-java mailing list archive at Nabble.com.