LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-22-2009, 01:09 PM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
compiling gcc seond fail around libjava


Hi

I'm compiling gcc 4.2 on my gcc 4.1.2 FC8.

I'm compiling "all" of the compilers, and after over two hours - for the second time running - I have an error at what appears to be close to the end, with libjava.

The first time, I had configure errors, which I didn't notice. But then I corrected them, hoping they would be the cause. But now, the configure phase is fine, and errors pop out at libjava stage.

Anyone had this before? I'm giving it a third go now, this time I'm not compiling java, just all the others, to see how I go.

If other people have had similar trouble, I'd be happy to hear from them.

Cheers!

Last edited by stabu; 01-22-2009 at 01:10 PM.
 
Old 01-22-2009, 01:34 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

It's kind of hard to speculate what the problem might be unless you cut/paste some of the error messages.

Just FYI, I'd discourage you from using Gnu Java unless you had a good reason ("it's a requirement" and "it might be fun" both qualify as "good reasons"). In general, you'll probably have better luck with the Sun JVM than with Gnu Java .exe's and libraries.

IMHO .. PSM
 
Old 01-22-2009, 02:01 PM   #3
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438

Original Poster
Blog Entries: 5

Rep: Reputation: 32
Hi paulsm4,

thanks for the quick reply. Yep, you're definitely right .. things can get reeeealy complicated especially with such a key tool. I was really looking for pointers from people who have done it before.

Amazingly, I can't find an error log anywhere. Even so, the output messages were very austere, giving away little. I have the third compile on the boiler now, without, as you also suggest, the java.

Cheers!
 
Old 01-22-2009, 03:25 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Maybe there isn't a log. In which case you could try something like:
Quote:
make all > make.err
or
Quote:
make all | tee make.err
or
Quote:
script mylog.txt
make all
<Ctl-D>
<= This terminates the "script" action; everything displayed to the screen will have been written to "mylog.txt"
'Hope that helps .. PSM
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc-obj install fail pingvina Linux - Software 1 08-12-2006 05:58 AM
make fail with: gcc-3.4 command not found andy101 Ubuntu 3 11-27-2005 01:45 AM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 11:38 AM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
compiling gcc-3.1.1 : libjava testsuite failures cdlen LinuxQuestions.org Member Success Stories 2 10-10-2003 03:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration