W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2003

amaya build, NetBSD 1.6.1 - tweaks

From: Scott Walters <scott@illogics.org>
Date: Fri, 26 Sep 2003 05:06:10 -0400 (EDT)
To: www-amaya@w3.org
Message-ID: <20030926090157.GD8682@illogics.org>


This report is for amaya-8.1b.


config.status spits out confstat09929a/subs-3.sed, part of which reads:


...which closely resembles other lines, like:

/@math_frag@/r ../amaya/Makefile.math

...except lacking a file name, which sed doesn't like. I'm sure ./configure
was supposed to compute a filename somewhere and just failed to on this
platform, but I didn't investigate the details.


in thotlib/base/fileaccess.c, around line 271, it tried to include
definitions for struct ieee for both little and big endian. That didn't
go over very well =) 


amaya/Makefile, had to add  -lwwwnews -lwwwtelnet -lwwwgopher to LIBS:

           -L../tablelib -L../thotlib -L.. -lThotTable -lThotEditor -L/usr/pkg/lib \
          $(AMAYA_LIBWWW_LIBS) \
          $(XMLIB) $(X_LIBS) -lXt $(X_PRE_LIBS)  -lwwwnews -lwwwtelnet -lwwwgopher \
          -lXext -lX11 $(X_EXTRA_LIBS)   -lm $(GL_LIBRARIES)

...or else final linking for the amaya executable comes back with:

/usr/local/lib/libwwwapp.so: undefined reference to `HTLoadNews'
/usr/local/lib/libwwwapp.so: undefined reference to `HTLoadTelnet'
/usr/local/lib/libwwwapp.so: undefined reference to `HTLoadGopher'
/usr/local/lib/libwwwapp.so: undefined reference to `HTNewsGroup'
/usr/local/lib/libwwwapp.so: undefined reference to `HTNewsList'
gmake[1]: *** [../bin/amaya] Error 1
gmake[1]: Leaving directory `/usr/home/tgz/Amaya/obj/amaya'
gmake: *** [amaya_prog] Error 2


The included libraries are fickle. They don't like to copy their .a files out
again after a make clean (of which I had to do several), they had trouble finding
their headers, and other things. IMHO, a program really ought to default to using
already installed libraries, if they can be found.

Amaya 7.2 built and installed curtesy for NetBSD's pkgsrc system, and runs fine. It
is *extremely* nifty - very nice hack. When I saw that table rendering had been
improved, I was eager to try the new version.

I'm sure a lot of this is user error, but I thought the feedback might be helpful

Anyway, thanks for all of your hard work on this.

Received on Friday, 26 September 2003 10:07:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:28 UTC