Trolltech Home | Qt-jambi-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-jambi-interest Archive, April 2007
Problems compiling Jambi


Message 1 in thread

Hi!

I'm trying to build a 64 bit version of Jambi, but I'm stuck with compile 
errors. I've built the generator and while trying to build the C++ portion of 
Jambi I'm getting the following compiler errors (excerpt, the number of 
follow-up errors is huge):

gregor@goose ~/software/qtjambi-src-gpl-1.0.0-beta2 $ make
cd qtjambi/ && make -f Makefile
make[1]: Entering directory 
`/data/home/gregor/software/qtjambi-src-gpl-1.0.0-beta2/qtjambi'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory 
`/data/home/gregor/software/qtjambi-src-gpl-1.0.0-beta2/qtjambi'
cd juic/ && make -f Makefile
make[1]: Entering directory 
`/data/home/gregor/software/qtjambi-src-gpl-1.0.0-beta2/juic'
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/home/gregor/software/qt-4.3/mkspecs/linux-g++ -I. -I/home/gregor/software/qt-4.3/include/QtCore -I/home/gregor/software/qt-4.3/include/QtCore -I/home/gregor/software/qt-4.3/include/QtXml -I/home/gregor/software/qt-4.3/include/QtXml -I/home/gregor/software/qt-4.3/include -I. -I. -o 
javawritedeclaration.o javawritedeclaration.cpp
In file included from javawritedeclaration.cpp:25:
javawritedeclaration.h:28:24: error: treewalker.h: No such file or directory
In file included from javawritedeclaration.cpp:26:
javawriteinitialization.h:29:20: error: option.h: No such file or directory
javawritedeclaration.cpp:27:20: error: driver.h: No such file or directory
javawritedeclaration.cpp:28:17: error: ui4.h: No such file or directory
javawritedeclaration.cpp:29:17: error: uic.h: No such file or directory
javawritedeclaration.cpp:30:26: error: databaseinfo.h: No such file or 
directory
javawritedeclaration.cpp:31:31: error: customwidgetsinfo.h: No such file or 
directory

The missing header files are part of the Qt uic and seemingly were not copied 
during make install. I've tried to copy them over manually, but then the 
linker complained about unknown symbols. Do you have any idea how I could fix 
this?

Regards,
Gregor

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.


Message 2 in thread

Gregor Mückl wrote:
> Hi!
> 
> I'm trying to build a 64 bit version of Jambi, but I'm stuck with compile 
> errors. I've built the generator and while trying to build the C++ portion of 
> Jambi I'm getting the following compiler errors (excerpt, the number of 
> follow-up errors is huge):

...

> The missing header files are part of the Qt uic and seemingly were not copied 
> during make install. I've tried to copy them over manually, but then the 
> linker complained about unknown symbols. Do you have any idea how I could fix 
> this?

Hi Gregor,

The Qt Jambi source package relies on some source files in Qt, so you 
need to have the Qt Source package available and have QTDIR set to the 
location of the sources as well as the binaries. This is an unfortunate 
oversight, but we'll hope to get around to fix it for the final release.

The easiest way to compile the sources now is to build Qt in its source 
directory, for instance configuring with prefix set to the Qt source dir 
and doing make and make install there. Then Qt Jambi should be able to 
pick up the right sources.

best regards,
Gunnar