[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Odd problem with XFree 3.2



Hi:

I recently installed the XFree 3.2 packages from unstable in my machine.  
Although most things seem to work fine, I'm experimenting a very odd problem 
with the xrdb command.

If I run

  xrdb -merge .Xresources

I get the message:

xrdb: cannot run '/lib/cpp -traditional -Dlinux -D__i386__ -D_POSIX_SOURCE 
-D_BSD_SOURCE -D_SVID_SOURCE -DX_LOCALE -DHOST=naoma -DSERVERHOST=naoma 
-DSRVR_naoma -DDISPLAY_NUM=0 -DCLIENTHOST=naoma -DCLNT_naoma -DVERSION=11 
-DREVISION=0 -DVENDOR="The XFree86 Project, Inc" -DVNDR_The_XFree86_Project__In
c -DRELEASE=3200 -DNUM_SCREENS=1 -DEXT_XFree86_DGA -DEXT_XFree86_Misc 
-DEXT_XFree86_VidModeExtension -DEXT_DOUBLE_BUFFER -DEXT_RECORD -DEXT_XC_MISC 
-DEXT_XKEYBOARD -DEXT_SYNC -DEXT_MIT_SCREEN_SAVER -DEXT_MIT_SUNDRY_NONSTANDARD 
-DEXT_BIG_REQUESTS -DEXT_XTEST -DEXT_XInputExtension -DEXT_MIT_SHM -DEXT_SHAPE 
-DSCREEN_NUM=0 -DWIDTH=1024 -DHEIGHT=768 -DX_RESOLUTION=2951 
-DY_RESOLUTION=2954 -DPLANES=8 -DBITS_PER_RGB=6 -DCLASS=PseudoColor 
-DCLASS_PseudoColor=34 -DCOLOR -DCLASS_PseudoColor_8=34 
-DCLASS_DirectColor_8=35 -DCLASS_GrayScale_8=36 -DCLASS_StaticColor_8=37 
-DCLASS_TrueColor_8=38 -DCLASS_StaticGray_8=39'

This seems like xrdb is not being able to find the C preprocessor as /lib/cpp, 
even despite the fact that /lib/cpp is a valid link to /usr/bin/cpp.  However, 
if I try

   xrdb -cpp '/lib/cpp -traditional'-merge .Xresources

this works just fine (???).

But, after this, there is something really strange.  If, after issuing the 
last command, I issue a new

   xrdb -merge .Xresources

it works fine (!!!).  

Summarizing, xrdb fails when I use it for the first time, but after specifying 
the C preprocessor's path once, it starts working correctly.

Any ideas of what may be happening?

M. S.
------------
Martin A. Soto J.                           Profesor
Departamento de Ingenieria de Sistemas y Computacion
Universidad de los Andes      masoto@uniandes.edu.co



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: