Re: problem configuring Amaya 11.4.4 with system raptor

Jack Ostroff <[email protected]> Sat, 17 Nov 2012 18:01:29 -0500
Newsgroups gmane.comp.web.amaya.general
Message-ID <1353193289.17630.1@ffortso4>
Now I'm really confused.  I had tried several options and edits to the =20
Gentoo ebuild file, just getting different errors.  I then manually ran =20
../configure, using various options, and getting a variety of different =20
errors.  In the meantime, I uninstalled my previous version of Amaya, =20
since it wouldn't work since I upgraded my system raptor to version 2.  =20
I also uninstalled my system libwww.  At that point, I happened to try =20
the system install (emerge) again, and it worked fine.  I can't imagine =20
what difference the uninstalls would make (although I'm not absolutely =20
certain that the new install was trying to use its included libwww and =20
not the system version), and I can't think of anything else I changed =20
(other than the libz downgrade) that should make any difference.

However - I will now try to upgrade libz and see if Amaya continues to =20
work, as mentioned in one of the links Laurent provided.

I guess the bottom line is don't believe any install error the first =20
time or two - clean things out and try again from scratch, just to be =20
sure.

Jack

On 2012.11.17 13:05, Jack wrote:
> [re-sent from subscribed address]
>=20
> I was running zlib 1.2.7.  I downgraded to 1.2.5.1 (1.2.6 is marked =20
> unstable on Gentoo) and it appears to get past that point, and I now =20
> get a different error when creating ../bin/amaya_bin:
>=20
> query.o: In function `QueryInit()':
> query.c:(.text+0x2c0a): undefined reference to `HTUnSetSocketBufSize'
> query.c:(.text+0x2df0): undefined reference to `HTSetSocketBufSize'
> collect2: ld returned 1 exit status
>=20
> Those are both defined in .../libwww/Library/src/HTTCP.h and present =20
> in HTTCP.o, which is included in libwwwcore.a, which is included in =20
> the g++ line creating amaya_bin (-lwwwcore and -L/[trimmed full path =20
> to]/Amaya/LINUX-ELF/libwww/Library/src/.libs) so I'm not sure why it =20
> is not finding them.
>=20
> Jack
>=20
> On 2012.11.14 15:48, Laurent Carcone wrote:
>> I made a quick google research, it seems to be a problem with the =20
>> zlib library [1], [2], [3].
>> Which version are you running ?
>>=20
>> Laurent
>>=20
>>=20
>> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D661906
>> [2] http://forum.simutrans.com/index.php?topic=3D9575.0
>> [3] http://comments.gmane.org/gmane.linux.lfs.devel/11698
>>=20
>> Le 14/11/12 20:28, Jack a =E9crit :
>>> Laurent,
>>>=20
>>> Thanks for the suggestion.  However, using --disable-annot, I get
>>>=20
>>> ../../amaya/html2thot.c: In function 'void GetNextHTMLbuffer(FILE*, =20
>>> ThotBool*, char**, int*)':
>>> ../../amaya/html2thot.c:4353:70: error: cannot convert 'FILE*' to =20
>>> 'gzFile_s*' for argument '1' to 'int gzread(gzFile_s*, void*, =20
>>> unsigned int)'
>>> make[1]: *** [html2thot.o] Error 1
>>> make[1]: Leaving directory `[full-path-to]/Amaya/LINUX-ELF/amaya'
>>> make: *** [amaya_prog] Error 2
>>>=20
>>> I haven't done much troubleshooting of this yet, but I don't find =20
>>> anything obvious in a quick Google.
>>>=20
>>> Also, while Annotations are not particularly important to me, I =20
>>> also plan to try to figure out why it was failing when using the =20
>>> included raptor.
>>>=20
>>> Thanks for any hints or suggestions.
>>>=20
>>> Jack
>>>=20
>>> On 2012.11.14 05:09, Laurent Carcone wrote:
>>>> Hello,
>>>>=20
>>>> If I remember correctly, raptor is used by the experimental =20
>>>> Annotations service. If you don't want to use this service you can =20
>>>> disable it when you launch the configure command: ../configure =20
>>>> --disable-annot
>>>>=20
>>>> Thanks,
>>>> Laurent
>>>>=20
>>>> Le 08/11/2012 20:03, Jack a =E9crit :
>>>>> I am trying to compile Amaya 11.4.4 on Gentoo Linux, and have run =20
>>>>> into a problem.  It appears that the configuration cannot find my =20
>>>>> system raptor, and it subsequently fails to build with the =20
>>>>> built-in raptor.  If anyone is interested, I will provide more =20
>>>>> information on this fail in a separate thread.
>>>>>=20
>>>>> I have raptor 2.0.8 installed and it appears that as of raptor =20
>>>>> 2.0, raptor-config was dropped in favor of pkg-config.  I don't =20
>>>>> know if Amaya would work with raptor2 but if  so, it needs to =20
>>>>> check for pkg-config raptor2 instead of raptor-config.  If =20
>>>>> raptor2 will work, I would much rather see a fix so it is =20
>>>>> possible.  If the code is still based on raptor1, then I'll =20
>>>>> pursue why the internal raptor is not working.
>>>>>=20
>>>>> Thanks for any suggsetions.
>>>>>=20
>>>>> Jack
>>>>>=20
>>>>>=20
>>>>=20
>>>=20
>>>=20
>>=20
>=20
=