Code::Blocks Forums

User forums => Help => Topic started by: alexo on January 06, 2016, 06:24:58 pm

Title: zip library missed
Post by: alexo on January 06, 2016, 06:24:58 pm
Hello,

I'm trying to install Code::Blocks from sources on Tiny Core Linux.
I've correctly installed wxWidget (from sources because they are not in the distro repository).
When I run ./configure in the Code::Blocks source dir, it gets to the message I can build the software giving make and then make install.

make stops compiling showing me this message:

Code
make[4]: Entering directory '/home/tc/Downloads/codeblocks-13.12/src/sdk/resources'
PWD=`pwd` cd . && zip -qu /home/tc/Downloads/codeblocks-13.12/src/sdk/resources/manager_resources.zip *.xrc images/*.png images/16x16/*.png images/12x12/*.png > /dev/null
/bin/sh: zip: not found
Makefile:746: recipe for target 'manager_resources.zip' failed
make[4]: *** [manager_resources.zip] Error 127

What do I miss?

thanks for helping :)
Title: Re: zip library missed
Post by: alexo on January 06, 2016, 07:09:16 pm
I've solved the problem. It was not a library missed (./configure didn't complain that).
I was just missing the zip unzip tool. Once installed everything went ok.
Title: Re: zip library missed
Post by: alexo on January 06, 2016, 07:20:07 pm
But the compilation stopped again.
Now the error is:

Code
codecompletion.cpp:(.text+0x2eef): undefined reference to `wxCommandEvent::Clone() const'
collect2: error: ld returned 1 exit status
Makefile:529: recipe for target 'libcodecompletion.la' failed
make[4]: *** [libcodecompletion.la] Error 1
Title: Re: zip library missed
Post by: stahta01 on January 06, 2016, 10:44:10 pm
If you are using wxWidgets 3.0 or higher, I would suggest building Code::Blocks SVN trunk.

Tim S.
Title: Re: zip library missed
Post by: alexo on January 07, 2016, 11:08:48 am
thank you for your reply.
If the problem is library compatibilyty, I think I'm gonna wait for the new 15.12 release.

thank you.
Title: Re: zip library missed
Post by: BlueHazzard on January 09, 2016, 12:34:04 pm
If the problem is library compatibilyty, I think I'm gonna wait for the new 15.12 release.

You can compile from svn without any fear. The C::B trunk is stable for 96% of the time and if it is unstable it will get fixed quite fast...