User forums > Help

I'm too dumb to install Code::Blocks under GNU/Linux

(1/3) > >>

Bloop:
Good evening

Well guys, you have a great IDE, but either your documentation skills are low or my ability to read is lost in the woods.

Ok I am using Gentoo here, and I don't think I'm that newbish but your package is not at all fool proof.
What I did:

Installed wxWidgets with Gentoo's allmighty "emerge wxGTK" with the following attributes: no_wxgtk1 gtk2 -unicode . I have RTFM which took me 2 seconds and then I went over to the Wiki.

Next downloaded the Source Tarball, not the CVS.
Extracted the with "tar -xzf codeblocks***RC2", got a : lone 0 at block 21234, entered the codeblocks dir, and .. saw nothing.

Which means I no Makefile or script or anything. I went to src, found the same unusable Makefile.am . "cat bootstrap" looked promising, but after some reading the look vanished. Wiki told me to "make -f Makefile.unix" but no go.

I'm blind. I will at once kill Tux and die with WinXP.

Please enlighten me!

Best regards Bloop

David Perfors:
looks like there is a problem with the tar package I can't tets it right now, but perhaps you use the following command to extract the package and tell is how much you see:

--- Code: ---tar -xvzf codeblocks1.0rc2.tgz
--- End code ---
the option v gives you all the files that where extracted.

hmm. I see that there is a md5 hash created. you can also do "md5sum codblocks1.0rc2.tgz" (I am not sure about the correct for of this, anyone?) and compare it with the md5sum on the downloadpage.

Bloop:
Hey there

The TAR seems to be in order! MD5 is exactly as stated on the download page. Somewhere I saw a statement regarding this lone 0. It said not to worry about this message.

Well my question is: HOW exactly, in simple words do I compile Code::Blocks for GNU/Linux ?

Regards bloop

mandrav:

--- Quote ---Ok I am using Gentoo here, and I don't think I'm that newbish but your package is not at all fool proof.
--- End quote ---


--- Code: ---./bootstrap (only needed once)
./configure
make
make install (as root)

--- End code ---

mandrav:
Also, someone mentioned he had problems because of the line endings.
Although it's not happening for me, here's the proposed solution (use it if you get weird errors in bootstrap):


--- Code: ---find . -type f -and -not -name "*.png" -and -not -name "*.bmp" | sed "s/.*/\"\\0\"/" | xargs dos2unix

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version