Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using Ubuntu 13.04 Gnome edition. I'm trying to compile Octave 3.6.4 using the source. the configure went smooth without any errors but the make command returned me following errors:

collect2: error: ld returned 1 exit status
make[3]: *** [octave] Error 1
make[3]: Leaving directory `/home/ankit/Softwares/octave-3.6.4/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ankit/Softwares/octave-3.6.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ankit/Softwares/octave-3.6.4'
make: *** [all] Error 2

what more do I require to post to get the problem sorted?

share|improve this question
    
Are you sure this is all error output you got? It looks like the linker is in trouble and you only included the final line of it: collect2: error: ld returned 1 exit status. –  gertvdijk May 29 '13 at 7:55
    
actually there are thousands of line when i wrote make but these are the few last lines of the make command. Should I post the entire thing? –  meteors May 29 '13 at 7:58
    
between thankyou @gertvdijk I did't knew how to format that. –  meteors May 29 '13 at 8:00
    
You could post the entire error log on something like paste.ubuntu.com and link it in your question. –  gertvdijk May 29 '13 at 8:05
    
and this is the link for configure log file dropbox.com/s/jn6694tb8orfg13/config.log –  meteors May 29 '13 at 9:39
show 3 more comments

1 Answer

up vote 0 down vote accepted

I finally got the problem sorted. The problem was with the fortran library not communicating with the g++ as I had F77 as the default fortran compiler. So I installed gfortran which helped in the liking and the make process completed successfully. This is the entire discussion thread on the octave help page in case any one requires more help regarding this issue.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.