----- Original Message ----- From: "Enrico Forestieri" <[EMAIL PROTECTED]>
To: <lyx-users@lists.lyx.org>
Sent: Friday, February 24, 2006 1:15 AM
Subject: Re: LyX on Cygwin


Stephen Harris <[EMAIL PROTECTED]> writes:


You need not uninstalling those packages, simply move out of the way
those two files by renaming them as

/etc/profile.d/qt3-devel.csh.no
/etc/profile.d/qt3-devel.sh.no


I can reinstall them and rename them. I was toying with the idea
of building a kde-cygwin desktop, maybe that is why I got them.

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.

You have to run "make confclean" and configure again as you have
/usr/lib/qt3 hardcoded in the Makefiles...
Also, make sure that you do not have those files above in /etc/profile.d


I did run make confclean and also -R for the patch. But I used
bash to set the environment.

There was no /usr/lib/qt3 before I recently created it to accomodate
the script error report. I found it here:

Please, don't do that, fix the QTDIR problem, instead.


Yes, I will clean that extra /lib directory up.

Maybe my environment is screwed up, I'll try printenv(print environment).

QTDIR=/usr/lib/qt3
QMAKESPEC=/usr/lib/qt3/mkspecs/cygwin-g++

As I said above...


Yes.


---------------------------------------------------------------

# 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'

I see that you use /cygdrive/c to access drive C:. If you issue the
following command (you need to do it only once as the results are
stored in a mount table):

mount -f C: /c

then you can write /c/path instead of /cygdrive/c/path to access the
windows C:\path. Also, you don't need to write
"/cygdrive/c/cygwin/usr/local/qt-cygwin/lib" but simply
"/usr/local/qt-cygwin/lib" because when a path starts with "/" it
refers to the cygwin root which is at /cygdrive/c/cygwin, in your case.


Good, I will change that. Also I will look into that rsvt display.

----------------------------------------------

Finished Qt3 and moving on to LyX

hurrah!


3. "Apply the following patch (fixes path_prefix handling):"
SH: Are the changes supposed to be applied as a manual edit?

Yes, it is a so simple patch after all. Simply add the lines marked
with a starting + . As you see in the patch, you should look around
line 95 in the file src/support/environment.C.


Yes, it was fairly easy with your hint. I put the epstopdf and
convert scripts in their own directoy at the beginning of PATH.
Shouldn't I do something else to connect them to epstopdf.exe
in Miktex\texmf and C:\ImageMagick\convert.exe ? I don't
have Tetex installed and I think not Cygwin's ImageMagick.
It seems too easy!

Looking forward for a working LyX/Cygwin ;-)

--
Enrico


Thanks for all your help and tremendous effort in figuring
out a working installation. I think it is miraculous that you
could figure out all those configure switches. Now when
somebody asks about Cygwin and LyX they can be pointed
to your Wiki page. I'm writing this as I wait for make to finish.

Thar she blows! I had to copy lyx(-qt).exe to c:\cygwin\bin
because it complained about missing cywin1.dll and cygz.dll

Regards,
Stephen



Reply via email to