LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-08-2006, 09:33 PM   #1
adssse
Member
 
Registered: May 2005
Distribution: Ubuntu, Jolicloud
Posts: 136

Rep: Reputation: 15
TinyCobol


Using Ubuntu 5.10 I installed tinycobol through apt-get using the following repository:
deb http://paginas.terra.com.br/informat...ote/tinycobol/ ./

I used the given repository, updated and installed tinycobol without any problems. I then wrote a little hello world program to test it and saved it as hello.cob. I used the command 'htcobol hello.cob' but all I got was 'sh: as: command not found'. I was wondering if anyone who has used this could provide some help. I have verified that tinycobol installed by using 'htcobol -V' and the man pages and help all work fine, but I was unable to find an answer there. Any help would be appreciated.
 
Old 05-09-2006, 12:28 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
I don't know anything about tinycobol ...

... but the error message, "sh: as: command not found", suggests that tinycobol is looking for an assembler. Probably the Gnu Assembler ("gas").

Here's a link that lists dependencies for Tinycobol - it looks like there's a lot of them (including "as", but also gcc, yacc, lex, curses, getopts and many others):
http://tiny-cobol.sourceforge.net/docs/wiki/

At a minimum, please do "apt-get", install Gas, and see if you get any further.

'Hope that helps .. PSM
 
Old 05-09-2006, 10:21 AM   #3
adssse
Member
 
Registered: May 2005
Distribution: Ubuntu, Jolicloud
Posts: 136

Original Poster
Rep: Reputation: 15
Thank you for your reply. It was my own mistake, by doing 'sudo apt-get install build-essential' it seems to have taken care of everything else I needed. Thanks again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anybody here running TinyCobol? Mithrilhall Linux - Newbie 0 07-03-2002 09:10 AM
TinyCobol help Mithrilhall Programming 0 06-12-2002 08:17 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration