Re: build fails - what next? -- outerr.txt

2006-02-14 Thread Tim Ellison
great -- let us know what you do with it! Regards, Tim karan malhi wrote: > The build was successful. The problem was with gcc-c++. > Thanks for all the help. > > Alexey Petrenko wrote: > >> So Java part is built and you got troubles with gcc... >> >> >> 2006/2/14, karan malhi <[EMAIL PROTECTED

Re: build fails - what next? -- outerr.txt

2006-02-14 Thread karan malhi
The build was successful. The problem was with gcc-c++. Thanks for all the help. Alexey Petrenko wrote: So Java part is built and you got troubles with gcc... 2006/2/14, karan malhi <[EMAIL PROTECTED]>: Alexey, I have set the JAVACMD variable to point to java executable explicitly as you

Re: build fails - what next? -- outerr.txt

2006-02-14 Thread Alexey Petrenko
So Java part is built and you got troubles with gcc... 2006/2/14, karan malhi <[EMAIL PROTECTED]>: > Alexey, > I have set the JAVACMD variable to point to java executable explicitly > as you can see below: > [EMAIL PROTECTED] make]$ echo $JAVACMD > /home/karan/jdk1.5.0_06/bin/java

Re: build fails - what next?

2006-02-14 Thread Stuart Ballard
Geir Magnusson Jr pobox.com> writes: > > That's the problem. As far as I know, GCJ isn't quite complete yet... > > >>> [javac] (at line 63) > >>> [javac] encodedParams = (byte []) s.readUnshared(); > >>> [javac] > >>> [javac] The method

Re: build fails - what next? -- outerr.txt

2006-02-14 Thread karan malhi
Alexey, I have set the JAVACMD variable to point to java executable explicitly as you can see below: [EMAIL PROTECTED] make]$ echo $JAVACMD /home/karan/jdk1.5.0_06/bin/java Below is the complete output after running ant. [EMAIL PROTECTED] make]$ ant Buildfile: build.xml default:

Re: build fails - what next? -- outerr.txt

2006-02-14 Thread Tim Ellison
allow me a rye smile ;-) Geir Magnusson Jr wrote: > It has nothing to do w/ Java. That's the C++ compiler for GCC. Your > installation of GCC is incomplete it appears - it doesn't seem to have > C++ installed. > > (Hey Tim... what was that you were saying about C++??) > > geir > > > > kara

Re: build fails - what next? -- outerr.txt

2006-02-14 Thread Geir Magnusson Jr
no problem. We're here to help. This stuff isn't always obvious... karan malhi wrote: "I dont know why it is still saying gcc problem. I specified a JAVACMD variable to point to the java executable under jdk1.5/bin, as Alexey had mentioned in a previous email. " I didnt realize it was a gcc

Re: build fails - what next? -- outerr.txt

2006-02-14 Thread karan malhi
"I dont know why it is still saying gcc problem. I specified a JAVACMD variable to point to the java executable under jdk1.5/bin, as Alexey had mentioned in a previous email. " I didnt realize it was a gcc issue and not a gcj issue. Sorry Geir Magnusson Jr wrote: ok. Now we're making progr

Re: build fails - what next? -- outerr.txt

2006-02-14 Thread Alexey Petrenko
> I specified a JAVACMD variable to point to the java executable > under jdk1.5/bin, as Alexey had mentioned in a previous email. Did it build Java part after that? -- Alexey A. Petrenko Intel Middleware Products Division

Re: build fails - what next? -- outerr.txt

2006-02-14 Thread Geir Magnusson Jr
It has nothing to do w/ Java. That's the C++ compiler for GCC. Your installation of GCC is incomplete it appears - it doesn't seem to have C++ installed. (Hey Tim... what was that you were saying about C++??) geir karan malhi wrote: Below are the contents of the file outerr.txt gcc: ins

Re: build fails - what next? -- outerr.txt

2006-02-14 Thread karan malhi
Below are the contents of the file outerr.txt gcc: installation problem, cannot exec 'cc1plus': No such file or directory I dont know why it is still saying gcc problem. I specified a JAVACMD variable to point to the java executable under jdk1.5/bin, as Alexey had mentioned in a previous emai

Re: build fails - what next?

2006-02-14 Thread Oliver Deakin
Hi Karan, Line 72 of jaasnix.xml is: failonerror="true"> so its a call to the make command on your system. It also produces output from the make into "${tmp}/outerr.txt", which I believe expands to "modules/security2/build/tmp/outerr.txt" (at least that is where it appears on my machine). Ins

Re: build fails - what next?

2006-02-14 Thread Geir Magnusson Jr
Please - always provide at least a snippet of the note to which you are replying (including author) to make it easy for someone to read the thread... Alexey Petrenko wrote: JAVA_HOME will not help if you want to run ant on different JDK. set JAVACMD to the full path to java executable. -- A

Re: build fails - what next?

2006-02-14 Thread Geir Magnusson Jr
ok. Now we're making progress. Did you look at what that line in the xml document is? It's the c/c++ compiler. There's a file "outerr.txt" That should have more information about what exactly failed... Can you look there and report back? karan malhi wrote: I set JAVA_HOME to jdk1.5 an

Re: build fails - what next?

2006-02-14 Thread Alexey Petrenko
JAVA_HOME will not help if you want to run ant on different JDK. set JAVACMD to the full path to java executable. -- Alexey A. Petrenko Intel Middleware Products Division

Re: build fails - what next?

2006-02-14 Thread karan malhi
I set JAVA_HOME to jdk1.5 and the build still fails timestamp: [echo] build-date=20060214 [echo] build-time=20060214_1033) [echo] on platform=Linux version=2.6.14-1.1656_FC4 arch=i386 [echo] with java home = /home/karan/jdk1.5.0_06/jre VM version = 1.5.0_06-b05 vendor = Sun Micro

Re: build fails - what next?

2006-02-14 Thread Geir Magnusson Jr
That's the problem. As far as I know, GCJ isn't quite complete yet... karan malhi wrote: [echo] on platform=Linux version=2.6.14-1.1656_FC4 arch=i386 [echo] with java home = /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre VM version = 4.0.2 20051125 (Red Hat 4.0.2-8) vendor = Free Software

Re: build fails - what next?

2006-02-14 Thread karan malhi
[echo] on platform=Linux version=2.6.14-1.1656_FC4 arch=i386 [echo] with java home = /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre VM version = 4.0.2 20051125 (Red Hat 4.0.2-8) vendor = Free Software Foundation, Inc. Alexey Petrenko wrote: [javac] 1. ERROR in /home/karan/projects/Harmon

Re: build fails - what next?

2006-02-14 Thread Tim Ellison
Can you tell us which JDK you are using build the code? and which platform? FWIW I just tried building the code (at SVN revision 377734) with Sun's JDK 1.4.2 and it worked ok. Regards, Tim karan malhi wrote: > I just tried to follow the steps to build classlib. Here is the link to > the page I f

Re: build fails - what next?

2006-02-14 Thread Alexey Petrenko
>[javac] 1. ERROR in > /home/karan/projects/Harmony/modules/security2/src/common/javasrc/javax/crypto/SealedObject.java >[javac] (at line 63) >[javac] encodedParams = (byte []) s.readUnshared(); >[javac] >[javac] The method readU

Re: build fails - what next?

2006-02-14 Thread karan malhi
I just tried to follow the steps to build classlib. Here is the link to the page I followed the instructions from. http://incubator.apache.org/harmony/subcomponents/classlibrary/build_classlib.html I ran ant from the Harmony/make folder Alexey Petrenko wrote: I can not reproduce your errors

Re: build fails - what next?

2006-02-14 Thread Alexey Petrenko
I can not reproduce your errors on my machine with latest sources. So you can try to update your sources and check the build environment. Which commnad do you run for building? I've tried to run ant from classlib/trunk/make directory. -- Alexey A. Petrenko Intel Middleware Products Division

Re: build fails - what next?

2006-02-14 Thread karan malhi
Alexey, Thanks for such a quick response. I have copied the errors below: compile.api: [echo] Compiling api classes from /home/karan/projects/Harmony/modules/security2/src/common/javasrc, /home/karan/projects/Harmony/modules/security2/src/linux/javasrc [javac] Compiling 1 source file to

Re: build fails - what next?

2006-02-14 Thread Alexey Petrenko
First of all you can add error message to your post :) -- Alexey A. Petrenko Intel Middleware Products Division