Nordmoen Skrevet 27. desember 2009 Del Skrevet 27. desember 2009 Har litt problemer med at Qt Jambi ikke bruker KDE sitt tema, den defaulter bare til Plastique. Problemet er tydeligvis at Qt jambi må kompileres, problemet er bare at den stopper meg "make error 2" uten noe fornuftig feilmelding, kunne noen sett å se om de forsto noe mer? Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar Buildfile: build.xml init.ant: init.jumptable.do: init.jumptable.dont: init.taskdef: init: [qtjambi-initialize] qtjambi.osname: linux64 [qtjambi-initialize] qtjambi.libsubdir: lib [qtjambi-initialize] qtjambi.qtdir: /usr/share/qt4 [qtjambi-initialize] qtjambi.compiler: gcc [qtjambi-initialize] qtjambi.configuration: release [qtjambi-initialize] qtjambi.phonon: false [qtjambi-initialize] qtjambi.sqlite: true [qtjambi-initialize] qtjambi.webkit: true [qtjambi-initialize] qtjambi.xmlpatterns: true [qtjambi-initialize] qtjambi.opengl: true generator.xmlmerge.core: generator.xmlmerge.gui: generator.xmlmerge.network: generator.xmlmerge.svg: generator.xmlmerge.xml: generator.xmlmerge.xmlpatterns: generator.xmlmerge.opengl: generator.xmlmerge.sql: generator.xmlmerge.designer: generator.xmlmerge.webkit: generator.xmlmerge.phonon: generator.xmlmerge: generator.qmake: generator.compile: [make] [make] Running : (/home/nordmoen/Nedlasting/qtjambi-src-lgpl-4.5.2_01/generator) make [make] make -f Makefile.Release [make] make[1]: Entering directory `/home/nordmoen/Nedlasting/qtjambi-src-lgpl-4.5.2_01/generator' [make] g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DRXX_ALLOCATOR_INIT_0 -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -I. -I../common -Iparser -Iparser/rpp -Iparser/rpp -Irelease -o release/preprocessor.o parser/rpp/preprocessor.cpp [make] In file included from parser/rpp/pp.h:100, [make] from parser/rpp/preprocessor.cpp:54: [make] parser/rpp/pp-internal.h: In function ‘void rpp::_PP_internal::output_line(const std::string&, int, _OutputIterator)’: [make] parser/rpp/pp-internal.h:75: error: there are no arguments to ‘snprintf’ that depend on a template parameter, so a declaration of ‘snprintf’ must be available [make] parser/rpp/pp-internal.h:75: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) [make] In file included from parser/rpp/pp.h:105, [make] from parser/rpp/preprocessor.cpp:54: [make] parser/rpp/pp-macro-expander.h: In member function ‘_InputIterator rpp::pp_macro_expander::operator()(_InputIterator, _InputIterator, _OutputIterator)’: [make] parser/rpp/pp-macro-expander.h:264: error: there are no arguments to ‘snprintf’ that depend on a template parameter, so a declaration of ‘snprintf’ must be available [make] In file included from parser/rpp/pp.h:107, [make] from parser/rpp/preprocessor.cpp:54: [make] parser/rpp/pp-engine-bits.h: In member function ‘void rpp::pp::file(const std::string&, _OutputIterator)’: [make] parser/rpp/pp-engine-bits.h:81: error: there are no arguments to ‘fopen’ that depend on a template parameter, so a declaration of ‘fopen’ must be available [make] parser/rpp/pp-engine-bits.h: In member function ‘void rpp::pp::file(FILE*, _OutputIterator)’: [make] parser/rpp/pp-engine-bits.h:111: error: there are no arguments to ‘feof’ that depend on a template parameter, so a declaration of ‘feof’ must be available [make] parser/rpp/pp-engine-bits.h:113: error: there are no arguments to ‘fread’ that depend on a template parameter, so a declaration of ‘fread’ must be available [make] parser/rpp/pp-engine-bits.h:117: error: there are no arguments to ‘fclose’ that depend on a template parameter, so a declaration of ‘fclose’ must be available [make] In file included from parser/rpp/pp.h:107, [make] from parser/rpp/preprocessor.cpp:54: [make] parser/rpp/pp-engine-bits.h: In member function ‘FILE* rpp::pp::find_include_file(const std::string&, std::string*, rpp::pp::INCLUDE_POLICY, bool) const’: [make] parser/rpp/pp-engine-bits.h:273: error: ‘fopen’ was not declared in this scope [make] parser/rpp/pp-engine-bits.h:286: error: ‘fopen’ was not declared in this scope [make] parser/rpp/pp-engine-bits.h:312: error: ‘fopen’ was not declared in this scope [make] make[1]: *** [release/preprocessor.o] Error 1 [make] make: *** [release] Error 2 [make] make[1]: Leaving directory `/home/nordmoen/Nedlasting/qtjambi-src-lgpl-4.5.2_01/generator' BUILD FAILED /home/nordmoen/Nedlasting/qtjambi-src-lgpl-4.5.2_01/build.xml:449: Running: make failed with exit code: 2 Lenke til kommentar
Dinosauromann Skrevet 27. desember 2009 Del Skrevet 27. desember 2009 (endret) Kan se ut som problemene som oppstår pga forskjeller i de nyere utgavene av gcc (tillater ikke lengre c-funksjonene uten å include eller noe). Husker ikke hvilken utgave forandringen kom i. Kan kanskje løses med -fpermissive flagget, men det er rart at dette ikke har vært patchet i Qt jambi. Endret 27. desember 2009 av oln Lenke til kommentar
Nordmoen Skrevet 27. desember 2009 Forfatter Del Skrevet 27. desember 2009 Fikk vite det samme av en venn, så jeg prøvde den siste Qt Jambi fra git og får nå en annen feil: library.native.compile: [make] [make] Running : (/home/nordmoen/qt-jambi-4.5.2) make [make] cd qtjambi/ && make -f Makefile [make] make[1]: Entering directory `/home/nordmoen/qt-jambi-4.5.2/qtjambi' [make] make[1]: Nothing to be done for `first'. [make] make[1]: Leaving directory `/home/nordmoen/qt-jambi-4.5.2/qtjambi' [make] cd juic/ && make -f Makefile [make] make[1]: Entering directory `/home/nordmoen/qt-jambi-4.5.2/juic' [make] g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_UIC_JAVA_GENERATOR -DQT_UIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -I. -I. -o javawritedeclaration.o javawritedeclaration.cpp [make] In file included from javawritedeclaration.cpp:45: [make] javawritedeclaration.h:48:24: error: treewalker.h: No such file or directory [make] In file included from javawritedeclaration.cpp:46: [make] javawriteinitialization.h:49:20: error: option.h: No such file or directory [make] javawritedeclaration.cpp:47:20: error: driver.h: No such file or directory [make] javawritedeclaration.cpp:48:17: error: ui4.h: No such file or directory [make] javawritedeclaration.cpp:49:17: error: uic.h: No such file or directory [make] javawritedeclaration.cpp:50:26: error: databaseinfo.h: No such file or directory [make] javawritedeclaration.cpp:51:31: error: customwidgetsinfo.h: No such file or directory [make] In file included from javawritedeclaration.cpp:45: [make] javawritedeclaration.h:59: error: expected class-name before ‘{’ token [make] javawritedeclaration.h:62: error: ‘DomUI’ has not been declared [make] javawritedeclaration.h:63: error: ‘DomWidget’ has not been declared [make] javawritedeclaration.h:64: error: ‘DomLayout’ has not been declared [make] javawritedeclaration.h:65: error: ‘DomSpacer’ has not been declared [make] javawritedeclaration.h:66: error: ‘DomActionGroup’ has not been declared [make] javawritedeclaration.h:67: error: ‘DomAction’ has not been declared [make] In file included from javawritedeclaration.cpp:46: [make] javawriteinitialization.h:64: error: expected class-name before ‘{’ token [make] javawriteinitialization.h:70: error: ‘DomUI’ has not been declared [make] javawriteinitialization.h:71: error: ‘DomWidget’ has not been declared [make] javawriteinitialization.h:72: error: ‘DomLayout’ has not been declared [make] javawriteinitialization.h:73: error: ‘DomSpacer’ has not been declared [make] javawriteinitialization.h:74: error: ‘DomLayoutItem’ has not been declared [make] javawriteinitialization.h:79: error: ‘DomActionGroup’ has not been declared [make] javawriteinitialization.h:80: error: ‘DomAction’ has not been declared [make] javawriteinitialization.h:81: error: ‘DomActionRef’ has not been declared [make] javawriteinitialization.h:86: error: ‘DomTabStops’ has not been declared [make] javawriteinitialization.h:91: error: ‘DomCustomWidgets’ has not been declared [make] javawriteinitialization.h:92: error: ‘DomCustomWidget’ has not been declared [make] javawriteinitialization.h:97: error: ‘DomLayoutDefault’ has not been declared [make] javawriteinitialization.h:98: error: ‘DomLayoutFunction’ has not been declared [make] javawriteinitialization.h:103: error: ‘DomConnection’ has not been declared [make] javawriteinitialization.h:108: error: ‘DomImage’ has not been declared [make] javawriteinitialization.h:111: error: ‘DomColor’ has not been declared [make] javawriteinitialization.h:114: error: ‘DomProperty’ has not been declared [make] javawriteinitialization.h:116: error: ‘DomString’ has not been declared [make] javawriteinitialization.h:119: error: ‘DomProperty’ was not declared in this scope [make] javawriteinitialization.h:119: error: template argument 1 is invalid [make] javawriteinitialization.h:120: error: ‘DomColorGroup’ has not been declared [make] javawriteinitialization.h:126: error: ‘DomWidget’ has not been declared [make] javawriteinitialization.h:127: error: ‘DomWidget’ has not been declared [make] javawriteinitialization.h:128: error: ‘DomWidget’ has not been declared [make] javawriteinitialization.h:129: error: ‘DomWidget’ has not been declared [make] javawriteinitialization.h:130: error: ‘DomItem’ was not declared in this scope [make] javawriteinitialization.h:130: error: template argument 1 is invalid [make] javawriteinitialization.h:131: error: ‘DomWidget’ has not been declared [make] javawriteinitialization.h:133: error: ISO C++ forbids declaration of ‘DomWidget’ with no type [make] javawriteinitialization.h:133: error: expected ‘;’ before ‘*’ token [make] javawriteinitialization.h:134: error: ISO C++ forbids declaration of ‘DomImage’ with no type [make] javawriteinitialization.h:134: error: expected ‘;’ before ‘*’ token [make] javawriteinitialization.h:142: error: field ‘option’ has incomplete type [make] javawriteinitialization.h:153: error: ‘DomWidget’ was not declared in this scope [make] javawriteinitialization.h:153: error: template argument 1 is invalid [make] javawriteinitialization.h:154: error: ‘DomLayout’ was not declared in this scope [make] javawriteinitialization.h:154: error: template argument 1 is invalid [make] javawriteinitialization.h:155: error: ‘DomActionGroup’ was not declared in this scope [make] javawriteinitialization.h:155: error: template argument 1 is invalid [make] javawriteinitialization.h:159: error: ‘DomWidget’ was not declared in this scope [make] javawriteinitialization.h:159: error: template argument 2 is invalid [make] javawriteinitialization.h:160: error: ‘DomImage’ was not declared in this scope [make] javawriteinitialization.h:160: error: template argument 2 is invalid [make] javawriteinitialization.h:161: error: ‘DomAction’ was not declared in this scope [make] javawriteinitialization.h:161: error: template argument 2 is invalid [make] javawritedeclaration.cpp: In constructor ‘Java::WriteDeclaration::WriteDeclaration(Uic*)’: [make] javawritedeclaration.cpp:64: error: invalid use of incomplete type ‘struct Uic’ [make] javawritedeclaration.h:52: error: forward declaration of ‘struct Uic’ [make] javawritedeclaration.cpp:64: error: invalid use of incomplete type ‘struct Uic’ [make] javawritedeclaration.h:52: error: forward declaration of ‘struct Uic’ [make] javawritedeclaration.cpp:64: error: invalid use of incomplete type ‘struct Uic’ [make] javawritedeclaration.h:52: error: forward declaration of ‘struct Uic’ [make] javawritedeclaration.cpp: At global scope: [make] javawritedeclaration.cpp:69: error: variable or field ‘acceptUI’ declared void [make] javawritedeclaration.cpp:69: error: ‘DomUI’ was not declared in this scope [make] javawritedeclaration.cpp:69: error: ‘node’ was not declared in this scope [make] javawritedeclaration.cpp:182: error: expected ‘}’ at end of input [make] make[1]: *** [javawritedeclaration.o] Error 1 [make] make: *** [sub-juic-make_default-ordered] Error 2 [make] make[1]: Leaving directory `/home/nordmoen/qt-jambi-4.5.2/juic' BUILD FAILED /home/nordmoen/qt-jambi-4.5.2/build.xml:307: Running: make failed with exit code: 2 Lenke til kommentar
HawP Skrevet 28. desember 2009 Del Skrevet 28. desember 2009 Det kan virke som om den feiler pga. referanser til noe som ikke blir/er definert... du mangler ingen såkalte "devel" pakker da? Lenke til kommentar
Anbefalte innlegg
Opprett en konto eller logg inn for å kommentere
Du må være et medlem for å kunne skrive en kommentar
Opprett konto
Det er enkelt å melde seg inn for å starte en ny konto!
Start en kontoLogg inn
Har du allerede en konto? Logg inn her.
Logg inn nå