[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash] Setting the qt lib dir in Gnash CVS fails in Gentoo.
From: |
Harley Peters |
Subject: |
[Gnash] Setting the qt lib dir in Gnash CVS fails in Gentoo. |
Date: |
Sat, 26 Jan 2008 13:36:21 -0600 |
User-agent: |
Thunderbird 2.0.0.9 (X11/20071117) |
In Gnash cvs setting the qt lib dir with --with-qt-lib fails with the
following error:
ls: cannot access /lib/libqt*-mt.*: No such file or directory
configure: error: /usr/qt/3 directory doesn't contain qt libraries.
This is caused by the fact that in Gentoo the /usr/qt/3 directory has
both a lib64 directory and a symlink called lib linked to lib64.
If i remove the symlink and move lib64 to lib Gnash works as expected.
However that of course breaks other things.
I need to set the qt lib dir because the default detection method seems
to be too generic and compiling fails on systems that have both qt3 and
qt4 installed. error listed below:
In file included from kde.cpp:45:
klash.moc: At global scope:
klash.moc:55: error: 'const QMetaObject
gnash::qwidget::staticMetaObject' is not a static member of 'class
gnash::qwidget'
klash.moc:55: error: variable 'const QMetaObject
gnash::qwidget::staticMetaObject' has initializer but incomplete type
klash.moc:60: error: prototype for 'const QMetaObject*
gnash::qwidget::metaObject() const' does not match any in class
'gnash::qwidget'
kdesup.h:55: error: candidate is: virtual QMetaObject*
gnash::qwidget::metaObject() const
klash.moc:60: error: 'const QMetaObject* gnash::qwidget::metaObject()
const' cannot be overloaded
kdesup.h:55: error: with 'virtual QMetaObject*
gnash::qwidget::metaObject() const'
klash.moc: In member function 'const QMetaObject*
gnash::qwidget::metaObject() const':
klash.moc:62: error: cannot convert 'QMetaObject* (*)()' to 'const
QMetaObject*' in return
klash.moc: At global scope:
klash.moc:65: error: no 'void* gnash::qwidget::qt_metacast(const char*)'
member function declared in class 'gnash::qwidget'
klash.moc: In member function 'void* gnash::qwidget::qt_metacast(const
char*)':
klash.moc:70: error: 'qt_metacast' is not a member of 'QWidget'
klash.moc: At global scope:
klash.moc:73: error: 'int gnash::qwidget::qt_metacall' is not a static
member of 'class gnash::qwidget'
klash.moc:73: error: incomplete type 'QMetaObject' used in nested name
specifier
klash.moc:73: error: expected primary-expression before 'int'
klash.moc:73: error: expected primary-expression before 'void'
klash.moc:73: error: initializer expression list treated as compound
expression
klash.moc:74: error: expected ',' or ';' before '{' token
/usr/qt/3/include/qmemarray.h: In member function 'QMemArray<type>&
QMemArray<type>::duplicate(const type*, uint) [with type = char]':
/usr/qt/3/include/qcstring.h:252: instantiated from here
/usr/qt/3/include/qmemarray.h:85: warning: cast from type 'const char*'
to type 'char*' casts away constness
/usr/qt/3/include/qmemarray.h: In member function 'int
QMemArray<type>::find(const type&, uint) const [with type = char]':
/usr/qt/3/include/qstring.h:897: instantiated from here
/usr/qt/3/include/qmemarray.h:92: warning: cast from type 'const char*'
to type 'char*' casts away constness
make[3]: *** [kde_gnash-kde.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/gtk_gnash-Player.Tpo .deps/gtk_gnash-Player.Po
mv -f .deps/gtk_gnash-gui_gtk.Tpo .deps/gtk_gnash-gui_gtk.Po
make[3]: Leaving directory `/home/harley/Tmp/gnash/gui'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/harley/Tmp/gnash/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/harley/Tmp/gnash'
make: *** [all] Error 2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash] Setting the qt lib dir in Gnash CVS fails in Gentoo.,
Harley Peters <=