Privacy and Security Notice

Archived Messages for CLAS_OFFLINE_1997@cebaf.gov: Re: Linux 'choice of the GNU generation' status

Re: Linux 'choice of the GNU generation' status

Maurik Holtrop (maurik@einstein.sr.unh.edu)
Tue, 13 May 1997 14:13:46 -0400 (EDT)

Hello Richard and Arne,

A note for all the Linux users:

I) Gsim_int builds on a Linux box that has a working copy of Motif
running. This is needed because it calls GPAWPP, which is the Motif interface to
paw. There are two ways to run gsim_int on a Linux box:

1) Use a call to GPAW(NWGEAN,NWPAW), wich gives you the standard
command line interface to geant.

2) Buy Motif or install Lesstif, see Arne's reply.

3) Ask somebody with Motif installed to make a 'statically linked'
executable. If all you need is an unmodified gsim_int.

II) I have gsim_bat running on a Linux box. Nothing is broken as far as I
can tell. If you could send me the details of the problem you've
encountered I can check into them for you.

III) I am checking into the compile problem with c_bos_io on Linux. I have
a working copy, but need to make sure the fixes don't interfere with
other platforms.

Hope this is of some help,

Maurik

On Mon, 12 May 1997, Richard Thompson wrote:

> I now have recsis "running" on maraca (the U Pitt Linux box here at cebaf).
>
> I have not included "non-critial" libraries (bosio, c_bos_io, ced, gsim_bat,
> gsim_int). All of these are broken on Linux except for gsim_bat. I'm
> sure gsim_int will be easy to fix, but I've no idea about the others.
>
> I have verified track finding, but I am only certain that the DC0, TRK, EC
> packages are working. I am certain that CC is broken (crashes recsis).
>
> I removed double declarations from ec and bosio and checked those
> changes in. Also, Joe committed changes to cms/rules.make to make it
> Linux-friendly. This means the mapmanager library (Map package) builds.
>
> Other changes that I did not check in (for obvious reasons) include:
>
> o remove 'gsim_int' from 'all:' in clas_bin.mk so that I can get by without
> gsim_int package. Also removed 'int' from 'all:' in the
> ../gsim/Makefile for the same reason.
>
> o set X_LIB, TCL_LIB, and TCL_INC appropriately in flags.Linux.mk. These
> _may_ be different from machine to machine (which is why I didn't
> commit mine), so the respective librarians should set these. I found
> I also had to add /usr/include/bsd to the end of DEFAULT_INCLUDES so
> that sgtty.h could be found.
>
> This gets me where _I_ need to be (able to work on tracking code), but the
> port to Linux is clearly not complete.
>
> Cheers,
> Richard
>
> \ R A Thompson /
> / Dept of Physics and Astronomy University of Pittsburgh \
> \ Pittsburgh, PA 15260 /
> / richardt@cebaf.gov 757-269-7475 \
>
>