| ![-](/img/trans.gif) | | Compile problem May 6 2007 on content X.org Setup | Hello.
I tried installing this on my Kubuntu Feisty machine with kdebase-dev and libcurl3-dev, but I get this error during "make":
[code]
lanimation.cpp:24:26: error: qapplication.h: No such file or directory
lanimation.cpp:25:21: error: qbitmap.h: No such file or directory
lanimation.cpp:26:18: error: qdir.h: No such file or directory
lanimation.cpp:27:20: error: qimage.h: No such file or directory
lanimation.cpp:28:22: error: qpainter.h: No such file or directory
lanimation.cpp:29:23: error: qsettings.h: No such file or directory
In file included from lanimation.cpp:34:
lanimation.h:23:20: error: qtimer.h: No such file or directory
lanimation.h:24:21: error: qwidget.h: No such file or directory
In file included from lanimation.cpp:35:
lanimationimages.h:15:19: error: qdict.h: No such file or directory
lanimationimages.h:16:19: error: qmime.h: No such file or directory
lanimationimages.h:17:25: error: qdragobject.h: No such file or directory
In file included from lanimation.cpp:365:
lanimation.moc:12:25: error: qmetaobject.h: No such file or directory
lanimation.moc:15:34: error: private/qucomextra_p.h: No such file or directory
lanimation.moc:17:2: error: #error "This file was generated using the moc from 3.3.7. It"
lanimation.moc:18:2: error: #error "cannot be used with the include files from this version of Qt."
lanimation.moc:19:2: error: #error "(The moc has changed too much.)"
lanimation.h:34: error: expected class-name before '{' token
lanimation.h:35: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
lanimation.h:36: error: expected ';' before 'public'
lanimation.h:44: error: 'QResizeEvent' has not been declared
lanimation.h:46: error: expected `:' before 'slots'
lanimation.h:47: error: expected primary-expression before 'void'
lanimation.h:47: error: ISO C++ forbids declaration of 'slots' with no type
lanimation.h:47: error: expected ';' before 'void'
lanimation.h:54: error: 'QPixmap' does not name a type
lanimation.h:55: error: 'QPixmap' does not name a type
lanimation.h:57: error: 'QImage' does not name a type
lanimation.h:59: error: ISO C++ forbids declaration of 'QPtrList' with no type
lanimation.h:59: error: expected ';' before '<' token
lanimation.h:61: error: ISO C++ forbids declaration of 'QTimer' with no type
lanimation.h:61: error: expected ';' before '*' token
lanimationimages.h:16340: error: ISO C++ forbids declaration of 'QRgb' with no type
lanimationimages.h:16340: error: expected ';' before '*' token
lanimationimages.h:16344: error: 'FALSE' was not declared in this scope
lanimationimages.h:16345: error: 'FALSE' was not declared in this scope
lanimationimages.h:16347: error: too many initializers for 'EmbedImage'
lanimationimages.h:16347: error: too many initializers for 'EmbedImage'
lanimationimages.h:16347: error: too many initializers for 'EmbedImage'
lanimationimages.h:16349: error: 'QImage' does not name a type
lanimationimages.h:16374: error: expected class-name before '{' token
lanimationimages.h:16378: error: ISO C++ forbids declaration of 'QMimeSource' with no type
lanimationimages.h:16378: error: expected ';' before '*' token
lanimationimages.h:16388: error: expected initializer before '*' token
lanimationimages.h: In function 'void qInitImages_LAnimation()':
lanimationimages.h:16392: error: 'factory' was not declared in this scope
lanimationimages.h:16394: error: 'QMimeSourceFactory' has not been declared
lanimationimages.h: In function 'void qCleanupImages_LAnimation()':
lanimationimages.h:16400: error: 'factory' was not declared in this scope
lanimationimages.h:16401: error: 'QMimeSourceFactory' has not been declared
lanimationimages.h:16402: error: type '<type error>' argument given to 'delete', expected pointer
lanimation.cpp: At global scope:
lanimation.cpp:42: error: expected `)' before '*' token
lanimation.cpp:45: error: 'QPainter' has not been declared
lanimation.cpp:52: error: 'QPainter' has not been declared
lanimation.cpp:53: error: 'QPainter' has not been declared
lanimation.cpp:55: error: ISO C++ forbids declaration of 'QImage' with no type
lanimation.cpp:55: error: expected ';' before '*' token
lanimation.cpp:66: error: expected `)' before '*' token
lanimation.cpp: In destructor 'Star::~Star()':
lanimation.cpp:75: error: 'background' was not declared in this scope
lanimation.cpp: In member function 'void Star::restart()':
lanimation.cpp:80: error: 'background' was not declared in this scope
lanimation.cpp: At global scope:
lanimation.cpp:88: error: variable or field 'paint' declared void
lanimation.cpp:88: error: 'int Star::paint' is not a static member of 'class Star'
lanimation.cpp:88: error: 'QPainter' was not declared in this scope
lanimation.cpp:88: error: 'p' was not declared in this scope
lanimation.cpp:89: error: expected ',' or ';' before '{' token
lanimation.cpp:124: error: variable or field 'drawPoint' declared void
lanimation.cpp:124: error: 'int Star::drawPoint' is not a static member of 'class Star'
lanimation.cpp:124: error: 'QPainter' was not declared in this scope
lanimation.cpp:124: error: 'p' was not declared in this scope
lanimation.cpp:124: error: expected primary-expression before 'int'
lanimation.cpp:124: error: expected primary-expression before 'int'
lanimation.cpp:124: error: initializer expression list treated as compound expression
lanimation.cpp:125: error: expected ',' or ';' before '{' token
lanimation.cpp:134: error: variable or field 'clearPoint' declared void
lanimation.cpp:134: error: 'int Star::clearPoint' is not a static member of 'class Star'
lanimation.cpp:134: error: 'QPainter' was not declared in this scope
lanimation.cpp:134: error: 'p' was not declared in this scope
lanimation.cpp:134: error: expected primary-expression before 'int'
lanimation.cpp:134: error: expected primary-expression before 'int'
lanimation.cpp:134: error: initializer expression list treated as compound expression
lanimation.cpp:135: error: expected ',' or ';' before '{' token
lanimation.cpp:149: error: expected `)' before '*' token
lanimation.cpp:152: error: 'QPainter' has not been declared
lanimation.cpp:162: error: ISO C++ forbids declaration of 'QImage' with no type
lanimation.cpp:162: error: expected ';' before '*' token
lanimation.cpp:166: error: 'QBitmap' does not name a type
lanimation.cpp:167: error: 'QImage' does not name a type
lanimation.cpp:168: error: 'QImage' does not name a type
lanimation.cpp:169: error: 'QPixmap' does not name a type
lanimation.cpp:171: error: ISO C++ forbids declaration of 'QPtrList' with no type
lanimation.cpp:171: error: expected ';' before '<' token
lanimation.cpp: In destructor 'virtual Planet::~Planet()':
lanimation.cpp:176: error: 'background' was not declared in this scope
lanimation.cpp: At global scope:
lanimation.cpp:179: error: expected `)' before '*' token
lanimation.cpp:227: error: variable or field 'paint' declared void
lanimation.cpp:227: error: 'int Planet::paint' is not a static member of 'class Planet'
lanimation.cpp:227: error: 'QPainter' was not declared in this scope
lanimation.cpp:227: error: 'p' was not declared in this scope
lanimation.cpp:228: error: expected ',' or ';' before '{' token
lanimation.cpp:261: error: expected `)' before '*' token
lanimation.cpp: In member function 'void LAnimation::restart()':
lanimation.cpp:286: error: 'width' was not declared in this scope
lanimation.cpp:287: error: 'height' was not declared in this scope
lanimation.cpp:289: error: 'starground' was not declared in this scope
lanimation.cpp:290: error: 'workground' was not declared in this scope
lanimation.cpp:292: error: 'background' was not declared in this scope
lanimation.cpp:294: error: 'black' was not declared in this scope
lanimation.cpp:296: error: 'NoBackground' was not declared in this scope
lanimation.cpp:296: error: 'setBackgroundMode' was not declared in this scope
lanimation.cpp:309: error: 'stars' was not declared in this scope
lanimation.cpp:321: error: 'QWMatrix' was not declared in this scope
lanimation.cpp:321: error: expected `;' before 'matrix'
lanimation.cpp:323: error: 'QImage' was not declared in this scope
lanimation.cpp:323: error: expected `;' before 'galaxy'
lanimation.cpp:325: error: 'galaxy' was not declared in this scope
lanimation.cpp:325: error: 'matrix' was not declared in this scope
lanimation.cpp:330: error: 'bitBlt' was not declared in this scope
lanimation.cpp:333: error: 'update' was not declared in this scope
lanimation.cpp: At global scope:
lanimation.cpp:336: error: variable or field 'resizeEvent' declared void
lanimation.cpp:336: error: 'int LAnimation::resizeEvent' is not a static member of 'class LAnimation'
lanimation.cpp:336: error: 'QResizeEvent' was not declared in this scope
lanimation.cpp:336: error: 'e' was not declared in this scope
lanimation.cpp:337: error: expected ',' or ';' before '{' token
lanimation.cpp:341: error: no 'void LAnimation::slotTimeout()' member function declared in class 'LAnimation'
lanimation.cpp: In member function 'void LAnimation::slotTimeout()':
lanimation.cpp:343: error: 'QPainter' was not declared in this scope
lanimation.cpp:343: error: expected `;' before 'p'
lanimation.cpp:345: error: 'stars' was not declared in this scope
lanimation.cpp:347: error: 'p' was not declared in this scope
lanimation.cpp:350: error: 'p' was not declared in this scope
lanimation.cpp:352: error: 'workground' was not declared in this scope
lanimation.cpp:352: error: 'starground' was not declared in this scope
lanimation.cpp:352: error: 'bitBlt' was not declared in this scope
lanimation.moc: At global scope:
lanimation.moc:22: error: no 'const char* LAnimation::className() const' member function declared in class 'LAnimation'
lanimation.moc:27: error: expected constructor, destructor, or type conversion before '*' token
lanimation.moc:28: error: 'QMetaObjectCleanUp' does not name a type
lanimation.moc:31: error: 'QString' does not name a type
lanimation.moc:39: error: 'QString' does not name a type
lanimation.moc:50: error: expected constructor, destructor, or type conversion before '*' token
lanimation.moc:72: error: no 'void* LAnimation::qt_cast(const char*)' member function declared in class 'LAnimation'
lanimation.moc: In member function 'void* LAnimation::qt_cast(const char*)':
lanimation.moc:74: error: 'qstrcmp' was not declared in this scope
lanimation.moc:76: error: 'QWidget' has not been declared
lanimation.moc: At global scope:
lanimation.moc:79: error: 'QUObject' has not been declared
lanimation.moc:79: error: no 'bool LAnimation::qt_invoke(int, int*)' member function declared in class 'LAnimation'
lanimation.moc: In member function 'bool LAnimation::qt_invoke(int, int*)':
lanimation.moc:81: error: 'staticMetaObject' was not declared in this scope
lanimation.moc:84: error: 'QWidget' has not been declared
lanimation.moc:86: error: 'TRUE' was not declared in this scope
lanimation.moc: At global scope:
lanimation.moc:89: error: 'QUObject' has not been declared
lanimation.moc:89: error: no 'bool LAnimation::qt_emit(int, int*)' member function declared in class 'LAnimation'
lanimation.moc: In member function 'bool LAnimation::qt_emit(int, int*)':
lanimation.moc:91: error: 'QWidget' has not been declared
lanimation.moc: At global scope:
lanimation.moc:95: error: 'QVariant' has not been declared
lanimation.moc:95: error: no 'bool LAnimation::qt_property(int, int, int*)' member function declared in class 'LAnimation'
lanimation.moc: In member function 'bool LAnimation::qt_property(int, int, int*)':
lanimation.moc:97: error: 'QWidget' has not been declared
lanimation.moc: At global scope:
lanimation.moc:100: error: 'bool LAnimation::qt_static_property' is not a static member of 'class LAnimation'
lanimation.moc:100: error: 'QObject' was not declared in this scope
lanimation.moc:100: error: expected primary-expression before ',' token
lanimation.moc:100: error: expected primary-expression before 'int'
lanimation.moc:100: error: expected primary-expression before 'int'
lanimation.moc:100: error: 'QVariant' was not declared in this scope
lanimation.moc:100: error: expected primary-expression before ')' token
lanimation.moc:100: error: initializer expression list treated as compound expression
lanimation.moc:100: error: expected ',' or ';' before '{' token
lanimationimages.h:16343: warning: 'embed_image_vec' defined but not used
make[4]: *** [lanimation.lo] Error 1
make[4]: Leaving directory `/home/james/Desktop/xorgsetup-0.9.2/src/lib/setupcore'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/james/Desktop/xorgsetup-0.9.2/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/james/Desktop/xorgsetup-0.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/james/Desktop/xorgsetup-0.9.2'
make: *** [all] Error 2
[/code] |
| ![.](/img/trans.gif) | | fantastic! May 6 2007 on content Yakuake | This is my most frequently used software in Linux. This update added another very useful feature to the older version that I love. The split mode is awesome! :) |
| ![.](/img/trans.gif) | | Same problem May 3 2007 on content kchmviewer | I tried compiling it on Kubuntu 7.04, and I even installed all the build dependencies before compiling (apt-get build-dep) but I still get the same problem. What is wrong? |
| ![.](/img/trans.gif) | | Crashing on search Apr 7 2007 on content kchmviewer | Hi. I compiled and installed kchmviewer v3 on my kubuntu system without any problem. However, it keeps crashing everytime I use the search feature. It says its building the search database, and then at around 70% completion, it is using 100% of my CPU, then it crashes.
Any advice? I don't want to use the package from ubuntu because it is too old (v2.6). |
| ![.](/img/trans.gif) | | Awesome Apr 6 2007 on content reKordmydesktop | It looks nice. How do I run it? |
| ![.](/img/trans.gif) | | Re: Re: Re: Re: Comp Apr 3 2007 on content kdesvn | Hello again. :)
checkinstall is similar to "make install", but after the installation, it automatically creates the deb, rpm, or tgz file.
I want to use the kdesvn package for kubuntu but the latest version there is 0.8 which is too old. I will wait for them to update it then.
Anyway, thanks again for your help. Your previous tip solved my problem, and it properly installed in my system. |
| ![.](/img/trans.gif) | | Re: Re: Compile prob Apr 3 2007 on content kdesvn | Hi. Thank you for the quick reply.
This solved the problem:
"cmake .. -DCMAKE_INSTALL_PREFIX=/usr"
I was able to install it using "sudo make install". But for some strange reason, "sudo checkinstall" fails. Is there a way to fix that too so I can make the deb package?
Thanks again.
P.S. I appologize for my previous message(s). I don't know why it was posted three times. |
| ![.](/img/trans.gif) | | Compile problem Apr 2 2007 on content kdesvn | Hello.
I am using Kubuntu 6.10 and I am having problem compiling this. These are the steps I performed:
1) I installed cmake 2.4.3 the kdesvn build-dep from the repositories
2) Extracted the kdesvn source files to kdesvn-0.11.2, created a directory called kdesvn-build inside that, and changed to that directory
3) I ran "cmake ../" and everything seems to work well.
4) I ran "make install" and got this message:
[code]
Built target kdesvn
Built target kdesvnaskpass
Built target svnqt
Built target kdesvncfgreader
Built target ksvnwidgets
Built target svnfrontend
Built target kdesvnhelpers
Built target settingsdlgs
Built target kdesvnpart
Built target kded_kdesvnd
Built target kio_ksvn
Built target translations
Built target doc
Install the project...
-- Install configuration: ""
-- Install configuration: ""
CMake Error: Error in cmake code at
/home/james/Desktop/kdesvn-0.11.2/kdesvn-build/src/cmake_install.cmake:30:
FILE cannot create directory: /usr/local/lib/kde3. Maybe need administrative privileges.
Current CMake stack: /home/james/Desktop/kdesvn-0.11.2/kdesvn-build/cmake_install.cmake;/home/james/Desktop/kdesvn-0.11.2/kdesvn-build/src/cmake_install.cmake
make: *** [install] Error 255
[/code]
What is wrong with this and how can I fix this?
|
| ![.](/img/trans.gif) | | Compile problem Apr 2 2007 on content kdesvn | Hello.
I am using Kubuntu 6.10 and I am having problem compiling this. These are the steps I performed:
1) I installed cmake 2.4.3 the kdesvn build-dep from the repositories
2) Extracted the kdesvn source files to kdesvn-0.11.2, created a directory called kdesvn-build inside that, and changed to that directory
3) I ran "cmake ../" and everything seems to work well.
4) I ran "make install" and got this message:
[code]
Built target kdesvn
Built target kdesvnaskpass
Built target svnqt
Built target kdesvncfgreader
Built target ksvnwidgets
Built target svnfrontend
Built target kdesvnhelpers
Built target settingsdlgs
Built target kdesvnpart
Built target kded_kdesvnd
Built target kio_ksvn
Built target translations
Built target doc
Install the project...
-- Install configuration: ""
-- Install configuration: ""
CMake Error: Error in cmake code at
/home/james/Desktop/kdesvn-0.11.2/kdesvn-build/src/cmake_install.cmake:30:
FILE cannot create directory: /usr/local/lib/kde3. Maybe need administrative privileges.
Current CMake stack: /home/james/Desktop/kdesvn-0.11.2/kdesvn-build/cmake_install.cmake;/home/james/Desktop/kdesvn-0.11.2/kdesvn-build/src/cmake_install.cmake
make: *** [install] Error 255
[/code]
What is wrong with this and how can I fix this?
|
| ![.](/img/trans.gif) |
Search people Current visitors New users Birthdays Most active users Back
|
|
| ![-](/img/trans.gif) |
|