also confirm this bug in rev2288!!!!!
the latest!
MainFrame::OnSettingsEnvironment() offset 0000004a, after follows 2 empty Frames and the call of wxFatalSignalHandler.
Settings->Environment.... crash! the latest nightly !!!!!!!!!!
also confirm this bug in rev2288!!!!!You need a new keyboard. The "1" and "Shift" keys are hanging.
Got the same error with the build 2321 from 05 april 2006 (http://forums.codeblocks.org/index.php?topic=2828.0).
I have no project open and just clicked on Settings -> Environment. Here's the report (http://extraball.sunsite.dk/notepad.php?ID=17041).
I use C::B under Ubuntu Breezy 5.10.
Greetings, Dee
Got the same error with the build 2321 from 05 april 2006 (http://forums.codeblocks.org/index.php?topic=2828.0).
I have no project open and just clicked on Settings -> Environment. Here's the report (http://extraball.sunsite.dk/notepad.php?ID=17041).
I use C::B under Ubuntu Breezy 5.10.
Greetings, Dee
Someone who is getting this crash is going to have to explain to the
rest of us who are trying to solve it *how* to duplicate it.
*What* were you doing when you got the crash.
I cannot seem to get this crash and I've been through all the
options in "Environment Settings" on Ubuntu 510.
If you want it fixed, please give up some more information.
<?xml version="1.0" encoding="utf-8"?>
<report version="1.0" kind="exception">
<system description="Linux 2.6.12-10-386 i686"/>
<modules>
<module path="/usr/bin/codeblocks" address="08048000" size="00091000"/>
<module path="/usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf" address="b5bd1000" size="0000f000"/>
<module path="/usr/share/codeblocks/plugins/libwxsmith.so" address="b5d63000" size="00017000"/>
<module path="/usr/share/codeblocks/plugins/libprofiler.so" address="b5d7e000" size="0002d000"/>
<module path="/usr/share/codeblocks/plugins/libkeybinder.so" address="b5df0000" size="00002000"/>
<module path="/usr/share/codeblocks/plugins/libhelp_plugin.so" address="b5df3000" size="00028000"/>
<module path="/usr/share/codeblocks/plugins/libcodestat.so" address="b5e42000" size="00002000"/>
<module path="/usr/share/codeblocks/plugins/libtodo.so" address="b5e72000" size="00002000"/>
<module path="/usr/share/codeblocks/plugins/libpluginwizard.so" address="b5e97000" size="00002000"/>
<module path="/usr/share/codeblocks/plugins/libcompiler.so" address="b5f69000" size="00005000"/>
<module path="/usr/share/codeblocks/plugins/libdefaultmimehandler.so" address="b5f6f000" size="00024000"/>
<module path="/usr/share/codeblocks/plugins/libcodecompletion.so" address="b6798000" size="00091000"/>
<module path="/usr/share/codeblocks/plugins/libastyle.so" address="b6832000" size="0004a000"/>
<module path="/SYSV00000000" address="b68dd000" size="00063000"/>
<module path="/usr/lib/pango/1.4.0/modules/pango-basic-fc.so" address="b6942000" size="00001000" version="fc"/>
<module path="/usr/share/codeblocks/plugins/libclasswizard.so" address="b6953000" size="0000f000"/>
<module path="/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so" address="b6968000" size="00001000" version="xpm"/>
<module path="/usr/share/locale/en_GB/LC_MESSAGES/gtk20-properties.mo" address="b6976000" size="0001a000"/>
<module path="/lib/tls/i686/cmov/libnss_files-2.3.5.so" address="b69af000" size="0000a000" version="2.3.5"/>
<module path="/lib/tls/i686/cmov/libnss_nis-2.3.5.so" address="b69c1000" size="00001000" version="2.3.5"/>
<module path="/lib/tls/i686/cmov/libnsl-2.3.5.so" address="b69d4000" size="00001000" version="2.3.5"/>
<module path="/lib/tls/i686/cmov/libnss_compat-2.3.5.so" address="b69d7000" size="00009000" version="2.3.5"/>
<module path="/usr/share/locale/de/LC_MESSAGES/gtk20-properties.mo" address="b69f2000" size="0001c000"/>
<module path="/usr/lib/X11/locale/common/xlcUTF8Load.so.2.0.0" address="b6a0f000" size="00001000" version="2.0.0"/>
<module path="/usr/lib/libXdmcp.so.6.0.0" address="b6b99000" size="00004000" version="6.0.0"/>
<module path="/usr/lib/libXau.so.6.0.0" address="b6b9f000" size="00001000" version="6.0.0"/>
<module path="/usr/lib/libpangoft2-1.0.so.0.1001.0" address="b6ba1000" size="00023000" version="0.1001.0"/>
<module path="/usr/lib/libfontconfig.so.1.0.4" address="b6bec000" size="00005000" version="1.0.4"/>
<module path="/usr/lib/libexpat.so.1.0.0" address="b6bf2000" size="0001f000" version="1.0.0"/>
<module path="/usr/lib/libtiff.so.4.1.3" address="b6c12000" size="00051000" version="4.1.3"/>
<module path="/usr/lib/libjpeg.so.62.0.0" address="b6c81000" size="00001000" version="62.0.0"/>
<module path="/usr/lib/libpng12.so.0.1.2.8" address="b6ca5000" size="00001000" version="0.1.2.8"/>
<module path="/usr/lib/libglib-2.0.so.0.800.3" address="b6d22000" size="00005000" version="0.800.3"/>
<module path="/usr/lib/libgthread-2.0.so.0.800.3" address="b6d28000" size="00004000" version="0.800.3"/>
<module path="/usr/lib/libgmodule-2.0.so.0.800.3" address="b6d2e000" size="00001000" version="0.800.3"/>
<module path="/usr/lib/libgobject-2.0.so.0.800.3" address="b6d62000" size="00004000" version="0.800.3"/>
<module path="/usr/lib/libX11.so.6.2.0" address="b6e23000" size="00003000" version="6.2.0"/>
<module path="/usr/lib/libXrender.so.1.3.0" address="b6e2d000" size="00001000" version="1.3.0"/>
<module path="/usr/lib/libcairo.so.2.2.3" address="b6e72000" size="00002000" version="2.2.3"/>
<module path="/usr/lib/libfreetype.so.6.3.5" address="b6e75000" size="0006a000" version="6.3.5"/>
<module path="/usr/lib/libpango-1.0.so.0.1001.0" address="b6f11000" size="00003000" version="0.1001.0"/>
<module path="/usr/lib/libXfixes.so.3.0.0" address="b6f17000" size="00001000" version="3.0.0"/>
<module path="/usr/lib/libXcursor.so.1.0.2" address="b6f20000" size="00001000" version="1.0.2"/>
<module path="/usr/lib/libXext.so.6.4.1" address="b6f2d000" size="00001000" version="6.4.1"/>
<module path="/usr/lib/libXrandr.so.2.0.1" address="b6f30000" size="00001000" version="2.0.1"/>
<module path="/usr/lib/libXi.so.6.0.0" address="b6f32000" size="00008000" version="6.0.0"/>
<module path="/usr/lib/libXinerama.so.1.0.0" address="b6f3c000" size="00001000" version="1.0.0"/>
<module path="/usr/lib/libpangocairo-1.0.so.0.1001.0" address="b6f42000" size="00001000" version="0.1001.0"/>
<module path="/usr/lib/libgdk_pixbuf-2.0.so.0.800.6" address="b6f57000" size="00002000" version="0.800.6"/>
<module path="/usr/lib/libatk-1.0.so.0.1010.3" address="b6f71000" size="00003000" version="0.1010.3"/>
<module path="/usr/lib/libgtk-x11-2.0.so.0.800.6" address="b721c000" size="00029000" version="0.800.6"/>
<module path="/usr/lib/libz.so.1.2.3" address="b7249000" size="00014000" version="1.2.3"/>
<module path="/usr/lib/libgdk-x11-2.0.so.0.800.6" address="b72d3000" size="00007000" version="0.800.6"/>
<module path="/usr/lib/libwxscintilla.so.0.0.1" address="b73d8000" size="00004000" version="0.0.1"/>
<module path="/lib/tls/i686/cmov/libc-2.3.5.so" address="b73dd000" size="0012c000" version="2.3.5"/>
<module path="/lib/libgcc_s.so.1" address="b750b000" size="0000b000" version="1"/>
<module path="/lib/tls/i686/cmov/libm-2.3.5.so" address="b7517000" size="00022000" version="2.3.5"/>
<module path="/usr/lib/libstdc++.so.6.0.5" address="b7615000" size="00005000" version="6.0.5"/>
<module path="/usr/lib/libwx_baseu-2.6.so.0.0.0" address="b761f000" size="00117000" version="0.0.0"/>
<module path="/usr/lib/libwx_baseu_net-2.6.so.0.0.0" address="b7743000" size="00029000" version="0.0.0"/>
<module path="/usr/lib/libwx_baseu_xml-2.6.so.0.0.0" address="b7774000" size="00001000" version="0.0.0"/>
<module path="/usr/lib/libwx_gtk2u_core-2.6.so.0.0.0" address="b7a0e000" size="00022000" version="0.0.0"/>
<module path="/usr/lib/libwx_gtk2u_adv-2.6.so.0.0.0" address="b7a37000" size="00095000" version="0.0.0"/>
<module path="/usr/lib/libwx_gtk2u_html-2.6.so.0.0.0" address="b7acd000" size="00085000" version="0.0.0"/>
<module path="/usr/lib/libwx_gtk2u_qa-2.6.so.0.0.0" address="b7b6f000" size="00002000" version="0.0.0"/>
<module path="/usr/lib/libwx_gtk2u_xrc-2.6.so.0.0.0" address="b7bec000" size="00004000" version="0.0.0"/>
<module path="/lib/tls/i686/cmov/libdl-2.3.5.so" address="b7bf1000" size="00003000" version="2.3.5"/>
<module path="/lib/tls/i686/cmov/libpthread-2.3.5.so" address="b7bf5000" size="00010000" version="2.3.5"/>
<module path="/usr/lib/libcodeblocks.so.0.0.1" address="b7c07000" size="00338000" version="0.0.1"/>
<module path="/usr/share/locale-langpack/en_GB/LC_MESSAGES/libc.mo" address="b7f46000" size="00001000"/>
<module path="/usr/lib/gconv/ISO8859-1.so" address="b7f48000" size="00001000" version="1"/>
<module path="/lib/ld-2.3.5.so" address="b7f57000" size="00016000" version="2.3.5"/>
</modules>
<stack>
<frame level="2" function="wxStackWalker::Walk(unsigned int)" offset="00000030"/>
<frame level="3" function="wxDebugReport::AddContext(wxDebugReport::Context)" offset="00000a16"/>
<frame level="4" function="wxDebugReport::AddAll(wxDebugReport::Context)" offset="00000018"/>
<frame level="5" function="wxHtmlWindow::LoadPage(wxString const&)" offset="00000cc8"/>
<frame level="6" function="wxFatalSignalHandler" offset="00000026"/>
<frame level="7"/>
<frame level="8"/>
<frame level="9" function="MainFrame::OnSettingsEnvironment(wxCommandEvent&)" offset="0000004a"/>
<frame level="10" function="wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const" offset="00000031"/>
<frame level="11" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)" offset="0000007d"/>
<frame level="12" function="wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)" offset="00000074"/>
<frame level="13" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="000000bd"/>
<frame level="14" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000063"/>
<frame level="15" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000063"/>
<frame level="16" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000063"/>
<frame level="17" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000063"/>
<frame level="18" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000063"/>
<frame level="19" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000063"/>
<frame level="20" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000063"/>
<frame level="21" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000063"/>
<frame level="22"/>
<frame level="23" function="g_cclosure_marshal_VOID__VOID" offset="00000043"/>
<frame level="24" function="g_closure_invoke" offset="0000011e"/>
<frame level="25"/>
<frame level="26" function="g_signal_emit_valist" offset="000006ab"/>
<frame level="27" function="g_signal_emit" offset="00000029"/>
<frame level="28" function="gtk_widget_activate" offset="0000008a"/>
<frame level="29" function="gtk_menu_shell_activate_item" offset="000000d0"/>
<frame level="30"/>
<frame level="31"/>
<frame level="32" function="_gtk_marshal_BOOLEAN__BOXED" offset="00000058"/>
<frame level="33"/>
<frame level="34" function="g_closure_invoke" offset="0000011e"/>
<frame level="35"/>
<frame level="36" function="g_signal_emit_valist" offset="0000041e"/>
<frame level="37" function="g_signal_emit" offset="00000029"/>
<frame level="38"/>
<frame level="39" function="gtk_propagate_event" offset="000000c1"/>
<frame level="40" function="gtk_main_do_event" offset="00000325"/>
<frame level="41"/>
<frame level="42" function="g_main_context_dispatch" offset="000001dc"/>
<frame level="43"/>
<frame level="44" function="g_main_loop_run" offset="000001a1"/>
<frame level="45" function="gtk_main" offset="000000b4"/>
<frame level="46" function="wxEventLoop::Run()" offset="00000055"/>
<frame level="47" function="wxAppBase::MainLoop()" offset="0000004c"/>
<frame level="48" function="wxAppBase::OnRun()" offset="00000021"/>
<frame level="49"/>
<frame level="50" function="wxEntry(int&, wchar_t**)" offset="0000005c"/>
<frame level="51" function="wxEntry(int&, char**)" offset="00000032"/>
<frame level="52" function="EditorBase::CreateContextSubMenu(int)" offset="000002a8"/>
</stack>
</report>
It is not an easy issue (if any). My colleague gets such a crash, but not me. I get Settings-->Editor (with codestats plugins activated), but not him. The dffirence betwen me and him? I have ubuntu 5.10 and he has kubuntu 5.10. I build C::B by myself and he uses the .deb package.
#!/ bin/sh
APP_DIR=/home/pecan/devel/trunk/src/devel
export LD_LIBRARY_PATH=$APP_DIR:$LD_LIBRARY_PATH
gdb $APP_DIR/codeblocks $@
QuoteIt is not an easy issue (if any). My colleague gets such a crash, but not me. I get Settings-->Editor (with codestats plugins activated), but not him. The dffirence betwen me and him? I have ubuntu 5.10 and he has kubuntu 5.10. I build C::B by myself and he uses the .deb package.
Since I cannot get the crash, the only thing I can suggest is
to run CB from a terminal window under gdb. When it crashes,
a gdb backtrace will tell you exactly which statement caused it.
my dbg.sh run from the .../devel directoryCode#!/ bin/sh
APP_DIR=/home/pecan/devel/trunk/src/devel
export LD_LIBRARY_PATH=$APP_DIR:$LD_LIBRARY_PATH
gdb $APP_DIR/codeblocks $@
sorry
pecan
EDIT: remove the space between the slash and bin. Apache
won't let me put the dir name in correctly.
*What* were you doing when you got the crash.As i said above. I started C::B and just clicked on "Settings -> Environment". This is all, nothing else more, no further clicks, hitting keys or anything... So I cannot provide more information.
It's obvious that there is no crash in the Environment settings dialog. It has been fixed days ago.As I wrote this message I was using the latest build that was available. So it couldn't be that old.... And I do not compile the whole project, I use the debs for Ubuntu.
Those of you who experience this kind of crashes, probably have out-of-date resources.
dee@dexus:~$ codeblocks
(codeblocks:25830): Gtk-CRITICAL **: gtk_window_realize_icon: assertion `info->icon_pixmap == NULL' failed
addr2line: 'codeblocks': No such file
addr2line: 'codeblocks': No such file
[... 62 lines with the same text ...]
addr2line: 'codeblocks': No such file
Abgebrochen
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1229030624 (LWP 26107)]
0x08074463 in EnvironmentSettingsDlg::OnChooseColor ()
(gdb) bt
#0 0x08074463 in EnvironmentSettingsDlg::OnChooseColor ()
#1 0x08095c5a in MainFrame::OnSettingsEnvironment ()
#2 0xb763a2c1 in wxAppConsole::HandleEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#3 0xb76c2edf in wxEvtHandler::ProcessEventIfMatches ()
from /usr/lib/libwx_baseu-2.6.so.0
#4 0xb76c30b0 in wxEventHashTable::HandleEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#5 0xb76c3261 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#6 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#7 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#8 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#9 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#10 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#11 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#12 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#13 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#14 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#15 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#16 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#17 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#18 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#19 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#20 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#21 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#22 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#23 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#24 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#25 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#26 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#27 0xb76c3207 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_baseu-2.6.so.0
#28 0xb78bce45 in wxMenu::~wxMenu () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#29 0xb6d20ab3 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#30 0xb6d153a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#31 0xb6d23b13 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#32 0xb6d25150 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#33 0xb6d254c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#34 0xb7153f8d in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb7080c69 in gtk_menu_shell_activate_item ()
from /usr/lib/libgtk-x11-2.0.so.0
#36 0xb7080f3d in gtk_menu_shell_activate_item ()
from /usr/lib/libgtk-x11-2.0.so.0
#37 0xb707766e in gtk_menu_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
#38 0xb707202c in _gtk_marshal_BOOLEAN__BOXED ()
from /usr/lib/libgtk-x11-2.0.so.0
#39 0xb6d14d75 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#40 0xb6d153a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#41 0xb6d23c9f in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#42 0xb6d24ec3 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#43 0xb6d254c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#44 0xb715416f in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#45 0xb7070767 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#46 0xb7070ba0 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#47 0xb727ab2d in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#48 0xb6ca74ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0xb6caa4f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#50 0xb6caa7e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#51 0xb706fe65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#52 0xb78492a7 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#53 0xb78d8b6a in wxAppBase::MainLoop ()
from /usr/lib/libwx_gtk2u_core-2.6.so.0
#54 0xb78d8c4f in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#55 0x080648ae in CodeBlocksApp::OnBatchBuildDone ()
#56 0xb766dad4 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#57 0xb766db88 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#58 0x08062344 in ?? ()
#59 0xb73cfec2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#60 0x08062261 in ?? ()
May be the problem with Settings-->Environment is similar as the Settings-->Editor one.
May be the problem with Settings-->Environment is similar as the Settings-->Editor one.
Michael,
What do I have to turn on to get this crash?
I don't seem to be able to reproduce it on Ubuntu 510?
Do you get it?
Edit: Ok, I see that you dont get the crash (on closer reading).
It seems the crash occurs with the .deb package. Does the
deb package distribute the resources along with the code?
Does the .deb package *update* the resources?
Is the .deb accidently failing to update resources?
Maybe you could compare your resources (for Settings->Environment)
with your collegues resources?
Maybe you could delete every .zip file in his CB directory, re-install
the .deb and see if the bug goes away?
I use .deb package rev 2366 under Breezy and I confirm the crash when entering Settings->Enviroment. I uninstalled it (via Synaptic), and installed again, and it didn't help.
Hello,
I also installed the deb and want to try to build the source by myself. But stupid question: Where can I get it? The nightly build (http://www.codeblocks.org/nightly/) threads only have the precompiled packages. On Sourceforge (http://sourceforge.net/project/showfiles.php?group_id=126998) and on the Download Page (http://www.codeblocks.org/downloads.shtm) I only find the sources for 1.0rc2... On BerliOS (http://developer.berlios.de/project/showfiles.php?group_id=5358) I only see the nightly binaries.
So where is the source to download as tar or whatever?
And after I build it what should I compare exactly?
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
aclocal:configure.in:61: warning: macro `AM_OPTIONS_WXCONFIG' not found in library
aclocal:configure.in:62: warning: macro `AM_PATH_WXCONFIG' not found in library
configure.in:61: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:62: error: possibly undefined macro: AM_PATH_WXCONFIG
export ACLOCAL_FLAGS="--acdir=`wx-config --prefix`/share/aclocal"
If you use Ubuntu 5.10 did you install the package wx-common?No, but I installed it now... The message is now:
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
The message is now:CodeCan I ignore these warnings?/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
So what can I do to help you find the difference between my deb and the deb you offer ?
Yes, but what exactly? Should I compare every folder and file in the deb-files? Should I check the size or the content? (And how?) And of course they differ... I installed my c::b to /usr/local and the precompiled binary uses just /usr as I think. So they couldn't be the same.
Yes, but what exactly? Should I compare every folder and file in the deb-files? Should I check the size or the content? (And how?) And of course they differ... I installed my c::b to /usr/local and the precompiled binary uses just /usr as I think. So they couldn't be the same.
Greetings, Dee
Dee, thanks for all that work..
Give me a little time to walk with my pup and think of a
good easy way to do this...
2. get the latest version (2380 I think) via svn
I thought the .deb package was simply downloaded from the nightly builds?Yes, but I think we want to compare your debian build and my build from the sources?
What do you mean by "svn"?So i get the sources via svn (see posting by thomas above) and compile it...
QuoteI thought the .deb package was simply downloaded from the nightly builds?Yes, but I think we want to compare your debian build and my build from the sources?QuoteWhat do you mean by "svn"?So i get the sources via svn (see posting by thomas above) and compile it...
Now I have two debian packages: The one I compile on my machine that don't crash and the one from your servers, that crashes. (Or better I would have two debian packages if the link you posted would not say "file does not exists".)
QuoteI thought the .deb package was simply downloaded from the nightly builds?Yes, but I think we want to compare your debian build and my build from the sources?QuoteWhat do you mean by "svn"?So i get the sources via svn (see posting by thomas above) and compile it...
Now I have two debian packages: The one I compile on my machine that don't crash and the one from your servers, that crashes. (Or better I would have two debian packages if the link you posted would not say "file does not exists".)
Greetings, Dee
Hm, I thought this is the standard way in Ubuntu... You also could use dh_make and fakeroot, but that doesn't work with codeblocks in my case. But anyway...
So I should install both debian packages (your deb will be in /usr and my deb in /usr/local so this should be no problem) and compare which zip file? I have never seen some zip-file in one of the install directorys...
dpkg --contents file.deb
If not for the resources and zip files, look under share/devel.
So, rev2380 is online, I installed it (it removes my debian-built) but still crashes.... (Only to be sure we're on the right way.)QuoteIf not for the resources and zip files, look under share/devel.
So, I found the error... If I replace the resources.zip from your debian package in /usr/share/codeblocks with my resources.zip there is no crash.
The differences are...
app_compiler_settings.xrc: two more options in my built
env_settings.xrc: one other name, two more objects
print_dialog.xrc: one more object and utf8-encoding
In the next step I just replace the env_settings.xrc in the zip file and it works well. So I attach my env_settings.xrc so that you can compare it. (I must rename it to attach it...)
I hope that you can fix the error now so that everyone has fun in programming with C::B... :)
Yannis could you please have a look at the debian directory and check if it is not there the cause of the problem (I would do it by myself, but I am not an expert)
... I just replace the env_settings.xrc in the zip file and it works well.
...
I hope that you can fix the error now so that everyone has fun in programming with C::B... :)
QuoteYannis could you please have a look at the debian directory and check if it is not there the cause of the problem (I would do it by myself, but I am not an expert)
Well I 'm far from being an expert myself ;)
Anyway, surely the resources are not updated. I have mentioned it before. And I have also mentioned the temporary "fix": just before creating your package, run make clean-zipfiles...
If someone would be so kind to install it and check if the Settings-->Environment crash is disappeared,Sorry, but it still crashes....
Anyway, I just wonder if there is an official method for building .deb packages.I don't think so! I know that my way with checkinstall is not the best, because the dependencies will not be checked. But using dh_make and fakeroot should do this. But please don't ask how to use this exactly...
you beat both me and my dog to the solution.No, I would never beat a dog or any other animal... ;)
Quote from: MichaelIf someone would be so kind to install it and check if the Settings-->Environment crash is disappeared,Sorry, but it still crashes....
QuoteAnyway, I just wonder if there is an official method for building .deb packages.I don't think so! I know that my way with checkinstall is not the best, because the dependencies will not be checked. But using dh_make and fakeroot should do this. But please don't ask how to use this exactly...
Yeah, it works... :)
But there are other problems with this release (and the previous ones). Should I start another thread?
make clean-bin
make clean-zipfiles
make distclean
make distclean
make clean-bin
make clean-zipfiles
./configure
make
make install