.Xdefaults not being read

View: New views
6 Messages — Rating Filter:   Alert me  

.Xdefaults not being read

by thetrystero :: Rate this Message:

| View Threaded | Show Only this Message

I just installed cygwin on Windows 2000 using the setup file. I used the default installation plus all of the X11 files. I'm now having trouble with xterms starting up without picking up the configurations in ~/.Xdefaults. when I try to do a xrdb ~/.Xdefaults, I get the following error:

/bin/sh: cpp: command not found

Very strange .. what does xrdb have to do with C++?

RE: .Xdefaults not being read

by Phil Betts-2 :: Rate this Message:

| View Threaded | Show Only this Message

thetrystero wrote on Tuesday, September 16, 2008 9:59 AM::

> I just installed cygwin on Windows 2000 using the setup file. I used
> the
> default installation plus all of the X11 files. I'm now having
> trouble with
> xterms starting up without picking up the configurations in
> ~/.Xdefaults.
> when I try to do a xrdb ~/.Xdefaults, I get the following error:
>
> /bin/sh: cpp: command not found
>
> Very strange .. what does xrdb have to do with C++?

cpp is the C Pre-Processor, used to process #if/#endif etc.
It can be installed by installing the gcc-core package.


Phil

--


This email has been scanned by Ascribe PLC using Microsoft Antigen for Exchange.

--
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: .Xdefaults not being read

by thetrystero :: Rate this Message:

| View Threaded | Show Only this Message

hmm .. but i'm not really doing anything too funky in .Xdefaults, just setting background and foreground colors.
i've done this on my linux box before and i didn't have cpp installed but it worked fine.

Phil Betts-2 wrote:
thetrystero wrote on Tuesday, September 16, 2008 9:59 AM::

> I just installed cygwin on Windows 2000 using the setup file. I used
> the
> default installation plus all of the X11 files. I'm now having
> trouble with
> xterms starting up without picking up the configurations in
> ~/.Xdefaults.
> when I try to do a xrdb ~/.Xdefaults, I get the following error:
>
> /bin/sh: cpp: command not found
>
> Very strange .. what does xrdb have to do with C++?

cpp is the C Pre-Processor, used to process #if/#endif etc.
It can be installed by installing the gcc-core package.


Phil

--


This email has been scanned by Ascribe PLC using Microsoft Antigen for Exchange.

--
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: .Xdefaults not being read

by Matt Wozniski-3 :: Rate this Message:

| View Threaded | Show Only this Message

Ech, <http://cygwin.com/acronyms/#TOFU> .  Reformatted.

On Tue, Sep 16, 2008 at 5:31 AM, thetrystero wrote:

> Phil Betts wrote:
>>
>> thetrystero wrote on Tuesday, September 16, 2008 9:59 AM::
>>
>>> I just installed cygwin on Windows 2000 using the setup file. I used
>>> the
>>> default installation plus all of the X11 files. I'm now having
>>> trouble with
>>> xterms starting up without picking up the configurations in
>>> ~/.Xdefaults.
>>> when I try to do a xrdb ~/.Xdefaults, I get the following error:
>>>
>>> /bin/sh: cpp: command not found
>>>
>>> Very strange .. what does xrdb have to do with C++?
>>
>> cpp is the C Pre-Processor, used to process #if/#endif etc.
>> It can be installed by installing the gcc-core package.
>
> hmm .. but i'm not really doing anything too funky in .Xdefaults, just
> setting background and foreground colors.
> i've done this on my linux box before and i didn't have cpp installed but it
> worked fine.

You almost certainly *did* have cpp installed.

On Ubuntu, for instance -

$ dpkg -S `which xrdb`
x11-xserver-utils: /usr/bin/xrdb

$ apt-cache show x11-xserver-utils | grep Depends
Depends: cpp, libc6 (>= 2.7-1), libice6 (>= 1:1.0.0), libsm6,
libx11-6, libxau6, libxaw7, libxext6, libxi6, libxmu6, libxmuu1,
libxrandr2 (>= 2:1.2.0), libxrender1, libxt6, libxtrap6,
libxxf86misc1, libxxf86vm1
Pre-Depends: x11-common (>= 1:7.0.0)

This smells like a packaging bug to me, but with no X maintainer it's
not one that's likely to be fixed, I suppose.

~Matt

--
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: .Xdefaults not being read

by thetrystero :: Rate this Message:

| View Threaded | Show Only this Message

Matt Wozniski-3 wrote:
Ech, <http://cygwin.com/acronyms/#TOFU> .  Reformatted.

You almost certainly *did* have cpp installed.

On Ubuntu, for instance -

$ dpkg -S `which xrdb`
x11-xserver-utils: /usr/bin/xrdb

$ apt-cache show x11-xserver-utils | grep Depends
Depends: cpp, libc6 (>= 2.7-1), libice6 (>= 1:1.0.0), libsm6,
libx11-6, libxau6, libxaw7, libxext6, libxi6, libxmu6, libxmuu1,
libxrandr2 (>= 2:1.2.0), libxrender1, libxt6, libxtrap6,
libxxf86misc1, libxxf86vm1
Pre-Depends: x11-common (>= 1:7.0.0)

This smells like a packaging bug to me, but with no X maintainer it's
not one that's likely to be fixed, I suppose.

~Matt

--
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/
oops .. so all i need to do is look for the package called "cpp" in setup.exe and install that?

RE: .Xdefaults not being read

by Phil Betts-2 :: Rate this Message:

| View Threaded | Show Only this Message

thetrystero wrote on Tuesday, September 16, 2008 5:19 PM::

> oops .. so all i need to do is look for the package called "cpp" in
> setup.exe an install that?

No, I already told you which package you need - gcc-core


Phil

--
This email has been scanned by Ascribe PLC using Microsoft Antigen for Exchange.

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