Removed. Still no luck starting X. Now I just get:
XFree86 Version 4.3.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
[DRI] screen 0 installation complete
Screen 0 added: 1024x768 @ (0,0)
[DRI] screen 0 installation complete
Screen 0 added: 1024x768 @ (0,0)

waiting for X server to shut down Quitting XDarwin...

Eeks.

On Nov 10, 2003, at 7:08 PM, Martin Costabel wrote:

Chris Guzofski wrote:
Hi Alex,
"more /usr/X11R6/startx" gets me:
#pragma GCC set_debug_pwd "/private/var/tmp/X11/X11-0.30.obj~2/xc/programs/xinit"
#!/bin/sh
[etc]

This is a well-known bug in Apple's X11. They compiled X11 with their own broken cpp, and this puts that "#pragma..." line into every output it produces. Look at all the X11 man pages. There are more than 800 files in /usr/X11R6 and /etc/X11 that have this bogus first line.

The effect on a shell script like startx is that the line #!/bin/sh that defines the shell under which this is to run, is not seen, because it works only when it is the first line. So when you run this script from your tcsh command line, it tries to execute everything in tcsh which fails, because the syntax is made for sh.

Complain to Apple about it. They know about the bug, and maybe if enough people complain, they will even fix it.

Right now, you can either remove this first line from the script or run it as "sh startx".

--
Martin



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners




------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to