Author Topic: Launching codeblocks (Svn build) does nothing  (Read 4960 times)

Offline Mikechaos

  • Single posting newcomer
  • *
  • Posts: 4
Launching codeblocks (Svn build) does nothing
« on: June 06, 2010, 06:45:21 pm »
Hello to all!

I just build codeblocks from the source and I'm trying to launch it, but nothings (at all) happens.

Code
mike@mike-desktop:~$ codeblocks
^Z
[1]+  Stopped                 codeblocks

I'm forced to manually stop it because nothings happens.

I think I have all dependencies installed so I can't get what's wrong! (I followed this howto http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux)

Thanks in advance!

Offline Mikechaos

  • Single posting newcomer
  • *
  • Posts: 4
Re: Launching codeblocks (Svn build) does nothing
« Reply #1 on: June 07, 2010, 03:46:29 am »
I can add that when I run the update file, I get this :

Code
mike@mike-desktop:~/Source/CodeBlocks/trunk/src$ ./update
Creating output directory tree
Compressing core UI resources
Compressing plugins UI resources
Packing core UI bitmaps
Packing plugins UI bitmaps
Copying files
cp: can not evaluate `devel/codeblocks': No such file or directory
cp: can not evaluate `devel/*.so': No such file or directory
cp: can not evaluate `devel/share/codeblocks/plugins/*.so': No such file or directory
Stripping debug info from output tree
strip: 'output/codeblocks': No such file
strip: 'output/*.so': No such file
strip: 'output/share/codeblocks/plugins/*.so': No such file
Creating launch-scripts

I don't know if this is related to the problem..

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Launching codeblocks (Svn build) does nothing
« Reply #2 on: June 07, 2010, 06:51:05 am »
It's not related, if you have build C::B with the automake-system as you stated in your first post.
The update-script is only needed, when building C::B from inside C::B.

Please post the exact steps you made to build C::B yourself, don't write I followed the xy-article).
You also forgot to mention the version of C::B you tried to build, your OS (and version), the version of wxWidgets and gcc/g++ you have used and whether you use prebuild packages of wxWidgets or did the build yourself.

Offline Mikechaos

  • Single posting newcomer
  • *
  • Posts: 4
Re: Launching codeblocks (Svn build) does nothing
« Reply #3 on: June 07, 2010, 04:58:54 pm »
Please post the exact steps you made to build C::B yourself, don't write I followed the xy-article).
You also forgot to mention the version of C::B you tried to build, your OS (and version), the version of wxWidgets and gcc/g++ you have used and whether you use prebuild packages of wxWidgets or did the build yourself.

I built wxWidgets following the exact steps stated in that article, because when I tried to install the package mention there, I got that :
Code
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :
  libwxgtk2.8-dev: Dépend: libwxgtk2.8-0 (= 2.8.10.1-0ubuntu1) mais 2.8.10.1-1 devra être installé
                   Dépend: libwxbase2.8-dev (= 2.8.10.1-0ubuntu1) mais ne sera pas installé
E: Paquets défectueux

Then, I changed directory (only thing I did not following the article), downloaded the svn version (the trunk directory), ran ./bootstrap, then  ./configure --with-contrib-plugins=all, then make and make install.

Now, I have to add I already had nightly build installed.
So, everything seemed to have worked perfectly so I tried to run codeblocks. That time it worked (in the title bar, it said "...codeblocks svn build"). So I deleted the nightly and yesterday when I tried again, I had this problem. I restored the nightly but it didn't change anything.

I tried rebuilding codeblocks following the same step but it didn't change anything.

I have Ubuntu 10.04 and I am using gcc 4.4.3 I think.

I think that's it. I tried to check if the previous nightly build was related but, up to now, didn't find anything.

If I can add anything, tell me!

Thank you for the interest you are showing toward my problem!

<edit>I still don't know if this could be related, but when I tried make clean-bin and make clean-zipfiles, I got that :

Code
mike@mike-desktop:~/Source/CodeBlocks/trunk$ make clean-bin
make: *** Nu rule to build « clean-bin ». Stop.
mike@mike-desktop:~/Source/CodeBlocks/trunk$ make clean-zipfiles
make: *** No rule to build « clean-zipfiles ». Stop.
« Last Edit: June 07, 2010, 05:11:41 pm by Mikechaos »

Offline Mikechaos

  • Single posting newcomer
  • *
  • Posts: 4
Re: Launching codeblocks (Svn build) does nothing
« Reply #4 on: June 07, 2010, 07:55:57 pm »
Well I finally manage to build it correctly!

I began by a sudo apt-get remove libcodeblocks0. Also, I think there was a conflict between my different version of GTK (the one I build my self and the package I had downloaded) so I removed it also.

Then a make clean and a make distclean to recompile every thing and finally, codeblocks is working!

Next step, starting to develop!