Author Topic: Going through hell trying to compile codeblocks  (Read 6438 times)

nehpilim

  • Guest
Going through hell trying to compile codeblocks
« on: January 22, 2006, 07:19:21 am »
Hi guys. I'm trying to compile codeblocks 1.0rc2 for slackware (the binary is broken).

First, the bootstrap gave errors...searching, I had to use dos2unix. Then aclocal gave me issues, so I searched some more, and exported my aclocal path.

Now, configure is giving me a hard time!

checking if the compiler supports precompiled headers... yes
checking for wx-config... /opt/wx/2.6/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.6.2)
checking for wxWidgets static library... no
configure: Configuring Code::Blocks...
configure: creating ./config.status
config.status: creating Makefile
.infig.status: error: cannot find input file: Makefile

I cannot imagine what its problem is, or what this means. I've deleted the directory twice and tried to start over, both times the same result.

Argh, somebody help me :(

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Going through hell trying to compile codeblocks
« Reply #1 on: January 22, 2006, 07:26:57 am »
nehpilim: Perhaps you might be interested in downloading the latest SVN builds / sources, RC2 had a lot of problems wth the build. Sorry I can't be of any more help, but it's because I don't have Linux :-P

Can anyone else help nehpilim with his compiling troubles?

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Going through hell trying to compile codeblocks
« Reply #2 on: January 22, 2006, 03:13:54 pm »
Hello,

I would like to suggest a search in the forum for, e.g., slackware. There are some posts which might be helpful.

And also, as rickg22 suggests, give a try to the SVN sources.

Best wishes,
Michael

polkick

  • Guest
Re: Going through hell trying to compile codeblocks
« Reply #3 on: January 22, 2006, 11:38:36 pm »
Take a look a this topic: http://forums.codeblocks.org/index.php?topic=2079.msg16330#msg16330
Even if a compile CB under debian sarge, I know a little bit slackaware, so I think it's going to work for you
-> Get the last version from SVN (http://www.codeblocks.org/source_code.shtml) then just
Code
./bootstrap
./configure
make
su
make install
exit

Don't care if you get the errors reported in my last post on the topic...

And be sure you have the following installed (debian packages' names):
Code
    * libwxgtk2.6-dev
    * zip / unzip (I remember the makefile use it)
    * subversion (to get the sources)
    * autoconf
    * automake
    * autotools-dev
    * libtool (can't rebember if really necessary or not)

I hope it'll work...

Offline cyberkoa

  • Plugin developer
  • Almost regular
  • ****
  • Posts: 145
    • http://
Re: Going through hell trying to compile codeblocks
« Reply #4 on: January 23, 2006, 03:15:39 am »
the RC2 source was developed under CVS , a lot of LF/NR problem, you need to use dos2unix to convert the bootstrap , configure and all the source file .

Therefore, I highly recommend you download the latest SVN which does not have all this problem, and the building process is just like mentioned
make sure your wxGTK is installed and compiled , and wx-config location is in the PATH


./bootstrap
./configure
make
make install

that's all

cheer
cyberkoa

zed

  • Guest
Re: Going through hell trying to compile codeblocks
« Reply #5 on: February 02, 2006, 01:57:24 am »
im having the same trouble as the original poster (i use codeblocks happily on windows but with linux im having major troubles)
is it possible for someone to compress all the SVN files in a single file thus i can download it, true i can install SVN (all 11mb, but ive now download so much already trying to get this to work 2x source,wx-widgets i feel like downloading another 11mb is just rubbing salt into the wounds)

is it possible to stick the link here
http://www.codeblocks.org/downloads.shtml
under Code::Blocks Sources (but with the notice that it uses the unix LF convention) or under Contribs further down the page

cheers
« Last Edit: February 02, 2006, 01:59:14 am by zed »