You are not logged in.

#1 2006-08-09 22:08:33

user
Member
Registered: 2006-03-29
Posts: 465

mcpp

Hi,

I did sudo pacman -Suy, it shows mcpp, udev.
udev is ok, but I never heard mcpp before, so i try to remove mcpp,
it warn xorg-server-utils depend on,

so checked mcpp http://mcpp.sf.net
nothing special, sudo pacman -Rd mcpp, and reboot, to check if anyting happen,

Nothing happened, so am i ok?

PS: did sudo pacman -R xorg-server xorg-xdm xorg-xfwp xorg-server-utils, it seems fine.


I removed my sig, cause i select the flag, the flag often the target of enemy.

SAR brain-tumor
[img]http://img91.imageshack.us/img91/460/cellphonethumb0ff.jpg[/img]

Offline

#2 2006-08-09 22:19:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: mcpp

Of course. The Arch dev team invest significant amounts of unrewarded time and resources in building the Arch packages, and deciding which dependencies are necessary, but if you think they are wrong, go right ahead. I cannot express how happy I am for you that nothing happened.

Offline

#3 2006-08-09 22:27:54

user
Member
Registered: 2006-03-29
Posts: 465

Re: mcpp

oops, something happened, i can't startx
so i did

sudo pacman -Sd xorg-server-utils xorg-server xorg-xfwp

PS: i think mcpp is just another cpp, about cpp, there is gcc's cpp, right?

> cpp --version
cpp (GCC) 4.2.0 20060805 (experimental)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

>


I removed my sig, cause i select the flag, the flag often the target of enemy.

SAR brain-tumor
[img]http://img91.imageshack.us/img91/460/cellphonethumb0ff.jpg[/img]

Offline

#4 2006-08-10 06:06:30

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: mcpp

mcpp is optional, but it's a very small tool, while cpp in gcc is a 20-30MB binary that needs to get loaded 2 or 3 times when you start your X session in most environments (gdm and gnome-settings-daemon both call it when running xrdb). It's a dependency for xrdb since xrdb can use it when it is available.
If you remove mcpp, xrdb will fallback to gcc's cpp binary, which is quite a bit slower to load on startup.

Offline

#5 2006-08-10 07:14:09

The_Connaisseur
Member
From: Germany, various parts of it.
Registered: 2006-08-10
Posts: 12

Re: mcpp

JGC wrote:

If you remove mcpp, xrdb will fallback to gcc's cpp binary, which is quite a bit slower to load on startup.

Nope. BTDT.

xrdb is broken after the recent update. I have to manually symlink "/usr/bin/mcpp_prestd" to "/usr/bin/mcpp" to get xrdb to work again.


--volker


Prefer anything that tastes like UNIX and beer.

Offline

#6 2006-08-10 09:02:19

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: mcpp

hmm, thanks for the hint. Seems I changed mcpp 2.5 a while ago to provide two versions. With 2.6 this is no longer needed. I didn't notice the patch I applied in xrdb a while ago to use the mcpp_prestd binary. Will come up with a patch, I guess the good old mccp/cpp option that used to be in xrdb will get used again.

Offline

#7 2006-08-11 06:54:13

The_Connaisseur
Member
From: Germany, various parts of it.
Registered: 2006-08-10
Posts: 12

Re: mcpp

JGC wrote:

Will come up with a patch, I guess the good old mccp/cpp option that used to be in xrdb will get used again.

Thanks for the fast response and patch.

xrdb is working fine again!


Prefer anything that tastes like UNIX and beer.

Offline

#8 2006-08-11 09:23:52

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: mcpp

To be clear about this change: removing mcpp will break xrdb, there's no such thing as a fallback to cpp in the code anymore, I removed that patch a long while ago because I needed to pass an option to mcpp.

Offline

#9 2006-08-14 13:00:00

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: mcpp

I'm still puzzled. I also had the same problems with mcpp/xrdb, so I reverted to the previous version, and everything worked fine again. So far so good. I forgot to put mcpp in the pacman-ignore list, so after the next syu, I had the new version in my system again -- and it still worked...
Under KDE, that is. If I try it in any of the other WMs (fluxbox, icewm,...), it doesn't work: xrdb -query -all returns nothing, and the x.
What's going on here, and what do I do?

Offline

#10 2006-08-14 13:25:11

user
Member
Registered: 2006-03-29
Posts: 465

Re: mcpp

Does it matter? what is xrdb?
I guess i can live without it, my xrdb also borken.


I removed my sig, cause i select the flag, the flag often the target of enemy.

SAR brain-tumor
[img]http://img91.imageshack.us/img91/460/cellphonethumb0ff.jpg[/img]

Offline

Board footer

Powered by FluxBB