Re: Can't build Amaya 11.3.1 on Ubuntu 10.10

After much pain I did manage to build Amaya 11.3.1 on Ubuntu 10.10.
Some notes in case someone else needs to do this.

* Use make, not make all.
* Prepare libwww as explained in http://www.w3.org/Amaya/User/cvs.html
* Configure with ../configure --with-libwww=../../libwww/libwww-config
--enable-system-raptor (thanks to
http://www.linuxquestions.org/questions/linux-software-2/compile-amaya-799758/)
* Apply the fix to gsockgtk.cpp in wxWidgets:
http://trac.wxwidgets.org/ticket/10883
* At one point, you'll get an error about a missing WWWSSL.h. I was
able to comment out the #include, and all went ok
* At the very end, I had to add -lraptor to the link command for amaya_bin

That got me ready to experiment with subpixel rendering, but
unfortunately this is harder than just asking FreeType to yield
subpixel-rendered characters. After making the necessary adjustments
in openglfont.c, I realized that UnicodeFontRenderPoly in glglyph.c
renders the fonts into a bitmap that is hard-wired at 8 bit/pixel, and
I didn't have the courage to go further.

Sounds like a good project with someone with time on their hands...

Cheers,

Cay

2011/2/8 Cay Horstmann <cay.horstmann@gmail.com>:
> Try as I may, I can't build Amaya 11.3.1 on Ubuntu 10.10.
>
> Here is what I am trying to do:
>
> tar xvfz amaya-sources-11.3.1.tgz
> cd Amaya11.3.1
> cd Amaya
> mkdir WX
> cd WX
> ../configure
> make all
>
> (as instructed in http://www.w3.org/Amaya/User/Autoconf.html#L438)
>
> That quickly gets me lots of messages like this:
>
> ./.libs/libraptor.a:84: warning: null character(s) ignored
> ./.libs/libraptor.a:84: error: stray '\2' in program
>
> Ok, let's back off. I type
>
> make
>
> (as instructed at the end of ./configure)
>
> That goes on for a while and fails with an error in
> Amaya11.3.1/wxWidgets/src/gtk/gsockgtk.cpp
>
> I apply the fix of http://trac.wxwidgets.org/ticket/10883
>
> Then the build stops with
>
> make -C libwww
> make[1]: entrant dans le répertoire « /tmp/Amaya11.3.1/Amaya/WX/libwww »
> make[1]: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
> make[1]: quittant le répertoire « /tmp/Amaya11.3.1/Amaya/WX/libwww »
> make: *** [libwww] Erreur 2
>
> At this point, I am stuck. I tried
>
> * Running ./configure in the libwww directory => yielded bizarre
> messages about a missing autoconf-1.8
> * Running ./configure with --enable-system-libwww => made no difference
>
> Any clues? This should not be so hard.
>
> I care because I want to try to replace freetype with the latest
> version that presumably gives subpixel anti-aliasing. (I use Amaya
> every day and am tired of looking at fuzzy fonts.)
>
> Thanks for any help!
>
> Cay
>

Received on Thursday, 10 February 2011 02:26:34 UTC