installing gcc-c++

Support/Development for PHP
hammad
Forum User
Forum User
Posts: 16
Joined: Wed May 07, 2008 5:35 am

installing gcc-c++

Unread post by hammad »

for some purpose i want to install gcc-c++

i am using centos 4 , plesk 8.2 ,

plz can some one see what problem is here

Code: Select all


[root@vps1177 ~]# yum install gcc-c++
Setting up Install Process
Setting up repositories
update                    100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
atomic                    100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package gcc-c++.i386 0:3.4.6-9 set to be updated
--> Running transaction check
--> Processing Dependency: libstdc++-devel = 3.4.6 for package: gcc-c++
--> Processing Dependency: gcc = 3.4.6-9 for package: gcc-c++
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package gcc.i386 0:3.4.6-9 set to be updated
---> Package libstdc++-devel.i386 0:3.4.6-9 set to be updated
--> Running transaction check
--> Processing Dependency: libstdc++ = 3.4.6-9 for package: libstdc++-devel
--> Processing Dependency: libgcc >= 3.4.6-9 for package: gcc
--> Processing Dependency: cpp = 3.4.6-9 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libstdc++.i386 0:3.4.6-9 set to be updated
---> Package libgcc.i386 0:3.4.6-9 set to be updated
---> Package cpp.i386 0:3.4.6-9 set to be updated
---> Package glibc-devel.i386 0:2.3.4-2.39 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Processing Dependency: glibc = 2.3.4-2.39 for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.3.4-2.39 for package: glibc-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package glibc-headers.i386 0:2.3.4-2.39 set to be updated
---> Package glibc.i686 0:2.3.4-2.39 set to be updated
--> Running transaction check
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Processing Dependency: glibc-common = 2.3.4-2.39 for package: glibc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package glibc-kernheaders.i386 0:2.4-9.1.100.EL set to be updated
---> Package glibc-common.i386 0:2.3.4-2.39 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-common = 2.3.4-2.25 for package: glibc-dummy-centos-4
--> Finished Dependency Resolution
Error: Missing Dependency: glibc-common = 2.3.4-2.25 is needed by package glibc-dummy-centos-4



breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

glibc-dummy-centos-4 indicates you're running on a virtual server. Because of that package yum cannot upgrade to the current version of glibc-common (2.3.4-2.39, while 2.3.4-2.25 is installed). I don't know if that glibc-dummy-centos-4 is necessary. You might ask your hoster or see if if actually does anything and maybe just remove it. Just don't think I'll take responsibility if your server breaks. :)
Lemonbit Internet Dedicated Server Management
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Im sure it isnt, they make some very strange design decisions about that kind of thing. I would try to return the OS to the way the vendor designed it.

Barring that, I would open up a bug with parallels and/or your hoster about them breaking a core package.
hammad
Forum User
Forum User
Posts: 16
Joined: Wed May 07, 2008 5:35 am

o

Unread post by hammad »

no soloution ?

it is must for applcation that i want to isnatll i can try ,


i will reinstall my vps if server breaks , ,curently there is no data on it ,any one have suggestion
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

If yum install g++ doesnt work then the problem is that your hosting company and/or parallels have broken that. That makes it their problem to solve.
hammad
Forum User
Forum User
Posts: 16
Joined: Wed May 07, 2008 5:35 am

no

Unread post by hammad »

gettinh this

Code: Select all


[root@vps1177 ~]# yum install g++
Setting up Install Process
Setting up repositories
update                    100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
atomic                    100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: g++
Nothing to do

actualy i m trying to install xbt tracker listed here

http://xbtt.sourceforge.net/tracker/

in xbt guide it says me install this

yum install boost-devel gcc-c++ mysql-devel subversion


but that also not working
i got a vps for this purpose and it is not installinfg :(

as breun write , i can take risk to unstall older and install new ,

but how , it will be very help full for me thx
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

The problem is that the current version of CentOS 4 (4.6) has glibc-common-2.3.4-2.39 in its repositories, but the glibc-dummy-centos-4 package (which is not an official CentOS package, but is probably installed by your VPS host) requires an older version: glibc-common-2.3.4-2.25. This is not a version I find in any CentOS release.

Could you show us what this glibc-dummy-centos-4 packages is and does by executing the following commands:

Code: Select all

# rpm -qi glibc-dummy-centos-4
# rpm -ql glibc-dummy-centos-4
# rpm -q --scripts glibc-dummy-centos-4
# rpm -q --provides glibc-dummy-centos-4
# rpm -q --requires glibc-dummy-centos-4
# rpm -q --whatrequires glibc-dummy-centos-4
Or yeah, just go and bug your VPS provider and tell them you want to install gcc-c++ and it's not working.
Lemonbit Internet Dedicated Server Management
hammad
Forum User
Forum User
Posts: 16
Joined: Wed May 07, 2008 5:35 am

no

Unread post by hammad »

i run this and see

also my proivder say they will charge 50$ for it , and offcorse i have no money to give them , even i tel them give me any other templaye like fedoa 5 or centos 5 , but they said thay only only have this template , and it is minimal max size is 100 mb of my linux installation , nothing is installed on it , and i am in much truoble

Code: Select all

[root@vps1177 ~]# rpm -qi glibc-dummy-centos-4
Name        : glibc-dummy-centos-4         Relocations: (not relocatable)
Version     : 2.3.4                             Vendor: SWsoft
Release     : 2.25.swsoft                   Build Date: Thu Aug 31 08:29:27 2006
Install Date: Sun May  6 10:33:27 2007      Build Host: temple.eng.sw.ru
Group       : Applications/System           Source RPM: glibc-dummy-centos-4-2.3.4-2.25.swsoft.src.rpm
Size        : 48490784                         License: GPL
Signature   : (none)
Packager    : SWsoft Linux Team <support@swsoft.com>
Summary     : Package contain locale-archive that regenerated by glibc in post-install
Description :
Package contain locale-archive that regenerated by glibc in post-install
[root@vps1177 ~]# rpm -ql glibc-dummy-centos-4
/usr/lib/locale/locale-archive-rpm
[root@vps1177 ~]# rpm -q --scripts glibc-dummy-centos-4
postinstall scriptlet (using /bin/sh):
rm -f /usr/lib/locale/locale-archive
mv -f /usr/lib/locale/locale-archive-rpm /usr/lib/locale/locale-archive
exit 0
[root@vps1177 ~]# rpm -q --provides glibc-dummy-centos-4
glibc-dummy-centos-4 = 2.3.4-2.25.swsoft
[root@vps1177 ~]# rpm -q --requires glibc-dummy-centos-4
/bin/bash
rpmlib(VersionedDependencies) <= 3.0.3-1
glibc-common = 2.3.4-2.25
coreutils
/bin/sh
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
[root@vps1177 ~]# rpm -q --whatrequires glibc-dummy-centos-4
no package requires glibc-dummy-centos-4

breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

I guess you can remove glibc-dummy-centos-4 (rpm -e glibc-dummy-centos-4) and try running the yum install line again.
Lemonbit Internet Dedicated Server Management
hammad
Forum User
Forum User
Posts: 16
Joined: Wed May 07, 2008 5:35 am

Unread post by hammad »

works :)

great ,

i found this forum much helpful
Post Reply