I tried the following command on fedora-19 with latest updates (iraf did
compile and is installed):
makerpm $ rpmbuilld --rebuild x11iraf-2.0-1test.src.rpm
it seems to compile (with a certain amount of warnings about int being
converted to pointers and similar things) and things like
-----
In file included from xpmP.h:47:0,
from scan.c:11:
xpm.h:58:22: warning: incompatible implicit declaration of built-in
function 'free' [enabled by default]
#define XpmFree(ptr) free(ptr)
-----
^
however it doesn't end well for now with
-----
make[2]: Entering directory
`/home/makerpm/rpmbuild/BUILD/x11-iraf/ximtool/clients'
warning: library `libpkg.a' not found
Warning, mkpkg line 13: dependency file `<config.h>' not found
Warning, mkpkg line 13: dependency file `<mach.h>' not found
Warning, mkpkg line 13: dependency file `<xwhen.h>' not found
xc -c -w -/g -/m64 idxstr.x ism.x wcsgfterm.x
idxstr.x:
cannot open iraf.h
ism.x:
cannot open iraf.h
wcsgfterm.x:
cannot open iraf.h
ar r /home/makerpm/rpmbuild/BUILD/x11-iraf/ximtool/clients/libpkg.a
idxstr.o ism.o wcsgfterm.o
ar: creating
/home/makerpm/rpmbuild/BUILD/x11-iraf/ximtool/clients/libpkg.a
ar: idxstr.o: No such file or directory
Warning, mkpkg line 10: dependency file `<ctype.h>' not found
Warning, mkpkg line 10: dependency file `<time.h>' not found
Warning, mkpkg line 12: dependency file `hlib$libc/ctype.h' not found
Warning, mkpkg line 12: dependency file `<imhdr.h>' not found
Warning, mkpkg line 12: dependency file `<imio.h>' not found
Warning, mkpkg line 12: dependency file `<math.h>' not found
Warning, mkpkg line 12: dependency file `hlib$libc/time.h' not found
Warning, mkpkg line 12: dependency file `<mwset.h>' not found
Warning, mkpkg line 12: dependency file `<pkg/skywcs.h>' not found
Warning, mkpkg line 15: dependency file `hlib$libc/ctype.h' not found
xc -c -w -/g -/m64 t_wcspix.x wcimage.x wcmef.x wcmspec.x wcunknown.x
t_wcspix.x:
cannot open iraf.h
wcimage.x:
cannot open iraf.h
wcmef.x:
cannot open iraf.h
wcmspec.x:
cannot open iraf.h
wcunknown.x:
cannot open iraf.h
ar r /home/makerpm/rpmbuild/BUILD/x11-iraf/ximtool/clients/libpkg.a
t_wcspix.o wcimage.o wcmef.o wcmspec.o wcunknown.o
ar: creating
/home/makerpm/rpmbuild/BUILD/x11-iraf/ximtool/clients/libpkg.a
ar: t_wcspix.o: No such file or directory
ranlib libpkg.a
ranlib: 'libpkg.a': No such file
Updated 8 files in libpkg.a
Warning, mkpkg line 13: module `libpkg.a' not found or returned error
xc -c -w -/g -/m64 x_ism.x
x_ism.x:
cannot open iraf.h
xc -Nz -/g -/m64 -z x_ism.o libpkg.a -o ism_wcspix.e -lds -lxtools
-liminterp -lslalib
Warning: file `x_ism.o' not found
Warning: file `libpkg.a' not found
gcc: error: libmain.o: No such file or directory
gcc: error: libex.a: No such file or directory
gcc: error: libsys.a: No such file or directory
gcc: error: libvops.a: No such file or directory
gcc: error: libos.a: No such file or directory
gcc: error: libVO.a: No such file or directory
make[2]: *** [ism_wcspix.e] Error 1
make[2]: Leaving directory
`/home/makerpm/rpmbuild/BUILD/x11-iraf/ximtool/clients'
make[1]: *** [ism_clients] Error 1
make[1]: Leaving directory
`/home/makerpm/rpmbuild/BUILD/x11-iraf/ximtool'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Z1gvtN (%build)
-----
_______________________________________________
Fedora astronomy mailing list
astronomy@xxxxxxxxxxxxxxxxxxxxxxx
http://fedoraproject.org/wiki/SIGs/Astronomy
https://admin.fedoraproject.org/mailman/listinfo/astronomy