You are not logged in.

#1 2009-08-14 15:45:28

vi3dr0
Member
From: Poland
Registered: 2009-03-22
Posts: 208

[SOLVED] makepkg complaining about libstdc++ which i have

Hi,

While trying to compile amarok1 from AUR I've got

checking if C++ programs can be compiled... no
configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similar to libstdc++-dev.

...but I have libstdc++ installed, and there is no other similar package.

Should I install something else?

Last edited by vi3dr0 (2009-08-15 00:57:52)


Thinkpad T61p : T7700 | 4GB RAM | nVidia FX 570M | Intel 4965
Arch64 @ Openbox

Offline

#2 2009-08-14 16:27:11

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [SOLVED] makepkg complaining about libstdc++ which i have

Do you have the "base-devel" group installed?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2009-08-14 18:07:40

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SOLVED] makepkg complaining about libstdc++ which i have

Hello vi3dr0!

And do you use the default C(XX)FLAGS in your /etc/makepkg.conf ?

Offline

#4 2009-08-14 18:56:23

vi3dr0
Member
From: Poland
Registered: 2009-03-22
Posts: 208

Re: [SOLVED] makepkg complaining about libstdc++ which i have

Yes, I already got base-devel installed.

In makepkg.conf I have

CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="{$CFLAGS}"

- copied from wiki, already compiled few packages with this setup with no problems. I just tried with

CFLAGS="-march=native -O2 -pipe"

with no difference.

It's not that, however thank you for quick answers wink


Thinkpad T61p : T7700 | 4GB RAM | nVidia FX 570M | Intel 4965
Arch64 @ Openbox

Offline

#5 2009-08-15 00:46:45

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SOLVED] makepkg complaining about libstdc++ which i have

Works for me, did you try to install it with manually (with g++) ?

Offline

#6 2009-08-15 00:47:51

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] makepkg complaining about libstdc++ which i have

The sintax CXXFLAGS="{$CFLAGS}" is incorrect must be CXXFLAGS="${CFLAGS}"

Offline

#7 2009-08-15 00:57:23

vi3dr0
Member
From: Poland
Registered: 2009-03-22
Posts: 208

Re: [SOLVED] makepkg complaining about libstdc++ which i have

OMG, of course it was that typo...

Thank you very much djgera wink

Marked as solved.

PS. Now it's complaining about libz... I'm going to look for it somewhere around here...


Thinkpad T61p : T7700 | 4GB RAM | nVidia FX 570M | Intel 4965
Arch64 @ Openbox

Offline

Board footer

Powered by FluxBB