Q:

How do I fix this error when building Octave?

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?

A:

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.

