From: David Bolt on
On Saturday 05 Sep 2009 18:57, houghi played with alphabet spaghetti and
left this residue on the plate:

> http://software.opensuse.org/search gave no result. YaST gave no
> results. :-(

File a bug report. It looks like the search is being broken by the '+'
characters as searching for "gcc-c" finds the C++ packages.

> However the above showed me that the error message was erronous. It told
> me to look for g++. I should have been looking for gcc-c++

No, it was right, g++ is the name of the C++ binary. Confusing, but that's
just to keep you on your toes and Google in business :-)


Regards,
David Bolt

--
Team Acorn: www.distributed.net OGR-NG @ ~100Mnodes RC5-72 @ ~1Mkeys/s
openSUSE 10.3 32b | openSUSE 11.0 32b | |
openSUSE 10.3 64b | openSUSE 11.0 64b | openSUSE 11.1 64b | openSUSE 11.2m6
RISC OS 3.6 | RISC OS 3.11 | openSUSE 11.1 PPC | TOS 4.02
From: Kevin Nathan on
On Sun, 6 Sep 2009 10:54:04 +0200
houghi <houghi(a)houghi.org.invalid> wrote:

>pin gives me:
>
>pin 0.38 - package info for g++
>
>------------------------------------------------------------------
>*** no rpm named g++ installed
>------------------------------------------------------------------
>

I got that, too, with a very long list of matching packages that were
not 'g++'. But I had a little advantage, being a programmer, and knew I
had to look for gcc -- and among all those packages listed, I got:


pin 0.38 - package info for g++

------------------------------------------------------------------
*** no rpm named g++ installed
------------------------------------------------------------------

------------------------------------------------------------------
*** zgrep g++ /var/lib/pin/ARCHIVES.gz
------------------------------------------------------------------

<snip lots of packages>

../DVD1/suse/i586/gcc-c++-4.3-39.1.i586.rpm:
../DVD1/suse/i586/gcc-c++-4.3-39.1.i586.rpm:
../DVD1/suse/i586/gcc-c++-4.3-39.1.i586.rpm:
../DVD1/suse/i586/gcc-c++-4.3-39.1.i586.rpm:

<snip lots of packages>

../DVD1/suse/i586/gcc43-c++-4.3.1_20080507-6.1.i586.rpm:
../DVD1/suse/i586/gcc43-c++-4.3.1_20080507-6.1.i586.rpm:

:-)


--
Kevin Nathan (Arizona, USA)
Linux Potpourri and a.o.l.s. FAQ -- (temporarily offline)

Open standards. Open source. Open minds.
The command line is the front line.
Linux 2.6.25.20-0.5-pae
10:50am up 16 days 18:46, 35 users, load average: 1.37, 1.21, 1.10

From: Malcolm on
On Sun, 6 Sep 2009 23:27:04 +0200
houghi <houghi(a)houghi.org.invalid> wrote:

> Kevin Nathan wrote:
> > I got that, too, with a very long list of matching packages that
> > were not 'g++'. But I had a little advantage, being a programmer,
> > and knew I had to look for gcc -- and among all those packages
> > listed, I got:
>
> Strange that I do not get it.
>
>
> houghi
Hi
But g++ is just a softlink created by gcc-c++ rpm.
malcolml(a)mizz-piggy:~$ ls -la /usr/bin/g++
lrwxrwxrwx 1 root root 7 2009-09-03 23:36 /usr/bin/g++ -> g++-4.4
malcolml(a)mizz-piggy:~$ ls -la /usr/bin/g++-4*
-rwxr-xr-x 1 root root 216420 2009-08-30 07:38 /usr/bin/g++-4.3
-rwxr-xr-x 1 root root 220572 2009-08-29 23:53 /usr/bin/g++-4.4

I just use the export command if I need to use 4.3.

--
Cheers Malcolm ��� (Linux Counter #276890)
openSUSE 11.2 Milestone 6 (i586) Kernel 2.6.31-rc7-4-desktop
up 7:39, 2 users, load average: 0.04, 0.07, 0.07
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

From: Kevin Nathan on
On Sun, 6 Sep 2009 23:27:04 +0200
houghi <houghi(a)houghi.org.invalid> wrote:

>Strange that I do not get it.
>

Well, I'm on 11.0 so maybe that is the difference?


--
Kevin Nathan (Arizona, USA)
Linux Potpourri and a.o.l.s. FAQ -- (temporarily offline)

Open standards. Open source. Open minds.
The command line is the front line.
Linux 2.6.25.20-0.5-pae
4:13pm up 17 days 0:08, 35 users, load average: 0.90, 0.61, 0.67

From: joe cipale on
On Sun, 06 Sep 2009 16:13:43 -0700, Kevin Nathan wrote:

> On Sun, 6 Sep 2009 23:27:04 +0200
> houghi <houghi(a)houghi.org.invalid> wrote:
>
>>Strange that I do not get it.
>>
>>
> Well, I'm on 11.0 so maybe that is the difference?

Kevin,

I just installed SuSE 11 on my laptop (dual-boot with Vista). The install
worked fine, but when I attempt to compile a program (c++ -g -c
<filename>.cpp) but I am getting errors trying to compile. For whatever
reason, the compiler is unable to find the .h files.

I can find the files no problem. I have them in my path, but the compiler
is still bombing. Any ideas?

Joe