----- Original Message -----
From: "Enrico Forestieri" <[EMAIL PROTECTED]>
To: <lyx-users@lists.lyx.org>
Sent: Thursday, February 23, 2006 6:15 AM
Subject: Re: LyX on Cygwin
Stephen Harris <[EMAIL PROTECTED]> writes:
SH: The qt3 install got further this time but failed with this error:
-DQT_NO_STL -DQT_NO_COMPRESS
-I/usr/local/src/qt3/mkspecs/cygwin-g++-win32
-DAVE_QCONFIG_CPP /usr/local/src/qt3/src/tools/qglobal.cpp
In file included from /usr/local/src/qt3/src/tools/qglobal.cpp:38:
/usr/local/src/qt3/mkspecs/cygwin-g++-win32/qplatformdefs.h:67:20:
resolv.h:
No such file or directory
make: *** [qglobal.o] Error 1
Ok, you need to install the minires-devel cygwin package. This is one
of the packages that I hoped not having forgotten...
I am going to update the wiki page. Thank you for helping in sorting
this out.
Enrico
That did the trick, Qt3 configured! You are doing all the hard work!
There is a Cygwin icon in the upper left-hand corner of the command
window. I left-click on it and it opens a drop-down menu. Then I
choose Edit->mark and drag the mouse cursor over all those lines of
./configure options. Then I choose Edit->copy and paste those
lines into Notepad and save the file. If on the off chance a configure
run should fail, at a later date one can copy line by line from Notepad
into the Cygwin command window, using Edit->paste to insert those
lines of configure options. It saves typing for those of us who don't
like typing. I figure some new users might not know this gadgetry.
Well, I might as well get on with this and deliver a report. The make
went a ways and then failed with this error message:
ream.o ./qbitarray.o ./qmap.o ./qgcache.o ./qtextcodec.o ./qutfcodec.o
./moc_yac
c.o ./qfile_unix.o ./qdir_unix.o
./qfileinfo_unix.o -lkernel32 -luser32 -lgd
i32 -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -limm32 -lwinmm
-l
wsock32 -lwinspool -lopengl32
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot
open
linker script file /usr/lib/qt3/mkspecs/cygwin-g++-win32/i386pe.x-no-rdata:
No
such file or directory
collect2: ld returned 1 exit status
make[2]: *** [../../bin/moc] Error 1
make[2]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3'
SH: Do you have the same version, 3.4.4?
Also I noticed that I don't have a path: /usr/lib/qt3 and I used the
default.
I wasn't sure what file to edit so I copied /cygwin/lib which contains a qt3
to be under /usr/lib/qt3/mkspecs though I don't have
cygwin-g++-win32/i386pe.x-no-rdata
What I have:
Directory of C:\Cygwin\lib\qt3\mkspecs\cygwin-g++
01/24/2006 10:21 AM <DIR> .
01/24/2006 10:21 AM <DIR> ..
08/11/2005 02:59 PM 2,194 qmake.conf
08/11/2005 02:59 PM 2,332 qplatformdefs.h
2 File(s) 4,526 bytes
But I do have a .../mkspecs/cygwin-g++-win32/i386pe.x.-no-rdat
C:\Cygwin\usr\local\src\qt3\mkspecs
That file etc. didn't get copied over to the /lib directory by the script.
So I made this .../i386pe.x.-no-rdat conform to the script, but no dice.
Copied what I found to where the script said it looked and couldn't find.
Next I notice
C:\Cygwin\usr\lib\gcc\i686-pc-cygwin\3.4.4\include\c++\i686-pc-cygwin
has no /bin and no ld. It just contains a directory called /bits
So I made that conform to the script (mkdir bin and copied /bin files).
Run /usr/bin/make confclean; set the Path and Qtdir again; run
link_includes;
run configure again with all options; edit all: # line; then /usr/bin/make;
Returned same error:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot
open
linker script file /usr/lib/qt3/mkspecs/cygwin-g++-win32/i386pe.x-no-rdata:
No
such file or directory
collect2: ld returned 1 exit status
make[2]: *** [../../bin/moc] Error 1
make[2]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/cygdrive/c/cygwin/usr/local/src/qt3'
Regards,
Stephen