> hi darryl,
>
> i tried to get it running, but hit some obstacles:
>
> 1. i have to set some paths. i compile against system QT, so i set QTDIR
> to /usr, is that OK?

Usually QTDIR it not set at all (when building against a Linux disto 
system Qt).  When building QtJambi itself.

As for building AwtBridge I really have not tried to incorporate it into 
linux distro building yet.

Once factor impacting this is that I must properly package up all the 
generator parts with the QtJambi core package(s).  So that I can use 
that as a dependency for AwtBridge.

But the main effort with AwtBridge recently was just getting it working 
(and fixing some bugs that were reported).  So I have basically run out 
of time on AwtBridge to do any work at this time (it is not important 
enough compared to other things that need doing in the project).

However at some point in the future I shall have time again for 
AwtBridge and these matters are known and remembered to work on later.



> 2. the script doesn’t like to be run in paths with spaces. now i just
> circumvented it by eliminating them. lucky me has no spaces in his username!

Which script ?  and which part ?  which variables ?  building which 
thing (awtbridge I presume) ?

You will certainly make life easier for yourself by not having spaces in 
paths.  But I am interested to know where things went wrong for you and 
what your inputs were.


> 3. i need jfreechart. no problem, it’s in the AUR.

Only for the example / bug test / quality check.

Not needed by users at runtime to use AwtBridge in their projects.



> 4. the showstopper: java.lang.UnsatisfiedLinkError:
> /home/phil/Dev/qt-jambi/dlmiles-qtjambi-community-awtbridge/build/lib/libcom_trolltech_research_qtjambiawtbridge_generated.so.1:
> libjawt.so: File or directory not found

This is part of your Java Runtime Environment.

What was the command line you were running at the time, the "java" 
command line.

For Me this file is in $JAVA_HOME/jre/lib/amd64/libawt.so


> but i added it to my system.library.path (if this is even necessary)!

Well it is probably the OS dynamic linker that can not find it through 
implicit loading.

objdump -p libcom_trolltech_research_qtjambiawtbridge_generated.so.1 | 
grep NEED

So setting $LD_LIBRARY_PATH may resolve it, but... I didn't appear to 
need it for me here, I have a $JAVA_HOME set.  Do you ?


Darryl
_______________________________________________
Qt-jambi-interest mailing list
Qt-jambi-interest@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-jambi-interest

Reply via email to