xrdb: Predefined macro file is not found

Bug #26015 reported by Rui Matos
22
Affects Status Importance Assigned to Milestone
mcpp (Ubuntu)
Fix Released
Medium
Matthias Klose

Bug Description

Upgraded to dapper and I'm getting this in .xsession-errors:

Predefined macro file
'/usr/lib/gcc/i486-linux-gnu/4.0.3/include/mcpp_gcc40_predef_old.h' is not found

Probably due to the change to mcpp.

Revision history for this message
Daniel Stone (daniels) wrote :

yeah, it's mcppage.

Revision history for this message
Sebastien Bacher (seb128) wrote :

*** Bug 27210 has been marked as a duplicate of this bug. ***

Daniel Stone (daniels)
Changed in xrdb:
assignee: daniels → nobody
Revision history for this message
Venkat Raghavan (venkatraghavan) wrote :

I try to run "xrdb -merge .Xdefaults"

Predefined macro file '/usr/lib/gcc/powerpc-linux-gnu/4.0.3/include/mcpp_gcc40_predef_old.h' is not found
Predefined macro file '/usr/lib/gcc/powerpc-linux-gnu/4.0.3/include/mcpp_gcc40_predef_std.h' is not found

However, the settings in .Xdefaults are loaded between logins. As in
run the command -> settings are stored and in effect until logout.

Revision history for this message
John Eikenberry (jae) wrote :

Workaround. Use cpp instead of mcpp.

xrdb -cpp /usr/bin/cpp -load .Xdefaults

Revision history for this message
Venkat Raghavan (venkatraghavan) wrote :

Using the workaround does prevent the error message. However, the settings in .Xdefaults are not stored across logins.

Revision history for this message
John Eikenberry (jae) wrote :

Using -cpp /usr/bin/cpp fixed it for me. Maybe /usr/bin/cpp is an alias for mcpp on your system?

Another workaround for this is to use -nocpp (depending if you need cpp). I don't get the errors when doing either, but do if I don't.

Matt Zimmerman (mdz)
Changed in mcpp:
assignee: nobody → doko
Revision history for this message
Matthias Klose (doko) wrote :

fixed in mcpp 2.5_1ubuntu2.

Changed in mcpp:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.