News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

zip library missed

Started by alexo, January 06, 2016, 06:24:58 PM

Previous topic - Next topic

alexo

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:

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 :)

alexo

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.

alexo

But the compilation stopped again.
Now the error is:


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

stahta01

If you are using wxWidgets 3.0 or higher, I would suggest building Code::Blocks SVN trunk.

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]

alexo

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.

BlueHazzard

Quote from: alexo on January 07, 2016, 11:08:48 AM
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...