Date: Mon, 23 Oct 2006 13:58:07 -0400 (EDT)
From: Jun-Hui Zhao 
To: Maite Beltran 
Cc: smamiriad@cfa.harvard.edu
Subject: Re: miriad installation problems

Dear Maite:
     Looks like that you are running into some problems in miriad
installaltion on your linux with Fedora Core 5. I have only
linux desktops with redhat. I'm circulating your message to
a large group of miriad users. Hope some of the users who have
experienced with Fedora Core 5 can give you a solution. Meanwhile,
I will keep asking people around to find one who encountered the
same problem.
     Jun-Hui
On Mon, 23 Oct 2006, Maite Beltran wrote:

> Dear Jun-Hui
>
> I'm trying to install and run the Miriad package on my linux machine,
> which runs with Fedora Core 5. At the beginning, I downloaded the binary
> version, but when I tried to run any command, such as 'cgdisp' or
> 'imhead', it gave me an error telling me that it was missing the 'libg2c'
> library. I have installed the library, but then when trying to run miriad
> I got this message:
>
> error while loading shared libraries:
> /usr/local/miriad_cvs/lib/linux/libmir.so: cannot restore segment prot
> after reloc: Permission denied
>
>
> After that, I tried to download and compile the package. However, first it
> complained that it was missing 'libforms.a', whihc was not found in the
> system. Finally, after having 'libforms.a' installed in /usr/X11R6/lib,
> when I try to install it it gives me this error messages:
>
>
> Could not find libforms.a to compile velplotc
> You will also need to find forms.h
> Compiling rpfits
> rm -f *.o core test.tmp
> Compiling atnf code: atlod
> Checking binaries:
> Found 1 / 303 binaries missing:
> velplotc
> Running basic: Checking basic.log, errors are reported by:
> # errors    Program Exit_status
> Running xyio: Checking xyio.log, errors are reported by:
> # errors    Program Exit_status
> Running uvio: Checking uvio.log, errors are reported by:
> # errors    Program Exit_status
> Running map: Checking map.log, errors are reported by:
> # errors    Program Exit_status
> Running rad: OK
> Creating logfile for baseline check:
> itemize: error while loading shared libraries:
> /usr/local/miriad_cvs/lib/linux/libmir.so: cannot restore segment prot
> after reloc: Permission denied
> tail: cannot open `+2' for reading: No such file or directory
> histo: error while loading shared libraries:
> /usr/local/miriad_cvs/lib/linux/libmir.so: cannot restore segment prot
> after reloc: Permission denied
> tail: cannot open `+2' for reading: No such file or directory
> uvlist: error while loading shared libraries:
> /usr/local/miriad_cvs/lib/linux/libmir.so: cannot restore segment prot
> after reloc: Permission denied
> tail: cannot open `+2' for reading: No such file or directory
> histo: error while loading shared libraries:
> /usr/local/miriad_cvs/lib/linux/libmir.so: cannot restore segment prot
> after reloc: Permission denied
> tail: cannot open `+2' for reading: No such file or directory
> Record date and version etc.
>
>
> I have no idea what to do next, because in fact 'libforms.a' is already in
> the system. Any idea? Thanks in advance for your help.
>
> Best regards
>
>       Maite
>
>
> ----------------------------------------------------------------------------
> Dr. Maria T. Beltran                                 Phone: (+34) 934039228
> Dept. Astronomia i Meteorologia
> Facultat de Fisica
> Universitat de Barcelona
> Avgd. Diagonal 647