[Gambas-user] Gambas 2 on CentOS 6.2 does not compile
nando
nando_f at ...951...
Wed May 16 16:04:08 CEST 2012
Full clean install CentOS 6.2
As per README in Gambas2
STEP 1:
./reconf-all (no error)
STEP 2:
./configure -C (no error but some gambas packages were disabled)
STEP 3:
./make
(this is just the last part of the console)
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/lib/qt-3.3/include/ -D_REENTRANT
-I/usr/include/kde4/ -pipe -Wall -fno-exceptions -Wno-unused-value -Wcast-align
-fsigned-char -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF
.deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o
In file included from /usr/lib/qt-3.3/include/qpen.h:46,
from /usr/lib/qt-3.3/include/qpainter.h:50,
from ../../gb.qt.h:36,
from main.h:27,
from CWebBrowser.h:30,
from main.cpp:25:
/usr/lib/qt-3.3/include/qshared.h:49: error: variable Q_EXPORT QShared has initializer
but incomplete type
/usr/lib/qt-3.3/include/qshared.h:49: warning: extended initializer lists only available
with -std=c++0x or -std=gnu++0x
/usr/lib/qt-3.3/include/qshared.h:51: error: expected } before : token
/usr/lib/qt-3.3/include/qshared.h:51: error: expected , or ; before : token
/usr/lib/qt-3.3/include/qshared.h: In function void ref():
/usr/lib/qt-3.3/include/qshared.h:52: error: count was not declared in this scope
/usr/lib/qt-3.3/include/qshared.h: In function bool deref():
/usr/lib/qt-3.3/include/qshared.h:53: error: count was not declared in this scope
/usr/lib/qt-3.3/include/qshared.h: At global scope:
/usr/lib/qt-3.3/include/qshared.h:55: error: expected declaration before } token
make[5]: *** [main.lo] Error 1
make[5]: Leaving directory `/root/Downloads/gambas2-2.24.0/gb.qt.kde/src/html'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/Downloads/gambas2-2.24.0/gb.qt.kde/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/Downloads/gambas2-2.24.0/gb.qt.kde'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/Downloads/gambas2-2.24.0/gb.qt.kde'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ro
More information about the User
mailing list