W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2009

Re: amaya compilation issues

From: Irene Vatton <Irene.Vatton@inria.fr>
Date: Mon, 12 Oct 2009 09:34:46 +0200
To: Martin Zbořil <martin.zboril@gmail.com>
Cc: www-amaya <www-amaya@w3.org>
Message-Id: <1255332886.6535.9.camel@vanuatu.inrialpes.fr>
Le dimanche 11 octobre 2009 à 16:00 +0200, Martin Zbořil a écrit :
> On Sunday 11 October 2009 16:24:10 14:53:51 Irene Vatton wrote:
>  > Le vendredi 09 octobre 2009 à 07:56 +0000, Martin Zbořil a écrit :
> > > Good morning everyone,
> > >
> > > I was wondering if you can help me with packaging amaya for OpenSuSE..
> > >
> > > first I tried the suse package, but unsolvable dependency:
> > > error: Failed dependencies:
> > >         libcrypto.so.6()(64bit) is needed by amaya_wx-11.3-0.x86_64
> > >         libssl.so.6()(64bit) is needed by amaya_wx-11.3-0.x86_64
> 
> No, sorry - no compatible libraries, if there would be any, then SuSE's 
> package manager would find and install them prior to failing with unresolved 
> dependencies.

Could you check if the openssl-0.9.8h-28.9.1.x86_64.rpm rpm package
works. See:
http://www.rpmfind.net/linux/rpm2html/search.php?query=openssl

> > 
> > I don't use Suse, but I guess you can find out on the web libcripto and
> > libssl rpm packages that work for your platform.
> > 
> > > this seems not be part of distribution > http://preview.tinyurl.com/SuSE-
> > > libcrypto (< all available packages containing libcrypto)
> > >
> > > so I tried to compile the sources from amaya-fullsrc-11.3-pre.tgz by gcc
> > > version 4.3.2 [gcc-4_3-branch revision 141291], but got stucked on mesa
> > > part:
> > 
> > As mentionned in http://www.w3.org/Amaya/User/Autoconf.html the current
> > config file must be changed for 64-bit platforms:
> >  Mesa/config/current  should be a copy of
> > Mesa/config/linux-x86-64-static
> > 
> this helped, but I got another compilation error - back on the IRC channel you 
> asked me to send you a make output by mail:
> 
> ../../amaya/Xml2thot.c:3258: error: invalid conversion from ‘unsigned char*’ 
> to ‘char*’
> ../../amaya/Xml2thot.c:3258: error:   initializing argument 1 of ‘int 
> snprintf(char*, size_t, const char*, ...)’
> 
> thank you in advance :)

I added the (char *) cast:
-               xmlName);
+               (char *)xmlName);

> ---
> Martin Zbořil
-- 
Irene Vatton <Irene.Vatton@inria.fr>
INRIA
Received on Monday, 12 October 2009 07:35:15 UTC

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