----- Original Message -----
From: "Enrico Forestieri" <[EMAIL PROTECTED]>
To: <lyx-users@lists.lyx.org>
Sent: Thursday, February 23, 2006 7:52 PM
Subject: Re: LyX on Cygwin
Stephen Harris <[EMAIL PROTECTED]> writes:
Uh, oh... have you installed the cygwin Qt package by chance?
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.
Well, you should need to do no more and no less than what I put on
the wiki, otherwise it means that somenthing is going wrong...
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'
I cannot understand from where that prefix "/usr/lib/qt3" comes from.
If you have installed the official cygwin Qt packages, perhaps this is
a symptom of a sort of clashing.
--
Enrico
[EMAIL PROTECTED] /cygdrive/c/cygwin/usr/local/src/qt3
$ ./configure -platform cygwin-g++-win32 -v -release -static -qt-imgfmt-png
etc.
So no it is not dynamic, I use this copy and paste every time
which is free of typos. But, I do have Qt3-C++/-bin/-devel all installed.
I am not sure anymore what is default and what I chose. Seems to me
that I also installed some developer tools like bison and flex. So I will
uninstall these three Qt3s and see what happens. Nope, didn't work.
There was no /usr/lib/qt3 before I recently created it to accomodate
the script error report. I found it here:
$ sh link_includes
link_includes: line 6: cd: /usr/lib/qt3/include: No such file or directory
link_includes: line 20: cd: private: No such file or directory
ln: creating symbolic link `./q*_p.h' to `../../src/*/q*_p.h': No such file
or
directory
But the current link_includes, cd "$QTDIR/include"
Maybe my environment is screwed up, I'll try printenv(print environment).
QTDIR=/usr/lib/qt3
QMAKESPEC=/usr/lib/qt3/mkspecs/cygwin-g++
I changed that to (because that was the configure switch)
QMAKESPEC=/usr/local/src/qt3/mkspecs/cygwin-g++-win32
and QTDIR=/usr/local/src/qt3
I used tcsh for setenv QTDIR /usr/local/src/qt3 ?
I better check the tcsh Path entry, none, I just added that with bash.
The make completed with a few warnings.
---------------------------------------------------------------
2. libdir='/usr/local/qt3/src/lib'
to libdir='/usr/local/qt-cygwin/lib'
Does line 2. have a transposition? should be .../src/qt3
# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/src/qt3/lib'
I found the above ^^^^^^^ and changed it to below, keeping the full path.
# Directory that this library needs to be installed in:
libdir='/cygdrive/c/cygwin/usr/local/qt-cygwin/lib'
----------------------------------------------
Finished Qt3 and moving on to LyX
3. "Apply the following patch (fixes path_prefix handling):"
SH: Are the changes supposed to be applied as a manual edit?
Regards,
Stephen