Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
#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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.