On 20/02/09 4:34 PM, "Hardy Hübener" <[email protected]> wrote: > > I fear this is a "I don't understand Linux problem" :-( > > I have downloaded the current soure and unzipped it into the directory > /root/gnubg-source/ > > Then I started a Terminal, changed into that directory and typed > "./autogen.sh". > > The directory does contain a file called autogen.sh. Nevertheless I get > the error "No such file or directory". I am confused. > > > Hardy :-? >
Hi Hardy, Christian is asking all the same things I would. The big one is, what was the name of the file you downloaded (and from where) that contained the source? And how did you extract/unzip it? If autogen.sh is in the directory but you can't run it, it means the flag that says "This file is an executable" is no longer set for that file. The question is, how did it get removed. In the windows world a program is generally only executable if it was built as an executable, and has .EXE on the end (This is a generality). In the Linux world, text files can be executable as well as binary programs made with a C compiler. A text file has to be structured a certain way (The first line says what program should interpret the text - like perl, bash, php etc). The caveat is that text files that are expected to be executed must also be flagged in the file system appropriately. There are attributes for each file (Including permissions, whether they are executable or not etc). To add back the executable flag to autogen.sh one can issue a command like: chmod 755 autogen.sh Its beyond the scope of this message, but for your purposes this will set the "executable bit" on the file. More information about chmod can be found with the manpages. To get the manpages for chmod issue: man chmod Once the executable bit is set you should be able to run it again with: ./autogen.sh I should point out, that resolving why the exectuable flag on this file should probably be investigated - since your source files seem to be in an unusual state. If you can answer the 2 questions in my first paragraph, it will likely help Christian and I. Michael _______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
