[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ccp4bb]: Summary : Redhat 7* users.



***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***

> > PS - I am aware that GCC (3.0) has been released (Thanks David S.) but i
> > just haven't had the time/courage to break my system and install/test it
> > yet.....
>
> Once you have a working C compiler, (i.e. you've upgraded 7.0 to 2.96-69
> or 7.1 to 2.96-85), then the best thing to do is to compile and install
> a stable version, such as 2.95.3, in /usr/local/
>
> (Yes, 3.0 is worth a try, but I have not done so).
>
> For me this was as easy as downloading the tarballs from gcc.org
> (including cpp and g77, and also g++ and libstdc++ in my case), and
> doing a configure, make, make install. There is no interference with the
> rest of the system. 2.95.3 also seems about twice as fast (compiling)
> than 2.96-x. Then change FC to /usr/local/bin/g77 and CC to
> /usr/local/bin/gcc in the Makefiles in $CLIBS and $CPROG
>
> Waiting for a working Fortran compiler to come out of RedHat seems to be
> a non-viable approach to the problem.

Thanks to Jim and Kevin for their comments.

Following Kevin's suggestion I now have the following system:

1) redhat 7.0.
2) upgraded compiler from Redhat (using up2date) to gcc-2.96.85 (and g77 etc)
3) installed gcc(etc) 3.0 in /usr/local/bin this was straight forward as
Kevin suggests above

following this I had a clean distribution of CCP4 4.1.1. I configured as
.../configure --with-x linux

then edited $CCP4/config.status and changed
FC to /usr/local/bin/f77 and
CC to /usr/local/bin/gcc

ran config.status (NB no change to optimization level)

make and make install of the suite.......

ran the $CEXAM/unix/runnable/run-all script.....

AND IT ALL WORKED! again I hasten to add that the programs ran and didn't
crash (so I'm assuming they gave sensible answeres).....

so in summary this probably isn't the best way to have your linux box set
up but it does at least give a working compiled version of CCP4 for redhat
7* boxes.

I hope this helps. if the demand is really there I will make a web page
(or kevin might update his) with detailed instructions. Though my real
current recomendation is - stick with RedHat 6.2

Alun
_____________________________________________________
Alun Ashton,   awa@ccp4.ac.uk    Tel: +44 1925 603528
CCP4,          ccp4@ccp4.ac.uk   Fax: +44 1925 603825
                      http://www.ccp4.ac.uk/
Daresbury Lab,  Daresbury,  Warrington,  UK,  WA4 4AD