Re: gfortran Permission denied
On Thu, 2008-05-08 at 07:51 +0200, Sven Joachim wrote: On 2008-05-08 00:42 +0200, michael wrote: [EMAIL PROTECTED]:~/work/Fortran$ ./simple.out -bash: ./simple.out: Permission denied [EMAIL PROTECTED]:~/work/Fortran$ ls -lt ./simple.out -rwxr-xr-x 1 mkb mkb 10039 May 7 23:41 ./simple.out* Is the partition mounted with the noexec flag? aha, I had mounted my 'work' partition viz [EMAIL PROTECTED]:~/work/Fortran$ grep work /etc/fstab /dev/hdb1 /mnt/work ext2rw,user,noauto 0 2 [EMAIL PROTECTED]:~/work/Fortran$ mount|grep work /dev/hdb1 on /mnt/work type ext2 (rw,noexec,nosuid,nodev,user=mkb) by appending 'exec' to the mount options it does not indeed work, thanks! [EMAIL PROTECTED]:~/work/Fortran$ grep work /etc/fstab;mount|grep work; ./simple.out /dev/hdb1 /mnt/work ext2rw,user,noauto,exec 0 2 /dev/hdb1 on /mnt/work type ext2 (rw,nosuid,nodev,user=mkb) hi 0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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,brbras you guess I am having serious boot problems, grub loading fails at stage 1.5 with quot;Error 17quot;. brbrI 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.brbrUsing knoppix I can read all partitions... exept /home and /brbrI 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] designates 82.195.75.100 as permitted sender) [EMAIL PROTECTED] Received: from localhost (localhost [127.0.0.1]) by liszt.debian.org (Postfix) with QMQP id 7E55713A5379; Wed, 7 May 2008 22:42:43 + (UTC) Old-Return-Path: [EMAIL PROTECTED] 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@lists.debian.org Delivered-To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] [EMAIL PROTECTED], 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@lists.debian.org; Wed, 7 May 2008 22:42:16 + (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 [EMAIL PROTECTED]) id 1JtsKz-0009hU-ER for debian-user@lists.debian.org; 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@lists.debian.org; Wed, 07 May 2008 23:42:13 +0100 Subject: gfortran Permission denied From: michael [EMAIL PROTECTED] To: debian user debian-user@lists.debian.org Content-Type: text/plain Date: Wed, 07 May 2008 23:42:13 +0100 Message-Id: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] X-UoM: Scanned by the University Mail System. See http://www.itservices.manchester.ac.uk/email/filtering/information
gfortran Permission denied
I've just installed, without error, gfortran on my AMD64 [EMAIL PROTECTED]:~/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 [EMAIL PROTECTED]:~/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: [EMAIL PROTECTED]:~/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! [EMAIL PROTECTED]:~/work/Fortran$ ./simple.out -bash: ./simple.out: Permission denied [EMAIL PROTECTED]:~/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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gfortran Permission denied
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/07/08 17:42, michael wrote: I've just installed, without error, gfortran on my AMD64 [EMAIL PROTECTED]:~/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 [EMAIL PROTECTED]:~/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: [EMAIL PROTECTED]:~/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! [EMAIL PROTECTED]:~/work/Fortran$ ./simple.out -bash: ./simple.out: Permission denied [EMAIL PROTECTED]:~/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 Works for me on x86-32 Sid. Maybe the /Permission denied/ is on a library instead of the main routine? $ gfortran -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure linux gnu Thread model: posix gcc version 4.3.1 20080401 (prerelease) (Debian 4.3.0-3) $ cat simple.f90 program michael implicit none write(*,*) 'hi' write(*,*) index('hi','!') end program michael $ gfortran -o simple simple.f90 $ ./simple hi 0 $ dir simple* - -rwxr-xr-x 1 me me 7768 2008-05-07 17:55 simple* - -rw-r--r-- 1 me me 93 2008-05-07 17:52 simple.f90 $ ldd simple linux-gate.so.1 = (0xb7ef6000) libgfortran.so.3 = /usr/lib/libgfortran.so.3 (0xb7e35000) libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb7e1) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb7e02000) libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb7cb4000) /lib/ld-linux.so.2 (0xb7ef7000) - -- Ron Johnson, Jr. Jefferson LA USA We want... a Shrubbery!! -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIIjQqS9HxQb37XmcRAo1QAJ4rCI/Sy1FTdGsQFhnnwKYoxgiEegCghVSY mMg5dbWPrrPCTLdrO4lnEc4= =Ki2S -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gfortran Permission denied
michael wrote: I've just installed, without error, gfortran on my AMD64 [EMAIL PROTECTED]:~/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 Use gfortran 4.3 (the latest version). It is much better than 4.1. But that is not the cause of your problem. [EMAIL PROTECTED]:~/work/Fortran$ ./simple.out -bash: ./simple.out: Permission denied [EMAIL PROTECTED]:~/work/Fortran$ ls -lt ./simple.out -rwxr-xr-x 1 mkb mkb 10039 May 7 23:41 ./simple.out* Are you able to run any other executable (say from a C program) or any other script (say a bash script) from that directory? but it's totally unclear to me what the problem is All ideas welcomed, M This is not a gfortran problem per se. The problem is somewhere else. raju -- Kamaraju S Kusumanchi http://www.people.cornell.edu/pages/kk288/ http://malayamaarutham.blogspot.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: gfortran Permission denied
On 2008-05-08 00:42 +0200, michael wrote: [EMAIL PROTECTED]:~/work/Fortran$ ./simple.out -bash: ./simple.out: Permission denied [EMAIL PROTECTED]:~/work/Fortran$ ls -lt ./simple.out -rwxr-xr-x 1 mkb mkb 10039 May 7 23:41 ./simple.out* Is the partition mounted with the noexec flag? Sven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]