[daip] Re: aips not installing
Eric Greisen
egreisen at nrao.edu
Fri Sep 16 16:11:36 EDT 2005
sdt4 at njit.edu writes:
> Hi,
>
> I thought you might want to know, all of these bad things go away if I treat my
> comp as a portable one and call it LOCALHOST.
This is related to what I have been saying about HOSTS.LIST...
> However, since AIPS does not work with gcc4.0 I still use my new gcc3.4.4
> installation. Everything works great until I attempt to run
INSTEP2.
Before running install.pl
setenv LD_LIBRARY_PATH /usr/local/lib:/usr/lib
It is not looking in the right place for the 3.4.4 compiler.
Eric Greisen
>
> says
>
> PP.EXE: error while loading shared libraries: libg2c.so.0: cannot open shared
> object file: No such file or directory
> COMRPL : Preprocessing fails!
> COMRPL : Leave /home/aips/31DEC05/AIPS/SUB/VERSTR.FOR
> COMRPL : in /home/aips/31DEC05/LINUX/INSTALL/AIPSUB.LIS
> COMRPL : unchanged as it FAILED to compile.
> COMRPL : at least one module FAILED to compile
> COMRPL : Dies of unnatural causes
> INSTEP2 : Failure in $AIPSUB/...
> INSTEP2 : compilations.
> INSTEP2 : Aborts! Fri Sep 16 15:37:20 EDT 2005
> AipsWiz: Error: INSTEP2 failed, no point in proceeding.
>
> I do have that file in
>
> /usr/local/lib/gcc/i686-pc-linux-gnu/libg2c.so.0
>
> I couldn't figure out how to modify PP.EXE to look there, though. And I did
> select the appropriate folders for my 3.4.4 versions of gcc and g77
> (/usr/local/bin) when setting up the advanced settings (step 10 of install.pl).
>
> Thanks much,
>
> Sam
>
>
>
> Eric Greisen <egreisen at nrao.edu>:
>
> > sdt4 at njit.edu writes:
> > >
> > > I only find a file called frtbegin.o in a different folder within the
> > gcc-3.4.4
> > > directoy, no matter how I install this thing. Since this is concernig
> > AIPS, my
> > > question is:
> > >
> > > If I setenv $LD_LIBRARY_PATH=/directorywhereitactuallyis
> >
> > I don't think that a .o file will work for a library.
> >
> > >
> > > do you think at least that part would work? Do you think it might
> > affect other
> > > portions of the AIPS install?
> >
> > Yes - I expect that you will see this on every link edit since we
> > make no mention of this library in AIPS, it is something that your
> > compiler is adding to the link process.
> >
> > > I think the XAS problem was an incompatible compiler, which might be
> > fixed with
> > > this 3.4.4 install. I hope.
> >
> > I think that it was more like a problem in the HOSTS.LIST file
> > since it was not using a recognized architecture to do the make.
> >
> > > P.S. Did you mean binary install of GCC?
> > >
> > >
> > > >
> > > > You might consider trying the binary install - the Intel compiler
> > > > produces load modules that are 35% faster on our Pentium IVs than
> > the
> > > > ones produced by the GNU compiler.
> > > >
> >
> > Actually I meant the binary install of aips itself. Bypass getting a
> > working compiler. If you do
> >
> > perl install.pl -n
> >
> > it will use the network to download binaries and libraries enough to
> > run aips. The MNJ later will also use the binary mode. (I was
> > interupted while typing my last reply and did not finish my thought
> > properly.)
> >
> > Eric Greisen
> >
More information about the Daip
mailing list