Joined: 18 May 2005 Posts: 10823 Location: The Peoples Republic of California
Posted: Mon 01 Aug 2005, 04:01 Post subject:
Does xrdb work?
I tried to run an xrdb -merge command and it failed complaining of no cpp, so I copied cpp from Vector 4.3
Then it complained of no tradcpp0, so I copied it over from Vector 4.3, but it still complained of no tradcpp0. So, I copied it over to the same directory as it was in Vector 4.3, which is:
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3
Then it worked.
There are some xrdb -merge commands in ~/.xinitrc. I wonder if they work without the cpp and tradcpp0 files?
xrbd needs the c preprocessor to expand the defines...It's a pain and unfornately there doesn't seem to be an alternative tho you can define the actual c preprocessor on the xrdb commandline...tinycccccccc won't work last time I tried
Joined: 18 May 2005 Posts: 10823 Location: The Peoples Republic of California
Posted: Mon 01 Aug 2005, 05:45 Post subject:
Thanks bladehunter,
After I got it working I could run the help. Here it is for you. Note the option to bypass the preprocessr
Maybe you could try it and see if it works with the -nocpp option?
usage: xrdb [-options ...] [filename]
where options include:
-display host:dpy display to use
-all do all resources [default]
-global do screen-independent resources
-screen do screen-specific resources for one screen
-screens do screen-specific resources for all screens
-n show but don't do changes
-cpp filename preprocessor to use [/usr/bin/cpp -traditional -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DX_LOCALE ]
-nocpp do not use a preprocessor
-query query resources
-load load resources from file [default]
-override add in resources from file
-merge merge resources from file & sort
-edit filename edit resources into file
-backup string backup suffix for -edit [.bak]
-symbols show preprocessor symbols
-remove remove resources
-retain avoid server reset (avoid using this)
-quiet don't warn about duplicates
-Dname[=value], -Uname, -Idirectory passed to preprocessor
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum