Re: gfortran Permission denied



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

michael wrote:
Hello list,

as you guess I am having serious boot problems, grub loading fails at stage
1.5 with "Error 17".

I did not install/re-install anything, resize partitions or anything else
could do something wrong. I was trasferring data from my usb HD when the
process stopped (input/output error) and the system went completely frozen.
From that moment on I can not boot from HD.

Using knoppix I can read all partitions... exept /home and /

I tried to reinstall grub on MBR using the ubuntu studio rescue (apologize
for that :-) ) and SGD (Super Grub Disk).
The former stops during device mapping, showing partitions like /dev/sd1,
/dev/sd2 and so on which is quite absurd, the latter is unable to install
grub on the MBR (for the same problem I guess ...) and to boot any of the
two OS (XP is there, but I do not boot it from ages )

I would prefer not to do a fresh install if not necessary even if my data
are backed up on a safe partition.

Any ideas? Can I resume my lenny?

regards
raffaele

------=_Part_16140_9085696.1210238246187
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello list,<br><br>as you guess I am having serious boot problems, grub loading fails at stage 1.5 with &quot;Error 17&quot;. <br><br>I did not install/re-install anything, resize partitions or anything else could do something wrong. I was trasferring data from my usb HD when the process stopped (input/output error) and the system went completely frozen.<br>
From that moment on I can not boot from HD.<br><br>Using knoppix I can read all partitions... exept /home and /<br><br>I tried to reinstall grub on MBR using the ubuntu studio rescue (apologize for that :-) ) and SGD (Super Grub Disk). <br>
The former stops during device mapping, showing partitions like /dev/sd1, /dev/sd2 and so on which is quite absurd, the latter is unable to install grubDelivered-To: healey.rich@xxxxxxxxx
Received: by 10.115.73.12 with SMTP id a12cs179585wal;
Wed, 7 May 2008 15:42:51 -0700 (PDT)
Received: by 10.86.89.4 with SMTP id m4mr1099729fgb.53.1210200169718;
Wed, 07 May 2008 15:42:49 -0700 (PDT)
Return-Path: <bounce-debian-user=healey.rich=gmail.com@xxxxxxxxxxxxxxxx>
Received: from liszt.debian.org (liszt.debian.org [82.195.75.100])
by mx.google.com with ESMTP id j10si4730178muh.2.2008.05.07.15.42.49;
Wed, 07 May 2008 15:42:49 -0700 (PDT)
Received-SPF: pass (google.com: domain of bounce-debian-user=healey.rich=gmail.com@xxxxxxxxxxxxxxxx designates 82.195.75.100 as permitted sender) client-ip=82.195.75.100;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of bounce-debian-user=healey.rich=gmail.com@xxxxxxxxxxxxxxxx designates 82.195.75.100 as permitted sender) smtp.mail=bounce-debian-user=healey.rich=gmail.com@xxxxxxxxxxxxxxxx
Received: from localhost (localhost [127.0.0.1])
by liszt.debian.org (Postfix) with QMQP
id 7E55713A5379; Wed, 7 May 2008 22:42:43 +0000 (UTC)
Old-Return-Path: <cs@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-17.0 required=4.0 tests=BAYES_00,LDOSUBSCRIBER,
LDO_WHITELIST,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3
X-Original-To: debian-user@xxxxxxxxxxxxxxxx
Delivered-To: lists-debian-user@xxxxxxxxxxxxxxxx
X-policyd-weight: DYN_NJABL=ERR NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .networkingnewsletter. - helo: .tranquility.mcc. - helo-domain: .mcc.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0 <client=130.88.200.145> <helo=tranquility.mcc.ac.uk> <from=cs@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <to=debian-user@xxxxxxxxxxxxxxxx>, rate: -5
Received: from tranquility.mcc.ac.uk (tranquility.mcc.ac.uk [130.88.200.145])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
by liszt.debian.org (Postfix) with ESMTP id 3186113A52EC
for <debian-user@xxxxxxxxxxxxxxxx>; Wed, 7 May 2008 22:42:16 +0000 (UTC)
Received: from rankine.its.manchester.ac.uk ([130.88.25.196])
by tranquility.mcc.ac.uk with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.69 (FreeBSD))
(envelope-from <cs@xxxxxxxxxxxxxxxxxxxxxxxxxxx>)
id 1JtsKz-0009hU-ER
for debian-user@xxxxxxxxxxxxxxxx; Wed, 07 May 2008 23:42:13 +0100
Received: from [93.96.3.203] (port=57094 helo=amd64.lan)
by rankine.its.manchester.ac.uk with esmtpsa (SSLv3:RC4-MD5:128)
(Exim 4.43)
id 1JtsKz-0004g4-6s
for debian-user@xxxxxxxxxxxxxxxx; Wed, 07 May 2008 23:42:13 +0100
Subject: gfortran Permission denied
From: michael <cs@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: debian user <debian-user@xxxxxxxxxxxxxxxx>
Content-Type: text/plain
Date: Wed, 07 May 2008 23:42:13 +0100
Message-Id: <1210200133.3628.59.camel@xxxxxxxxx>
Mime-Version: 1.0
X-Mailer: Evolution 2.6.3
Content-Transfer-Encoding: 7bit
X-Authenticated-Sender: Michael Bane from (amd64.lan) [93.96.3.203]:57094
X-Authenticated-From: michael.bane@xxxxxxxxxxxxxxxx
X-UoM: Scanned by the University Mail System. See http://www.itservices.manchester.ac.uk/email/filtering/information/ for details.
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2007-10-04_01
Resent-Message-ID: <VJubqxD3lAI.A.d1D.jBjIIB@liszt>
Resent-From: debian-user@xxxxxxxxxxxxxxxx
X-Mailing-List: <debian-user@xxxxxxxxxxxxxxxx> archive/latest/518931
X-Loop: debian-user@xxxxxxxxxxxxxxxx
List-Id: <debian-user.lists.debian.org>
List-Post: <mailto:debian-user@xxxxxxxxxxxxxxxx>
List-Help: <mailto:debian-user-request@xxxxxxxxxxxxxxxx?subject=help>
List-Subscribe: <mailto:debian-user-request@xxxxxxxxxxxxxxxx?subject=subscribe>
List-Unsubscribe: <mailto:debian-user-request@xxxxxxxxxxxxxxxx?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-user-request@xxxxxxxxxxxxxxxx
Resent-Date: Wed, 7 May 2008 22:42:43 +0000 (UTC)

I've just installed, without error, gfortran on my AMD64

mkb@amd64:~/work/Fortran$ dpkg -l|grep gfortran
ii gfortran 4.1.1-15
The GNU Fortran 95 compiler
ii gfortran-4.1 4.1.1-21
The GNU Fortran 95 compiler
ii libgfortran1 4.1.1-21
Runtime library for GNU Fortran applications
ii libgfortran1-dev 4.1.1-21
GNU Fortran library development
mkb@amd64:~/work/Fortran$ uname -a
Linux amd64 2.6.18-6-amd64 #1 SMP Thu Apr 24 03:57:46 UTC 2008 x86_64
GNU/Linux

and it seems to compile a simple code okay:

mkb@amd64:~/work/Fortran$ cat simple.f90 ; gfortran -o simple.out
simple.f90
program michael
implicit none
write(*,*) 'hi'
write(*,*) index('hi','!')
end program michael

but it won't run!

mkb@amd64:~/work/Fortran$ ./simple.out
-bash: ./simple.out: Permission denied
mkb@amd64:~/work/Fortran$ ls -lt ./simple.out
-rwxr-xr-x 1 mkb mkb 10039 May 7 23:41 ./simple.out*


but it's totally unclear to me what the problem is....

All ideas welcomed, M


Seems to me you forgot to pass the source file to gfortran, considering
the output file is only 7 bytes....
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIIsXgLeTfO4yBSAcRAqmzAJwIzYKrwCDM5i8Ja1odsChZjw6IagCeJxlA
3MZ8mSn6h6CEWRC+hG8zNFQ=
=s7HR
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: GRUB, MBR and NTLDR confusion
    ... that GRUB can be loaded on to the boot partition instead of the MBR ... What you want is to install it to the MBR of /dev/hda. ...
    (Ubuntu)
  • Re: [opensuse] Harddrive order - physical vs how openSUSE sees them
    ... I have central grub boot partition and every installed OS a secondary grub in ... After a new install the mbr points always to the last installed secondary grub. ... The only way out was restoring the primary boot partition from backup and then ... how or why openSUSE is seeing my hard drives in a different order ...
    (SuSE)
  • Re: [opensuse] Yast & Grub bootloader different.
    ... My Grub bootup menu is different than the bootloader ... that shows up on the logon screen aat boot time. ... any boot loader for that matter, can only operate on one /boot partition at ... Grub doesn't scour the all hard drives on each install ...
    (SuSE)
  • Karmic (Beta) Test Installs
    ... As mentioned in the "Grub 2 in Jaunty/Karmic can break double boot ... First test involved _upgrading_ the jaunty drive to karmic beta ... instead install over sda using the entire drive. ...
    (Ubuntu)
  • Re: [SLE] Booting problem
    ... grub will not completly load, It shows Grub on the screen and then Grub ... install dvd,click install,click other,click boot to installed system. ... Loader and make sure you install the boot loader in the Master Boot Record. ...
    (SuSE)