Re: Problem with starting X server

2006-07-18 Thread Andy Rushton

Alexander Gottwald wrote:
I suspect that some bugfixes which were present in the CYGWIN branch 
on freedesktop are missing in the branch which was the source for the 
latest release.
Just to confirm that the bug indeed *seems* to have crept back. I 
updated to the latest release and then the server would not start due to 
the cannot find font 'fixed' problem. Re-mounted the fonts directory 
in binmode, reinstalled just the fonts and it all works. Fortunately I 
remembered this work-around from some time back when I last had this 
problem. Sorry, I have no recollection when or what version.


I guess most people won't have any problems because they install Cygwin 
with Unix newlines, thus making textmode and binmode identical. Thus no 
cacophony of complaints.


--
Andy Rushton, Southampton, UK

Fortune and love befriend the bold.
-- Ovid


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: xwin problem

2006-07-18 Thread Andy Rushton

bobby barcenas wrote:

hello,
I have been using cygwin and the x server very well for a couple of
years now, thank you, but recently I tried to update some of my files
because i was unable to run and opengl dependent file on xwin.  so i
looked online and ran setup.exe and installed the appropate files.
however, when that setup was compete i could no longer run xwin.
whenever i type startx into cygwin, i get an error message because it
cant find a font in a directory that does not exist on my computer:
/usr/x11r6/lib/x11/fonts/Cid

Actually the log shows:
-
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!


Fatal server error:
could not open default font 'fixed'
-

The first bit about dah/dit/dah/CID is just a warning. The other message 
is the error.


This issue has just been resolved in the thread Problem with starting X 
server.


--
Andy Rushton, Southampton, UK

Fortune and love befriend the bold.
-- Ovid


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



ImageMagick 6.0.4 no longer executes with package xorg-x11-bin-dlls 6.8.99.901-1

2006-07-17 Thread Andy Rushton

Hi all,

I have found a problem with ImageMagick 6.0.4 running with 
xorg-x11-bin-dlls 6.8.99.901-1 - and I've found a temporary fix.


Problem:

After a recent update to my Cygwin installation, which updated the X11 
packages amongst many other things, the 'convert' program stopped 
working. It simply exited silently with an error status. I discovered 
with gdb that it was failing with an unknown exception but I could find 
no more information. It turned out, thanks to running 'cygcheck 
convert', that this was because of a missing DLL, specifically 
/usr/X11R6/bin/cygdpstk-1.dll.


A bit more digging and I found that this DLL used to be part of package 
xorg-x11-bin-dlls but has been removed with the latest release - 
6.8.99.901-1. It existed in all versions (as far as I have been able to 
find out) up to this one.


I also discovered that this DLL itself relies on another missing DLL: 
/usr/X11R6/bin/cygdps-1.dll which I found in the same package.


Work-around:

I've fixed the problem for myself by grabbing these DLLs from the 
previous version of this package (xorg-x11-bin-dlls-6.8.2.0) and 
hand-installing them by copying them into the relevant directory. 
Fortunately they are still compatible with the other DLLs they depend on.


Andy

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Problem with starting X server

2006-07-17 Thread Andy Rushton

Stephen A.Goulet wrote:
This is what finally worked for me.  Start cygwin and do a df, if 
this show the mount points, /usr, /usr/bin/, and /usr/lib.  Then 
umount /usr and close the cygwin window.  Now do the reinstall of the 
fonts as documented in the FAQ.

I agree, but wanted to add to this feedback.

I have found that you need to mount the fonts in binary mode. You see, I 
go against the recommended practice and install Cygwin in Text mode - 
i.e. text files have DOS line-endings. I find that this allows better 
inter-operation between Cygwin apps and Windows apps. However, this 
seems to break X11's fonts (I *suspect* that somewhere in X the fonts 
are being opened in text mode when they are binary files but I haven't 
been able to confirm this). If this is your problem, the solution is to 
separately mount the font directory in binary mode - for example, my 
mount table contains the following:


e:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type 
system (binmode)

E:\cygwin\bin on /usr/bin type system (textmode)
E:\cygwin\lib on /usr/lib type system (textmode)
E:\cygwin on / type system (textmode)
c: on /cygdrive/c type system (textmode,noumount)
d: on /cygdrive/d type system (textmode,noumount)
e: on /cygdrive/e type system (textmode,noumount)

Note the first entry. Once I have this extra mount point for the X11 
fonts, I reinstalled all the fonts using the Cygwin installer - which 
has a 'reinstall' option for each package. The reinstall means that the 
font indexes get regenerated.


FYI the command for generating extra mount points is called 'mount'.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/