You are not logged in.

#1 2008-09-23 18:46:16

beissemj
Member
Registered: 2007-05-11
Posts: 43

aasaver qt3/4 QT_BEGIN_HEADER error

I'm trying to build aasaver from aur, but i'm getting a weird build error.

scons: Reading SConscript files ...                                      
Checking for kde-config           :  kde-config was found                
Checking for kde version          :  3.5.10                              
Checking for the qt library       :  qt is in /opt/qt                    
Checking for uic                  :  uic was found as /opt/qt/bin/uic    
Checking for moc                  :  moc was found as /opt/qt/bin/moc    
Checking for the qt includes      :  ok /opt/qt/include/                 
Checking for the kde includes     :  ok /opt/kde/include/                

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/tmp/yaourt-tmp-mbeisser/aur-aasaver/aasaver/src/aasaver-0.3.2/src/SConscript", line 17, in <module>
scons: done reading SConscript files.                                                                     
scons: Building targets ...                                                                               
scons: Nothing to be done for `configure'.                                                                
scons: done building targets.                                                                             
Generating ./Makefile                                                                                     
Generating ./src/Makefile                                                                                 

The Makefile(s) have been generated.  Type:                                                                                                                                                          
        `make'         to build aa.kss, and                                                                                                                                                          
        `make install' to install aa.kss.                                                                                                                                                            
                                                                                                                                                                                                     

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/tmp/yaourt-tmp-mbeisser/aur-aasaver/aasaver/src/aasaver-0.3.2/src/SConscript", line 17, in <module>

scons: warning: Ignoring corrupt sconsign entry : src ('module' object has no attribute 'BuildInfo')

File "/usr/bin/scons", line 162, in <module>
processing AASaverConfig.kcfgc to get AASaverConfig.h and AASaverConfig.cpp
kconfig_compiler -dsrc src/asciiquarium.kcfg src/AASaverConfig.kcfgc
g++ -o src/AASaverConfig.o -c -I/opt/kde/include/ -I/opt/qt/include/ -march=native -O2 -pipe -march=native -O2 -pipe -DNDEBUG -DNO_DEBUG -Wno-non-virtual-dtor -Wno-sign-compare -Wno-trigraphs -DQT_NO_TRANSLATION -I. -Isrc -Isrc src/AASaverConfig.cpp
In file included from /usr/include/QtCore/QFile:1,
                 from src/AASaverConfig.cpp:7:
/usr/include/QtCore/qfile.h:55: error: 'QT_BEGIN_HEADER' does not name a type
/usr/include/QtCore/qfile.h:64: error: function definition does not declare parameters
/usr/include/QtCore/qfile.h:200: error: expected constructor, destructor, or type conversion before '(' token
scons: *** [src/AASaverConfig.o] Error 1
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build aasaver package.

It's obviously a qt3/4 error but I have no idea how to fix it. I'm also running kde4.1.1 but it claims i have 3.5.10...


Professor: This isn't right...It isn't even wrong...

Offline

Board footer

Powered by FluxBB