Author Topic: Trying to compile SVN in Linux. Something is missing here  (Read 2539 times)

Offline Tautrimas

  • Single posting newcomer
  • *
  • Posts: 4
Trying to compile SVN in Linux. Something is missing here
« on: January 30, 2008, 05:21:14 pm »
When tried to compile form SVN, at one point this happened:
Code: [Select]
Making all in wxAUI
make[3]: Entering directory `/home/tautrimas/programs/codeblocks/trunk/src/src/wxAUI'
/bin/sh ../../../libtool --tag=CXX --mode=link g++  -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions   -o libwxaui.la  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   manager.lo  -lpthread -ldl
grep: /usr/lib/libxcb-render-util.la: No such file or directory
/bin/sed: can't read /usr/lib/libxcb-render-util.la: No such file or directory
libtool: link: `/usr/lib/libxcb-render-util.la' is not a valid libtool archive
make[3]: *** [libwxaui.la] Error 1
make[3]: Leaving directory `/home/tautrimas/programs/codeblocks/trunk/src/src/wxAUI'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tautrimas/programs/codeblocks/trunk/src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tautrimas/programs/codeblocks/trunk/src'
make: *** [all-recursive] Error 1
localhost trunk #

/usr/lib/libxcb-render-util.la: No such file or directory – that is an interesting point. I'm using Sabayon Linux 3.4f (Gentoo derivative). What package do I need in order to compile C::B?
« Last Edit: February 01, 2008, 12:58:50 pm by Tautrimas »

Online stahta01

  • Lives here!
  • ****
  • Posts: 6899
    • My Best Post
Re: Trying to compile SVN. Something is missing here
« Reply #1 on: January 30, 2008, 06:04:54 pm »
I have no idea on how to help you, but did you look at the Wiki page? It might help.

http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Gentoo

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Tautrimas

  • Single posting newcomer
  • *
  • Posts: 4
Re: Trying to compile SVN. Something is missing here
« Reply #2 on: January 30, 2008, 06:08:59 pm »
Good idea. I'll analyze it a bit later. Thank's!

Offline Tautrimas

  • Single posting newcomer
  • *
  • Posts: 4
Re: Trying to compile SVN. Something is missing here
« Reply #3 on: January 31, 2008, 03:56:19 pm »
Exectly the same thing when trying to emerge with dev-util/codeblocks-9999-r18 ebuild.

Offline Tautrimas

  • Single posting newcomer
  • *
  • Posts: 4
Re: Trying to compile SVN. Something is missing here
« Reply #4 on: February 01, 2008, 12:55:35 pm »
Ok, I solved the problem by emerging x11-libs/xcb-util. After compilation program still can't be run. Here is the output:

Code: [Select]
[email protected] ~ $ codeblocks
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading toolbar...
OpenFilesList: loaded
CodeCompletion: loaded
ProjectsImporter: loaded
ClassWizard: loaded
AStylePlugin: loaded
ScriptedWizard: loaded
FilesExtensionHandler: loaded
Debugger: loaded
Compiler: loaded
Autosave: loaded
ToDoList: loaded
Open files list plugin activated
Code completion plugin activated
Foreign projects importer plugin activated
Class wizard plugin activated
Source code formatter (AStyle) plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Lightfeather project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'SDL project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'AVR Project'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'C/C++ header'
Scripted wizard plugin activated
Files extension handler plugin activated
Debugger plugin activated
Added compiler "GNU GCC Compiler"
Parsing stage done (0 total parsed files, 0 tokens in 0 minute(s), 0.0 seconds).
Updating class browser...
Class browser updated.
Added compiler "Intel C/C++ Compiler"
Added compiler "SDCC Compiler"
Added compiler "Tiny C Compiler"
Added compiler "GDC D Compiler"
Added compiler "Digital Mars D Compiler"
Added compiler "GNU ARM GCC Compiler"
Added compiler "GNU AVR GCC Compiler"
Added compiler "GNU GCC Compiler for PowerPC"
Added compiler "GNU GCC Compiler for TriCore"
*** glibc detected *** codeblocks: free(): invalid pointer: 0x08af4e80 ***
======= Backtrace: =========
/lib/libc.so.6[0xb69a4c67]
/lib/libc.so.6(__libc_free+0x72)[0xb69a61f2]
/usr/lib/libglib-2.0.so.0(g_free+0x2f)[0xb75e2970]
/usr/lib/libwx_gtk2u_core-2.8.so.0[0xb6e69eb1]
/usr/lib/libwx_gtk2u_core-2.8.so.0(_ZN8wxButton10SetDefaultEv+0x6f)[0xb6e69f67]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN18wxButtonXmlHandler16DoCreateResourceEv+0x22f)[0xb7189ced]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x318)[0xb71b0860]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x1da)[0xb71b1d4a]
/usr/lib/libcodeblocks.so.0(_ZN20wxXmlResourceHandler17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_+0x28)[0xb740c334]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN32wxStdDialogButtonSizerXmlHandler16DoCreateResourceEv+0x119)[0xb719f80b]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x318)[0xb71b0860]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x1da)[0xb71b1d4a]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateChildrenEP8wxObjectb+0xed)[0xb71b1f9f]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN32wxStdDialogButtonSizerXmlHandler16DoCreateResourceEv+0x5b)[0xb719f74d]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x318)[0xb71b0860]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x1da)[0xb71b1d4a]
/usr/lib/libcodeblocks.so.0(_ZN20wxXmlResourceHandler17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_+0x28)[0xb740c334]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler16Handle_sizeritemEv+0xea)[0xb71a083e]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler16DoCreateResourceEv+0x38)[0xb71a0916]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x318)[0xb71b0860]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x1da)[0xb71b1d4a]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateChildrenEP8wxObjectb+0xed)[0xb71b1f9f]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler12Handle_sizerEv+0x1be)[0xb71a05b8]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN17wxSizerXmlHandler16DoCreateResourceEv+0x64)[0xb71a0942]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x318)[0xb71b0860]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x1da)[0xb71b1d4a]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateChildrenEP8wxObjectb+0xed)[0xb71b1f9f]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN18wxDialogXmlHandler16DoCreateResourceEv+0x3c1)[0xb7190413]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN20wxXmlResourceHandler14CreateResourceEP9wxXmlNodeP8wxObjectS3_+0x318)[0xb71b0860]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource17CreateResFromNodeEP9wxXmlNodeP8wxObjectS3_P20wxXmlResourceHandler+0x1da)[0xb71b1d4a]
/usr/lib/libwx_gtk2u_xrc-2.8.so.0(_ZN13wxXmlResource10LoadDialogEP8wxDialogP8wxWindowRK8wxString+0x4b)[0xb71b2977]
/usr/lib/libcodeblocks.so.0(_ZN19AutoDetectCompilersC1EP8wxWindow+0x51)[0xb73378c7]
/usr/lib/libcodeblocks.so.0(_ZN15CompilerFactory12LoadSettingsEv+0x105)[0xb7369843]
/usr/share/codeblocks/plugins/libcompiler.so(_ZN11CompilerGCC11LoadOptionsEv+0x17)[0xae333e57]
/usr/share/codeblocks/plugins/libcompiler.so(_ZN11CompilerGCC8OnAttachEv+0x9c4)[0xae33a74a]
/usr/lib/libcodeblocks.so.0(_ZN8cbPlugin6AttachEv+0x4f)[0xb7345c0d]
/usr/lib/libcodeblocks.so.0(_ZN13PluginManager12AttachPluginEP8cbPluginb+0x3c)[0xb73c207c]
/usr/lib/libcodeblocks.so.0(_ZN13PluginManager14LoadAllPluginsEv+0x337)[0xb73c2c11]
codeblocks[0x808227a]
codeblocks[0x8092529]
codeblocks[0x806ef77]
codeblocks[0x806f7ae]
codeblocks(_ZN12wxAppConsole10CallOnInitEv+0xf)[0x806fe01]
/usr/lib/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPw+0x6b)[0xb6c11b31]
/usr/lib/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPc+0x34)[0xb6c11c02]
codeblocks[0x806d777]
/lib/libc.so.6(__libc_start_main+0xd0)[0xb6959840]
codeblocks(_ZN12wxHtmlWindow14OnInternalIdleEv+0x241)[0x806ce41]
======= Memory map: ========
08048000-080bc000 r-xp 00000000 08:06 589300     /usr/bin/codeblocks
080bc000-080c1000 rw-p 00074000 08:06 589300     /usr/bin/codeblocks
080c1000-08b19000 rw-p 080c1000 00:00 0          [heap]
ad900000-ad921000 rw-p ad900000 00:00 0
ad921000-ada00000 ---p ad921000 00:00 0
adabc000-adac9000 r--p 00000000 08:06 229589     /usr/share/fonts/ttf-bitstream-vera/VeraMono.ttf
adac9000-adaca000 ---p adac9000 00:00 0
adaca000-ae2c9000 rwxp adaca000 00:00 0
ae2c9000-ae2ec000 r-xp 00000000 08:06 682942     /usr/share/codeblocks/plugins/libtodo.so
ae2ec000-ae2ee000 rw-p 00023000 08:06 682942     /usr/share/codeblocks/plugins/libtodo.so
ae2ee000-ae2fb000 r-xp 00000000 08:06 682948     /usr/share/codeblocks/plugins/libautosave.so
ae2fb000-ae2fc000 rw-p 0000d000 08:06 682948     /usr/share/codeblocks/plugins/libautosave.so
ae2fc000-ae3e1000 r-xp 00000000 08:06 682950     /usr/share/codeblocks/plugins/libcompiler.so
ae3e1000-ae3e6000 rw-p 000e4000 08:06 682950     /usr/share/codeblocks/plugins/libcompiler.so
ae3e6000-ae3e7000 rw-p ae3e6000 00:00 0
ae3e7000-ae46c000 r-xp 00000000 08:06 682952     /usr/share/codeblocks/plugins/libdebugger.so
ae46c000-ae472000 rw-p 00085000 08:06 682952     /usr/share/codeblocks/plugins/libdebugger.so
ae472000-ae473000 rw-p ae472000 00:00 0
ae473000-ae48a000 r-xp 00000000 08:06 682954     /usr/share/codeblocks/plugins/libdefaultmimehandler.so
ae48a000-ae48c000 rw-p 00016000 08:06 682954     /usr/share/codeblocks/plugins/libdefaultmimehandler.so
ae48c000-ae4e1000 r-xp 00000000 08:06 682938     /usr/share/codeblocks/plugins/libscriptedwizard.so
ae4e1000-ae4e6000 rw-p 00054000 08:06 682938     /usr/share/codeblocks/plugins/libscriptedwizard.so
ae4e6000-ae519000 r-xp 00000000 08:06 682944     /usr/share/codeblocks/plugins/libastyle.so
ae519000-ae51b000 rw-p 00032000 08:06 682944     /usr/share/codeblocks/plugins/libastyle.so
ae51b000-ae51c000 ---p ae51b000 00:00 0
ae51c000-aed1b000 rwxp ae51c000 00:00 0
aed1b000-aedc5000 r-xp 00000000 08:06 682958     /usr/share/codeblocks/plugins/libcodecompletion.so
aedc5000-aedca000 rw-p 000aa000 08:06 682958     /usr/share/codeblocks/plugins/libcodecompletion.so
aedca000-aedcb000 rw-p aedca000 00:00 0
aedcb000-aedd1000 r-xp 00000000 08:06 3060638    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
aedd1000-aedd2000 r--p 00005000 08:06 3060638    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
aedd2000-aedd3000 rw-p 00006000 08:06 3060638    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
aedd3000-aedd4000 ---p aedd3000 00:00 0
aedd4000-af5d3000 rwxp aedd4000 00:00 0
af5d3000-af5d4000 ---p af5d3000 00:00 0
af5d4000-afdd3000 rwxp af5d4000 00:00 0
afdd3000-afdd4000 ---p afdd3000 00:00 0
afdd4000-b05d3000 rwxp afdd4000 00:00 0
b05d3000-b05d4000 ---p b05d3000 00:00 0
b05d4000-b0dd3000 rwxp b05d4000 00:00 0
b0dd3000-b0dd4000 rw-p b0dd3000 00:00 0
b0dd4000-b0de3000 r--p 00000000 08:06 229584     /usr/share/fonts/ttf-bitstream-vera/VeraBd.ttf
b0de3000-b1192000 r--p 00000000 08:06 1073607    /usr/share/icons/hicolor/icon-theme.cache
b1192000-b19d8000 r--p 00000000 08:06 2796518    /usr/share/icons/gnome/icon-theme.cache
b19d8000-b5813000 r--p 00000000 08:06 457303     /usr/share/icons/Tango/icon-theme.cache
b5813000-b5873000 rw-s 00000000 00:09 5308424    /SYSV00000000 (deleted)
b5873000-b58d3000 rw-s 00000000 00:09 5242886    /SYSV00000000 (deleted)
b58d3000-b58d9000 r--s 00000000 08:06 1007909    /var/cache/fontconfig/908e05d64697e528f617d0f922145f2a-x86.cache-2
b58d9000-b58df000 r--s 00000000 08:06 1007907    /var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-x86.cache-2
b58df000-b58e5000 r--s 00000000 08:06 1007888    /var/cache/fontconfig/1ef84183fedfa7a872370dc463a36f05-x86.cache-2
b58e5000-b58e7000 r--s 00000000 08:06 1007919    /var/cache/fontconfig/bcf118ca1ab46d6527109716d700cc7e-x86.cache-2
Aborted

Any ideas? The SVN version is 4853.