I can't get the gcc-c++ compiler installed.. (actually.. I dont know how to...)

Hi,

I need to get an Eclipse C++ up and running on my SUSE Linux Enterprise Server 11 (i586)

Eclipse install went well, but I cant get the gcc-c++ compiler installed…

What I did so far: (lots of googling…)

  • Just to see what is there:

*susehost:~ # rpm -q gcc
gcc-4.3-62.198
susehost:~ # rpm -q gcc-c++
package gcc-c++ is not installed
susehost:~ #
*

  • Went to YaST2 Software Managment where found "gcc-c++ -

The system GNU C++ Compiler"

Install failed… I think it tried to find the install on CDRom Drive

  • Tried zypper

*susehost:~ # zypper install gcc-c++
Loading repository data…
Reading installed packages…
Resolving package dependencies…

The following NEW packages are going to be installed:
gcc43-c++ gcc-c++

Overall download size: 3.0 M. After the operation, additional 7.9 M will be used.** (<<< download from where??) **
Continue? [YES/no]: YES
Retrieving package gcc43-c+±4.3.3_20081022-11.18.i586 (1/2), 3.0 M (7.9 M unpacked)
Failed to mount cd:///?devices=/dev/sr0 on /var/adm/mount/AP_0x00000001: No medium found (mount: No medium found on /dev/sr0)*
*
Abort, retry, ignore? [A/r/i]: *

did download… but no clue was found how to install that image.

Many thanks,
Adzy

These are to openSUSE forums. The SUSE forums are here: https://forums.suse.com/forum.php
The people there might have more clues about SLES’s details.

I am not using SLES, but I’ll try to answer anyway.

Went to YaST2 Software Managment where found *"gcc-c++ -
*The system GNU C++ Compiler"

Install failed… I think it tried to find the install on CDRom Drive

  • Tried zypper

*susehost:~ # zypper install gcc-c++
Loading repository data…
Reading installed packages…
Resolving package dependencies…

The following NEW packages are going to be installed:
gcc43-c++ gcc-c++

Overall download size: 3.0 M. After the operation, additional 7.9 M will be used.** (<<< download from where??) **
Continue? [YES/no]: YES
Retrieving package gcc43-c+±4.3.3_20081022-11.18.i586 (1/2), 3.0 M (7.9 M unpacked)
Failed to mount cd:///?devices=/dev/sr0 on /var/adm/mount/AP_0x00000001: No medium found (mount: No medium found on /dev/sr0)*
*
Abort, retry, ignore? [A/r/i]: *

You have to insert your installation medium first, then you should be able to install it. (the same applies to YaST)
Or enable the online repos. They should be in YaST->Software Repositories.
But I don’t know about SLES, as I said before.

You should also be able to install the C++ Development pattern in YaST->Software Management (View->Patterns), this will install all the suff you might need…

did download… but no clue was found how to install that image.

That’s no image, that’s a 1-click install, for openSUSE most likely.
Since the compiler should be included in SLES anyway, don’t use that!

On 2013-11-30 12:06, adzy wrote:
> I need to get an Eclipse C++ up and running on my SUSE Linux Enterprise
> Server 11 (i586)

Sorry, but these are the openSUSE forums, not the SLES/SLED forums.
Please post here instead: SLES/SLED
forums
(same login/pass).


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

> Install failed… I think it tried to find the install on CDRom

Why don’t you just install from the online repo? If you don’t know how to do that we can help you.

A warning!

Please be carefull when giving advice in this thread. It is not about openSUSE, but about SLED/SLES. Thus you should be very sure that your advice fits for SLES/SLED.

Better still, do not answer here, but wait until the OP starts his question on the SLES/SLED forums and then answer there.

Thanks Wolfi for answering in spite of wrong forum…

It seems the source disk is required for zyper and Yast … which I don’t have… Got a VMware with lost of pre-installed stuff

I go and see SUSE Forums

Sorry… I’ll try SUSE Forum…
Cheers

If the online repos are configured (no idea if they are by default on SLES), it should work when you choose “Ignore”, at least you should be able to disable the DVD this way (in YaST->Software Repositories).

But anyway, they should know better in the SUSE forums… :wink:

Hi FlyMail… Thanks for the offer in spite of being on the wrong forum!

Online Repro: I need some help…

In YaST2 I can find where to change the software repository form a cd:///?device=/dev/sr0 to an http or ftp… but not sure where they are
Can I just download my * system GNU C++ Compiler* from that repository (where is it?) and install with zypper or any other tool?
I think its all very simpel… if you’v done it once :slight_smile:

Thanks,
Adzy

On 2013-12-03 13:16, wolfi323 wrote:
>
> adzy;2604801 Wrote:
>> It seems the source disk is required for zyper and Yast … which I don’t
>> have… Got a VMware with lost of pre-installed stuff
>>
> If the online repos are configured (no idea if they are by default on
> SLES), it should work when you choose “Ignore”, at least you should be
> able to disable the DVD this way (in YaST->Software Repositories).

It might require a license contract :-?

> But anyway, they should know better in the SUSE forums… :wink:

Of course.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On Sat 30 Nov 2013 11:58:09 AM CST, Carlos E. R. wrote:

On 2013-11-30 12:06, adzy wrote:
> I need to get an Eclipse C++ up and running on my SUSE Linux
> Enterprise Server 11 (i586)

Sorry, but these are the openSUSE forums, not the SLES/SLED forums.
Please post here instead: SLES/SLED
forums
(same login/pass).

Hi
That is the wrong URL, if you don’t know, then please don’t post
incorrect information!


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.101-0.8-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

On 2013-12-03 14:49, malcolmlewis wrote:
>

> On Sat 30 Nov 2013 11:58:09 AM CST, Carlos E. R. wrote:
>
> On 2013-11-30 12:06, adzy wrote:
>> I need to get an Eclipse C++ up and running on my SUSE Linux
>> Enterprise Server 11 (i586)
>
> Sorry, but these are the openSUSE forums, not the SLES/SLED forums.
> Please post here instead: SLES/SLED
> forums
(same login/pass).
>
>
>

> Hi
> That is the wrong URL, if you don’t know, then please don’t post
> incorrect information!

It has been correct for years. Which URL is it now?


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On Tue 03 Dec 2013 02:08:09 PM CST, Carlos E. R. wrote:

On 2013-12-03 14:49, malcolmlewis wrote:
> [QUOTE]
> On Sat 30 Nov 2013 11:58:09 AM CST, Carlos E. R. wrote:
>
> On 2013-11-30 12:06, adzy wrote:
>> I need to get an Eclipse C++ up and running on my SUSE Linux
>> Enterprise Server 11 (i586)
>
> Sorry, but these are the openSUSE forums, not the SLES/SLED forums.
> Please post here instead: SLES/SLED
> forums
(same login/pass).
>
>
>

> Hi
> That is the wrong URL, if you don’t know, then please don’t post
> incorrect information!

It has been correct for years. Which URL is it now?

[/QUOTE]
Hi
The SUSE forums where split out to https://forums.suse.com in February
2012… almost 2 years ago…


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.101-0.8-default
If you find this post helpful and are logged into the web
interface, please show your appreciation and click on the
star below… Thanks!

On 2013-12-03 15:15, malcolmlewis wrote:

>>> Hi
>>> That is the wrong URL, if you don’t know, then please don’t post
>>> incorrect information!
>
>> It has been correct for years. Which URL is it now?
>

> Hi
> The SUSE forums where split out to https://forums.suse.com in February
> 2012… almost 2 years ago…

Thanks. I’ll correct my copy-paste cheat sheet.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

That is the wrong URL. The correct one is: https://forums.suse.com/

On 2013-12-03 16:36, hcvv wrote:

> That is the wrong URL. The correct one is: https://forums.suse.com/

Yes, Malcolm told me that an hour before - thanks.

Funny that no one told me that before, I have been using the same copy
paste sheet for ages.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On 2013-12-03 21:25, Carlos E. R. wrote:
> On 2013-12-03 16:36, hcvv wrote:
>
>> That is the wrong URL. The correct one is: https://forums.suse.com/
>
> Yes, Malcolm told me that an hour before - thanks.
>
> Funny that no one told me that before, I have been using the same copy
> paste sheet for ages.

Maybe because the old and wrong link does work (I just tried it), but it
is a different set of forums, so one might be confused and think it is
the right place when it is not.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)