This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: .Xdefaults not being read


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]