Author Topic: Mandriva 2007 problem compiling codeblocks  (Read 3551 times)

Offline wxuserbrest

  • Multiple posting newcomer
  • *
  • Posts: 22
Mandriva 2007 problem compiling codeblocks
« on: December 23, 2006, 02:53:10 pm »
Hi,
few monts ago i tried to compile codeblocks on my mandriva 2007. Now on holidays i spent more time to read and to try to compile it. But it doesn't work. On mandriva i have svn 1.3.2 and the echo $LANG gives fr_FR.UTF-8.
When i do a LANG=C make i have


LANG=C make
Making all in src
make[1]: entrant dans le répertoire « /home/user/Documents/trunk/src »
Making all in build_tools
make[2]: entrant dans le répertoire « /home/user/Documents/trunk/src/build_tools »
Making all in autorevision
make[3]: entrant dans le répertoire « /home/user/Documents/trunk/src/build_tools/autorevision »
./auto_revision +int +wx +t ../../.. ./../../sdk/autorevision.h
*** glibc detected *** ./auto_revision: free(): invalid next size (normal): 0x0804f320 ***
======= Backtrace: =========
/lib/i686/libc.so.6[0x401c8dad]
/lib/i686/libc.so.6(__libc_free+0x83)[0x401c8f33]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x40101d91]
/usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0x40101ded]
/usr/lib/libstdc++.so.6(_ZNSt13basic_filebufIcSt11char_traitsIcEE26_M_destroy_internal_bufferEv+0x2f)[0x400a53af]
/usr/lib/libstdc++.so.6(_ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv+0x61)[0x400a8141]
./auto_revision[0x804a5bb]
./auto_revision[0x804aeaa]
/lib/i686/libc.so.6(__libc_start_main+0xdc)[0x4017975c]
./auto_revision(__gxx_personality_v0+0x4d)[0x8049211]
======= Memory map: ========
08048000-0804c000 r-xp 00000000 03:08 1753457    /home/user/Documents/trunk/src/build_tools/autorevision/auto_revision
0804c000-0804d000 rwxp 00004000 03:08 1753457    /home/user/Documents/trunk/src/build_tools/autorevision/auto_revision
0804d000-0806e000 rwxp 0804d000 00:00 0          [heap]
40000000-40018000 r-xp 00000000 03:06 28688      /lib/ld-2.4.so
40018000-40019000 r-xp 00017000 03:06 28688      /lib/ld-2.4.so
40019000-4001a000 rwxp 00018000 03:06 28688      /lib/ld-2.4.so
40038000-40039000 rwxp 40038000 00:00 0
40039000-40048000 r-xp 00000000 03:06 28682      /lib/i686/libpthread-2.4.so
40048000-4004a000 rwxp 0000e000 03:06 28682      /lib/i686/libpthread-2.4.so
4004a000-4004c000 rwxp 4004a000 00:00 0
4004c000-4004e000 r-xp 00000000 03:06 28699      /lib/libdl-2.4.so
4004e000-40050000 rwxp 00001000 03:06 28699      /lib/libdl-2.4.so
40050000-40129000 r-xp 00000000 03:06 734878     /usr/lib/libstdc++.so.6.0.8
40129000-4012c000 r-xp 000d9000 03:06 734878     /usr/lib/libstdc++.so.6.0.8
4012c000-4012e000 rwxp 000dc000 03:06 734878     /usr/lib/libstdc++.so.6.0.8
4012e000-40134000 rwxp 4012e000 00:00 0
40134000-40157000 r-xp 00000000 03:06 28680      /lib/i686/libm-2.4.so
40157000-40159000 rwxp 00023000 03:06 28680      /lib/i686/libm-2.4.so
40159000-40163000 r-xp 00000000 03:06 28731      /lib/libgcc_s-4.1.1.so.1
40163000-40164000 rwxp 0000a000 03:06 28731      /lib/libgcc_s-4.1.1.so.1
40164000-4028b000 r-xp 00000000 03:06 28678      /lib/i686/libc-2.4.so
4028b000-4028c000 r-xp 00126000 03:06 28678      /lib/i686/libc-2.4.so
4028c000-4028e000 rwxp 00127000 03:06 28678      /lib/i686/libc-2.4.so
4028e000-40293000 rwxp 4028e000 00:00 0
40300000-40321000 rwxp 40300000 00:00 0
40321000-40400000 ---p 40321000 00:00 0
bfd8d000-bfda3000 rw-p bfd8d000 00:00 0          [stack]
bfffe000-bffff000 r-xp bfffe000 00:00 0
make[3]: *** [all-local] Abandon
make[3]: quittant le répertoire « /home/user/Documents/trunk/src/build_tools/autorevision »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/user/Documents/trunk/src/build_tools »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/user/Documents/trunk/src »
make: *** [all-recursive] Erreur 1

Does anyone succeed in compiling this on mandriva 2007 ? Maybe there is some link that explain how to use tools like svn on linux to find how to compile this software.

I hope this time answers will give a chance to mandriva user to use codeblocks

Offline davidcosse

  • Single posting newcomer
  • *
  • Posts: 7
Re: Mandriva 2007 problem compiling codeblocks
« Reply #1 on: October 17, 2007, 03:09:44 pm »
J'ai du pas mal galéré pour installer codeblocks (ou code::blocks , c'est pareil), je décide donc de vous faire par de mon expérience et je vous indique donc la démarche qui a conduit au succès de l'installation.
Installation sur Mandriva 2008
Codeblocks svn
Dans un premier temps à partir du centre de contrôle Mandriva installer les packets suivants et leur dépendance:

subversion
gtk+2.0
zip
make
automake
autoconf
m4
gettext
libtool
intltool
gcc-c++
libstdc++-devel
wxgtk2.8
libwxgtk2.8
libwxgtk2.8-devel

Maintenant toute les dépendances doivent être installées on peut donc passer à l'installation de Code::Blocks à proprement parler.

ouvrir une console
créer un répertoire .CodeBlocks:
   mkdir .CodeBlocks
ce rendre dans ce répertoire:
   cd .CodeBlocks
télécharger codeblocks:
   svn checkout svn://svn.berlios.de/codeblocks/trunk
ce rendre dans le répertoire trunk
   cd trunk
taper la commande suivante:
   ./bootstrap
   ./configure
   make
devenir super utilisateur
   su
(entrez votre mot de passe root en aveugle)
   make install
sortir du compte root
   exit
L'installation est terminée !

Pour lancer codeblocks entrez:
   codeblocks&

et voila.
« Last Edit: February 11, 2008, 10:35:45 am by davidcosse »

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Mandriva 2007 problem compiling codeblocks
« Reply #2 on: October 17, 2007, 03:22:10 pm »
The Code::Blocks forums are restricted to the English language only. Please rewrite all three of your posts in English.

This is due to laws in Europe which make a website owner responsible for any of its content.

Thank you.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline davidcosse

  • Single posting newcomer
  • *
  • Posts: 7
Re: Mandriva 2007 problem compiling codeblocks
« Reply #3 on: October 17, 2007, 07:31:21 pm »
It was hard for me to succes the code::blocks or codeblocks install   on my Mandriva 2008 so has i did i writed a tu do how to do it.
---------
Installation on Mandriva 2008
Codeblocks svn
---------
At first you need to install all dependencies packages using Mandriva controle center or using urpmi command line.
The necessaries packages are:

subversion
gtk+2.0
zip
make
automake
autoconf
m4
gettext
libtool
intltool
gcc-c++
libstdc++-devel
wxgtk2.8
libwxgtk2.8
libwxgtk2.8-devel

Now we can start installing code::blocks
open a terminal
create a directory call .CodeBlocks , I prefer to have it hidden and with CodeBlocks has name but this doesn't matter put what ever you want:
   mkdir .CodeBlocks
go into:
   cd .CodeBlocks
download codeblocks:
   svn checkout svn://svn.berlios.de/codeblocks/trunk
go into trunk
   cd trunk
do:
   ./bootstrap
   ./configure
   make
become root user:
   su
(enter your password, becarefull you can't see it):
   make install
exit root account:
   exit
Installation is finish !

To start code::blocks do:
   codeblocks&

That's it

I'm French speaker so excuse me for my incorrect English ;) .
[/quote]
« Last Edit: February 11, 2008, 10:36:20 am by davidcosse »