This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
guile-readling on Irix 6.5, still problematic
- To: guile at sourceware dot cygnus dot com
- Subject: guile-readling on Irix 6.5, still problematic
- From: John L Daschbach <d3h486 at emsl dot pnl dot gov>
- Date: Mon, 24 Jan 2000 16:20:23 -0800 (PST)
With some help from this list I have made further attempts to get
guile with readline to work on a couple of SGI O2 machines. As has
often been the case with the SGI machines, installation of Gnu
software is difficult if not impossible. What is frustrating is that
there is no apparent failure in the configure or build, no blatent
warnings, and yet readline appears bogus. I would very much like to
be able to run, using guile, on a few, mostly unused O2 machines. For
non-interactive work they should still be ok.
-John
From what I can tell, the readline.o object being built is bogus.
Running nm on readline.o or the resulting libguilereadline.so gives
the following:
pwd
/afs/msrc.pnl.gov/files/home/d3h486/Gnu/guile-1.3.4/guile-readline
lhotse(43)% nm readline.o
nm readline.o
readline.o ERROR: dwarf_elf_init: DW_DLE_DEBUG_LINE_NULL (38) .debug_line section present but elf_getdata() failed or section is zero-length
lhotse(44)% nm ~/Local/lib/libguilereadline.so
nm ~/Local/lib/libguilereadline.so
/msrc/home/d3h486/Local/lib/libguilereadline.so ERROR: dwarf_elf_init: DW_DLE_DEBUG_LINE_NULL (38) .debug_line section present but elf_getdata() failed or section is zero-length
The configure and build seems to go ok, and the libguile.so library
and the resulting dynamically linked executable run fine. Running nm
on libguile.so produces the expected table of symbols. Running make
in the guile-readline directory does not show any apparent errors:
cd ~/Gnu/guile-1.3.4/guile-readline/
make -k
/bin/sh ./libtool --mode=compile gcc -DHAVE_STRDUP=1 -I. -I. -I.. -I./.. -I./../libguile -g -O2 -c readline.c
mkdir .libs
gcc -DHAVE_STRDUP=1 -I. -I. -I.. -I./.. -I./../libguile -g -O2 -c -DPIC readline.c -o .libs/readline.lo
mv -f .libs/readline.lo readline.o
ln -s readline.o readline.lo
/bin/sh ./libtool --mode=link gcc -g -O2 -o libguilereadline.la -rpath /afs/msrc.pnl.gov/files/home/d3h486/Local/lib readline.lo -ltermcap
rm -fr .libs/libguilereadline.la .libs/libguilereadline.* .libs/libguilereadline.*
gcc -shared readline.o -ltermcap -lc -Wl,-soname -Wl,libguilereadline.so.1 `test -n "sgi1.0" && echo -Wl,-set_version -Wl,sgi1.0` -Wl,-update_registry -Wl,.libs/so_locations -o .libs/libguilereadline.so.1.0
ld32: WARNING 84: /usr/lib32/libtermcap.so is not used for resolving any symbol.
(cd .libs && rm -f libguilereadline.so.1 && ln -s libguilereadline.so.1.0 libguilereadline.so.1)
(cd .libs && rm -f libguilereadline.so && ln -s libguilereadline.so.1.0 libguilereadline.so)
(cd .libs && rm -f libguilereadline.so && ln -s libguilereadline.so.1.0 libguilereadline.so)
ar cru .libs/libguilereadline.a readline.o
: .libs/libguilereadline.a
creating libguilereadline.la
(cd .libs && rm -f libguilereadline.la && ln -s ../libguilereadline.la libguilereadline.la)
Compilation finished at Mon Jan 24 16:06:19