g77-3.4, ubuntu 7.10

Tim Frost timfrost at xtra.co.nz
Sat Nov 3 22:12:40 UTC 2007


Dorita,

What repositories do you have enabled?
On Sat, 2007-11-03 at 10:42 -0700, Dorita Rostkier-Edelstein wrote:
> Hi
> 
> Thanks.
> But please, see what I get:
> 
> dorita-laptop:~> sudo apt-get update && sudo apt-get install
> gfortran-4.2
> Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)
> gutsy/main Translation-en_US
> Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)
> gutsy/restricted Translation-en_US
> Get:1 http://mirror.cricyt.edu.ar gutsy/ Release.gpg [189B] 
> Ign http://mirror.cricyt.edu.ar gutsy/ Translation-en_US
> Hit http://mirror.cricyt.edu.ar gutsy/ Release
> Ign http://mirror.cricyt.edu.ar gutsy/ Packages
> Hit http://mirror.cricyt.edu.ar gutsy/ Packages

None of the above files looks like the Ubuntu respository (or a proper
local mirror of them).

I suggest that you enable the Ubuntu repositories with
System->Administration->Software Sources.  You need to enable at least
main and restricted (the Fortran compiler is in main for gutsy).  Choose
a server to download from - the main server or a local mirror).

You will also need to install  development libraries.  There is a
package called build-essential, which depends on the core development
tools and libraries. That will give you the missing file /usr/lib/crt1.o
from your original post.   You will need to add the particular
development packages that supply other libraries that your application
needs.  If you are rebuilding a program that has been packaged for
Ubuntu, then the following command will work:
   sudo apt-get build-dep <package> 




Tim






More information about the ubuntu-users mailing list