User forums > Help
Code::Blocks 1.0 installation issue: corrupted resources.zip
neonomicus:
Hey :)
I tried to install codeblocks on my Debian testing today, but unfortunately I did not manage to install all plugins shiped in the contrib directory.
This is what I did:
dos2unix bootstrap acinclude.m4 codeblocks.pc.in configure.in Makefile.am
./configure --enable-contrib
make
su
make install
Ok, no errors so far.
But when I try to start codeblocks, I get an error that some PNG file could not be loaded.
The problem:
/usr/local/share/codeblocks/resources.zip is corrupted. unzip'in that file neither worked.
Starting ./configure without "--enable-contrib" and following the other steps builds codeblocks
correctly - but without xwSmith, which is the object of my desire :)
Does anybody have any idea what I must do to make it work with --enable-contrib? :(
wxwidgets: 2.6.3
Code::Blocks: 1.0RC2
If you want the error report codeblocks produces tell me.
Thanks in advance :)
thomas:
Your life will be a much happier one if you use more recent sources.
Do svn checkout svn://svn.berlios.de/codeblocks/trunk and try again.
neonomicus:
Hm, if might be easier. But make failed :( :
--- Code: ---g++ -O2 -ffast-math -g -O2 -I/usr/local/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -o .libs/codeblocks app.o appglobals.o compilersettingsdlg.o crashhandler.o dlgabout.o dlgaboutplugin.o environmentsettingsdlg.o main.o prefix.o printdlg.o splashscreen.o startherepage.o -pthread -pthread -L/home/neonomicus/inst/codeblocks/trunk/src/src/wxAUI /home/neonomicus/inst/codeblocks/trunk/src/src/wxAUI/.libs/libwxaui.a -L/usr/local/lib -L/home/neonomicus/inst/codeblocks/trunk/src/sdk /home/neonomicus/inst/codeblocks/trunk/src/sdk/.libs/libcodeblocks.so -lpthread -ldl -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6 -Wl,--rpath -Wl,/usr/local/lib
/home/neonomicus/inst/codeblocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `wxScintilla::FindText(int, int, wxString const&, int, int*)'
collect2: ld returned 1 exit status
make[3]: *** [codeblocks] Fehler 1
make[3]: Leaving directory `/home/neonomicus/inst/codeblocks/trunk/src/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/neonomicus/inst/codeblocks/trunk/src/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/neonomicus/inst/codeblocks/trunk/src'
make: *** [all-recursive] Fehler 1
neonomicus@matrix:~/inst/codeblocks/trunk$
--- End code ---
thomas:
Hmm... it normally works fine. Several of us use it on Ubuntu regularly, so it should really work with Debian too. But I see you did not run bootstrap (at least your first post does not show it).
Can you verify exactly what build commands you typed?
It should more or less be something like this:
--- Code: ---mkdir cb && cd cb
svn checkout svn://svn.berlios.de/codeblocks/trunk
cd src
./bootstrap
./configure --enable-contrib
make
sudo make install
--- End code ---
(actually you can copy and paste this)
mandrav:
Also make sure you uninstall any previous C::B version. It probably is trying to link with libraries from RC2...
Navigation
[0] Message Index
[#] Next page
Go to full version