[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Building gnubg from source on a Open Suse 11.1 computer

From: Michael Petch
Subject: Re: [Bug-gnubg] Building gnubg from source on a Open Suse 11.1 computer
Date: Fri, 20 Feb 2009 16:52:05 -0700
User-agent: Microsoft-Entourage/

On 20/02/09 4:34 PM, "Hardy Hübener" <address@hidden> 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

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:


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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]