News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Building CodeBlocks

Started by Auria, January 08, 2007, 06:00:21 PM

Previous topic - Next topic

Auria

Hi everyone, i just switched to linux and am trying to install Code::Blocks

Since i'm on PPC (i'm on Ububtu 6.06 PPC) i can't use the nightly builds so i'm attempting to build from source

i'm following the instructions found at http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux


however, when i try to bootstrap, i get the following errors:


configure.in: 10: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
configure.in: 10: required file `./[src/sdk/config.h].in' not found
configure.in: 10: required file `./[src/sdk/stamp-h.in' not found
src/Makefile.am:3: invalid variable `dist_pkgdata_DATA'
src/sdk/Makefile.am:3: PRECOMPILE_HEADERS does not appear in AM_CONDITIONAL
automake: src/sdk/Makefile.am: not supported: source file `$(srcdir)/sdk.h.gch' is in subdirectory
automake: src/sdk/wxscintilla/Makefile.am: not supported: source file `src/PlatWX.cpp' is in subdirectory
automake: src/sdk/wxscintilla/Makefile.am: not supported: source file `src/ScintillaWX.cpp' is in subdirectory
automake: src/sdk/wxscintilla/Makefile.am: not supported: source file `src/wxscintilla.cpp' is in subdirectory
automake: src/sdk/wxscintilla/Makefile.am: not supported: source file `src/scintilla/src/AutoComplete.cxx' is in subdirectory
automake: src/sdk/wxscintilla/Makefile.am: not supported: source file `src/scintilla/src/CallTip.cxx' is in subdirectory
automake: src/sdk/wxscintilla/Makefile.am: not supported: source file `src/scintilla/src/CellBuffer.cxx' is in subdirectory
automake: src/sdk/wxscintilla/Makefile.am: not supported: source file `src/scintilla/src/ContractionState.cxx' is in subdirectory
...... (goes on for pages)


any idea? thanks

Auria


lubos


cstudent

Are you trying to build completely from source? It looks like Ubuntu Dapper has the packages needed to build available in the repositories for PPC. Try using my how-to for building from svn located at http://wjkirby.googlepages.com/buildingcode%3A%3Ablocksfromsvnonubuntu6.06

Auria

Quote from: cstudent on January 11, 2007, 09:32:51 PM
Are you trying to build completely from source? It looks like Ubuntu Dapper has the packages needed to build available in the repositories for PPC. Try using my how-to for building from svn located at http://wjkirby.googlepages.com/buildingcode%3A%3Ablocksfromsvnonubuntu6.06

Well i was trying to build Code::Blocks from source, the rest was just obtained with apt-get.

I did pretty much exactly the things mentionned in your how-to, except maybe that i didn't install libtool, fakeroot, debhelper and zip. Dunno how big difference that would make? Probably none i guess

Well i can try again, but i don't think the problem is there.

cstudent

fakeroot and debhelper would be for building the deb. I'm thinking that you will need the other two, but I'm not 100% for sure on that.

stahta01

#6
Quote from: Auria on January 11, 2007, 09:37:38 PM
Well i was trying to build Code::Blocks from source, the rest was just obtained with apt-get.

I did pretty much exactly the things mentionned in your how-to, except maybe that i didn't install libtool, fakeroot, debhelper and zip. Dunno how big difference that would make? Probably none i guess

Well i can try again, but i don't think the problem is there.

On windows you have to have zip to build from source ( using Code::Blocks to build itself).
Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Auria

I followed one by one all the instructions on your how-to, but i still get the same error :(