Help, Rasmol installation on Linux
Rimantas.Plaipa at gf.vu.lt
Mon Oct 12 03:33:51 EST 1998
<Pine.SOL.3.96.981011172657.16161A-100000 at famine.OCF.Berkeley.EDU>,
sjlee at ocf.Berkeley.EDU says...
>I am having trouble installing Rasmol 2.6b2 on Redhad Linux 5.1 running
>on a Dec Alpha.
>Has anybody had similar problems?
>rasmol.c:329: invalid use of undefined type `struct fd_set'
Yes I had similar problem compiling RasMol for Caldera Open Linux with
I solved it by changing the following lines in rasmol.c :
static struct fd_set OrigWaitSet;
static struct fd_set WaitSet;
static fd_set OrigWaitSet;
static fd_set WaitSet;
i.e by removing 'struct'.
It looks that gcc compiler needs (and accepts) this 'struct' keyword only if
the structure is undefined.
In the file 'rasmol.c' fd_set is defined by certain include file before
Vilnius University, dept. of Biochemistry and Biophysics, Lithuania
Department of Biochemistry and Biophysics,
Ciurlionio 21/27, Vilnius 2009, Lithuania.
E-mail: rp010gf at voruta.vu.lt
More information about the Bio-soft