Re: error while compiling xfree86 4.4.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2 Jan 2005 20:12:09 -0800
James Thogmartin wrote:

> /bin/sh: c++: command not found
> 
> I am running debian 3.0, with the 2.2.20 kernel, and after doing a search
> for 'c++' I found that I don't have it. However, when I looked for it using
> apt-get, c++ brought up thousands of results.. does anyone know what debian
> package I need to get in order for c++ to work? I heard it's a compiler, and
> that cpp will do the same thing, (and I have cpp) so I tried making an alias
> for cpp by doing 'alias c++='cpp' ' but that didn't work, because after I
> ran make World, I got the same exact error.
> 

Since we're talking about C++ here, I can presume that what's on my plain ol' Debian Sid should be the same as what you're looking for on your Debian stable.

gsewell@grants:~$ whereis c++
c++: /usr/bin/c++ /usr/include/c++ /usr/share/man/man1/c++.1.gz

gsewell@grants:~$ ll /usr/bin/c++
lrwxrwxrwx  1 root root 21 2004-10-20 17:49 /usr/bin/c++ -> /etc/alternatives/c++

gsewell@grants:~$ ll /etc/alternatives/c++
lrwxrwxrwx  1 root root 12 2004-11-14 23:20 /etc/alternatives/c++ -> /usr/bin/g++

gsewell@grants:~$ apt-cache --names-only search g++|grep -i "g++"
g++ - The GNU C++ compiler
g++-2.95 - The GNU C++ compiler
g++-3.2 - The GNU C++ compiler
g++-3.3 - The GNU C++ compiler
g++-3.4 - The GNU C++ compiler
gcc-2.95-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
gcc-3.2-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
gcc-3.3-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
gcc-3.4-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
gcc-doc - Documentation for the GNU C compilers (gcc, gobjc, g++)
libg++2.8.1.3-dbg - The GNU C++ extension library - debugging files
libg++2.8.1.3-dev - The GNU C++ extension library - development files
libg++2.8.1.3-glibc2.2 - The GNU C++ extension library - runtime version
libg++27 - The GNU C++ libraries (libc5 version)
libg++27-altdev - The GNU C++ libraries (libc5 version)
pocketpc-g++ - The GNU C++ compiler for Pocket PC

The programme "/usr/bin/c++" is a symbolic link to "/etc/alternatives/c++", which is a symbolic link to "/usr/bin/g++", which is provided by the package "g++".  I am unsure of the current version in stable.

Hope this helps.

Grant.
-- 
Unix:  Some say the learning curve is steep, but you only have to climb it once.
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux