Welcome to iraf.net Monday, May 06 2024 @ 10:40 PM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 Problem installing fitsutil
   
rcurran
 06/15/2010 09:59PM (Read 3071 times)  
+----
Newbie

Status: offline


Registered: 06/15/2010
Posts: 1
Hi,I'm trying to install fitsutil (following the instructions), but I keep getting the following errors:[code:1:79a7c2cb71]
iraf@desktop% mkpkg -p fitsutil
!clear;dateTue Jun 15 17:48:41 EDT 2010
===================== LIB =========================!date
Tue Jun 15 17:48:41 EDT 2010
warning: library `libmef.a' not found
xc -c -w -p fitsutil mefopen.x mefksection.x mefrdhdr.x mefwrhdr.x mefclose.x mefgval.x mefgnbc.x mefget.x mefkfind.x mefappfile.x mefdummyh.x mefcpextn.x mefencode.x mefsetpl.x mefwrpl.x mefldhdr.x
mefopen.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefksection.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefrdhdr.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefwrhdr.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefclose.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefgval.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefgnbc.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefget.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefkfind.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefappfile.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefdummyh.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefcpextn.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefencode.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefsetpl.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefwrpl.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
mefldhdr.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
ar r /iraf/extern/fitsutil/lib/../bin/libmef.a mefopen.o mefksection.o mefrdhdr.o mefwrhdr.o mefclose.o mefgval.o mefgnbc.o mefget.o mefkfind.o mefappfile.o mefdummyh.o mefcpextn.o mefencode.o mefsetpl.o mefwrpl.o mefldhdr.o
ar: creating /iraf/extern/fitsutil/lib/../bin/libmef.a
ar: mefopen.o: No such file or directory
ranlib ../bin/libmef.a
ranlib: '../bin/libmef.a': No such file
Updated 16 files in libmef.a
Warning, mkpkg line 15: module `libmef.a' not found or returned error
warning: library `libcfitsio.a' not found
!./configure
checking for uname... 1
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gfortran... gfortran
checking whether we are using GNU Fortran...
yes
cfitsio: == Adding wrapper support for GNU Fortran...
done
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
cfitsio: == Using gcc version 4.4.3
checking "whether ftruncate works"... "yes"
checking "whether long long is defined"... "yes"
checking "whether system V style IPC services are supported"... "yes"
checking "do we have flock_t defined in sys/fcntl.h"... "no"
checking "do we have flock_t defined in sys/flock.h"... "no"
checking "do we have union semun defined"... "no"
checking for library containing gethostbyname... none required
checking for library containing connect... none required
configure: creating ./config.status
config.status: creating Makefile
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cfitsio.pc Congratulations, Makefile update was successful.
You may want to run "make" now.!make
make[1]: Entering directory `/iraf/extern/fitsutil/lib/cfitsio'
make[1]: Nothing to be done for `stand_alone'.
make[1]: Leaving directory `/iraf/extern/fitsutil/lib/cfitsio'
!make fpack funpack
make: `fpack' is up to date.
make: `funpack' is up to date.
!/bin/cp libcfitsio.a ../
/bin/cp: not writing through dangling symlink `../libcfitsio.a'
!/bin/cp fpack funpack ../../bin/
Subdirectory lib/cfitsio is up to date
Library libcfitsio.a is up to date
!date
Tue Jun 15 17:48:44 EDT 2010
===================== PKG =========================warning: library `libpkg.a' not found
xc -c -w -p fitsutil catprhdr.x dfits.x fxcopy.x fxconvert.x fxdelete.x fxextract.x fxdummyh.x fxheader.x fxsplit.x fxinsert.x fxplf.x getcmd.x
catprhdr.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
dfits.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
fxcopy.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
fxconvert.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
fxdelete.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
fxextract.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
fxdummyh.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
fxheader.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
fxsplit.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
fxinsert.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
fxplf.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
getcmd.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
ar r /iraf/extern/fitsutil/pkg/libpkg.a catprhdr.o dfits.o fxcopy.o fxconvert.o fxdelete.o fxextract.o fxdummyh.o fxheader.o fxsplit.o fxinsert.o fxplf.o getcmd.o
ar: creating /iraf/extern/fitsutil/pkg/libpkg.a
ar: catprhdr.o: No such file or directory
ranlib libpkg.a
ranlib: 'libpkg.a': No such file
Updated 12 files in libpkg.a
Warning, mkpkg line 13: module `libpkg.a' not found or returned error
xc -c -w -p fitsutil x_fxutil.x
x_fxutil.x:
Fatal compiler error: Cannot execute xpp.e
Fatal compiler error: Cannot execute rpp.e
xc -Nz -p fitsutil x_fxutil.o libpkg.a -lmef -lxtools -o xx_fitsutil.e
Warning: file `x_fxutil.o' not found
Warning: file `libpkg.a' not found
/usr/bin/ld: cannot find -lmef
collect2: ld returned 1 exit status
!cc -c -O -DLINUX -DPOSIX -DSYSV -w -Wunused -DNOVOS fgwrite.c fgread.c sum32.c checksum.c kwdb.c
!cc fgwrite.o kwdb.o -o fgwrite.e
!cc fgread.o kwdb.o checksum.o -o fgread.e
!cc sum32.o checksum.o -o sum32
!rm fgwrite.o fgread.o kwdb.o checksum.o sum32.o
move `xx_fitsutil.e' to `fitsutilbin$x_fitsutil.e'
$move: file `xx_fitsutil.e' not found
Warning, mkpkg line 26: error moving file xx_fitsutil.e
move `fgread.e' to `fitsutilbin$fgread.e'
move `fgwrite.e' to `fitsutilbin$fgwrite.e'
move `sum32' to `fitsutilbin$sum32'
purge directory `mefbin$'
!date
Tue Jun 15 17:48:45 EDT 2010
[/code:1:79a7c2cb71]Any suggestions as to what I'm doing wrong?I have set the following:setenv iraf /iraf/iraf/
setenv IRAFARCH linux
source $iraf/unix/hlib/irafuser.cshand my $hlib/extern.pkg includes the following lines:reset fitsutil = /iraf/extern/fitsutil/
task fitsutil.pkg = fitsutil$fitsutil.clI'm using a new computer with Ubuntu 10.04 LTS, with IRAF 2.14.1 installed.Thanks!

 
Profile Email
 Quote
fitz
 06/15/2010 09:59PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The simplest solution is to use the prebuilt binaries from the Downloads area (you can use the 'redhat' binaries, just rename the bin.redhat directory to bin.linux).Otherwise, the question is to figure out why the xpp.e/rpp.e commands can't be executed. These should be in the $iraf/unix/bin.linux directory on your machine, do they exist there? If not, try copying the contents of $iraf/unix/bin.redhat to $iraf/unix/bin.linux (I seem to remember a version going out without the proper binaries). OTOH, if the binaries *do* exist then try[code:1:81b1c248cb]ldd $iraf/unix/bin.linux/xpp.e[/code:1:81b1c248cb]and look for any missing shared libs. Especially on 64-bit systems you may need to install various 32-bit compatibility libs for things to work properly. Hope this helps.

 
Profile Email
 Quote
   
Content generated in: 0.10 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login