[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling libQuran



yup, qtquran compiled, but even after adding the language pack I still get the following output:

afief at afief-desktop:/usr/local/share/quran_data$ qtquran
X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode:  147
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode:  147
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
Error calling quran_init(), Return Code:-1

Which as far as I see is a LIBQURAN_XML_FAILED error. My configuration files are as follows:
$ cat /etc/quran
/usr/local/share/quran_data

$ ls /usr/local/share/quran_data/ar/
conf.xml  quran.ar.xml

$ cat /usr/local/share/quran_data/ar/conf.xml
<quran>
  <language code="ar" name="Arabic">
    <text>
      <author>Original Text</author>
      <copyright>None (Original Text)</copyright>
      <filename>quran.ar.xml</filename>
    </text>
  </language>
<quran>

(configuring this application is quite an effort it seems...)

On 8/30/07, Abderrahim Kitouni <a dot kitouni at gmail dot com > wrote:
On Wednesday 29 August 2007 19:35, Afief Halumi wrote:
> I just checked all the *.c files, the speex includes all have the right
> path(aka speex/speex*.h)
> So apparently the error is somewhere else(hard to tell with no output
> coming from the makefile)
When no output is coming from the makefile, try to read the makefile
itself ;-)
The script admin/cvs.sh assumes that autoconf 2.53 or newer matches 2.5* which
doesn't apply to 2.61. As a workaround modify this script replacing the 33rd
line with :
  Autoconf*2.5* | autoconf* 2.5* | Autoconf*2.6* | autoconf*2.6* ) : ;;
and the 48th one with :
  Autoconf*2.5* | autoheader*2.5* | Autoconf*2.6* | autoheader*2.6*) : ;;
configure ran, but complained about missing qt. and I don't have enough
bandwidth to download it.
I hope that helps.
_______________________________________________
Developer mailing list
Developer at arabeyes dot org
http://lists.arabeyes.org/mailman/listinfo/developer