Code::Blocks Forums

User forums => Help => Topic started by: EvilImp on September 19, 2007, 05:33:27 am

Title: Foresight Linux - installing code blocks
Post by: EvilImp on September 19, 2007, 05:33:27 am
Hi,
  Can anyone tell me how to install this tool in Foresight Linux?  I am a total newbie so a step by step list would be much appreciated.

thanks
Title: Re: Foresight Linux - installing code blocks
Post by: stahta01 on September 19, 2007, 07:59:22 am
I would start by getting wxGTK/wxWidgets 2.8.4 on your computer.

Looks like you most likely will have to compile it from source code.

Tim S
Title: Re: Foresight Linux - installing code blocks
Post by: EvilImp on September 19, 2007, 09:13:57 am
Ok, thanks, where do I get the download?  More importantly , once I do get the download, how does one compile stuff in Linux?
Title: Re: Foresight Linux - installing code blocks
Post by: stahta01 on September 19, 2007, 09:44:20 am
I would look at this wiki info and see if it helps, I am mainly a windows person, so I can not really help you much in a Linux Distro I never heard of before today.

http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux

Note, I did a lot of looking for wxWidgets packages for Foresight Linux; and there is no 2.8.4 that I found, but I saw 2.8.0 or 2.8.1 versions of wxWidgets. Avoid 2.8.3 version, it has known issues with Code::Blocks and Linux. No idea how well 2.8.0/1/2 works under Linux. The recommended version in MS Windows is 2.8.4; note skip the new version 2.8.5 they plan to release 2.8.6 to fix bugs in less than a week.

Tim S
Title: Re: Foresight Linux - installing code blocks
Post by: Biplab on September 19, 2007, 09:58:56 am
If you're not comfortable with SVN, you may download the source tarball from the following link.

Quote
http://www.esnips.com/web/CodeBlocks-SVN-TarBall

It contains slightly older source tarballs than the current SVN. :)

Also don't download and install wxGTK-2.8.5. It contains number of serious bugs.
Title: Re: Foresight Linux - installing code blocks
Post by: thomas on September 19, 2007, 11:35:50 am
You will also need to install a "base development system" to be able to compile. I don't know what "Foresight Linux" installs by default, so it is kind of tough to tell you what to install.
I'm assuming that the package manager is smart enough to already install the correct version of GTK if you install wxGTK (but even this isn't granted for sure, of course).

Considering that you ask "how does one compile stuff in Linux", I am afraid that this may turn into a never ending nightmare for you. Maybe you want to install a more "mainstream" distribution (try Ubuntu) on another partition and try that first, following the step-by-step documentation.
That way, you get an idea and the "feeling" how things work at all, and you may be able to build on "Foresight Linux" later.