Welcome to iraf.net Thursday, May 02 2024 @ 04:42 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 Ximtool error with suse
   
Bellido
 03/16/2006 08:29PM (Read 13407 times)  
+----
Newbie

Status: offline


Registered: 03/16/2006
Posts: 2
Hello,

I've just installed IRAF 2.12.2. and X11 on my pc, but when I enter the ximtool command I get: ximtool: relocation error: ximtool: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference I used the linux IRAF install on suse 10.0 and xgterm is OK.Thanks a lot Ivan

 
Profile Email
 Quote
fitz
 03/16/2006 08:29PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Ivan,
Try using the distribution from ftp://iraf.noao.edu/pub/fitz/x11iraf-v1.3.2-bin.redhat.tar.gzThis is a RedHat binary but should work under SuSE. Let me know if you still have problems.Cheers,
-Mike

 
Profile Email
 Quote
Bellido
 03/16/2006 08:29PM  
+----
Newbie

Status: offline


Registered: 03/16/2006
Posts: 2
[quote:beb7b657ae="fitz"]Ivan,
Try using the distribution from ftp://iraf.noao.edu/pub/fitz/x11iraf-v1.3.2-bin.redhat.tar.gzThis is a RedHat binary but should work under SuSE. Let me know if you still have problems.Cheers,
-Mike[/quote:beb7b657ae]Hi Mike, I´ve tried Ds9 and, for the moment, is going well. But I´m going to try the RedHat distribution as well.
Nevertheless, Do you think that Ds9 is a good option? I worked with Saoimage long time ago, but I dont Know anything about Ds9Cheers,
Ivan

 
Profile Email
 Quote
fitz
 03/16/2006 08:29PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
DS9 has a different interface than XImtool, whether you like/prefer it is a personal choice. In the plus side, it will work with 24-bit display visuals (which ximtool cannot) -- On the minus side however, it cannot display real WCS/pixel values when used as an IRAF display server (which ximtool can). If it works for you go with it.-Mike

 
Profile Email
 Quote
osturna
 03/16/2006 08:29PM  
+----
Newbie

Status: offline


Registered: 06/21/2007
Posts: 3
Hello Mike, I have installed on Linux openSUSE 10.2 (i586) 10.2 ( 2.6.18.8-0.3-bigsmp i686) IRAF:
cl --version
NOAO PC-IRAF Revision 2.12.2a-EXPORT Wed Jul 14 20:45:34 MST 2004then installed X11IRAF from x11iraf-v1.3.2-bin.redhat.tar.gz according to:
https://iraf.net/phpBB2/viewtopic.php?t=86278&highlight=iraf+susexgterm seems running fine, however ximtool produced error:ximtool: relocation error: ximtool: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time referenceAttempt to install X11IRAF from the source produced many compilation errors
and failed.ldd /usr/local/bin/ximtool
linux-gate.so.1 => (0xffffe000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb7f96000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb7f46000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb7f3c000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb7f23000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7f13000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7df6000)
libm.so.6 => /lib/libm.so.6 (0xb7dd0000)
libc.so.6 => /lib/libc.so.6 (0xb7ca2000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7c9c000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7c84000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7c7f000)
libdl.so.2 => /lib/libdl.so.2 (0xb7c7b000)
/lib/ld-linux.so.2 (0xb7fda000)ls -la /lib/libc.so.6
lrwxrwxrwx 1 root root 11 2007-03-05 02:25 /lib/libc.so.6 -> libc-2.5.snm /lib/libc.so.6 | grep 'A GLIBC_2'
00000000 A GLIBC_2.0
00000000 A GLIBC_2.1
00000000 A GLIBC_2.1.1
00000000 A GLIBC_2.1.2
00000000 A GLIBC_2.1.3
00000000 A GLIBC_2.2
00000000 A GLIBC_2.2.1
00000000 A GLIBC_2.2.2
00000000 A GLIBC_2.2.3
00000000 A GLIBC_2.2.4
00000000 A GLIBC_2.2.6
00000000 A GLIBC_2.3
00000000 A GLIBC_2.3.2
00000000 A GLIBC_2.3.3
00000000 A GLIBC_2.3.4
00000000 A GLIBC_2.4
00000000 A GLIBC_2.5gcc --ver
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix=-4.1 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=i586-suse-linux
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)ld --version
GNU ld version 2.17.50.0.5 20060927 (SUSE Linux)
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.Any suggesions ?thanks a lot,
osturna

 
Profile Email
 Quote
fitz
 03/16/2006 08:29PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I haven't got access to a linux box with gcc 4.1, but you can try building from source locally using ftp://iraf.noao.edu/pub/fitz/x11iraf-new_gcc.tgz. Download in binary mode and then in some directory, unpack and build with the commands:[code:1:a63ad6c58b]
% tar zxf /path/x11iraf-new_gcc.tgz
% xmkmf
% make World
[/code:1:a63ad6c58b]I'm sure there is also some sort of gcc compatability library that could be installed as well but off hand I don't know what it would be called for your platform. Anyway, let us know whether this works or not.Cheers,
-Mike

 
Profile Email
 Quote
osturna
 03/16/2006 08:29PM  
+----
Newbie

Status: offline


Registered: 06/21/2007
Posts: 3
Hello Mike, pwd
/opt/iraf/x11iraf.src
wget ftp://iraf.noao.edu/pub/fitz/x11iraf-new_gcc.tgz .
su
xmkmf
make World gccmakedep -I.. -I. -DHAVE_UNISTD_H=1 -- -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BIT
S=64 -DFUNCPROTO=15 -DNARROWPROTO
-- panic.c regexp.c tclAppInit.c tclAsync.c tclBasic.c tclCkalloc.c tclCmdAH.c tclCmdIL.c tclCmdMZ.c tclEnv.c tclExpr.c tclGet.c tclGlob.c tclHash.c tclHistory.c tclLink.c tclMain.c tclMtherr.c tclParse.c tclProc.c tclTest.c tclUnixAZ.c tclUnixStr.c tclUnixUtil.c tclUtil.c tclVar.c
In file included from tclInt.h:75,
from regexp.c:35:
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
In file included from tclInt.h:75, from tclAsync.c:34:
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
In file included from tclInt.h:75, from tclBasic.c:33:
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
In file included from tclInt.h:75, from tclCkalloc.c:30:about 50 errors on ......
In file included from tclInt.h:75, from tclCkalloc.c:30:charproc.c:3790: warning: return type defaults to ?int?
charproc.c:3804: warning: return type defaults to ?int?
make[2]: *** [charproc.o] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/xgterm'
making all in ./ximtool...
make[2]: Entering directory `/opt/iraf/x11iraf.src/ximtool'
rm -f ximtool
gcc -m32 -o ximtool -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -L/opt/iraf/x11iraf.src
/lib -L../lib -L/usr/lib eps.o iis.o load.o print.o raster.o save.o rasio.o fitsio.o ximclient.o ximtool.o quant.o util.o zscale.o gifio.o tiffio.o irafio.o ism.o ism_wcspix.o -lobm -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXpm -lXp -lXext -lX11 -lm /usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lobm
collect2: ld returned 1 exit status
make[2]: *** [ximtool] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/ximtool'
making all in ./xtapemon...
make[2]: Entering directory `/opt/iraf/x11iraf.src/xtapemon'
rm -f xtapemon
gcc -m32 -o xtapemon -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -L../lib -L/opt/iraf/x
11iraf.src/lib -L../lib -L/usr/lib classnames.o types.o xtapemon.o -lobm -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXpm -lXp -lXext -lX11 -lm
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lobm
collect2: ld returned 1 exit status
make[2]: *** [xtapemon] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/xtapemon'
making all in ./obmsh...
make[2]: Entering directory `/opt/iraf/x11iraf.src/obmsh'
rm -f obmsh
gcc -m32 -o obmsh -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -L/opt/iraf/x11iraf.src/l
ib -L../lib -L/usr/lib obmsh.o -lobm -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXpm -lXp -lXext -lX11 -lm
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lobm
collect2: ld returned 1 exit status
make[2]: *** [obmsh] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/obmsh'
making all in ./vximtool...
make[2]: Entering directory `/opt/iraf/x11iraf.src/vximtool'
rm -f vximtool
gcc -m32 -o vximtool -DHAVE_CDL vximtool.o -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing
-L/opt/iraf/x11iraf.src/lib -L../lib -L/usr/lib -lcdl -lm
/usr/local/lib/libcdl.a(imd.o): In function `imd_setWCS':
imd.cFrown.text+0x912): warning: the `getwd' function is dangerous and should not be used.
/usr/local/lib/libcdl.a(cdl.o): In function `cdl_printPix':
cdl.cFrown.text+0xf1f): warning: the use of `mktemp' is dangerous, better use `mkstemp'
/usr/local/lib/libcdl.a(imd.o): In function `imd_parseImtdev':
imd.cFrown.text+0x206f): undefined reference to `__ctype_b'
imd.cFrown.text+0x20de): undefined reference to `__ctype_b'
/usr/local/lib/libcdl.a(imd.o): In function `imd_loadImtoolrc':
imd.cFrown.text+0x2341): undefined reference to `__ctype_b'
/usr/local/lib/libcdl.a(imd.o): In function `imd_getstr':
imd.cFrown.text+0x24c8): undefined reference to `__ctype_b'
collect2: ld returned 1 exit status
make[2]: *** [vximtool] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/vximtool'
make[1]: *** [apps] Error 2
make[1]: Leaving directory `/opt/iraf/x11iraf.src'
make: *** [World] Error 2Replacing <varargs.h> to use <stdarg.h> did not get much further.thank you,
osturna

 
Profile Email
 Quote
fitz
 03/16/2006 08:29PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Try the sources at https://iraf.net/ftp/iraf/x11iraf/x11iraf-v1.5DEV-src.tar.gz, I seem to remember fixing the varargs thing for the macintel port.-Mike

 
Profile Email
 Quote
osturna
 03/16/2006 08:29PM  
+----
Newbie

Status: offline


Registered: 06/21/2007
Posts: 3
same result.. with many warnings and errors, ximtool failed to build
osturna.
----------------------------------------------------------------------------------
wget https://iraf.net/ftp/iraf/x11iraf/x11iraf-v1.5DEV-src.tar.gz
su
xmkmf
make World .....
button.c:1407: warning: implicit declaration of function ‘ScrnGetAttributes’
make[2]: *** [button.o] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/xgterm'
making all in ./ximtool...
make[2]: Entering directory `/opt/iraf/x11iraf.src/ximtool'
rm -f ximtool
gcc -m32 -o ximtool -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -L/opt/iraf/x11iraf.src/lib -L../lib -L/usr/lib eps.o iis.o load.o print.o raster.o save.o rasio.o fitsio.o ximclient.o ximtool.o quant.o util.o zscale.o gifio.o tiffio.o irafio.o ism.o ism_wcspix.o -lobm -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXpm -lXp -lXext -lX11 -lm
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lobm
collect2: ld returned 1 exit status
make[2]: *** [ximtool] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/ximtool'
making all in ./xtapemon...
make[2]: Entering directory `/opt/iraf/x11iraf.src/xtapemon'
rm -f xtapemon
gcc -m32 -o xtapemon -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -L../lib -L/opt/iraf/x11iraf.src/lib -L../lib -L/usr/lib classnames.o types.o xtapemon.o -lobm -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXpm -lXp -lXext -lX11 -lm
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lobm
collect2: ld returned 1 exit status
make[2]: *** [xtapemon] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/xtapemon'
making all in ./obmsh...
make[2]: Entering directory `/opt/iraf/x11iraf.src/obmsh'
rm -f obmsh
gcc -m32 -o obmsh -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -L/opt/iraf/x11iraf.src/lib -L../lib -L/usr/lib obmsh.o -lobm -lXpm -lXaw3d -lXmu -lXt -lSM -lICE -lXpm -lXp -lXext -lX11 -lm
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lobm
collect2: ld returned 1 exit status
make[2]: *** [obmsh] Error 1
make[2]: Leaving directory `/opt/iraf/x11iraf.src/obmsh'
making all in ./vximtool...
make[2]: Entering directory `/opt/iraf/x11iraf.src/vximtool'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/iraf/x11iraf.src/vximtool'
make[1]: Leaving directory `/opt/iraf/x11iraf.src'
make install X11IRAFDIR=$PWD
make[1]: Entering directory `/opt/iraf/x11iraf.src'
installing in ./obm...
make[2]: Entering directory `/opt/iraf/x11iraf.src/obm'
making all in obm/Tcl...
make[3]: Entering directory `/opt/iraf/x11iraf.src/obm/Tcl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/iraf/x11iraf.src/obm/Tcl'
making all in obm/ObmW...
make[3]: Entering directory `/opt/iraf/x11iraf.src/obm/ObmW'
gcc -m32 -g -I../../include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -D_NO_PROTO -c -w HTML-PSformat.c
In file included from HTML-PSformat.c:54:
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i586-suse-linux/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
HTML-PSformat.c: In function ‘PSprintf’:
HTML-PSformat.c:227: error: expected declaration specifiers before ‘va_dcl’
HTML-PSformat.c:269: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘unsigned’
HTML-PSformat.c:269: error: declaration for parameter ‘flush’ but no such parameter
HTML-PSformat.c:275: error: ‘val’ undeclared (first use in this function)
HTML-PSformat.c:275: error: (Each undeclared identifier is reported only once
HTML-PSformat.c:275: error: for each function it appears in.)
make[3]: *** [HTML-PSformat.o] Error 1
make[3]: Leaving directory `/opt/iraf/x11iraf.src/obm/ObmW'
make[2]: *** [ObmW] Error 2
make[2]: Leaving directory `/opt/iraf/x11iraf.src/obm'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/opt/iraf/x11iraf.src'
make: *** [World] Error 2

 
Profile Email
 Quote
fitz
 03/16/2006 08:29PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I've uploaded a new version of the x11iraf v1.5 source tarball that should now build under the gcc 4.1 compilers, as well as RedHat binaries built under FC6. These are both available from https://iraf.net/ftp/iraf/x11iraf, if the binaries don't work try using the new sources to build.-Mike

 
Profile Email
 Quote
   
Content generated in: 0.30 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