LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2011, 03:32 AM   #16
milarze
LQ Newbie
 
Registered: Apr 2011
Distribution: Mandriva, Ubuntu 11.04
Posts: 24

Original Poster
Rep: Reputation: 0

Ok so now I downloaded codeblocks-10.05-1mdv2010.1.i586.rpm and tried installing it, it tells me that libwxsmithlib.so.0 was unsatisfied. I went online to look for it and downloaded and installed libcodeblocks0-10.05-1mdv2010.1.i586.rpm which provided the necessary library (I think that is what it is called). Now Im still told that Code::Blocks cannot be installed because the gcc compiler relies on an older package. So I assume that I have to wait until the next update of the gcc compiler before I can install and use the compiler. Am I right?

Thank you very much for your help.
 
Old 05-14-2011, 04:30 AM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,737

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
Why don't you add "Contrib backports" to 'rpmdrake' = "Software Installer"
http://wiki.mandriva.com/en/Docs/Bas...oving_software
> > Advanced use: Backports and ...
> http://wiki.mandriva.com/en/Software_Media_Policy

→ → rpmdrake > Settings > Media Manager : ... Mirrors Contrib Backports > > OK.
............. Then 'codeblocks 10.05' is included.


Please avoid downloading anything that is possible to install with the "Software Installer".

..

Last edited by knudfl; 05-14-2011 at 04:31 AM.
 
Old 05-16-2011, 07:21 AM   #18
milarze
LQ Newbie
 
Registered: Apr 2011
Distribution: Mandriva, Ubuntu 11.04
Posts: 24

Original Poster
Rep: Reputation: 0
Thank you very much for your help.

I managed to successfully install Code::Blocks. I tested it with a program , but when I tried to compile it, I get the message "etc - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
So I suppose I should change the compiler settings, I think that the C++ compiler would be g++4.2 and the debugger should be gdb, the C compiler would be gcc4.2. Am i right? What about the Linker for dynamic and static libraries?

P.S. I hope Im not going too far off topic here.

Last edited by milarze; 05-16-2011 at 07:23 AM.
 
Old 05-17-2011, 04:50 AM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,737

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
May be codeblocks work perfect with the native compiler = 4.4.3 ?


Linker : There is one choice only : ld version 2.11.1
 
Old 05-18-2011, 12:19 AM   #20
milarze
LQ Newbie
 
Registered: Apr 2011
Distribution: Mandriva, Ubuntu 11.04
Posts: 24

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
May be codeblocks work perfect with the native compiler = 4.4.3 ?


Linker : There is one choice only : ld version 2.11.1
I find ld, ld.bfd, ld.gold, which one should i use?

And I cant find the version 4.4.3 compiler in the lists to select the toolchain executables.

Thanks

Last edited by milarze; 05-18-2011 at 12:27 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What are the steps to build and install a Slackware package from a RPM package? sudeepkulkarni Slackware 6 04-25-2011 01:51 PM
RH9.3 install gcc4.2.2 ,libstdc++.so.6 problem bangqian.chen Linux - Software 4 12-11-2007 09:44 PM
[SOLVED] gcc4.1.1 install issue. brave heart Red Hat 8 08-27-2007 05:13 AM
install GCC3.2 but remain GCC4.1 in FC6 oneday Linux - Software 1 08-22-2007 06:51 AM
trying to install gcc4.3 from downloaded archive piccolo solo Linux - Software 15 04-09-2006 04:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration