News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Fails to start

Started by const451, June 19, 2010, 01:30:11 AM

Previous topic - Next topic

const451

I have Ubuntu 10.04 (newbie) 64 bit,  I downloaded codeblocks-10.05-1-debian-amd64.tar.bz2, I used installation instructions in wiki to install it ( no errors), but when I start it I see a splash screen for a second and then it shuts down.

Can you help, please!

oBFusCATed

Run it from terminal:

./codeblocks --debug-log

Run ldd codeblocks also in terminal.

Another thing your can try is to use the version for ubuntu 10.04, but I don't know where to get it from, search the forum.

to devs: Please, can someone edit the download page to include the link to the build for ubuntu 10.04, it will save (hopefully) a lot of pain for the ubuntu users
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

const451

>> ./codeblocks --debug-log

I have to run this command from the folder where codeblocks is installed? I cannot find that. I did the search and I found only two files named codeblocks: codeblocks.desktop and codeblocks.png.

Looks like it did not get to install after all? But I did not get any errors.

Any ideas please.

const451

I reinstalled it but it did not help.

There are two packages listed on the website:
   codeblocks-10.05-1-debian-amd64.tar.gz
   codeblocks-10.05-1-debian-dbg-amd64.tar.gz

What is the difference? I noticed there have different size.

THX

kencamargo

Quote from: const451 on June 19, 2010, 02:59:10 AM
I reinstalled it but it did not help.

There are two packages listed on the website:
   codeblocks-10.05-1-debian-amd64.tar.gz
   codeblocks-10.05-1-debian-dbg-amd64.tar.gz

What is the difference? I noticed there have different size.

THX

That distribution is not compatible with the wxWidgets libs that are distributed with Ubuntu.

You have two choices:
a) Use pasgui's repo with Ubuntu's wxWidgets;
b) Use the wxWidgets libs from the official repo - apt.wxwidgets.org
Both options are described in detail in a post that Jen made a while ago.

The dbg package includes the debug version of code::blocks, you probably don't need it.

Ken

const451

#5
Is this pasgui's repository?

http://lgp203.free.fr/ubuntu/?showdetail=codeblocks1#codeblocks1-row

There is a load of mingled links to files... which ones do I need?

THX


oBFusCATed

Add this

deb http://lgp203.free.fr/ubuntu lucid universe
deb-src http://lgp203.free.fr/ubuntu lucid universe
deb http://lgp203.free.fr/ubuntu lucid unstable
deb-src http://lgp203.free.fr/ubuntu lucid unstable

to your /etc/apt.d/sources (not sure that this is the actual path, use the dir completion to find it) file

Then you execute apt-get install codeblocks I suppose :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

Quote from: kencamargo on June 19, 2010, 04:04:47 AM
Quote from: const451 on June 19, 2010, 02:59:10 AM
I reinstalled it but it did not help.

There are two packages listed on the website:
   codeblocks-10.05-1-debian-amd64.tar.gz
   codeblocks-10.05-1-debian-dbg-amd64.tar.gz

What is the difference? I noticed there have different size.

THX

That distribution is not compatible with the wxWidgets libs that are distributed with Ubuntu.

You have two choices:
a) Use pasgui's repo with Ubuntu's wxWidgets;
b) Use the wxWidgets libs from the official repo - apt.wxwidgets.org
Both options are described in detail in a post that Jen made a while ago.

The dbg package includes the debug version of code::blocks, you probably don't need it.

Ken

I will add a notice to our website about this problem and how to solve it soon.

I have not bee at home this week (out for work), but I hope I find the time this weekend.

About the packages:

the packages with "-dbg" in name also contain debug-versions of C::B not needed for most users.

By the way: on linux I suggest not to use the debug-log if starting from console (at least not if you wnat to find the cause for a crash), because it prevents C::B from printing the debug-information on the console and if it crashes you might get nothing useful.


kencamargo

Quote from: oBFusCATed on June 19, 2010, 07:05:37 AM
Add this

deb http://lgp203.free.fr/ubuntu lucid universe
deb-src http://lgp203.free.fr/ubuntu lucid universe
deb http://lgp203.free.fr/ubuntu lucid unstable
deb-src http://lgp203.free.fr/ubuntu lucid unstable

to your /etc/apt.d/sources (not sure that this is the actual path, use the dir completion to find it) file

Then you execute apt-get install codeblocks I suppose :)

sudo apt-get update first. :) And you have to add pasgui's authentication code as well. All of this can be done from synaptic, if you want to use a GUI.

Jenna

Quote from: jens on June 19, 2010, 09:20:56 AM
[...]
I will add a notice to our website about this problem and how to solve it soon.
[...]
the packages with "-dbg" in name also contain debug-versions of C::B not needed for most users.

I just added a note about the *-dbg-* packages and one for the Ubuntu users to the  download page.

const451

Thank you for all your responses. I went route a) to install pasgui binaries - it all works now!!

Frankly, I had few frustrating hours installing codeblocks on Ubuntu. I wish there were more clear and concrete instructions for us, newbies. Because, for example, "Important note for Ubuntu users: To be able to use the Debian packages on Ubuntu Karmic Koala (9.10) and Lucid Lynx (10.04) you have to use the packages from apt.wxwidgets.org, ..." do not speak to me at all.

kencamargo

Quote from: const451 on June 19, 2010, 06:54:00 PM
Frankly, I had few frustrating hours installing codeblocks on Ubuntu. I wish there were more clear and concrete instructions for us, newbies. Because, for example, "Important note for Ubuntu users: To be able to use the Debian packages on Ubuntu Karmic Koala (9.10) and Lucid Lynx (10.04) you have to use the packages from apt.wxwidgets.org, ..." do not speak to me at all.

I beg to differ. Those are Ubuntu and wxWidgets issues, and there is a lot of documentation on Ubuntu sites on how to add a repository to your sources list (and what a repository and a sources list are), and also lots of stuff at the wxWidgets site on how to use them with Linux, IMHO there is not much sense in replicating all of those in the code::blocks pages.

Remember: Google is your friend. :)

Ken

oBFusCATed

Quote from: kencamargo on June 20, 2010, 07:56:12 PM
Remember: Google is your friend. :)

Most people hesitate to ask their friends for help.  :? :shock: :(
And here we had 10+ threads about installing cb 10.05 or the nightlies on ubuntu
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

kencamargo

Quote from: oBFusCATed on June 20, 2010, 09:40:20 PM
Quote from: kencamargo on June 20, 2010, 07:56:12 PM
Remember: Google is your friend. :)

Most people hesitate to ask their friends for help.  :? :shock: :(
And here we had 10+ threads about installing cb 10.05 or the nightlies on ubuntu

That was before the full instructions were posted - I think that what's there now is more than enough. I just hope that there isn't another n00b swarm gathering in the recesses of the internet just to prove me wrong. :)