[ANNOUNCEMENT] Updated: {gd/libgd2/libgd-devel}-2.0.36RC1-1: A graphics library for fast image creation

2008-12-04 Thread Dr. Volker Zell
Hi

New versions of 'gd/libgd2/libgd-devel' have been uploaded to a server near you.


Cygwin NEWS:


o Update to latest upstream release
o Rebuild with latest X11R7.4
o Fixed fontpath
  

gd NEWS:


 Fixed gdImageCopy with true color image, the transparent color was ignored
 (Pierre, Mark Fisher)
 Fixed support of PNG grayscale image with alpha channel (Pierre)
 Added Netware builds script (Guenter)
 ease the creation of regexp to match symbols/functions in the sources 
 (Guenter)
 _gdCreateFromFile() can crash if gdImageCreate fails (Mattias Bengtsson)
 gdImageCreateFrom*Ptr() can crash if gdNewDynamicCtxEx() fails (Mattias)
 gdImageRectangle draws 1x1 rectangles as 1x3 rectangles (Pierre)
 Possible integer overflow in gdImageFill() (Mattias Bengtsson)
 Optimization for single pixel line not in correct order (Mattias)
 gdImageColorDeallocate can write outside buffer (Mattias Bengtsson)
 gdImageColorTransparent can write outside buffer (Mattias Bengtsson)
 gdImageWBMPCtx can crash when createwbmp fails (Scott)
 Fixed decoding of the html entity ϑ (Thomas Bonfort, Pierre)
 Fixed configure script ignoring --with-png=DIR option (Scott)

   
 
DESCRIPTION:

A graphics library for fast image creation.


UPDATE:
===
To update your installation, click on the "Install Cygwin now" link on the
http://cygwin.com/ web page.  This downloads setup.exe to your system.
Save it and run setup, answer the questions and pick up 'gd' from
the 'Libs' category (it should already be selected).

DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need to
find a mirror which has this update, please choose the one nearest to you:
http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

--
Dr. Volker Zell
volunteer cygwin gd maintainer

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send email
to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

--
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/



"Can't read lock file" problem: Cygwin/X FAQ solution doesn't work for me

2008-12-04 Thread Rich Signell
Cygwin gurus,

After happily using cygwin-X for many years, I have just encountered
my first true frustration.

After updating my cygwin distribution earlier this week, I found that
I can no longer start X windows, getting the same "can't read lock
file" that other users have experienced.

I tried the solution from the Cygwin FAQ
(http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-cant-read-lock-file):

  $ rm -rf /tmp; mkdir /tmp ; chmod 1777 /tmp;  xinit -nolock

but this did not help.   Same problem.

Here is some more info that hopefully would help, and I'd be happy to
work with someone more knowledgeable to try to diagnose and fix the
issue:

$ more /var/log/Xwin.0.log

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.5.3.0 (10503000)

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1440 h 900
winInitializeDefaultScreens - Returning

Fatal server error:
Can't read lock file /tmp/.X0-lock

$ ls -sail /tmp
total 0
 1688849860281053 0 drwxrwxrwt+  3 rsignell Domain Users 0 Dec  4 07:07 .
  281474976792025 0 drwxrwx---+ 13 rsignell Users0 Dec  4 06:26 ..
37717646879254565 0 drwxrwxrwt+  2 rsignell Domain Users 0 Dec  4
07:07 .X11-unix


Thanks,
Rich
-- 
Dr. Richard P. Signell   (508) 457-2229
USGS, 384 Woods Hole Rd.
Woods Hole, MA 02543-1598

--
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: X11 apps failing after upgrade

2008-12-04 Thread Richard Toy
Hi

We get all the same issues described in [1].

Furthermore, installing the Solaris patch mentioned in [2] made *NO*
difference (we are using Solaris 9).

Some applications half work e.g. xclearcase does not crash but
keyboard inputs into some dialogue boxes are ignored.

Other appications e.g. gvim & emacs allow menu actions but crash at
the first keyboard input.

Any suggestions as to how to progress this issue further?

[1] http://cygwin.com/ml/cygwin-xfree/2008-11/msg00141.html
[2] https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/292973
[3] https://bugzilla.redhat.com/show_bug.cgi?id=458373


Kindest regards

Richard Toy

--
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: "Can't read lock file" problem: Cygwin/X FAQ solution doesn't work for me

2008-12-04 Thread Jon TURNEY

Rich Signell wrote:

Cygwin gurus,

After happily using cygwin-X for many years, I have just encountered
my first true frustration.

After updating my cygwin distribution earlier this week, I found that
I can no longer start X windows, getting the same "can't read lock
file" that other users have experienced.

I tried the solution from the Cygwin FAQ
(http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-cant-read-lock-file):

  $ rm -rf /tmp; mkdir /tmp ; chmod 1777 /tmp;  xinit -nolock

but this did not help.   Same problem.


xinit -nolock is not the right syntax for starting the server with -nolock. As 
'man xinit' says, server options follow a '--', so try 'xinit -- -nolock'


I did wonder if this is somehow related to running as a user who does not have 
administrator rights.  Is this true in your case?


Can you provide the output of 'strace Xwin' , please.


Here is some more info that hopefully would help, and I'd be happy to
work with someone more knowledgeable to try to diagnose and fix the
issue:

$ more /var/log/Xwin.0.log

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.5.3.0 (10503000)

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

X :0

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1440 h 900
winInitializeDefaultScreens - Returning

Fatal server error:
Can't read lock file /tmp/.X0-lock

$ ls -sail /tmp
total 0
 1688849860281053 0 drwxrwxrwt+  3 rsignell Domain Users 0 Dec  4 07:07 .
  281474976792025 0 drwxrwx---+ 13 rsignell Users0 Dec  4 06:26 ..
37717646879254565 0 drwxrwxrwt+  2 rsignell Domain Users 0 Dec  4 07:07 
.X11-unix



--
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/



Swiss German Keyboard Layout - Some Keys Not Found

2008-12-04 Thread Sascha Tayefeh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Dear all,

I have been trying to set the Swiss German keyboard layout:

$ setxkbmap.exe ch -model pc105

Fortunately, most of the keys are recognised ... unfortunately, some
are not. äöü are not recognised at all. Furthermore, some combinations
with the right meta key don't work, e.g. pipe: |.

Any suggestions what I have done wrong or what else I could try?

Best Regards
Sascha

- - - --
Sascha Tayefeh
Web: http://tayefeh.de
PGP ID: 0x383A40C9
- - - --

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: http://getfiregpg.org

iF4EAREIAAYFAkk3+NkACgkQGOV2jjg6QMnBDwEAgBPtcbCnU3JC2AE1mRhmkXWN
8rcZhAGgZW/fUN6re4EA/AyGvdQK54zW8GZ+2B947YUEGdIQtDqX/vYoU/g9HaTJ
=LFL0
-END PGP SIGNATURE-

--
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: X11 apps failing after upgrade

2008-12-04 Thread James Ferguson
Yeah, I'm sorry to confirm that I installed the Solaris patch
(119059-45) on one machine (Solaris 10) and while it seems to allow me
to run an xterm (though I have no interest in doing so - didn't do much
testing), my GNU Emacs still fails in the same way.

I tried a recompilation of Emacs, in case the patch changed some
statically linked library (yeah, a long shot I know), but no change.  I
can't run it up.

Thanks,

James.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Toy
Sent: Thursday, December 04, 2008 9:09 AM
To: cygwin-xfree@cygwin.com
Subject: RE: X11 apps failing after upgrade

Hi

We get all the same issues described in [1].

Furthermore, installing the Solaris patch mentioned in [2] made *NO*
difference (we are using Solaris 9).

Some applications half work e.g. xclearcase does not crash but
keyboard inputs into some dialogue boxes are ignored.

Other appications e.g. gvim & emacs allow menu actions but crash at
the first keyboard input.

Any suggestions as to how to progress this issue further?

[1] http://cygwin.com/ml/cygwin-xfree/2008-11/msg00141.html
[2] https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/292973
[3] https://bugzilla.redhat.com/show_bug.cgi?id=458373


Kindest regards

Richard Toy

--
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/


--
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: Recent X11 upgrade and getting _gl?? Undefined references compiling another package

2008-12-04 Thread André Bleau

Brian Keener  wrote:
 
> Jon TURNEY wrote:
>>>  OPENGL_INCLUDE_DIR   /usr/include
>>>  OPENGL_gl_LIBRARY/usr/lib/w32api/libopengl32.a
>>>  OPENGL_glu_LIBRARY   /usr/lib/w32api/libglu32.a
>> 
>> I suspect you might have the problem discussed here:
>> http://cygwin.com/ml/cygwin-apps/2008-11/msg00036.html
> That was it.  thanks
> bk

A new version of the opengl package that addresses this problem
has just been released.
 
You will need to change OPENGL_INCLUDE_DIR to /usr/include/opengl .
See: http://cygwin.com/ml/cygwin/2008-12/msg00089.html
 
- André Bleau, Cygwin's volunteer OpenGL package maintainer.
 
Please direct any question or comment about the OpenGL package to cygwin at 
cygwin dot com
 
_


--
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: X11 apps failing after upgrade

2008-12-04 Thread Jon TURNEY

Richard Toy wrote:

Hi

We get all the same issues described in [1].

Furthermore, installing the Solaris patch mentioned in [2] made *NO*
difference (we are using Solaris 9).


:-(


Any suggestions as to how to progress this issue further?


If you are willing to do some further investigation, it would be a great help 
if you could:


* build the X server from source with debugging enabled
(no, don't run away! the autotoolized modular server is much easier to work 
with the monolithic imaked monstrosity)


Rebuilding the source *should* be as simple as:

1) Run cygwin setup, select cygport, the xorg-server source package; the 
packages for it's build-time dependencies, and devel packages corresponding to 
it's run-time dependencies.  The dependencies for xorg-server are listed in 
/usr/share/doc/Cygwin/xorg-server-1.5.3.README

2) cd /usr/src/
3) edit xorg-server-1.5.3-3.cygport to add CFLAGS="-g -O0" to the line 
starting 'cygconf'

4) cygport xorg-server-1.5.3-3.cygport prep compile

I have made a start at updating http://x.cygwin.com/docs/cg/cygwin-x-cg.html, 
so you may find that helpful, but it still needs more work so don't take it as 
gospel.


* run XWin under gdb, set a breakpoint on ProcXkbSetNamedIndicator, and tell 
me where and what the context is when it returns BadAlloc...


1) cd xorg-server-1.5.3-4/build/hw/xwin/.libs
2) gdb --args ./XWin.exe -multiwindow -clipboard
3) b ProcXkbSetNamedIndicator
4) run


--
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: X11 apps failing after upgrade

2008-12-04 Thread Jon TURNEY

Jon TURNEY wrote:
If you are willing to do some further investigation, it would be a great 
help if you could:


* build the X server from source with debugging enabled
(no, don't run away! the autotoolized modular server is much easier to 
work with the monolithic imaked monstrosity)


Rebuilding the source *should* be as simple as:

1) Run cygwin setup, select cygport, the xorg-server source package; the 
packages for it's build-time dependencies, and devel packages 
corresponding to it's run-time dependencies.  The dependencies for 
xorg-server are listed in /usr/share/doc/Cygwin/xorg-server-1.5.3.README

2) cd /usr/src/
3) edit xorg-server-1.5.3-3.cygport to add CFLAGS="-g -O0" to the line 
starting 'cygconf'

4) cygport xorg-server-1.5.3-3.cygport prep compile


To save you 30 minutes, here is a binary I built with debugging symbols.

ftp://cygwin.com/pub/cygwinx/XWin.20081204180806.exe.bz2

You will still need to install the source package and cygport prep to have the 
source available for debugging, though.


* run XWin under gdb, set a breakpoint on ProcXkbSetNamedIndicator, and 
tell me where and what the context is when it returns BadAlloc...


1) cd xorg-server-1.5.3-4/build/hw/xwin/.libs
2) gdb --args ./XWin.exe -multiwindow -clipboard
3) b ProcXkbSetNamedIndicator
4) run



--
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/



I Cannot Start the X Server

2008-12-04 Thread Michael Wehr
Hello,

I have been using Cygwin and Cygwin/X on my company laptop for over a year. 
Recently I found a need to re-install Cygwin and Cygwin/X.

I downloaded the latest software versions and installed them after removing the 
old installation. The latest Cygwin works well, however, I cannot start the X 
server. I get the following error:

"A fatal error has occurred and Cygwin/X will now exit.
Please open /var/log/XWin.0.log for more information.

Vendor: The Cygwin/X Project
Release: 1.5.3.0
Contact: cygwin-xfree@cygwin.com
XWin was started with the following command-line:

/usr/bin/XWin -multiwindow -clipboard -silent-dup-error"

The contents of /var/log/XWin.0.log:

$ cat /var/log/XWin.0.log
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.5.3.0 (10503000)

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/bin/XWin -multiwindow -clipboard -silent-dup-error

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning

Fatal server error:
Can't read lock file /tmp/.X0-lock

I started XWin using the default startxwin.bat which comes with the 
installation.

$ ls -ld /tmp
drwxrwxrwt+ 2 mwehr Domain Users 0 Dec  4 14:47 /tmp

The /etc/passwd file was created using:

mkpasswd -l -c > /etc/passwd

Please let me know if there is additional information you require.

I have tried uninstalling and reinstalling Cygwin and Cygwin/X multiple times 
with the same error.

I have searched the internet and tried a number of solutions to no avail.

Please help resolve this so I can continue using this excellent product.

Regards,
~~~
| Michael B. Wehr | AAR Corporation   |
| Sr. UNIX Administrator  | 1100 North Wood Dale Road |
| Email: [EMAIL PROTECTED] | Wood Dale, IL  60191  |
| Phone: (630) 227-2196   | Fax: (630) 227-2198   |
~~~

~~~
| Michael B. Wehr | AAR Corporation   |
| Sr. UNIX Administrator  | 1100 North Wood Dale Road |
| Email: [EMAIL PROTECTED] | Wood Dale, IL  60191  |
| Phone: (630) 227-2196   | Fax: (630) 227-2198   |
~~~



--
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: X11 apps failing after upgrade

2008-12-04 Thread James Ferguson
Thanks for the build, because I couldn't get the build to work.  I
double checked I'd installed everything (Cygwin installer needs command
line option!).  Something to do with autoconf I think:


checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh
/usr/src/xorg-server-1.5.3-4/src/xorg-server-1.5.3/config.sub   failed
*** ERROR: configure failed


But anyway, when my Emacs fails, it does not trigger the breakpoint.  My
xterm gave me a BadAlloc, but the Solaris patch fixed that.  My GNU
Emacs gives me:


  $ emacs
X protocol error: BadAtom (invalid Atom parameter) on protocol request
20
Fatal error (6)Abort (core dumped)


This happens almost immediately.  The Emacs call stack is below.  Is
there another breakpoint I should try in the X server?


Thanks,

James.


-

(dbx) where
  [1] _kill(0x0, 0x6, 0x0, 0x0, 0x20, 0x0), at 0xfec46398
=>[2] fatal_error_signal(sig = 6), line 398 in "src/emacs.c"
  [3] __sighndlr(0x6, 0x0, 0xffbfcf50, 0xe751c, 0x0, 0x0), at 0xfec45924
   called from signal handler with signal 6 (SIGABRT) --
  [4] _kill(0x0, 0x6, 0x33a801, 0x0, 0xa, 0x1), at 0xfec46398
  [5] abort(), line 432 in "src/emacs.c"
  [6] check_glyph_memory(), line 2622 in "src/dispnew.c"
  [7] shut_down_emacs(sig = 0, no_x = 0, stuff = 3385345), line 2155 in
"src/emacs.c"
  [8] x_connection_closed(dpy = 0x322000, error_message = 0x322000 ""),
line 7803 in "src/xterm.c"
  [9] x_error_quitter(display = 0x635800, error = 0xffbfd7f0), line 7877
in "src/xterm.c"
  [10] x_error_handler(display = 0x635800, error = 0xffbfd7f0), line
7833 in "src/xterm.c"
  [11] _XError(0x635800, 0xffbfd918, 0x48c384, 0x0, 0x5, 0xff060bf0), at
0xfef40bb4
  [12] _XReply(0x635800, 0xffbfd918, 0x0, 0x0, 0x0, 0x20), at 0xfef20194
  [13] XGetWindowProperty(0x635800, 0x80001e, 0x0, 0x0, 0x2, 0x0), at
0xfef2aff8
  [14] 0xfea518dc(0x635800, 0x80001e, 0x744, 0x0, 0x3, 0x400), at
0xfea518dc
  [15] 0xfea51c78(0x635800, 0x80001e, 0x400, 0x400, 0x122, 0x0), at
0xfea51c78
  [16] 0xfea51e4c(0x635800, 0x7c, 0x80001e, 0x0, 0x3, 0x800020), at
0xfea51e4c
  [17] 0xfea3c3b0(0x698400, 0x7c, 0x1, 0x1, 0x635800, 0x59d500), at
0xfea3c3b0
  [18] 0xfea3cddc(0x698400, 0x0, 0x0, 0x635800, 0x3e5c00, 0xfea6bddc),
at 0xfea3cddc
  [19] 0xfea3ceac(0x698400, 0x0, 0x2ef5c, 0x364, 0x3e5c00, 0x0), at
0xfea3ceac
  [20] 0xfea33014(0x698400, 0x649370, 0x1, 0x6752c0, 0xffbfdf98,
0xfea6bddc), at 0xfea33014
  [21] 0xfea33940(0x698400, 0x675258, 0x0, 0xffbfdf98, 0x28c,
0xfea56dcc), at 0xfea33940
  [22] 0xfea31174(0x698400, 0x675240, 0x675a80, 0x67e280, 0x3e5c00,
0xfea6bddc), at 0xfea31174
  [23] 0xfea30ffc(0x3e5c00, 0x675240, 0xffbfe0d8, 0x3ae34, 0x698400,
0xfea6bddc), at 0xfea30ffc
  [24] XCreateIC(0x3e5c00, 0xfdc, 0x11da90, 0xc00, 0xff054000, 0xc00),
at 0xfef365ec
  [25] create_frame_xic(f = 0x647a00), line 2307 in "src/xfns.c"
  [26] Fx_create_frame(parms = 5696389), line 2611 in "src/xfns.c"
  [27] Ffuncall(nargs = 1, args = 0x372491), line 2993 in "src/eval.c"
  [28] Fbyte_code(bytestr = 3613841, vector = 2128216, maxdepth = 1),
line 679 in "src/bytecode.c"
  [29] funcall_lambda(fun = 2128148, nargs = 1, arg_vector =
0xffbfe64c), line 3180 in "src/eval.c"
  [30] Ffuncall(nargs = 1, args = 0x3f26e9), line 3050 in "src/eval.c"
  [31] Fbyte_code(bytestr = 4138729, vector = 2400240, maxdepth = 1),
line 679 in "src/bytecode.c"
  [32] funcall_lambda(fun = 2400172, nargs = 1, arg_vector =
0xffbfe7ec), line 3180 in "src/eval.c"
  [33] Ffuncall(nargs = 1, args = 0x4835b1), line 3050 in "src/eval.c"
  [34] Fbyte_code(bytestr = 4732337, vector = 2398288, maxdepth = 1),
line 679 in "src/bytecode.c"
  [35] funcall_lambda(fun = 2398236, nargs = 0, arg_vector =
0xffbfe98c), line 3180 in "src/eval.c"
  [36] Ffuncall(nargs = 0, args = 0x35bb01), line 3050 in "src/eval.c"
  [37] Fbyte_code(bytestr = 3521281, vector = 2152264, maxdepth = 0),
line 679 in "src/bytecode.c"
  [38] funcall_lambda(fun = 2152220, nargs = 0, arg_vector =
0xffbfeb3c), line 3180 in "src/eval.c"
  [39] Ffuncall(nargs = 0, args = 0x3d8791), line 3050 in "src/eval.c"
  [40] Fbyte_code(bytestr = 4032401, vector = 2148904, maxdepth = 0),
line 679 in "src/bytecode.c"
  [41] funcall_lambda(fun = 2148860, nargs = 0, arg_vector =
0xffbfec50), line 3180 in "src/eval.c"
  [42] apply_lambda(fun = 2148860, args = 3385345, eval_flag = 3331072),
line 3104 in "src/eval.c"
  [43] Feval(form = 4202525), line 2384 in "src/eval.c"
  [44] internal_condition_case(bfun = 0xe9418 = &top_level_2(), handlers
= 3453601, hfun = 0xef9c4 = &cmd_error()), line 1484 in "src/eval.c"
  [45] top_level_1(), line 1347 in "src/keyboard.c"
  [46] internal_catch(tag = 3443713, func = 0xe9430 = &top_level_1(),
arg = 3385345), line 1224 in "src/eval.c"
  [47] command_loop(), line 1304 in "src/keyboard.c"
  [48] recursive_edit_1(), line 1007 in "src/keyboard.c"
  [49] Frecursive_edit(), line 1068 in "src/keyboard.c"
  [50] main(argc = 1, argv = 0xffbff25c), line 

Re: I Cannot Start the X Server

2008-12-04 Thread Jon TURNEY

Michael Wehr wrote:

Fatal server error:
Can't read lock file /tmp/.X0-lock


http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-cant-read-lock-file


I have searched the internet and tried a number of solutions to no avail.


:S

--
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: Recent X11 upgrade and getting _gl?? Undefined references compiling another package

2008-12-04 Thread Brian Keener
André Bleau wrote:
> You will need to change OPENGL_INCLUDE_DIR to /usr/include/opengl .
> See: http://cygwin.com/ml/cygwin/2008-12/msg00089.html
>  
> - André Bleau, Cygwin's volunteer OpenGL package maintainer.

The above worked great but in the announcement for this version you 
mention:

> you can compile as usual.
> 
> Usr/lib/glut32.lib is now provided. It should used instead of 
> libglut32.a.

I don't seem to see a glut32.lib in my /usr/lib directory?  Is this the 
correct name as I did a find for *glut* and still didn't locate it - 
just the ones you would expect to find.

Thanks

bk




--
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/



Where do I have to put fvwm-themes-start?

2008-12-04 Thread Andreas Eibach
Hi there,

installed fvwm, fvwm-themes package as well, with one exception (a
warning in ./configure that Xlib could not be found and that
fvwm-images(sp?) might not work correctly, I assume a bug in the script
somewhere, as my Cygwin+Cygwin/X installations are bog-standard and
sane).

My problem now: where do I have to put the "fvwm-themes-start" line?
.BAT file makes no sense, as this cannot understand extension-less
scripts.

A last way out would be invoking the startxwin.sh (providing the
required line) indirectly by starting bash via cygwin.

Problem 2 is that .XWinrc does not seem to support on-startup execution
of commands like e. g. .profile or XF86config. The only thing I've found
is how to build menus ;)
just doing a /bin/fvwm-themes-start will result in a "string error at
line XX".

Can anyone help please?

-Andreas


--
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: X, backingstore and opengl

2008-12-04 Thread Jon TURNEY

Angelo Grandiosity wrote:

Jon TURNEY wrote:

glxgears, glxinfo are GL demo programs which come with mesa (the 
OpenGL library)


It would be useful if you could install the mesa package and check if 
glxinfo, glxgears work for you.


You have ignored my cygchec.out here [1]. I have those packages
installed and glxgears, glxinfo seem to work (see opengl.txt below).


Thanks.
The output of glxgears and glxinfo all looks as expected.

Irrespective of if I use +bs or not, with 1.5.3-4, simple.C runs ok, 
geom/shapes.C causes ROOT to segfault unless XLIB_SKIP_ARGB_VISUALS is 
used.


You should raise the ROOT segfault as an issue with the ROOT 
developers. They will be far more qualified to diagnose the issue than 
me.


The fact that also XWin segfaults, means it isn't a problem only for
ROOT developers...


I'm not saying it's a problem only for them, I'm saying they know far more
about the internals of ROOT than me.   Please try to look at this from my
perspective:

For all I know, you may have 2 separate problems.

For me geom/Shapes.C always segfaults ROOT unless I have 
XLIB_SKIP_ARGB_VISUALS set.  This is suggestive that ROOT can't handle ARGB

visuals.

ROOT is the only OpenGL application that Cygwin/X has reported problems with 
at the moment.


If you wouldn't mind trying again, I've built a slightly different 
debug version, which you can get from:


ftp://cygwin.com/pub/cygwinx/XWin.20081203132739.exe.bz2


Just for completeness, I have tried and IT WORKS JUST FINE and without
XLIB_SKIP_ARGB_VISUALS! Respect to the previous testing-XWin you have
proposed, with XWin.20081203132739 also the keyboard works just fine!!!

So, I doubt we are referring to the same failing XWin which one finds on
the mirrors...


I know you must be finding this frustrating, I know I am.  But I am not lying
to you when I say that I am using Xwin.exe from 1.5.3-4 and it doesn't fail
for me when I run ROOT simple.C, irrespective of if I have +bs selected or not.

I don't have some secret Cyginw/X goodness which I'm not putting into the X 
server which gets uploaded to the mirrors for some bizarre motive. :-)


Ok.  I've spent a bit more time to carefully build an image which should be 
identical to the 1.5.3-4 one except for the addition of debug symbols, so 
perhaps you could try ftp://cygwin.com/pub/cygwinx/XWin.20081204180806.exe.bz2 
and see if that one fails for you.


Failing that, can you post the XWin.exe.stackdump file which is generated when 
the 1.5.3-4 X server segfaults for you, and I'll see if I can extract some 
useful information from that.



--
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/