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

Re: New Quran releases: libquran 0.21 and QtQuran 0.041



My Inbox Happily Received This From Mohammed Yousif @ Sat, 7 Dec 2002 13:50:19 +0200

> Salam,
> A new release of libquran 0.21 is now available , this fixes the problems
> with autotools.
> A new release of QtQuran 0.041 is also available, this fixes problems with
> compiling it.
> 
Allow my feedback ;)
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT  -D_REENTRANT  -O2 -fno-exceptions -fno-check-new  -c
searchform.cpp
In file included from searchform.cpp:42:
searchform.h:42: conflicting types for `struct quran'
/usr/include/quran.h:96: previous declaration as `typedef struct quran quran'

i commented the line 42 
but this produced another error

/usr/lib/qt3/bin/moc ./searchform.h -o searchform.moc.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT  -D_REENTRANT  -O2 -fno-exceptions -fno-check-new  -c
searchform.moc.cppIn file included from searchform.moc.cpp:11:
searchform.h:54: parse error before `*' token
searchform.h:90: syntax error before `*' token

so i had to add:
#include <quran.h>
to the file searchform.h

i know that those errors are due to gcc 3.2 is more strict, but that's what we have!
anyway, i've attached a patch that corrects the compilation problems

$ /usr/src/qtquran-0.041/src/qtquran
Xlib:  extension "GLX" missing on display ":0.0".
Error calling quran_init()

??!

had to dig through the source of libquran to find that it can't find
/usr/share/libquran/audio and create it manually

really i suggest that you print the return values from quran_init() it'll help the users troubleshoot it anyway

plz don't be angry :-)

-- 
----------------
-- Katoob Main Developer
Linux registered user # 224950
ICQ # 58475622
FIRST  make  it  run, THEN make it run fast "Brian Kernighan".

Attachment: gcc.diff
Description: Binary data

Attachment: pgp00006.pgp
Description: PGP signature