On Thu, May 04, 2006 at 11:37:22PM -0500, Bo Peng wrote:
> >I just tried compiling with that simple configure and it succeeded.
> >I suggest that you update your cygwin installation to the latest
> >release as, IMHO, that is your problem.
>
> I guess that is cygwin's problem. I did basically a fresh installation
> of 1.5.18.
;-)
I think that if you would report that, the answer would be "please,
update your installation".
> >If you want, I could privately email you my own built moc.exe and
> >uic.exe as they do not depend on the broken cygqt-mt-3.dll.
>
> Please do. You mean I only need these two files to use cygwin/qt3, right?
Yes. I am going to send them. Simply replace /usr/lib/qt3/{moc,uic}.exe
with these copies.
> >Curiously enough, lyx works well with cygqt-mt-3.dll, the only problem
> >being that it cannot be quit but should be killed.
>
> That should be something we need to figure out.
I think this is a result of the currently broken cygqt-mt-3.dll as
I don't have any problem with the qt3 I build by myself.
> >AFAIK the i386-pe.x-no-rdata script is required in the final link
> >step (I don't know why it is needed when building for X11).
>
> I have no idea what it is doing. I may have to add its content to my
> sconstruct cygwin/profile. We will see.
It solves the problem reported here:
http://www.cygwin.com/ml/cygwin/2004-09/msg01101.html
I think that, with the qt.m4 patch applied, the following should get
you going:
../configure --disable-debug --disable-stdlib-debug --with-frontend=qt \
--with-qt-dir=/usr/lib/qt3 --with-qt-includes=/usr/include/qt3 \
CPPFLAGS="-Wno-uninitialized" LDFLAGS="-Wl,--enable-runtime-pseudo-reloc \
-Wl,--script,/path/to/i386pe.x-no-rdata"
--
Enrico