home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 10095 
 mathieu_odijk_haalditweg@hotmail.co to All 
 Re: How can I run a program I wrote? 
 27 Feb 07 06:41:28 
 
Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.co
!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfe
d1.ip.tiscali.net!tiscali!newsfeed2.ip.tiscali.net!news.astraweb
com!newsrouter-eu.astraweb.com!192.87.166.29.MISMATCH!txtfeed2.t
delft.nl!tudelft.nl!txtfeed1.tudelft.nl!news.utwente.nl!not-for-mail
From: odie 
Newsgroups: alt.os.linux.ubuntu
Subject: Re: How can I run a program I wrote?
Date: Tue, 27 Feb 2007 12:41:28 +0100
Organization: University of Twente, Enschede, The Netherlands
Lines: 34
Message-ID: 
References:  <87bqjg
rcf.fsf@geemail.com> 
NNTP-Posting-Host: odie.student.utwente.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: netlx020.civ.utwente.nl 1172576489 32300 130.89.170.56 (27 Feb 2007
11:41:29 GMT)
X-Complaints-To: abuse@utwente.nl
NNTP-Posting-Date: Tue, 27 Feb 2007 11:41:29 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.9 (X11/20070103)
In-Reply-To: 
Xref: number1.nntp.dca.giganews.com alt.os.linux.ubuntu:11134

David schreef:
> On Tue, 27 Feb 2007 10:39:28 +0100, Hadron wrote:
> 
>> David  writes:
>>
>>> I wrote a simple hello world program using Gambas but can't run it from my
>>> home directory. I get this error:
>>>
>>> Cannot open /home/dgk/New directory/HelloWorld/HelloWorld: No application
>>> suitable for automatic installation is available for handling this kind of
>>> file.
>>>
>>> I checked the permissions and I have read/write, and "allow executing
>>> file as program" is checked.
>>>
>>> Thanks. I have managed to get Pan running which is a victory.
>> It looks like it is running and the error code comes from it or its
>> startup libraries. But you would be better off asking in a gambas forum
>> I would think.
>>
>> How did you run it? Command line. The error message is useless without
>> the other information.
> 
> I just doubleclick on it in the home directory, it's a gui app. I just
> tried getting there through terminal and found it (just HelloWorld with
> no file extension using ls -l) and typed HelloWorld at the command prompt
> but got something like No Such Command. Maybe I have to do something else
> in Linux to execute a program? In old RMS days we need to type Run or
> something as I recall. It's been a while. I'll check my Linux for Dummies
> in 24 Hours or whatever I have when I get to work. We use Linux (RedHat)
> for some of our servers so I needed to know some basic commands.
> 
try: ./HelloWorld from the directory where it is placed or try the whole 
path as a command: /home/dgk/New directory/HelloWorld/HelloWorld
--- Platinum Xpress/Win/WINServer v3.0pr5
 * Origin: Omicron Theta BBS (1:261/20)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca