Installing Code::Blocks from source on Mageia 7

From Code::Blocks
Revision as of 17:10, 4 January 2021 by Gandi (talk | contribs) (Created page with "This a small tutorial from my own web site: [http://www.suryavarman.fr/compiler-codeblocks-sur-mageia7/] Here the translation: Download the sources: For this small tutorial,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This a small tutorial from my own web site: [1]

Here the translation:

Download the sources: For this small tutorial, i propose to create a folder: Codeblocks. And to open a console at this path.

The hierarchy will be like that:


/Codeblocks*
           |
           *-/bin                         # binaries generated by the command
           |                              # «make install»
           |
           *-/codeblocks-code*            # sources
           |                 |
           |                 *-configure  # generate by «bootstrap»
           |
           *-build.sh                     # This script generate the «configure»
                                          # file, make and build the solution.
                                          # The binaries will be install into
                                          # the «bin» folder.

First clone the Codeblocks repository :

svn checkout https://svn.code.sf.net/p/codeblocks/code/trunk codeblocks-code


The folder will be like that:

...\Codeblocks\codeblocks-code

It's propable that the transfer failed lots of time. To pass-through you have to repeat the checkout like that:

cd codeblocks-code
svn cleanup
cd ..
svn checkout https://svn.code.sf.net/p/codeblocks/code/trunk codeblocks-code

Install the dependancies: Remark for hunspell select your languages.

su
urpmi autoconf libtool automake lib64squirrel-devel hunspell hunspell-fr hunspell-en lib64hunspell-devel lib64wxgtku3.0-devel lib64tinyxml-devel lib64gamin-devel
exit