You are not logged in.

#1 2008-12-26 03:19:45

valmar
Member
Registered: 2007-03-14
Posts: 55

qt4 abs PKGBUILD fails [SOLVED]

Dear All,

           the abs qt PKGBUILD fails with the following error:

g++ -o "/data/test/qt/src/qt-x11-opensource-src-4.4.3/bin/qmake" project.o property.o main.o makefile.o unixmake2.o unixmake.o mingw_make.o option.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_dsp.o msvc_vcproj.o msvc_nmake.o msvc_objectmodel.o qstring.o qtextstream.o qiodevice.o qmalloc.o qglobal.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlistdata.o qfile.o qfsfileengine_unix.o qfsfileengine_iterator_unix.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o qscriptasm.o qscriptast.o qscriptastvisitor.o qscriptcompiler.o qscriptecmaarray.o qscriptecmaboolean.o qscriptecmacore.o qscriptecmadate.o qscriptecmafunction.o qscriptecmaglobal.o qscriptecmamath.o qscriptecmanumber.o qscriptecmaobject.o qscriptecmaregexp.o qscriptecmastring.o qscriptecmaerror.o qscriptcontext_p.o qscriptengine.o qscriptengine_p.o qscriptextenumeration.oqscriptextvariant.o qscriptcontext.o qscriptfunction.o qscriptgrammar.o qscriptlexer.o qscriptclassdata.o qscriptparser.o qscriptprettypretty.o qscriptsyntaxchecker.o qscriptvalue.o qscriptvalueimpl.o qscriptvalueiterator.o qscriptvalueiteratorimpl.o qscriptclass.o qscriptclasspropertyiterator.o qscriptengineagent.o qscriptcontextinfo.o qscriptstring.o  -m64
Xcursor support cannot be enabled due to functionality tests!
Turn on verbose messaging (-v) to ./configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue

however, libxcursor is installed. Has anyone encountered the same problem?

         Valerio

Last edited by valmar (2009-01-02 12:46:33)

Offline

#2 2008-12-26 13:01:03

valmar
Member
Registered: 2007-03-14
Posts: 55

Re: qt4 abs PKGBUILD fails [SOLVED]

If I use a verbose output from configure, I get this:

Xcursor auto-detection... ()                                                   
g++ -c -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -Wall -W  -I../../../mkspecs/linux-g++-64 -I. -I/usr/X11R6/include -I. -o xcursor.o xcursor.cpp       
xcursor.cpp:2:33: error: X11/Xcursor/Xcursor.h: No such file or directory       
xcursor.cpp:14:10: error: no macro name given in #define directive             
xcursor.cpp:15:4: error: #error "Required Xcursor version 1.0 not found."       
xcursor.cpp: In function 'int main(int, char**)':                               
xcursor.cpp:20: error: 'XcursorImage' was not declared in this scope           
xcursor.cpp:20: error: 'image' was not declared in this scope                   
xcursor.cpp:22: error: 'XcursorCursors' was not declared in this scope         
xcursor.cpp:22: error: 'cursors' was not declared in this scope     


Now, this seems to be looking for Xcursor.h in /usr/X11R6/include, but Xcursor.h is actually in /usr/include/X11/Xcursor/Xcursor.h

I will now try to find out how to hack the PKGBUILD. Strange, however, that such an important PKGBUILD contains such a big mistake

         Valerio

Offline

#3 2009-01-02 12:47:37

valmar
Member
Registered: 2007-03-14
Posts: 55

Re: qt4 abs PKGBUILD fails [SOLVED]

Please forgive me if I called on your help for a stupid matter. I discovered that most of my /usr/include folder is corrupted. That was the reason for the errors

Thanks anyway

         Valerio

Offline

Board footer

Powered by FluxBB