-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Reiser schrieb:
> I'm trying to get the gui wizard for aqbanking 2.2.7 to be built
> under mingw (using the gnucash install.sh)
Good! :-)
> aqbanking configure is not finding qt3to4, moc, or uic. The last two
> aren't found even if I use --with-qt3-moc=/path/to/qt/bin and the
> similar flag for uic.
Oh, the error is obvious: You didn't add "qbanking" to the
- --with-frontends list. Because of that, ./configure didn't check for any
qt, as the qt-parts wouldn't be built anyway. Fix this as shown below.
> ./configure \
> --with-gwen-dir=${_GWENHYWFAR_UDIR} \
> --with-frontends="cbanking" \
> --with-backends="aqdtaus aqhbci aqofxconnect" \
> --with-qt3-uic=/c/soft/qt/bin \
> --with-qt3-moc=/c/soft/qt/bin \
> qt3_libs="-L/c/soft/qt/bin -lQtCore4 -lQtGui4 -lQt3Support4" \
> qt3_includes="-I/c/soft/qt/include -I/c/soft/qt/include/Qt -I/
> c/soft/qt/include/QtCore \
> -I/c/soft/qt/include/QtGui -I/c/soft/qt/include/
> Qt3Support" \
> CPPFLAGS="-I${_LIBOFX_UDIR}/include" \
> LDFLAGS="-L${_LIBOFX_UDIR}/lib" \
> --prefix=${_AQBANKING_UDIR}
For the record: My configure on mingw looks like this (qt3_libs needs
the $QTDIR/lib additionally):
./configure --with-gwen-dir=/c/work/gnucash/gwenhywfar \
--with-frontends="cbanking qbanking" \
--with-backends="aqdtaus aqhbci aqofxconnect" \
qt3_libs="-L/c/Qt/4.2.2/lib -L/c/Qt/4.2.2/bin -lQtCore4 -lQtGui4
- -lQt3Support4" \
qt3_includes="-I/c/Qt/4.2.2/include -I/c/Qt/4.2.2/include/Qt
- -I/c/Qt/4.2.2/include/QtCore -I/c/Qt/4.2.2/include/QtGui
- -I/c/Qt/4.2.2/include/Qt3Support" \
CPPFLAGS="-I${_LIBOFX_UDIR}/include" \
LDFLAGS="-L${_LIBOFX_UDIR}/lib" \
--prefix=${_AQBANKING_UDIR}
> The qt4 installer did complain that my mingw/include/w32api.h wasn't
> valid (it's version 3.8, while the supported version is 3.2). But the
> qt4 demo seems to work.
This can be ignored, I think.
There's still a different issue with qt4, though: The trolltech package
ships with the Qt4foo.dll DLLs, but our mingw/libtool build system
additionally expects files of the form Qt4foo.la, which are not
available. For this reason, libtool will refuse to build DLLs of
libqbanking and will build static libraries instead.
On my system, I've decided I would just create minimal Qt4foo.la files
*myself* before building aqbanking. It seems to works just fine. A shell
script that creates those obnoxious .la files is attached; at the msys
prompt, change into the directory $QTDIR/lib ; for me: /c/Qt/4.2.2/lib ,
for you: /c/soft/qt/lib ; then run that script and after a few seconds
you have .la files for the qt DLLs, which should make libtool happy.
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBRcw+yWXAi+BfhivFAQIcRQQAlpp290A848aJ9i6xaTw1KZU6xC6wSOf8
5OxRTeW4JdzXwYRTMzETES8rM+WYcuMDjro+k1hum94JXR4HKISeLckKHkrQ/iVa
gAc1FktsBgY/hqZReVc2J73/n1QReYsxlAbKgTqb2yM9hMpeLCNM7kpu6pW0f73C
Julzow6pL0Q=
=x7li
-----END PGP SIGNATURE-----
#!/bin/sh
for A in lib*.a; do
B=`basename ${A} .a`
OUTFILE="${B}.la"
C=`echo ${B} |sed -e"s/lib//"`
DLLNAME="${C}.dll"
echo "# Generated by foo bar libtool" > $OUTFILE
echo "dlname='../bin/${DLLNAME}'" >> $OUTFILE
echo "library_names='${DLLNAME}'" >> $OUTFILE
echo "libdir='/c/Qt/4.2.2/bin'" >> $OUTFILE
done
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Aqbanking-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel