News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Problem: Install Code::Blocks from source in Ubuntu 6.10. [SOLVED]

Started by tiger, November 06, 2006, 02:45:48 AM

Previous topic - Next topic

tiger

Hi all.
The binary version of Code::Blocks I have downloaded from forum has some issues (doesn't exit completely,...), so I try to build a new one.
I'm stuck on the first step: ./bootstrap
root@tiger-lab:/home/tiger/programs/codeblocks/codeblocks-1.0rc2# ./bootstrap
-bash: ./bootstrap: Permission denied


Do you know why?  :?
123

Game_Ender

That message is most likely because the files is not executable, you need to do a "chmod u+x bootstrap".  That is beside the point you should download the sources from SVN.  You need to install the subversion client and the wxGTK-dev package along with the wx-common package.

tiger

tiger@tiger-lab:~/programs/codeblocks/codeblocks-1.0rc2$ sh bootstrap
: not found2:
: not found4:
: not found10:
: not found14:
bootstrap: 41: Syntax error: end of file unexpected (expecting "then")

Game_Ender

Quote from: Game_Ender on November 06, 2006, 03:28:36 AMyou should download the sources from SVN.

Did you follow that step?  RC2 is out dated and there was trouble with the line endings in the source tar balls.

tiger

Quote from: Game_Ender on November 06, 2006, 06:33:08 AM
Quote from: Game_Ender on November 06, 2006, 03:28:36 AMyou should download the sources from SVN.

Did you follow that step?  RC2 is out dated and there was trouble with the line endings in the source tar balls.

not yet. I'll do it now  :D

tiger

checking for GTK2... configure: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:

No package 'gtk+-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK2_CFLAGS
and GTK2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


I need help.

tiger

root@tiger-lab:/home/tiger/programs/codeblocks# make
Making all in src
make[1]: Entering directory `/home/tiger/programs/codeblocks/src'
Making all in build_tools
make[2]: Entering directory `/home/tiger/programs/codeblocks/src/build_tools'
Making all in autorevision
make[3]: Entering directory `/home/tiger/programs/codeblocks/src/build_tools/autorevision'
./auto_revision +int +wx +t ../../.. ./../../sdk/autorevision.h
sh: svn: not found
*** glibc detected *** ./auto_revision: free(): invalid next size (normal): 0x08050320 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0x401c88bd]
/lib/tls/i686/cmov/libc.so.6(__libc_free+0x84)[0x401c8a44]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x40102fc1]
/usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0x4010301d]
/usr/lib/libstdc++.so.6(_ZNSt13basic_filebufIcSt11char_traitsIcEE26_M_destroy_internal_bufferEv+0x2f)[0x400a764f]
/usr/lib/libstdc++.so.6(_ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv+0x61)[0x400aa461]
./auto_revision[0x804a812]
./auto_revision[0x804b15a]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0x401778cc]
./auto_revision(__gxx_personality_v0+0x45)[0x8049261]
======= Memory map: ========
08048000-0804d000 r-xp 00000000 08:04 266835     /home/tiger/programs/codeblocks/src/build_tools/autorevision/auto_revision
0804d000-0804e000 rw-p 00004000 08:04 266835     /home/tiger/programs/codeblocks/src/build_tools/autorevision/auto_revision
0804e000-0806f000 rw-p 0804e000 00:00 0          [heap]
40000000-40019000 r-xp 00000000 08:04 436342     /lib/ld-2.4.so
40019000-4001b000 rw-p 00018000 08:04 436342     /lib/ld-2.4.so
4001b000-4001e000 rw-p 4001b000 00:00 0
4001e000-40025000 r-xp 00000000 08:04 440788     /lib/xvnkb.so.0.2.9a-1
40025000-4002b000 rw-p 00007000 08:04 440788     /lib/xvnkb.so.0.2.9a-1
4003b000-4004a000 r-xp 00000000 08:04 468724     /lib/tls/i686/cmov/libpthread-2.4.so
4004a000-4004c000 rw-p 0000f000 08:04 468724     /lib/tls/i686/cmov/libpthread-2.4.so
4004c000-4004e000 rw-p 4004c000 00:00 0
4004e000-40050000 r-xp 00000000 08:04 468704     /lib/tls/i686/cmov/libdl-2.4.so
40050000-40052000 rw-p 00001000 08:04 468704     /lib/tls/i686/cmov/libdl-2.4.so
40052000-40126000 r-xp 00000000 08:04 131217     /usr/lib/libstdc++.so.6.0.8
40126000-40129000 r--p 000d4000 08:04 131217     /usr/lib/libstdc++.so.6.0.8
40129000-4012b000 rw-p 000d7000 08:04 131217     /usr/lib/libstdc++.so.6.0.8
4012b000-40131000 rw-p 4012b000 00:00 0
40131000-40155000 r-xp 00000000 08:04 468706     /lib/tls/i686/cmov/libm-2.4.so
40155000-40157000 rw-p 00023000 08:04 468706     /lib/tls/i686/cmov/libm-2.4.so
40157000-40161000 r-xp 00000000 08:04 436387     /lib/libgcc_s.so.1
40161000-40162000 rw-p 00009000 08:04 436387     /lib/libgcc_s.so.1
40162000-4028f000 r-xp 00000000 08:04 468698     /lib/tls/i686/cmov/libc-2.4.so
4028f000-40291000 r--p 0012c000 08:04 468698     /lib/tls/i686/cmov/libc-2.4.so
40291000-40293000 rw-p 0012e000 08:04 468698     /lib/tls/i686/cmov/libc-2.4.so
40293000-40297000 rw-p 40293000 00:00 0
40300000-40321000 rw-p 40300000 00:00 0
40321000-40400000 ---p 40321000 00:00 0
bfbe4000-bfbf9000 rw-p bfbe4000 00:00 0          [stack]
ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]
make[3]: *** [all-local] Aborted (core dumped)
make[3]: Leaving directory `/home/tiger/programs/codeblocks/src/build_tools/autorevision'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tiger/programs/codeblocks/src/build_tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tiger/programs/codeblocks/src'
make: *** [all-recursive] Error 1
root@tiger-lab:/home/tiger/programs/codeblocks#


I can't make.

mandrav

Quotesh: svn: not found

Install the svn (subversion) client.
Be patient!
This bug will be fixed soon...

tiger

Now Code::Blocks can run  :D

But it still can not exit completely  :(
So after using it I have to kill it manually.
Do you have the same problem with Code::Blocks in Ubuntu 6.10  :?

mandrav

Quote from: tiger on November 06, 2006, 12:55:21 PM
But it still can not exit completely  :(
So after using it I have to kill it manually.
Do you have the same problem with Code::Blocks in Ubuntu 6.10  :?

No, I don't. Will take a look later today though.
Be patient!
This bug will be fixed soon...

DoMeN

I have  the same problem with code::blocks not exiting complitely in Fedora 5.

This is the code that is output in the console:

Quote(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

(codeblocks:14283): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed

(codeblocks:14283): Gtk-CRITICAL **: gtk_pixmap_set: assertion `gdk_colormap_get_visual (gtk_widget_get_colormap (GTK_WIDGET (pixmap)))->depth == gdk_drawable_get_depth (GDK_DRAWABLE (val))' failed

DoMeN

Forgot to mention that actually code::blocks prints out that every time but doesn't entirely close only when called with "codeblocks &" in the console.