[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
4. libquran configuration and compilation errors + patch RE: libquran concerns (nabil ben khalifa)
- To: developer at arabeyes dot org
- Subject: 4. libquran configuration and compilation errors + patch RE: libquran concerns (nabil ben khalifa)
- From: "A.Haq Abbad" <haqman at gmail dot com>
- Date: Wed, 18 Jul 2007 23:21:39 +0100
Thanks for what you've done, as I already looked at libquran, and I had the same issues!
and I solved what you solved (uhh)
The thing is, I didnt upload nothing, as I never had an account, but now i do :D.
I'm lost now, as after I fixed the lib, loads of things has changed,
and I don't think this is fair, as its like breaking what others did, or at least, I need their permission.
However, there is still problems in my side, and I'll be happy to see what you've done (if you can send it me) so I compare both,
then upload your code (as you have more programming experience than me :D), after asking for permission of course :)
what did you do about le_short()? I commented it out :), as I cant find out its purpose yet, its not documented!
Let me know bro,
Date: Wed, 18 Jul 2007 15:15:03 +0200 (CEST)
From: nabil ben khalifa <nabil_benkhalifa at yahoo dot fr>
Subject: libquran configuration and compilation errors + patch
To: Development Discussions <
developer at arabeyes dot org>
Message-ID: <20070718131503 dot 90355 dot qmail at web26611 dot mail dot ukl dot yahoo dot com>
Content-Type: text/plain; charset="iso-8859-1"
When I tried to configure libquran got from arabeyes cvs, I had the following error:
configure: error: "libspeex header not found"
In fact, configure looks for speex headers in /usr/include/ while they are in /usr/include/speex. The same problem arises with
quran.h and quranaudio.c when compiling. (I use Mandriva release 2007.0 (Official) for i586 and
Moreover, it seems that the "le_short" function is no more exported by the speex library (I got the following error:
quran/libquran/.libs/libquran.so: undefined reference to `le_short'
collect2: ld returned 1 exit status )
I have a patch to resolve these problems, are there any developers of the quran project so that they can look at the patch and discuss these problems ?
I had also errors on gnomequran due to incompatibilities between the gnomequran application and the libquran data structures. Here also I have a patch which solves these problems (I will send it if someone is interested)
Here is the patch for libquran
RCS file: /home/arabeyes/cvs/projects/quran/libquran/configure.in,v
retrieving revision 1.14
diff -b -u -2 -r1.14 configure.in
--- configure.in 29 Dec 2005 19:03:49 -0000 1.14
configure.in 17 Jul 2007 16:04:29 -0000
@@ -25,5 +25,5 @@
AC_CHECK_HEADER(expat.h,,AC_MSG_ERROR("libexpat header not found"))
-AC_CHECK_HEADER(speex.h,,AC_MSG_ERROR("libspeex header not found"))
+AC_CHECK_HEADER(speex/speex.h,,AC_MSG_ERROR("libspeex header not found"))
dnl XIPH_PATH_OGG(,AC_MSG_ERROR("libogg not found"))
AC_CHECK_HEADER(ogg/ogg.h,,AC_MSG_ERROR("libogg header not found"))
RCS file: /home/arabeyes/cvs/projects/quran/libquran/quran.h,v
retrieving revision 1.18
diff -b -u -2 -r1.18 quran.h
quran.h 29 Dec 2005 19:03:49 -0000 1.18
+++ quran.h 17 Jul 2007 16:04:30 -0000
@@ -31,5 +31,5 @@
RCS file: /home/arabeyes/cvs/projects/quran/libquran/quranaudio.c,v
retrieving revision 1.5
diff -b -u -2 -
--- quranaudio.c 29 Dec 2005 19:03:49 -0000 1.5
+++ quranaudio.c 17 Jul 2007 16:04:30 -0000
@@ -21,8 +21,8 @@
@@ -33,4 +33,6 @@
+#define le_short(s) ((short) ((unsigned short) (s) << 8) | ((unsigned short) (s) >> 8))
/********************************* Published functions ********************************/
Nabil Ben Khalifa
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
Developer mailing list
Developer at arabeyes dot org
End of Developer Digest, Vol 43, Issue 12