LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2006, 11:51 AM   #1
Ria
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
installing rasmol


Hi all,
I am a total newbie to linux. I'm trying to install rasmol 2.7.2.1.1 and i'm following the instructions from
evl.uic.edu/cavern/agave/docs-rasmol/instructions.htm

I've done up to step 5, but when I type 'make' at the shell (in the RasMol2 folder), I get
make: xxx [rasmol.o] ERROR 1

What does that mean and what do I have to do to rectify this? I assume that from step 7, a rasmol.exe file has to be created so that I can run rasmol.
 
Old 06-13-2006, 08:54 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,833

Rep: Reputation: 108Reputation: 108
Can you post several more lines before the error?
 
Old 06-21-2006, 09:10 PM   #3
Ria
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Hi,
Sorry I took so long!!!! Here’s the full error message that I got when I typed in ‘make’ in the RasMol2 folder:

gcc –c –g –02 –finline-functions rasmol.c
rasmol.c: 46:24: sys/termio.h: No such file or directory
rasmol.c: In function ‘ResetTerminal’
rasmol.c: 177: ‘TCSETAW’ undeclared (first use in this function)
rasmol.c: 177: (Each undeclared identifier is reported only once
rasmol.c: 177: for each function it appears in.)
rasmol.c: In function ‘InitTerminal’
rasmol.c: 416: ‘TCGETA’ undeclared (first use in this function)
rasmol.c: 417: ‘IntrTerm’ has an incomplete type.
rasmol.c: 419: invalid use of undefined type ‘Struct termio’
rasmol.c: 419: ‘IGNBRK’ undeclared (first use in this function)
rasmol.c: 419: ‘IGNPAR’ undeclared (first use in this function)
rasmol.c: 420: invalid use of undefined type ‘Struct termio’
rasmol.c: 420: ‘BRKINT’ undeclared (first use in this function)
rasmol.c: 420: ‘PARMRK’ undeclared (first use in this function)
rasmol.c: 420: ‘INPCK’ undeclared (first use in this function)
rasmol.c: 420: ‘IXON’ undeclared (first use in this function)
rasmol.c: 420: ‘IXOFF’ undeclared (first use in this function)
rasmol.c: 421: invalid use of undefined type ‘Struct termio’
rasmol.c: 421: ‘ICANON’ undeclared (first use in this function)
rasmol.c: 421: ‘ECHO’ undeclared (first use in this function)
rasmol.c: 421: ‘ECHOE’ undeclared (first use in this function)
rasmol.c: 421: ‘ECHOK’ undeclared (first use in this function)
rasmol.c: 421: ‘ECHONL’ undeclared (first use in this function)
rasmol.c: 421: ‘NOFLSH’ undeclared (first use in this function)
rasmol.c: 422: invalid use of undefined type ‘Struct termio’
rasmol.c: 422: ‘ISIG’ undeclared (first use in this function)
rasmol.c: 424: invalid use of undefined type ‘Struct termio’
rasmol.c: 424: ‘VMIN’ undeclared (first use in this function)
rasmol.c: 425: invalid use of undefined type ‘Struct termio’
rasmol.c: 425: ‘VTIME’ undeclared (first use in this function)
rasmol.c: 431: ‘TCSETAW’ undeclared (first use in this function)
rasmol.c: In function ‘FetchCharacter’:
rasmol.c: 503: warning: passing arg 3 of ‘select’ from incompatible pointer type
rasmol.c: 503: warning: passing arg 4 of ‘select’ from incompatible pointer type
rasmol.c: At top level
rasmol.c: 108: storage size of ‘OrigTerm’ isn’t known
rasmol.c: 109: storage size of ‘IntrTerm’ isn’t known
make: xxx [rasmol.o] ERROR1

Still don't know what this means...
 
Old 06-22-2006, 08:07 AM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,833

Rep: Reputation: 108Reputation: 108
I tried to follow your step on my Penguin rasmol_2.7.2.1.1 package http://www.bernstein-plus-sons.com/s...7.2.1.1.tar.gz (follow from www.rasmol.org)

#1. UIC instruction failed, however error is different.
#2. instruction with that package succeeded, no trouble.

I guess you have two options, A) follow #2 above, B) correct error.

If you want to follow B), you will need to locate your termio.h file. (I have /usr/include/termio.h) so edit rasmol.c so that compiler can find it, then see what happens.

I recommend A).
 
Old 06-22-2006, 08:21 AM   #5
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,833

Rep: Reputation: 108Reputation: 108
I made an idiot mistake.

UIC instruction is for 2.6.

If you download from the site I posted, follow 2.7.7.1 instruction (xmkmf, make...)
If you download from UIC link, #1, edit line 46 rasmol.c so that it looks like
Code:
 #include <termio.h>
. I had successfully compiled, but binary does not work.

Good luck
 
  


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
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM
Installing from source, installing from CVS and the E-17 window manager... Buffbannana049 Ubuntu 10 02-14-2006 11:27 PM
Installing Mandriva 2006 - Hangs installing hard drive controller nvidia mcp04 sata DanielJPayne Mandriva 7 01-19-2006 02:15 AM
Installing Mono-got stuck while installing gtk-sharp chutsu Linux - Software 11 01-18-2005 08:25 PM
Installing Windows XP after installing Red Hat 9 BluePyre Linux - General 7 03-09-2004 03:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:09 PM.

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