Re: g++ problem
Hey Richard,
Quoting Richard Hirst <rhirst@linuxcare.com>:
> On Thu, Dec 20, 2001 at 07:57:49AM +0100, joel.soete@freebel.net wrote:
> > > > # update-alternatives --display c++
> > > > > No alternatives for c++
>
> I get:
>
> fatso:/build/menu/x/menu-2.1.5# update-alternatives --display c++
> c++ - status is auto.
> link currently points to /usr/bin/g++
> /usr/bin/g++ - priority 20
> slave c++.1.gz: /usr/share/man/man1/g++.1.gz
> Current `best' version is /usr/bin/g++.
>
That is ok :<))
>
> fatso:/build/menu/x/menu-2.1.5# ls -l /etc/alternatives/c++
> lrwxrwxrwx 1 root root 12 Jul 15 1970
> /etc/alternatives/c++ -> /usr/bin/g++
That is not a link but a file (I certainly do have to do a link at one moment, a
hard not a soft?)
>
> fatso:/build/menu/x/menu-2.1.5# ls -l /usr/bin/c++
> lrwxrwxrwx 1 root root 21 Jul 15 1970 /usr/bin/c++ ->
> /etc/alternatives/c++
>
That is Ok too.
So I check installed packages (mentionned below): also Ok.
So I remove the /usr/bin/c++ and launch update-alternatives --auto c++
Ok /usr/bin/c++ -> /etc/alternatives/c++
Also ./configure works fine now :<)))
>
> ./configure in the menu source tree runs ok for me. This is a system
> installed from the 0.9.3 ISO, with gcc/g++ bits from unstable, to match
> the versions you have.
>
> Can you compile simple test programs with g++ or c++ ?
>
> Possibly relevant pkgs I have installed:
>
> ii g++ 3.0.3-1 The GNU C++ compiler.
> ii g++-3.0 3.0.3-0pre0112 The GNU C++ compiler.
> ii gcc 3.0.3-1 The GNU C compiler.
> ii gcc-3.0 3.0.3-0pre0112 The GNU C compiler.
> ii gcc-3.0-base 3.0.3-0pre0112 The GNU Compiler Collection (base
> package).
> ii libgcc1 3.0.3-0pre0112 GCC support library.
>
> Richard
>
Thanks a lot for help,
Joel
-------------------------------------------------
This mail sent through Tiscalinet Webmail (http://webmail.tiscali.be)
Reply to: