From: David S. <par...@gm...> - 2007-07-04 20:54:09
|
On 7/4/07, Vadim Godunko <vgo...@ro...> wrote: > David Sauvage wrote: > > > > here is a feedback of building QtAda 0.1.0 on Ubuntu Feisty Linux : > > > Thanks for your feedback! > Pleasure, we are a few guys interested in this project, how could we help ?, is there a project roadmap or something ? as soon as QtAda can be build with the Debian default GCC, i would be pleased to participate creating the QtAda Debian package for all Debian family Linux ... For now, i'm working on a Ada Designer tool application, so i wrong be available for a 1 months ... > > 3- Running make > > A. Shell problem > > The default shell for the configure script is /bin/sh > > On Ubuntu, /bin/sh points to /bin/dash there are some errors on the > > script (adacompiler or others) > Can you please send full log? > here is the main error at the compilation stage ../../adacompiler: 63: [[: not found > > B. libstdc++ problem > > At some link level make says libstdc++.so cannot be found. > > This is because the file /usr/lib/libstdc++.so does not exist > > the following command fix this issue : > > $ sudo ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so > > > This seems as hack. ;-) Do you have installed all devel packages or > properly configure GCC version? Please note, C++ compiler not included > in official GNAT GPL package, bindings use default system g++ compiler. > nop, apt-file tells me [2] there is not Deb package containing /usr/lib/libstdc++.so, i'll try to know why ... > > C. QtScript undefined methods > > Lot's of methods from QtScript module are undefined at link stage, > > this is because the link option -lQtScript is missing in the Makefile. > > Adding -lQtScript to the corresponding Makefiles fix this issue > > > We have tested QtAda only with Qt 4.2.x for now. This and some below > problems comes from Qt 4.3. :( Ok, so may be you are lookig for some help ? > > > Qt has caught an exception thrown from an event handler. Throwing > > exceptions from an event handler is not supported in Qt. You must > > reimplement QApplication::notify() and catch all exceptions there. > > > Thanks for hint! well, all the errors i mentionned is outputed by the application on failure ... > > > ui_dialog > > ---------------- > > Execution terminated by unhandled exception > > Exception name: ADA.IO_EXCEPTIONS.NAME_ERROR > > Message: qt4-files-impl.adb:63 > > > You need create UI file named 'hello.ui' in the example's directory and > run ui_dialog. ;) > > Do you mean i must create this file with a Qt tool like QtDesigner ? because creating an empty file named hello.ui does not work $ ls hello hello.adb hello.ads hello.ali hello.o hello.ui Makefile Makefile.am Makefile.in $ ./hello Execution terminated by unhandled exception Exception name: CONSTRAINT_ERROR Message: qt4-ui_loaders-impl.adb:90 access check failed Call stack traceback locations: 0xb76c9a47 0xb76c9111 0x804cdb3 0x804cb92 0xb63a9eba Best regards, David [1] $ apt-file search /usr/lib/libstdc++* libstdc++5: usr/lib/libstdc++.so.5 libstdc++5: usr/lib/libstdc++.so.5 libstdc++5: usr/lib/libstdc++.so.5 libstdc++5: usr/lib/libstdc++.so.5.0.7 libstdc++5: usr/lib/libstdc++.so.5.0.7 libstdc++5: usr/lib/libstdc++.so.5.0.7 libstdc++6: usr/lib/libstdc++.so.6 libstdc++6: usr/lib/libstdc++.so.6 libstdc++6: usr/lib/libstdc++.so.6 libstdc++6: usr/lib/libstdc++.so.6.0.8 libstdc++6: usr/lib/libstdc++.so.6.0.8 libstdc++6: usr/lib/libstdc++.so.6.0.8 libstdc++6-4.1-dbg: usr/lib/debug/usr/lib/libstdc++.so.6.0.8 libstdc++6-4.1-dbg: usr/lib/debug/usr/lib/libstdc++.so.6.0.8 libstdc++6-4.1-dbg: usr/lib/debug/usr/lib/libstdc++.so.6.0.8 |