well that was the problem, i installed the g++ 3.3.6 from a slack package. dont know what 3.4.6 was doing on there, it was in my home directory so i must have downloaded it and installed it for some reason and forget
that fixed my problems althogh i still cant install the programs i was wanting for other reasons now but i will read up on that later
anyways, thanks for the help!