Re: cannot confiogure lyx on WinXP

2006-05-13 Thread Gerhard Schaffer

Stephen Harris wrote:

Very well done! It has been a most excellent adventure.
I learned something about what dv2dt.exe and dt2dt.exe
do to earn their keep.

PS: Nevertheless I'll try the new_msys-1.0.dll too and
give you a feedback on that matter.

I have made an msys installation and copied the new-msys-1.0.dll to that 
installation and renamed it to mysy-1.0.dll.

Then I added the msys directory to the PATH and reconfigured LyX.
I had no more problems to run the script and the LyX installtion works 
fine without cygwin too.



You will need the msys sh.exe (sed.exe) too and
temporarily take Cygwin out of the path and put the
directory with the msys file into the path. I think
you may be right about the configuration only having
been partially completed because if you have ghostscript
and gsview installed, the installation should find
gsview as your postscript viewer (Cygwin has gv) and did
Tools-Tex Information populate with all the .cls files?
My LyX will many class files and if you click on
show path, next to latex classes, it will report
...\texmf if you used the default for Miktex.
Yes, I see there a long list of cls files all of them with the correct 
paths.



If your install of LyX doesn't display those .cls
files then getting msys to work becomes more important,
because it is possible the .cls files won't be available
for your LyX document. From my lyxrc

\path_prefix C:\msys\1.0\bin;C:\Python24;C:\texmf\miktex\bin;
C:\gs\gs8.51\bin;C:\ImageMagick
There is an interesting thing, all these Paths point to C: and not to 
the correct directories, nevertheless Acrobat and Yap are starteed 
witout problems. Why this ?




The place to edit Path prefix is under Tools-Preferences
-Paths  click on it with the mouse to select Paths
The Path prefix is to the right of this and should have
C:\texmf\miktex\bin; Only substitute your drive letter
P:? and your installation directory for texmf\miktex\bin
When you edit this, then Apply and Save become active,
and you should Save the change if you need to append
Miktex to your Path prefix statement. This works just as
well as adding to the Windows path statement. I mention
this in case your Tex Information doesn't populate and
display all your .cls files. Let me know.

Regards,
Stephen



All the things I mentioned above, I did with the admin account.
The first test as normal user leads to the next problems.
- I cannot start Acrobat - there is no corresponding entry in the 
properties. IMHO the entries in lyxrc.defaults shopuld be available for 
all users ?
- And even if I enter acrobat ther and set the paths as you explainde, 
Acrobat is still not started. But the export ist done correctly.


But - success, success - clicking the DVI icon opens yap showing the 
file formatted.

And I can list all the cls files with correct paths too.

I think there  is another problem, viewing the docu (formatted) as 
normal user, as lyx (or who ever) tries to save the intermediate file in 
Resouurce/docs where only admin has write access. 



--
Gerhard



Re: cannot confiogure lyx on WinXP

2006-05-13 Thread Paul A. Rubin

Gerhard Schaffer wrote:


\path_prefix C:\msys\1.0\bin;C:\Python24;C:\texmf\miktex\bin;
C:\gs\gs8.51\bin;C:\ImageMagick
There is an interesting thing, all these Paths point to C: and not to 
the correct directories, nevertheless Acrobat and Yap are starteed 
witout problems. Why this ?


The path prefix is appended (prepended?) to the system command path; so 
if the path prefix directories do not exist but the correct directories 
are on the system command path, the programs should be found.


I think there  is another problem, viewing the docu (formatted) as 
normal user, as lyx (or who ever) tries to save the intermediate file in 
Resouurce/docs where only admin has write access.


I think this is actually normal (if not necessarily desirable) behavior. 
 LyX will attempt to write exported files, converted graphics, 
emergency dumps and (unless an explicit backup directory is provided) 
backups to the same directory where the source document lives.  In this 
case, if the source document is one of the help files (stored in 
Resource/docs), LyX will try (and fail) to write any generated files 
(other than temporary files) there.


Now if you are talking about a document you created, rather than one of 
the help files, then this is something odd.


/Paul




Re: cannot confiogure lyx on WinXP

2006-05-13 Thread Stephen Harris

Gerhard Schaffer wrote:



PS: Nevertheless I'll try the new_msys-1.0.dll too and
give you a feedback on that matter.

I have made an msys installation and copied the new-msys-1.0.dll to that 
installation and renamed it to mysy-1.0.dll.

Then I added the msys directory to the PATH and reconfigured LyX.
I had no more problems to run the script and the LyX installtion works 
fine without cygwin too.




The error message reported was found at this url:
http://blog.gmane.org/gmane.comp.gnu.mingw.msys second post down
Re: Couldn't reserve space for cygwin's heap,Win32 error 6 [SOLVED]
http://prdownloads.sf.net/mingw/msys-1.0.dll-SNAP-1.0.11-2006.04.23.tar.bz2?download

The new-msys replacement file is available in that bz2 file,
which seems to have helped solve the problem.
Posted in case this error message reappears on the list.

Regards,
Stephen


Re: cannot confiogure lyx on WinXP

2006-05-13 Thread Gerhard Schaffer

Stephen Harris wrote:

Very well done! It has been a most excellent adventure.
I learned something about what dv2dt.exe and dt2dt.exe
do to earn their keep.

PS: Nevertheless I'll try the new_msys-1.0.dll too and
give you a feedback on that matter.

I have made an msys installation and copied the new-msys-1.0.dll to that 
installation and renamed it to mysy-1.0.dll.

Then I added the msys directory to the PATH and reconfigured LyX.
I had no more problems to run the script and the LyX installtion works 
fine without cygwin too.



You will need the msys sh.exe (sed.exe) too and
temporarily take Cygwin out of the path and put the
directory with the msys file into the path. I think
you may be right about the configuration only having
been partially completed because if you have ghostscript
and gsview installed, the installation should find
gsview as your postscript viewer (Cygwin has gv) and did
Tools-Tex Information populate with all the .cls files?
My LyX will many class files and if you click on
show path, next to latex classes, it will report
...\texmf if you used the default for Miktex.
Yes, I see there a long list of cls files all of them with the correct 
paths.



If your install of LyX doesn't display those .cls
files then getting msys to work becomes more important,
because it is possible the .cls files won't be available
for your LyX document. From my lyxrc

\path_prefix C:\msys\1.0\bin;C:\Python24;C:\texmf\miktex\bin;
C:\gs\gs8.51\bin;C:\ImageMagick
There is an interesting thing, all these Paths point to C: and not to 
the correct directories, nevertheless Acrobat and Yap are starteed 
witout problems. Why this ?




The place to edit Path prefix is under Tools-Preferences
-Paths  click on it with the mouse to select Paths
The Path prefix is to the right of this and should have
C:\texmf\miktex\bin; Only substitute your drive letter
P:? and your installation directory for texmf\miktex\bin
When you edit this, then Apply and Save become active,
and you should Save the change if you need to append
Miktex to your Path prefix statement. This works just as
well as adding to the Windows path statement. I mention
this in case your Tex Information doesn't populate and
display all your .cls files. Let me know.

Regards,
Stephen



All the things I mentioned above, I did with the admin account.
The first test as normal user leads to the next problems.
- I cannot start Acrobat - there is no corresponding entry in the 
properties. IMHO the entries in lyxrc.defaults shopuld be available for 
all users ?
- And even if I enter acrobat ther and set the paths as you explainde, 
Acrobat is still not started. But the export ist done correctly.


But - success, success - clicking the DVI icon opens yap showing the 
file formatted.

And I can list all the cls files with correct paths too.

I think there  is another problem, viewing the docu (formatted) as 
normal user, as lyx (or who ever) tries to save the intermediate file in 
Resouurce/docs where only admin has write access. 



--
Gerhard



Re: cannot confiogure lyx on WinXP

2006-05-13 Thread Paul A. Rubin

Gerhard Schaffer wrote:


\path_prefix C:\msys\1.0\bin;C:\Python24;C:\texmf\miktex\bin;
C:\gs\gs8.51\bin;C:\ImageMagick
There is an interesting thing, all these Paths point to C: and not to 
the correct directories, nevertheless Acrobat and Yap are starteed 
witout problems. Why this ?


The path prefix is appended (prepended?) to the system command path; so 
if the path prefix directories do not exist but the correct directories 
are on the system command path, the programs should be found.


I think there  is another problem, viewing the docu (formatted) as 
normal user, as lyx (or who ever) tries to save the intermediate file in 
Resouurce/docs where only admin has write access.


I think this is actually normal (if not necessarily desirable) behavior. 
 LyX will attempt to write exported files, converted graphics, 
emergency dumps and (unless an explicit backup directory is provided) 
backups to the same directory where the source document lives.  In this 
case, if the source document is one of the help files (stored in 
Resource/docs), LyX will try (and fail) to write any generated files 
(other than temporary files) there.


Now if you are talking about a document you created, rather than one of 
the help files, then this is something odd.


/Paul




Re: cannot confiogure lyx on WinXP

2006-05-13 Thread Stephen Harris

Gerhard Schaffer wrote:



PS: Nevertheless I'll try the new_msys-1.0.dll too and
give you a feedback on that matter.

I have made an msys installation and copied the new-msys-1.0.dll to that 
installation and renamed it to mysy-1.0.dll.

Then I added the msys directory to the PATH and reconfigured LyX.
I had no more problems to run the script and the LyX installtion works 
fine without cygwin too.




The error message reported was found at this url:
http://blog.gmane.org/gmane.comp.gnu.mingw.msys second post down
Re: Couldn't reserve space for cygwin's heap,Win32 error 6 [SOLVED]
http://prdownloads.sf.net/mingw/msys-1.0.dll-SNAP-1.0.11-2006.04.23.tar.bz2?download

The new-msys replacement file is available in that bz2 file,
which seems to have helped solve the problem.
Posted in case this error message reappears on the list.

Regards,
Stephen


Re: cannot confiogure lyx on WinXP

2006-05-13 Thread Gerhard Schaffer

Stephen Harris wrote:

Very well done! It has been a most excellent adventure.
I learned something about what dv2dt.exe and dt2dt.exe
do to earn their keep.

PS: Nevertheless I'll try the new_msys-1.0.dll too and
give you a feedback on that matter.

I have made an msys installation and copied the new-msys-1.0.dll to that 
installation and renamed it to mysy-1.0.dll.

Then I added the msys directory to the PATH and reconfigured LyX.
I had no more problems to run the script and the LyX installtion works 
fine without cygwin too.



You will need the msys sh.exe (sed.exe) too and
temporarily take Cygwin out of the path and put the
directory with the msys file into the path. I think
you may be right about the configuration only having
been partially completed because if you have ghostscript
and gsview installed, the installation should find
gsview as your postscript viewer (Cygwin has gv) and did
Tools->Tex Information populate with all the .cls files?
My LyX will many class files and if you click on
show path, next to latex classes, it will report
...\texmf if you used the default for Miktex.
Yes, I see there a long list of cls files all of them with the correct 
paths.



If your install of LyX doesn't display those .cls
files then getting msys to work becomes more important,
because it is possible the .cls files won't be available
for your LyX document. From my lyxrc

\path_prefix "C:\msys\1.0\bin;C:\Python24;C:\texmf\miktex\bin;
C:\gs\gs8.51\bin;C:\ImageMagick"
There is an interesting thing, all these Paths point to C: and not to 
the correct directories, nevertheless Acrobat and Yap are starteed 
witout problems. Why this ?




The place to edit Path prefix is under Tools->Preferences
->Paths  click on it with the mouse to select Paths
The Path prefix is to the right of this and should have
C:\texmf\miktex\bin; Only substitute your drive letter
P:? and your installation directory for texmf\miktex\bin
When you edit this, then Apply and Save become active,
and you should Save the change if you need to append
Miktex to your Path prefix statement. This works just as
well as adding to the Windows path statement. I mention
this in case your Tex Information doesn't populate and
display all your .cls files. Let me know.

Regards,
Stephen



All the things I mentioned above, I did with the admin account.
The first test as normal user leads to the next problems.
- I cannot start Acrobat - there is no corresponding entry in the 
properties. IMHO the entries in lyxrc.defaults shopuld be available for 
all users ?
- And even if I enter acrobat ther and set the paths as you explainde, 
Acrobat is still not started. But the export ist done correctly.


But - success, success - clicking the DVI icon opens yap showing the 
file formatted.

And I can list all the cls files with correct paths too.

I think there  is another problem, viewing the docu (formatted) as 
normal user, as lyx (or who ever) tries to save the intermediate file in 
Resouurce/docs where only admin has write access. 



--
Gerhard



Re: cannot confiogure lyx on WinXP

2006-05-13 Thread Paul A. Rubin

Gerhard Schaffer wrote:


\path_prefix "C:\msys\1.0\bin;C:\Python24;C:\texmf\miktex\bin;
C:\gs\gs8.51\bin;C:\ImageMagick"
There is an interesting thing, all these Paths point to C: and not to 
the correct directories, nevertheless Acrobat and Yap are starteed 
witout problems. Why this ?


The path prefix is appended (prepended?) to the system command path; so 
if the path prefix directories do not exist but the correct directories 
are on the system command path, the programs should be found.


I think there  is another problem, viewing the docu (formatted) as 
normal user, as lyx (or who ever) tries to save the intermediate file in 
Resouurce/docs where only admin has write access.


I think this is actually normal (if not necessarily desirable) behavior. 
 LyX will attempt to write exported files, converted graphics, 
emergency dumps and (unless an explicit backup directory is provided) 
backups to the same directory where the source document lives.  In this 
case, if the source document is one of the help files (stored in 
Resource/docs), LyX will try (and fail) to write any generated files 
(other than temporary files) there.


Now if you are talking about a document you created, rather than one of 
the help files, then this is something odd.


/Paul




Re: cannot confiogure lyx on WinXP

2006-05-13 Thread Stephen Harris

Gerhard Schaffer wrote:



PS: Nevertheless I'll try the new_msys-1.0.dll too and
give you a feedback on that matter.

I have made an msys installation and copied the new-msys-1.0.dll to that 
installation and renamed it to mysy-1.0.dll.

Then I added the msys directory to the PATH and reconfigured LyX.
I had no more problems to run the script and the LyX installtion works 
fine without cygwin too.




The error message reported was found at this url:
http://blog.gmane.org/gmane.comp.gnu.mingw.msys second post down
Re: Couldn't reserve space for cygwin's heap,Win32 error 6 [SOLVED]
http://prdownloads.sf.net/mingw/msys-1.0.dll-SNAP-1.0.11-2006.04.23.tar.bz2?download

The new-msys replacement file is available in that bz2 file,
which seems to have helped solve the problem.
Posted in case this error message reappears on the list.

Regards,
Stephen


Re: cannot confiogure lyx on WinXP

2006-05-12 Thread SCHAFFER Gerhard
Hi

To be able to configure lyx, I've installed cygwin now.
Then I deleted all the msys stuff from the lyx141\bin directory and added
cygwin/bin to the PATH
After this 'sh configure' worked fine I can start lyx now with a modified
lyx.bat (again, I added cygwin\bin to the PATH EnvVar)

Thus I'm able to work with lyx. At least I can edit lyx documents :-)))

But now I have a problem to export the document to dvi or pdf format and it
is not posible to get a dvi preview in yap.
Trying do to so, I get an error dialog (I think from python) concerning the
script directory :-(

--
Gerhard 


Re: cannot confiogure lyx on WinXP

2006-05-12 Thread Paul A. Rubin

SCHAFFER Gerhard wrote:


But now I have a problem to export the document to dvi or pdf format and it
is not posible to get a dvi preview in yap.
Trying do to so, I get an error dialog (I think from python) concerning the
script directory :-(


What is the error message?  Also, what happens if you try to 
View-DraftDVI (which should bypass the python script)?  DraftDVI should 
display the text (images will be missing).



/Paul



Re: cannot confiogure lyx on WinXP

2006-05-12 Thread SCHAFFER Gerhard
Hi

To be able to configure lyx, I've installed cygwin now.
Then I deleted all the msys stuff from the lyx141\bin directory and added
cygwin/bin to the PATH
After this 'sh configure' worked fine I can start lyx now with a modified
lyx.bat (again, I added cygwin\bin to the PATH EnvVar)

Thus I'm able to work with lyx. At least I can edit lyx documents :-)))

But now I have a problem to export the document to dvi or pdf format and it
is not posible to get a dvi preview in yap.
Trying do to so, I get an error dialog (I think from python) concerning the
script directory :-(

--
Gerhard 


Re: cannot confiogure lyx on WinXP

2006-05-12 Thread Paul A. Rubin

SCHAFFER Gerhard wrote:


But now I have a problem to export the document to dvi or pdf format and it
is not posible to get a dvi preview in yap.
Trying do to so, I get an error dialog (I think from python) concerning the
script directory :-(


What is the error message?  Also, what happens if you try to 
View-DraftDVI (which should bypass the python script)?  DraftDVI should 
display the text (images will be missing).



/Paul



Re: cannot confiogure lyx on WinXP

2006-05-12 Thread SCHAFFER Gerhard
Hi

To be able to configure lyx, I've installed cygwin now.
Then I deleted all the msys stuff from the lyx141\bin directory and added
cygwin/bin to the PATH
After this 'sh configure' worked fine I can start lyx now with a modified
lyx.bat (again, I added cygwin\bin to the PATH EnvVar)

Thus I'm able to work with lyx. At least I can edit lyx documents :-)))

But now I have a problem to export the document to dvi or pdf format and it
is not posible to get a dvi preview in yap.
Trying do to so, I get an error dialog (I think from python) concerning the
script directory :-(

--
Gerhard 


Re: cannot confiogure lyx on WinXP

2006-05-12 Thread Paul A. Rubin

SCHAFFER Gerhard wrote:


But now I have a problem to export the document to dvi or pdf format and it
is not posible to get a dvi preview in yap.
Trying do to so, I get an error dialog (I think from python) concerning the
script directory :-(


What is the error message?  Also, what happens if you try to 
View->DraftDVI (which should bypass the python script)?  DraftDVI should 
display the text (images will be missing).



/Paul



Re: cannot confiogure lyx on WinXP

2006-05-11 Thread Abdelrazak Younes

Gerhard Schaffer a écrit :
I just installed msys and started sh.exe in the msys\1.0\bin directory 
and it shows exactly the same error message:

P:\Utility\Latex\msys\1.0\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\Latex\msys\1.0\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


MSys is AFAIK a fork of cygwin so this is understandable. A small google 
on Couldn't reserve space for cygwin's heap gave me this:


http://kde-cygwin.sourceforge.net/faq/main.php#7

Do you have other Qt dlls on your system? Maybe together with this 
Acronis software you are using.


Abdel.



Re: cannot confiogure lyx on WinXP

2006-05-11 Thread Gerhard Schaffer

Stephen Harris wrote:

Gerhard Schaffer wrote:

Stephen Harris wrote:


You could put LyX in the Path. I don't think that is the
problem anymore. I was not talking about the Path envVar
when I wrote:

Do you have a CYGWIN environment variable such as CYGWIN=ntsec?
If so, remove it, then try again. Right-click on My Computer -
Properties - Advanced - Environment variables
check on user and system for an environment variable that
has cygwin in the specification. This can happen if someone
else has used the computer besides you.

There are several environmental variables besides the Path
displayed under Environmental variables. Do you see
Cygwin mentioned? How large is your msys-1.0.dll file?

  791,368 new-msys-1.0.dll ?
http://blog.gmane.org/gmane.comp.gnu.mingw.msys

The Msys directory is installed when you download and
install Msys. The Winlyxinstaller doesn't download
Msys, it includes the needed files. So you don't have
an Msys directory. When I wrote about the Msys directory
I wasn't sure at that time you didn't have that directory.



I checked my system and I did not find another sh.exe or sed.exe.
But I have found a cygwin1.dll, which was installed with Acronis (a 
disk imaging software). Renaming this file does not change the 
situation,when I start sh.exe.
There is no CYGWIN EnvVar on my system, neither in my enviroment nor 
in the system environment.

The msys-dll installed with lyx has the following details
16.03.2004  13:32   789.320 msys-1.0.dll

I just installed msys and started sh.exe in the msys\1.0\bin 
directory and it shows exactly the same error message:

P:\Utility\Latex\msys\1.0\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, 
State 0x1
P:\Utility\Latex\msys\1.0\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


In the msys-installation ths msys-dll shows the same details as the 
on in the lyx installation (as mentioned above).


When I examine the dependencies of sh.exe only msys-1.0.dll, 
kernel32.dll and user32.dll are shown.





Hmmm. Perhaps Paul's idea has some merit.

 P:\Utility\Latex\msys\1.0\bin\sh.exe:

I just installed msys and started sh.exe in the msys\1.0\bin

Is LyX installed on C: or P:
Is your hard drive normally labelled P:

If not is there a P: drive on your network
assuming you are on a network.

If you do have a P: drive on a network and
that is not the name of your hard drive label,
try disconnecting from the P: drive and
installing LyX.

I am still looking for the cause of the conflict.
I've seen errors like this because the developer,
Angus, for the WinLyx version, built the release
on his J: drive. Then people for some reason had
trouble installing LyX if they were connected to
a J: drive on a network, or had a USB device
named J:  The fix was to disconnect that J: drive
unitl after the LyX installation.

I'm hoping that your P: drive falls under the
solution to the J: drive problem. Lastly and
minorly, are both your machines 32 bit not 64 bit?

Regards,
Stephen




Drive P is my local program partition, it is not a network device.
But I' ve tried to install lyx, ... on drive C too - with the same problems.

I found the tip to remove a J drive - and did it, as I had a network 
drive J connected (only at my user account - no admin rights) and not at 
the admin's account under which I install lyx.


The Win2k machine has an AMD 64 bit processor but a 32 bit OS version.
The WinXP machine is a laptop with Pentium M technology (thus full 32 bit)

--
Gerhard



Re: cannot confiogure lyx on WinXP

2006-05-11 Thread Abdelrazak Younes

Gerhard Schaffer a écrit :
I just installed msys and started sh.exe in the msys\1.0\bin directory 
and it shows exactly the same error message:

P:\Utility\Latex\msys\1.0\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\Latex\msys\1.0\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


MSys is AFAIK a fork of cygwin so this is understandable. A small google 
on Couldn't reserve space for cygwin's heap gave me this:


http://kde-cygwin.sourceforge.net/faq/main.php#7

Do you have other Qt dlls on your system? Maybe together with this 
Acronis software you are using.


Abdel.



Re: cannot confiogure lyx on WinXP

2006-05-11 Thread Gerhard Schaffer

Stephen Harris wrote:

Gerhard Schaffer wrote:

Stephen Harris wrote:


You could put LyX in the Path. I don't think that is the
problem anymore. I was not talking about the Path envVar
when I wrote:

Do you have a CYGWIN environment variable such as CYGWIN=ntsec?
If so, remove it, then try again. Right-click on My Computer -
Properties - Advanced - Environment variables
check on user and system for an environment variable that
has cygwin in the specification. This can happen if someone
else has used the computer besides you.

There are several environmental variables besides the Path
displayed under Environmental variables. Do you see
Cygwin mentioned? How large is your msys-1.0.dll file?

  791,368 new-msys-1.0.dll ?
http://blog.gmane.org/gmane.comp.gnu.mingw.msys

The Msys directory is installed when you download and
install Msys. The Winlyxinstaller doesn't download
Msys, it includes the needed files. So you don't have
an Msys directory. When I wrote about the Msys directory
I wasn't sure at that time you didn't have that directory.



I checked my system and I did not find another sh.exe or sed.exe.
But I have found a cygwin1.dll, which was installed with Acronis (a 
disk imaging software). Renaming this file does not change the 
situation,when I start sh.exe.
There is no CYGWIN EnvVar on my system, neither in my enviroment nor 
in the system environment.

The msys-dll installed with lyx has the following details
16.03.2004  13:32   789.320 msys-1.0.dll

I just installed msys and started sh.exe in the msys\1.0\bin 
directory and it shows exactly the same error message:

P:\Utility\Latex\msys\1.0\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, 
State 0x1
P:\Utility\Latex\msys\1.0\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


In the msys-installation ths msys-dll shows the same details as the 
on in the lyx installation (as mentioned above).


When I examine the dependencies of sh.exe only msys-1.0.dll, 
kernel32.dll and user32.dll are shown.





Hmmm. Perhaps Paul's idea has some merit.

 P:\Utility\Latex\msys\1.0\bin\sh.exe:

I just installed msys and started sh.exe in the msys\1.0\bin

Is LyX installed on C: or P:
Is your hard drive normally labelled P:

If not is there a P: drive on your network
assuming you are on a network.

If you do have a P: drive on a network and
that is not the name of your hard drive label,
try disconnecting from the P: drive and
installing LyX.

I am still looking for the cause of the conflict.
I've seen errors like this because the developer,
Angus, for the WinLyx version, built the release
on his J: drive. Then people for some reason had
trouble installing LyX if they were connected to
a J: drive on a network, or had a USB device
named J:  The fix was to disconnect that J: drive
unitl after the LyX installation.

I'm hoping that your P: drive falls under the
solution to the J: drive problem. Lastly and
minorly, are both your machines 32 bit not 64 bit?

Regards,
Stephen




Drive P is my local program partition, it is not a network device.
But I' ve tried to install lyx, ... on drive C too - with the same problems.

I found the tip to remove a J drive - and did it, as I had a network 
drive J connected (only at my user account - no admin rights) and not at 
the admin's account under which I install lyx.


The Win2k machine has an AMD 64 bit processor but a 32 bit OS version.
The WinXP machine is a laptop with Pentium M technology (thus full 32 bit)

--
Gerhard



Re: cannot confiogure lyx on WinXP

2006-05-11 Thread Abdelrazak Younes

Gerhard Schaffer a écrit :
I just installed msys and started sh.exe in the msys\1.0\bin directory 
and it shows exactly the same error message:

P:\Utility\Latex\msys\1.0\bin>sh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\Latex\msys\1.0\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


MSys is AFAIK a fork of cygwin so this is understandable. A small google 
on "Couldn't reserve space for cygwin's heap" gave me this:


http://kde-cygwin.sourceforge.net/faq/main.php#7

Do you have other Qt dlls on your system? Maybe together with this 
Acronis software you are using.


Abdel.



Re: cannot confiogure lyx on WinXP

2006-05-11 Thread Gerhard Schaffer

Stephen Harris wrote:

Gerhard Schaffer wrote:

Stephen Harris wrote:


You could put LyX in the Path. I don't think that is the
problem anymore. I was not talking about the Path envVar
when I wrote:

Do you have a CYGWIN environment variable such as CYGWIN=ntsec?
If so, remove it, then try again. Right-click on My Computer ->
Properties -> Advanced -> Environment variables
check on user and system for an environment variable that
has cygwin in the specification. This can happen if someone
else has used the computer besides you.

There are several environmental variables besides the Path
displayed under Environmental variables. Do you see
Cygwin mentioned? How large is your msys-1.0.dll file?

  791,368 new-msys-1.0.dll ?
http://blog.gmane.org/gmane.comp.gnu.mingw.msys

The Msys directory is installed when you download and
install Msys. The Winlyxinstaller doesn't download
Msys, it includes the needed files. So you don't have
an Msys directory. When I wrote about the Msys directory
I wasn't sure at that time you didn't have that directory.



I checked my system and I did not find another sh.exe or sed.exe.
But I have found a cygwin1.dll, which was installed with Acronis (a 
disk imaging software). Renaming this file does not change the 
situation,when I start sh.exe.
There is no CYGWIN EnvVar on my system, neither in my enviroment nor 
in the system environment.

The msys-dll installed with lyx has the following details
16.03.2004  13:32   789.320 msys-1.0.dll

I just installed msys and started sh.exe in the msys\1.0\bin 
directory and it shows exactly the same error message:

P:\Utility\Latex\msys\1.0\bin>sh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, 
State 0x1
P:\Utility\Latex\msys\1.0\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


In the msys-installation ths msys-dll shows the same details as the 
on in the lyx installation (as mentioned above).


When I examine the dependencies of sh.exe only msys-1.0.dll, 
kernel32.dll and user32.dll are shown.





Hmmm. Perhaps Paul's idea has some merit.

 P:\Utility\Latex\msys\1.0\bin\sh.exe:

"I just installed msys and started sh.exe in the msys\1.0\bin"

Is LyX installed on C: or P:
Is your hard drive normally labelled P:

If not is there a P: drive on your network
assuming you are on a network.

If you do have a P: drive on a network and
that is not the name of your hard drive label,
try disconnecting from the P: drive and
installing LyX.

I am still looking for the cause of the conflict.
I've seen errors like this because the developer,
Angus, for the WinLyx version, built the release
on his J: drive. Then people for some reason had
trouble installing LyX if they were connected to
a J: drive on a network, or had a USB device
named J:  The fix was to disconnect that J: drive
unitl after the LyX installation.

I'm hoping that your P: drive falls under the
solution to the J: drive problem. Lastly and
minorly, are both your machines 32 bit not 64 bit?

Regards,
Stephen




Drive P is my local program partition, it is not a network device.
But I' ve tried to install lyx, ... on drive C too - with the same problems.

I found the tip to remove a J drive - and did it, as I had a network 
drive J connected (only at my user account - no admin rights) and not at 
the admin's account under which I install lyx.


The Win2k machine has an AMD 64 bit processor but a 32 bit OS version.
The WinXP machine is a laptop with Pentium M technology (thus "full" 32 bit)

--
Gerhard



Re: cannot confiogure lyx on WinXP

2006-05-10 Thread Björn Snippe

Good morning Lyx'ers :)

I'm just wondering why Gerhard's lyx141\bin directory contains a sh.exe, 
while on my WinXP-Installation the sh.exe is in the msys\1.0\bin folder. 
I did not use an all-in-one-installer (is there one for Lyx141-Win32 
already?), but rather installed the prerequisites step by step, 
including manually adding the msys\1.0\bin folder to my PATH in order 
for configure being able to run.
Could it be that everything, including msys, was installed into the 
lyx141 directory (which would leave the sh.exe in it's bin subfolder and 
probably cause some overwritten files or confusion with relative paths)?
On my system, for example, I used a common c:\lyx folder, containing 
separate subfolders for the prerequisites, e.g. \msys, \python, \lyx141, 
\gs etc.).


HTH,
Bjoern

Gerhard Schaffer wrote:

I do not understand where thze msys directory should be.
sh.exe is in my case located in ...\lyx141\bin.
There no path entry to this directory. But I cannot start sh from that 
directory.
There was only one entry made in the PATH EnvVar during installation 
pointing to miktex\bin
I checked my complete system disc and there is only the sh.exe in the 
lyx141\bin directory. There I found a dll called msys-1.0.dll too.


What other directories should be added to the PATH EnvVar ?



Re: cannot confiogure lyx on WinXP

2006-05-10 Thread Uwe Stöhr

Björn Snippe schrieb:

Good morning Lyx'ers :)

I'm just wondering why Gerhard's lyx141\bin directory contains a sh.exe, 
while on my WinXP-Installation the sh.exe is in the msys\1.0\bin folder. 
I did not use an all-in-one-installer


That's the reason.


(is there one for Lyx141-Win32 already?)


Yes it is, test it out:

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe


Re: cannot confiogure lyx on WinXP

2006-05-10 Thread Paul A. Rubin

Gerhard Schaffer wrote:



But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, 
State 0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6




I suspect your problem is related to the msys files being installed on 
drive P, although I'm not sure exactly what is missing or misconfigured. 
 On the Win2K machine where LyX worked, did you also install to a 
networked or attached drive, or did you install to C?


/Paul



Re: cannot confiogure lyx on WinXP

2006-05-10 Thread Gerhard Schaffer

Stephen Harris wrote:


You could put LyX in the Path. I don't think that is the
problem anymore. I was not talking about the Path envVar
when I wrote:

Do you have a CYGWIN environment variable such as CYGWIN=ntsec?
If so, remove it, then try again. Right-click on My Computer -
Properties - Advanced - Environment variables
check on user and system for an environment variable that
has cygwin in the specification. This can happen if someone
else has used the computer besides you.

There are several environmental variables besides the Path
displayed under Environmental variables. Do you see
Cygwin mentioned? How large is your msys-1.0.dll file?

  791,368 new-msys-1.0.dll ?
http://blog.gmane.org/gmane.comp.gnu.mingw.msys

The Msys directory is installed when you download and
install Msys. The Winlyxinstaller doesn't download
Msys, it includes the needed files. So you don't have
an Msys directory. When I wrote about the Msys directory
I wasn't sure at that time you didn't have that directory.



I checked my system and I did not find another sh.exe or sed.exe.
But I have found a cygwin1.dll, which was installed with Acronis (a disk 
imaging software). Renaming this file does not change the situation,when 
I start sh.exe.
There is no CYGWIN EnvVar on my system, neither in my enviroment nor in 
the system environment.

The msys-dll installed with lyx has the following details
16.03.2004  13:32   789.320 msys-1.0.dll

I just installed msys and started sh.exe in the msys\1.0\bin directory 
and it shows exactly the same error message:

P:\Utility\Latex\msys\1.0\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\Latex\msys\1.0\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


In the msys-installation ths msys-dll shows the same details as the on 
in the lyx installation (as mentioned above).


When I examine the dependencies of sh.exe only msys-1.0.dll, 
kernel32.dll and user32.dll are shown.


--
Gerhard


Re: cannot confiogure lyx on WinXP

2006-05-10 Thread Björn Snippe

Good morning Lyx'ers :)

I'm just wondering why Gerhard's lyx141\bin directory contains a sh.exe, 
while on my WinXP-Installation the sh.exe is in the msys\1.0\bin folder. 
I did not use an all-in-one-installer (is there one for Lyx141-Win32 
already?), but rather installed the prerequisites step by step, 
including manually adding the msys\1.0\bin folder to my PATH in order 
for configure being able to run.
Could it be that everything, including msys, was installed into the 
lyx141 directory (which would leave the sh.exe in it's bin subfolder and 
probably cause some overwritten files or confusion with relative paths)?
On my system, for example, I used a common c:\lyx folder, containing 
separate subfolders for the prerequisites, e.g. \msys, \python, \lyx141, 
\gs etc.).


HTH,
Bjoern

Gerhard Schaffer wrote:

I do not understand where thze msys directory should be.
sh.exe is in my case located in ...\lyx141\bin.
There no path entry to this directory. But I cannot start sh from that 
directory.
There was only one entry made in the PATH EnvVar during installation 
pointing to miktex\bin
I checked my complete system disc and there is only the sh.exe in the 
lyx141\bin directory. There I found a dll called msys-1.0.dll too.


What other directories should be added to the PATH EnvVar ?



Re: cannot confiogure lyx on WinXP

2006-05-10 Thread Uwe Stöhr

Björn Snippe schrieb:

Good morning Lyx'ers :)

I'm just wondering why Gerhard's lyx141\bin directory contains a sh.exe, 
while on my WinXP-Installation the sh.exe is in the msys\1.0\bin folder. 
I did not use an all-in-one-installer


That's the reason.


(is there one for Lyx141-Win32 already?)


Yes it is, test it out:

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe


Re: cannot confiogure lyx on WinXP

2006-05-10 Thread Paul A. Rubin

Gerhard Schaffer wrote:



But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, 
State 0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6




I suspect your problem is related to the msys files being installed on 
drive P, although I'm not sure exactly what is missing or misconfigured. 
 On the Win2K machine where LyX worked, did you also install to a 
networked or attached drive, or did you install to C?


/Paul



Re: cannot confiogure lyx on WinXP

2006-05-10 Thread Gerhard Schaffer

Stephen Harris wrote:


You could put LyX in the Path. I don't think that is the
problem anymore. I was not talking about the Path envVar
when I wrote:

Do you have a CYGWIN environment variable such as CYGWIN=ntsec?
If so, remove it, then try again. Right-click on My Computer -
Properties - Advanced - Environment variables
check on user and system for an environment variable that
has cygwin in the specification. This can happen if someone
else has used the computer besides you.

There are several environmental variables besides the Path
displayed under Environmental variables. Do you see
Cygwin mentioned? How large is your msys-1.0.dll file?

  791,368 new-msys-1.0.dll ?
http://blog.gmane.org/gmane.comp.gnu.mingw.msys

The Msys directory is installed when you download and
install Msys. The Winlyxinstaller doesn't download
Msys, it includes the needed files. So you don't have
an Msys directory. When I wrote about the Msys directory
I wasn't sure at that time you didn't have that directory.



I checked my system and I did not find another sh.exe or sed.exe.
But I have found a cygwin1.dll, which was installed with Acronis (a disk 
imaging software). Renaming this file does not change the situation,when 
I start sh.exe.
There is no CYGWIN EnvVar on my system, neither in my enviroment nor in 
the system environment.

The msys-dll installed with lyx has the following details
16.03.2004  13:32   789.320 msys-1.0.dll

I just installed msys and started sh.exe in the msys\1.0\bin directory 
and it shows exactly the same error message:

P:\Utility\Latex\msys\1.0\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\Latex\msys\1.0\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


In the msys-installation ths msys-dll shows the same details as the on 
in the lyx installation (as mentioned above).


When I examine the dependencies of sh.exe only msys-1.0.dll, 
kernel32.dll and user32.dll are shown.


--
Gerhard


Re: cannot confiogure lyx on WinXP

2006-05-10 Thread Björn Snippe

Good morning Lyx'ers :)

I'm just wondering why Gerhard's lyx141\bin directory contains a sh.exe, 
while on my WinXP-Installation the sh.exe is in the msys\1.0\bin folder. 
I did not use an all-in-one-installer (is there one for Lyx141-Win32 
already?), but rather installed the prerequisites step by step, 
including manually adding the msys\1.0\bin folder to my PATH in order 
for configure being able to run.
Could it be that everything, including msys, was installed into the 
lyx141 directory (which would leave the sh.exe in it's bin subfolder and 
probably cause some overwritten files or confusion with relative paths)?
On my system, for example, I used a common c:\lyx folder, containing 
separate subfolders for the prerequisites, e.g. \msys, \python, \lyx141, 
\gs etc.).


HTH,
Bjoern

Gerhard Schaffer wrote:

I do not understand where thze msys directory should be.
sh.exe is in my case located in ...\lyx141\bin.
There no path entry to this directory. But I cannot start sh from that 
directory.
There was only one entry made in the PATH EnvVar during installation 
pointing to miktex\bin
I checked my complete system disc and there is only the sh.exe in the 
lyx141\bin directory. There I found a dll called msys-1.0.dll too.


What other directories should be added to the PATH EnvVar ?



Re: cannot confiogure lyx on WinXP

2006-05-10 Thread Uwe Stöhr

Björn Snippe schrieb:

Good morning Lyx'ers :)

I'm just wondering why Gerhard's lyx141\bin directory contains a sh.exe, 
while on my WinXP-Installation the sh.exe is in the msys\1.0\bin folder. 
I did not use an all-in-one-installer


That's the reason.


(is there one for Lyx141-Win32 already?)


Yes it is, test it out:

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe


Re: cannot confiogure lyx on WinXP

2006-05-10 Thread Paul A. Rubin

Gerhard Schaffer wrote:



But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\bin>sh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, 
State 0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6




I suspect your problem is related to the msys files being installed on 
drive P, although I'm not sure exactly what is missing or misconfigured. 
 On the Win2K machine where LyX worked, did you also install to a 
networked or attached drive, or did you install to C?


/Paul



Re: cannot confiogure lyx on WinXP

2006-05-10 Thread Gerhard Schaffer

Stephen Harris wrote:


You could put LyX in the Path. I don't think that is the
problem anymore. I was not talking about the Path envVar
when I wrote:

Do you have a CYGWIN environment variable such as CYGWIN=ntsec?
If so, remove it, then try again. Right-click on My Computer ->
Properties -> Advanced -> Environment variables
check on user and system for an environment variable that
has cygwin in the specification. This can happen if someone
else has used the computer besides you.

There are several environmental variables besides the Path
displayed under Environmental variables. Do you see
Cygwin mentioned? How large is your msys-1.0.dll file?

  791,368 new-msys-1.0.dll ?
http://blog.gmane.org/gmane.comp.gnu.mingw.msys

The Msys directory is installed when you download and
install Msys. The Winlyxinstaller doesn't download
Msys, it includes the needed files. So you don't have
an Msys directory. When I wrote about the Msys directory
I wasn't sure at that time you didn't have that directory.



I checked my system and I did not find another sh.exe or sed.exe.
But I have found a cygwin1.dll, which was installed with Acronis (a disk 
imaging software). Renaming this file does not change the situation,when 
I start sh.exe.
There is no CYGWIN EnvVar on my system, neither in my enviroment nor in 
the system environment.

The msys-dll installed with lyx has the following details
16.03.2004  13:32   789.320 msys-1.0.dll

I just installed msys and started sh.exe in the msys\1.0\bin directory 
and it shows exactly the same error message:

P:\Utility\Latex\msys\1.0\bin>sh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\Latex\msys\1.0\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


In the msys-installation ths msys-dll shows the same details as the on 
in the lyx installation (as mentioned above).


When I examine the dependencies of sh.exe only msys-1.0.dll, 
kernel32.dll and user32.dll are shown.


--
Gerhard


Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Uwe Stöhr

Enrico Forestieri writes:


I am sorry, but this is simply FUD. If he cannot even start sh, there
is a problem with his cygwin installation.


But you don't need cygwin. If cygwin was only installed to use it for 
LyX I recommend to deinstall it to avoid problems like this.


regards Uwe


Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Enrico Forestieri
Uwe Stöhr [EMAIL PROTECTED] writes:

 
 Enrico Forestieri writes:
 
  I am sorry, but this is simply FUD. If he cannot even start sh, there
  is a problem with his cygwin installation.
 
 But you don't need cygwin. If cygwin was only installed to use it for 
 LyX I recommend to deinstall it to avoid problems like this.

Nonsense. Cygwin is even not proposed by the installer, so I think that
he simply has it already installed and don't want to install additional
software as cygwin already provides everything needed by LyX.

It is true that the current native LyX version doesn't support cygwin,
so I pointed out a cygwin version of LyX.

-- 
Enrico




Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Gerhard Schaffer

Uwe Stöhr wrote:

Gerhard Schaffer schrieb:


But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, 
State 0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


that means that you've installed cygwin and that the cygwin version of 
the sh.exe interfers with the one delivered with the installer.


You don't need cygwin for LyX. If possible deinstall it, deinstall 
also LyX completely after that, reboot and then reinstall LyX.


This should fix your problem.

regards Uwe




No I do not have an installation of cygwin on that machine

I did some more test:
- even if I remove %PATH%  and start sh from the lyx141\bin directory I 
get the same error message
- I tried an installation on a Win2K machine and it works without any 
problem
- I copied all the exe and dll files from that installation to the first 
machine but there I get still the same error message and I cannot start sh


--
Gerhard



Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Stephen Harris

Gerhard Schaffer wrote:

Uwe Stöhr wrote:

Gerhard Schaffer schrieb:


But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, 
State 0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


that means that you've installed cygwin and that the cygwin version of 
the sh.exe interfers with the one delivered with the installer.


You don't need cygwin for LyX. If possible deinstall it, deinstall 
also LyX completely after that, reboot and then reinstall LyX.


This should fix your problem.

regards Uwe




No I do not have an installation of cygwin on that machine

I did some more test:
- even if I remove %PATH%  and start sh from the lyx141\bin directory I 
get the same error message
- I tried an installation on a Win2K machine and it works without any 
problem
- I copied all the exe and dll files from that installation to the first 
machine but there I get still the same error message and I cannot start sh




At some point it seems likely that you had some Cygwin files
installed on that system. Sometimes the error messages that
Windows provides are obscure like, no Win16 subsystem found.

But the error message is too specific for Cygwin to be
uninvolved. Do a search and see if you have more than one
file named sh.exe on the computer; search for a cygwin1.dll

Do you have a CYGWIN environment variable such as CYGWIN=ntsec?
If so, remove it, then try again. Right-click on My Computer -
Properties - Advanced - Environment variables
check on user and system for an environment variable that
has cygwin in the specification. This can happen if someone
else has used the computer besides you.

Regards,
Stephen



Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Gerhard Schaffer

That means you probably dont have Msys in your Windows PATH,
or you have Cygwin in your PATH, which has a different version
of sh.exe, before Msys. This advice is about if you have used
the installer where you download the needed helper programs.

OTOH, the LyXWinInstaller provides the Msys version of sh.exe
So if you used that version, temporarily remove Cygwin from
your path.

Suppose that you have Msys etc installed in C:\Msys\1.0\bin
and bin is where sh.exe is located. Then you should try
 [using the dos cmd prompt]

you would be in your ~lyx\resources\lyx directory which contains
the configure file, and type in C:\Msys\1.0\bin\sh.exe configure 
enter from you resources directory which contains configure


(but no quotes when you type it) from the lyx\resources\lyx directory.
For LyX 1.3.7, \lyx\resources\ contains the configure file for 1.4.1

For me this looks like:
C:\Lyx\resources\lyx C:\msys\1.0\bin\sh.exe configure enter

But you want to substitute your actual installation location,
maybe c:\program files\lyx\resources\lyx, in place of my location,
or in 1.4.1 ~\lyx\resources (A lyx sub-directory is no longer used.)

I will summarize: Temporarily take Cygwin out of the Windows PATH.
 From the directory which contains your configure file, type
the full path to the sh.exe file configure then enter for example

type from C:\Lyx\resources C:\msys\1.0\bin\sh.exe configure enter
for LyX1.4.1

Use the directories and paths for your system, which will
likely not be exactly the same as mine. You want to avoid
using Cygwin unless you are doing a WinCygLyx installation.



I do not understand where thze msys directory should be.
sh.exe is in my case located in ...\lyx141\bin.
There no path entry to this directory. But I cannot start sh from that 
directory.
There was only one entry made in the PATH EnvVar during installation 
pointing to miktex\bin
I checked my complete system disc and there is only the sh.exe in the 
lyx141\bin directory. There I found a dll called msys-1.0.dll too.


What other directories should be added to the PATH EnvVar ?

--
Gerhard


Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Uwe Stöhr

Enrico Forestieri writes:


I am sorry, but this is simply FUD. If he cannot even start sh, there
is a problem with his cygwin installation.


But you don't need cygwin. If cygwin was only installed to use it for 
LyX I recommend to deinstall it to avoid problems like this.


regards Uwe


Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Enrico Forestieri
Uwe Stöhr [EMAIL PROTECTED] writes:

 
 Enrico Forestieri writes:
 
  I am sorry, but this is simply FUD. If he cannot even start sh, there
  is a problem with his cygwin installation.
 
 But you don't need cygwin. If cygwin was only installed to use it for 
 LyX I recommend to deinstall it to avoid problems like this.

Nonsense. Cygwin is even not proposed by the installer, so I think that
he simply has it already installed and don't want to install additional
software as cygwin already provides everything needed by LyX.

It is true that the current native LyX version doesn't support cygwin,
so I pointed out a cygwin version of LyX.

-- 
Enrico




Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Gerhard Schaffer

Uwe Stöhr wrote:

Gerhard Schaffer schrieb:


But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, 
State 0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


that means that you've installed cygwin and that the cygwin version of 
the sh.exe interfers with the one delivered with the installer.


You don't need cygwin for LyX. If possible deinstall it, deinstall 
also LyX completely after that, reboot and then reinstall LyX.


This should fix your problem.

regards Uwe




No I do not have an installation of cygwin on that machine

I did some more test:
- even if I remove %PATH%  and start sh from the lyx141\bin directory I 
get the same error message
- I tried an installation on a Win2K machine and it works without any 
problem
- I copied all the exe and dll files from that installation to the first 
machine but there I get still the same error message and I cannot start sh


--
Gerhard



Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Stephen Harris

Gerhard Schaffer wrote:

Uwe Stöhr wrote:

Gerhard Schaffer schrieb:


But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, 
State 0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


that means that you've installed cygwin and that the cygwin version of 
the sh.exe interfers with the one delivered with the installer.


You don't need cygwin for LyX. If possible deinstall it, deinstall 
also LyX completely after that, reboot and then reinstall LyX.


This should fix your problem.

regards Uwe




No I do not have an installation of cygwin on that machine

I did some more test:
- even if I remove %PATH%  and start sh from the lyx141\bin directory I 
get the same error message
- I tried an installation on a Win2K machine and it works without any 
problem
- I copied all the exe and dll files from that installation to the first 
machine but there I get still the same error message and I cannot start sh




At some point it seems likely that you had some Cygwin files
installed on that system. Sometimes the error messages that
Windows provides are obscure like, no Win16 subsystem found.

But the error message is too specific for Cygwin to be
uninvolved. Do a search and see if you have more than one
file named sh.exe on the computer; search for a cygwin1.dll

Do you have a CYGWIN environment variable such as CYGWIN=ntsec?
If so, remove it, then try again. Right-click on My Computer -
Properties - Advanced - Environment variables
check on user and system for an environment variable that
has cygwin in the specification. This can happen if someone
else has used the computer besides you.

Regards,
Stephen



Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Gerhard Schaffer

That means you probably dont have Msys in your Windows PATH,
or you have Cygwin in your PATH, which has a different version
of sh.exe, before Msys. This advice is about if you have used
the installer where you download the needed helper programs.

OTOH, the LyXWinInstaller provides the Msys version of sh.exe
So if you used that version, temporarily remove Cygwin from
your path.

Suppose that you have Msys etc installed in C:\Msys\1.0\bin
and bin is where sh.exe is located. Then you should try
 [using the dos cmd prompt]

you would be in your ~lyx\resources\lyx directory which contains
the configure file, and type in C:\Msys\1.0\bin\sh.exe configure 
enter from you resources directory which contains configure


(but no quotes when you type it) from the lyx\resources\lyx directory.
For LyX 1.3.7, \lyx\resources\ contains the configure file for 1.4.1

For me this looks like:
C:\Lyx\resources\lyx C:\msys\1.0\bin\sh.exe configure enter

But you want to substitute your actual installation location,
maybe c:\program files\lyx\resources\lyx, in place of my location,
or in 1.4.1 ~\lyx\resources (A lyx sub-directory is no longer used.)

I will summarize: Temporarily take Cygwin out of the Windows PATH.
 From the directory which contains your configure file, type
the full path to the sh.exe file configure then enter for example

type from C:\Lyx\resources C:\msys\1.0\bin\sh.exe configure enter
for LyX1.4.1

Use the directories and paths for your system, which will
likely not be exactly the same as mine. You want to avoid
using Cygwin unless you are doing a WinCygLyx installation.



I do not understand where thze msys directory should be.
sh.exe is in my case located in ...\lyx141\bin.
There no path entry to this directory. But I cannot start sh from that 
directory.
There was only one entry made in the PATH EnvVar during installation 
pointing to miktex\bin
I checked my complete system disc and there is only the sh.exe in the 
lyx141\bin directory. There I found a dll called msys-1.0.dll too.


What other directories should be added to the PATH EnvVar ?

--
Gerhard


Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Uwe Stöhr

Enrico Forestieri writes:


I am sorry, but this is simply FUD. If he cannot even start sh, there
is a problem with his cygwin installation.


But you don't need cygwin. If cygwin was only installed to use it for 
LyX I recommend to deinstall it to avoid problems like this.


regards Uwe


Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Enrico Forestieri
Uwe Stöhr <[EMAIL PROTECTED]> writes:

> 
> Enrico Forestieri writes:
> 
> > I am sorry, but this is simply FUD. If he cannot even start sh, there
> > is a problem with his cygwin installation.
> 
> But you don't need cygwin. If cygwin was only installed to use it for 
> LyX I recommend to deinstall it to avoid problems like this.

Nonsense. Cygwin is even not proposed by the installer, so I think that
he simply has it already installed and don't want to install additional
software as cygwin already provides everything needed by LyX.

It is true that the current native LyX version doesn't support cygwin,
so I pointed out a cygwin version of LyX.

-- 
Enrico




Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Gerhard Schaffer

Uwe Stöhr wrote:

Gerhard Schaffer schrieb:


But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\bin>sh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, 
State 0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


that means that you've installed cygwin and that the cygwin version of 
the sh.exe interfers with the one delivered with the installer.


You don't need cygwin for LyX. If possible deinstall it, deinstall 
also LyX completely after that, reboot and then reinstall LyX.


This should fix your problem.

regards Uwe




No I do not have an installation of cygwin on that machine

I did some more test:
- even if I remove %PATH%  and start sh from the lyx141\bin directory I 
get the same error message
- I tried an installation on a Win2K machine and it works without any 
problem
- I copied all the exe and dll files from that installation to the first 
machine but there I get still the same error message and I cannot start sh


--
Gerhard



Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Stephen Harris

Gerhard Schaffer wrote:

Uwe Stöhr wrote:

Gerhard Schaffer schrieb:


But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\bin>sh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, 
State 0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


that means that you've installed cygwin and that the cygwin version of 
the sh.exe interfers with the one delivered with the installer.


You don't need cygwin for LyX. If possible deinstall it, deinstall 
also LyX completely after that, reboot and then reinstall LyX.


This should fix your problem.

regards Uwe




No I do not have an installation of cygwin on that machine

I did some more test:
- even if I remove %PATH%  and start sh from the lyx141\bin directory I 
get the same error message
- I tried an installation on a Win2K machine and it works without any 
problem
- I copied all the exe and dll files from that installation to the first 
machine but there I get still the same error message and I cannot start sh




At some point it seems likely that you had some Cygwin files
installed on that system. Sometimes the error messages that
Windows provides are obscure like, no Win16 subsystem found.

But the error message is too specific for Cygwin to be
uninvolved. Do a search and see if you have more than one
file named sh.exe on the computer; search for a cygwin1.dll

Do you have a CYGWIN environment variable such as CYGWIN=ntsec?
If so, remove it, then try again. Right-click on My Computer ->
Properties -> Advanced -> Environment variables
check on user and system for an environment variable that
has cygwin in the specification. This can happen if someone
else has used the computer besides you.

Regards,
Stephen



Re: cannot confiogure lyx on WinXP

2006-05-09 Thread Gerhard Schaffer

That means you probably dont have Msys in your Windows PATH,
or you have Cygwin in your PATH, which has a different version
of sh.exe, before Msys. This advice is about if you have used
the installer where you download the needed helper programs.

OTOH, the LyXWinInstaller provides the Msys version of sh.exe
So if you used that version, temporarily remove Cygwin from
your path.

Suppose that you have Msys etc installed in C:\Msys\1.0\bin
and bin is where sh.exe is located. Then you should try
 [using the dos cmd prompt]

you would be in your ~lyx\resources\lyx directory which contains
the configure file, and type in "C:\Msys\1.0\bin\sh.exe configure" 
 from you resources directory which contains configure


(but no quotes when you type it) from the lyx\resources\lyx directory.
For LyX 1.3.7, \lyx\resources\ contains the configure file for 1.4.1

For "me" this looks like:
C:>\Lyx\resources\lyx> C:\msys\1.0\bin\sh.exe configure 

But you want to substitute your actual installation location,
maybe c:\program files\lyx\resources\lyx, in place of "my" location,
or in 1.4.1 ~\lyx\resources (A lyx sub-directory is no longer used.)

I will summarize: Temporarily take Cygwin out of the Windows PATH.
 From the directory which contains your configure file, type
the full path to the sh.exe file configure then  for example

type from C:>\Lyx\resources C:\msys\1.0\bin\sh.exe configure 
for LyX1.4.1

Use the directories and paths for your system, which will
likely not be exactly the same as mine. You want to avoid
using Cygwin unless you are doing a WinCygLyx installation.



I do not understand where thze msys directory should be.
sh.exe is in my case located in ...\lyx141\bin.
There no path entry to this directory. But I cannot start sh from that 
directory.
There was only one entry made in the PATH EnvVar during installation 
pointing to miktex\bin
I checked my complete system disc and there is only the sh.exe in the 
lyx141\bin directory. There I found a dll called msys-1.0.dll too.


What other directories should be added to the PATH EnvVar ?

--
Gerhard


Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Uwe Stöhr

Gerhard Schaffer schrieb:


But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


that means that you've installed cygwin and that the cygwin version of 
the sh.exe interfers with the one delivered with the installer.


You don't need cygwin for LyX. If possible deinstall it, deinstall also 
LyX completely after that, reboot and then reinstall LyX.


This should fix your problem.

regards Uwe


Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Stephen Harris

Gerhard Schaffer wrote:
I try to install Lyx 1.4.1 (Setup 2.1 complete) on a WinXP system, but 
Lyx is not configured during the installation.
As described at the homepage I tried to configure Lyx by entering the 
command 'sh configure'.

But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


What can I do to be able to configure Lyx anyway ?




That means you probably dont have Msys in your Windows PATH,
or you have Cygwin in your PATH, which has a different version
of sh.exe, before Msys. This advice is about if you have used
the installer where you download the needed helper programs.

OTOH, the LyXWinInstaller provides the Msys version of sh.exe
So if you used that version, temporarily remove Cygwin from
your path.

Suppose that you have Msys etc installed in C:\Msys\1.0\bin
and bin is where sh.exe is located. Then you should try
 [using the dos cmd prompt]

you would be in your ~lyx\resources\lyx directory which contains
the configure file, and type in C:\Msys\1.0\bin\sh.exe configure 
enter from you resources directory which contains configure


(but no quotes when you type it) from the lyx\resources\lyx directory.
For LyX 1.3.7, \lyx\resources\ contains the configure file for 1.4.1

For me this looks like:
C:\Lyx\resources\lyx C:\msys\1.0\bin\sh.exe configure enter

But you want to substitute your actual installation location,
maybe c:\program files\lyx\resources\lyx, in place of my location,
or in 1.4.1 ~\lyx\resources (A lyx sub-directory is no longer used.)

I will summarize: Temporarily take Cygwin out of the Windows PATH.
From the directory which contains your configure file, type
the full path to the sh.exe file configure then enter for example

type from C:\Lyx\resources C:\msys\1.0\bin\sh.exe configure enter
for LyX1.4.1

Use the directories and paths for your system, which will
likely not be exactly the same as mine. You want to avoid
using Cygwin unless you are doing a WinCygLyx installation.





Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Enrico Forestieri
Uwe Stöhr [EMAIL PROTECTED] writes:
 
 Gerhard Schaffer schrieb:
 
  But the problem is, that I cannot start sh and get an error message
  
  P:\Utility\LaTex\LyX141\binsh
  AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
  0x1
  P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
  cygwin's heap, Win32 error 6
 
 that means that you've installed cygwin and that the cygwin version of 
 the sh.exe interfers with the one delivered with the installer.
 
 You don't need cygwin for LyX. If possible deinstall it, deinstall also 
 LyX completely after that, reboot and then reinstall LyX.
 
 This should fix your problem.

I am sorry, but this is simply FUD. If he cannot even start sh, there
is a problem with his cygwin installation.

To the OP: please check your cygwin installation and when everything
is working you may want to try this cygwin version of LyX:
ftp://ftp.lyx.org/pub/lyx/bin/1.4.1/lyx-1.4.1-cygwin.tar.gz

-- 
Enrico




Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Uwe Stöhr

Gerhard Schaffer schrieb:


But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


that means that you've installed cygwin and that the cygwin version of 
the sh.exe interfers with the one delivered with the installer.


You don't need cygwin for LyX. If possible deinstall it, deinstall also 
LyX completely after that, reboot and then reinstall LyX.


This should fix your problem.

regards Uwe


Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Stephen Harris

Gerhard Schaffer wrote:
I try to install Lyx 1.4.1 (Setup 2.1 complete) on a WinXP system, but 
Lyx is not configured during the installation.
As described at the homepage I tried to configure Lyx by entering the 
command 'sh configure'.

But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


What can I do to be able to configure Lyx anyway ?




That means you probably dont have Msys in your Windows PATH,
or you have Cygwin in your PATH, which has a different version
of sh.exe, before Msys. This advice is about if you have used
the installer where you download the needed helper programs.

OTOH, the LyXWinInstaller provides the Msys version of sh.exe
So if you used that version, temporarily remove Cygwin from
your path.

Suppose that you have Msys etc installed in C:\Msys\1.0\bin
and bin is where sh.exe is located. Then you should try
 [using the dos cmd prompt]

you would be in your ~lyx\resources\lyx directory which contains
the configure file, and type in C:\Msys\1.0\bin\sh.exe configure 
enter from you resources directory which contains configure


(but no quotes when you type it) from the lyx\resources\lyx directory.
For LyX 1.3.7, \lyx\resources\ contains the configure file for 1.4.1

For me this looks like:
C:\Lyx\resources\lyx C:\msys\1.0\bin\sh.exe configure enter

But you want to substitute your actual installation location,
maybe c:\program files\lyx\resources\lyx, in place of my location,
or in 1.4.1 ~\lyx\resources (A lyx sub-directory is no longer used.)

I will summarize: Temporarily take Cygwin out of the Windows PATH.
From the directory which contains your configure file, type
the full path to the sh.exe file configure then enter for example

type from C:\Lyx\resources C:\msys\1.0\bin\sh.exe configure enter
for LyX1.4.1

Use the directories and paths for your system, which will
likely not be exactly the same as mine. You want to avoid
using Cygwin unless you are doing a WinCygLyx installation.





Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Enrico Forestieri
Uwe Stöhr [EMAIL PROTECTED] writes:
 
 Gerhard Schaffer schrieb:
 
  But the problem is, that I cannot start sh and get an error message
  
  P:\Utility\LaTex\LyX141\binsh
  AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
  0x1
  P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
  cygwin's heap, Win32 error 6
 
 that means that you've installed cygwin and that the cygwin version of 
 the sh.exe interfers with the one delivered with the installer.
 
 You don't need cygwin for LyX. If possible deinstall it, deinstall also 
 LyX completely after that, reboot and then reinstall LyX.
 
 This should fix your problem.

I am sorry, but this is simply FUD. If he cannot even start sh, there
is a problem with his cygwin installation.

To the OP: please check your cygwin installation and when everything
is working you may want to try this cygwin version of LyX:
ftp://ftp.lyx.org/pub/lyx/bin/1.4.1/lyx-1.4.1-cygwin.tar.gz

-- 
Enrico




Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Uwe Stöhr

Gerhard Schaffer schrieb:


But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\bin>sh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


that means that you've installed cygwin and that the cygwin version of 
the sh.exe interfers with the one delivered with the installer.


You don't need cygwin for LyX. If possible deinstall it, deinstall also 
LyX completely after that, reboot and then reinstall LyX.


This should fix your problem.

regards Uwe


Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Stephen Harris

Gerhard Schaffer wrote:
I try to install Lyx 1.4.1 (Setup 2.1 complete) on a WinXP system, but 
Lyx is not configured during the installation.
As described at the homepage I tried to configure Lyx by entering the 
command 'sh configure'.

But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\bin>sh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


What can I do to be able to configure Lyx anyway ?




That means you probably dont have Msys in your Windows PATH,
or you have Cygwin in your PATH, which has a different version
of sh.exe, before Msys. This advice is about if you have used
the installer where you download the needed helper programs.

OTOH, the LyXWinInstaller provides the Msys version of sh.exe
So if you used that version, temporarily remove Cygwin from
your path.

Suppose that you have Msys etc installed in C:\Msys\1.0\bin
and bin is where sh.exe is located. Then you should try
 [using the dos cmd prompt]

you would be in your ~lyx\resources\lyx directory which contains
the configure file, and type in "C:\Msys\1.0\bin\sh.exe configure" 
 from you resources directory which contains configure


(but no quotes when you type it) from the lyx\resources\lyx directory.
For LyX 1.3.7, \lyx\resources\ contains the configure file for 1.4.1

For "me" this looks like:
C:>\Lyx\resources\lyx> C:\msys\1.0\bin\sh.exe configure 

But you want to substitute your actual installation location,
maybe c:\program files\lyx\resources\lyx, in place of "my" location,
or in 1.4.1 ~\lyx\resources (A lyx sub-directory is no longer used.)

I will summarize: Temporarily take Cygwin out of the Windows PATH.
From the directory which contains your configure file, type
the full path to the sh.exe file configure then  for example

type from C:>\Lyx\resources C:\msys\1.0\bin\sh.exe configure 
for LyX1.4.1

Use the directories and paths for your system, which will
likely not be exactly the same as mine. You want to avoid
using Cygwin unless you are doing a WinCygLyx installation.





Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Enrico Forestieri
Uwe Stöhr <[EMAIL PROTECTED]> writes:
> 
> Gerhard Schaffer schrieb:
> 
> > But the problem is, that I cannot start sh and get an error message
> > 
> > P:\Utility\LaTex\LyX141\bin>sh
> > AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
> > 0x1
> > P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
> > cygwin's heap, Win32 error 6
> 
> that means that you've installed cygwin and that the cygwin version of 
> the sh.exe interfers with the one delivered with the installer.
> 
> You don't need cygwin for LyX. If possible deinstall it, deinstall also 
> LyX completely after that, reboot and then reinstall LyX.
> 
> This should fix your problem.

I am sorry, but this is simply FUD. If he cannot even start sh, there
is a problem with his cygwin installation.

To the OP: please check your cygwin installation and when everything
is working you may want to try this cygwin version of LyX:
ftp://ftp.lyx.org/pub/lyx/bin/1.4.1/lyx-1.4.1-cygwin.tar.gz

-- 
Enrico