Page is a not externally linkable
- Hardware and OS Related Technologies
-- Linux, Unix, and *nix like Operating Systems
---- difficulty installing g++ on linux


dhardisty - 6:03 pm on May 9, 2010 (gmt 0)


Thanks again for your help.

I just tried to install yum. Python is version 2.2.3, so that means we need yum version 2.0.X. I followed the instructions here:


< forum link removed >[/1

Everything went fine until executing make, which produced a bunch of errors:

[root@#*$!X yum-2.0.7]# make
for subdir in bin etc docs po ; do \
make -C $subdir ; \
done
make[1]: Entering directory `/root/yum/yum-2.0.7/bin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/yum/yum-2.0.7/bin'
make[1]: Entering directory `/root/yum/yum-2.0.7/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/yum/yum-2.0.7/etc'
make[1]: Entering directory `/root/yum/yum-2.0.7/docs'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/yum/yum-2.0.7/docs'
make[1]: Entering directory `/root/yum/yum-2.0.7/po'
for cat in cs.po es.po ru.po uk.po; do \
lang=`basename $cat .po`; \
if msgmerge -v $lang.po yum.pot > $lang.pot ; then \
mv -f $lang.pot $lang.po ; \
echo "msgmerge -v of $lang succeeded" ; \
else \
echo "msgmerge -v of $lang failed" ; \
rm -f $lang.pot ; \
fi \
done
/bin/sh: line 1: msgmerge: command not found
msgmerge -v of cs failed
/bin/sh: line 1: msgmerge: command not found
msgmerge -v of es failed
/bin/sh: line 1: msgmerge: command not found
msgmerge -v of ru failed
/bin/sh: line 1: msgmerge: command not found
msgmerge -v of uk failed
msgfmt --statistics --verbose -o cs.mo cs.po
make[1]: msgfmt: Command not found
make[1]: *** [cs.mo] Error 127
make[1]: Leaving directory `/root/yum/yum-2.0.7/po'
make: *** [all] Error 2



Are you sure the version you downloaded was compatible with the linux install?


No, I'm not sure, nor do I know how to find out what the correct version of g++ would be for my linux install. Do you know how I can find out what the right version is?


Would need to see the full list of errors before the configure: error to see what is breaking it.


There aren't any errors that I know of before the configure. Here's what I did to attempt to install gcc-g++:

[root@#*$!X root]# ls
gcc-4.4.4 gcc-g++-4.4.tar.gz yum
[root@#*$!X root]# cd gcc-4.4.4
[root@#*$!X gcc-4.4.4]# ls
gcc libstdc++-v3
[root@#*$!X gcc-4.4.4]# cd libstdc++-v3/
[root@#*$!X libstdc++-v3]# ls
ChangeLog ChangeLog-2004 acinclude.m4 crossconfig.m4 scripts
ChangeLog-1998 ChangeLog-2005 aclocal.m4 doc src
ChangeLog-1999 ChangeLog-2006 config fragment.am testsuite
ChangeLog-2000 ChangeLog-2007 config.h.in include
ChangeLog-2001 Makefile.am configure libsupc++
ChangeLog-2002 Makefile.in configure.ac linkage.m4
ChangeLog-2003 README configure.host po
[root@yankback libstdc++-v3]# ./configure
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
[root@#*$!X libstdc++-v3]#


Thanks!

[1][edited by: tedster at 12:58 am (utc) on May 11, 2010]


Thread source:: http://www.webmasterworld.com/linux/4129657.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com