Author Topic: Troubles installing C::B 8.02 on Ubuntu  (Read 26293 times)

Offline r0d

  • Single posting newcomer
  • *
  • Posts: 6
Troubles installing C::B 8.02 on Ubuntu
« on: February 29, 2008, 05:36:35 pm »
Hello,

first of all, i want to congratulate the team of C::B. I use it regularly for 6 months, in a professional executive, and I am completely satisfied. I do not still know well linux  environments; Up to here I used only Windows, largely because of Visual Studio. It is thus thanks to C:: B that I am now in the Linux world.

Well, because i don't know very well my linux platform (Ubuntu 7.04 - Feisty Fawn - i know, itś an old version, but i got 6 monthes of brutal work on this environment and i'm a bit... fearful), i got troubles to install the new Code Blocks 8.02 version.

I downloaded the tar.gz that contains the .deb packages, but doing a double click on the first one (libcodeblocks2.8-0), the packages manager send me the following error: "Error: Dependency is not satisfiable: libwxgtk22.8-0"

But i checked with Synaptic, and i saw that this library (libwxgtk22.8-0) is already installed.

Does anybody have an idea on what is missing?

Thank you.
« Last Edit: February 29, 2008, 05:50:33 pm by r0d »

Offline sammyf70

  • Single posting newcomer
  • *
  • Posts: 4
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #1 on: February 29, 2008, 07:27:25 pm »
Same problem with Gutsy. All the .deb packages in the tar.gz file rely on each other or on dependencies that are already installed but are apparently not recognized.
I compiled RC3 a few days ago. Maybe that's what broke it.


Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #2 on: February 29, 2008, 07:44:31 pm »
Is it really libwxgtk22.8-0 not libwxgtk22.8-0 ?
If yes, I think there is an error in the dependencies.

Offline sammyf70

  • Single posting newcomer
  • *
  • Posts: 4
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #3 on: February 29, 2008, 08:08:16 pm »
The dependency not satisfied by "libcodeblocks0_8.02-0ubuntu1_i386.deb" is indeed "libwxgtk2.8-0", not "libwxgtk22.8-0".
I guess that was a typo on the part of r0d. So the problem comes from somewhere else :/
 

Offline Blue112

  • Single posting newcomer
  • *
  • Posts: 6
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #4 on: March 01, 2008, 01:58:51 am »
Hello.

On the download page :
Quote
NOTE 2: The Ubuntu packages have been linked against wxGTK-2.8.7, which is not available in the default Ubuntu repositories.To successfully install these packages, you have to add the wxWidgets repository for Ubuntu in your /etc/apt/sources.list (e.g. deb http://apt.wxwidgets.org/ gutsy-wx main).

It's work perfectly.

Offline sammyf70

  • Single posting newcomer
  • *
  • Posts: 4
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #5 on: March 01, 2008, 02:04:49 pm »
uh .. thanks! Missed  that when I downloaded the file :)

Still weird that dpkg states that wxGTK-2.8.0 is needed though.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #6 on: March 01, 2008, 03:09:36 pm »
uh .. thanks! Missed  that when I downloaded the file :)

Still weird that dpkg states that wxGTK-2.8.0 is needed though.

I believe it asks for libwxgtk2.8-0, what's a big difference.

And normally it also tells you which version it needs.
In this case it should be something like : (>=2.8.7.1).

binford

  • Guest
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #7 on: March 01, 2008, 03:21:55 pm »
I still have troubles installing CB. When I try to install wxGTK2.8-0, it says:

Quote
libwxgtk2.8-0: Depends on: libpango1.0-0 (>= 1.18.3) but 1.18.2-0ubuntu1 is installed.

Apparently the are not all dependencies in the repo which is mentioned on the download page. Am I missing sth?

Offline sammyf70

  • Single posting newcomer
  • *
  • Posts: 4
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #8 on: March 01, 2008, 03:25:39 pm »
hmm .. worked for me. Thanks everybody :)

Binford, Synaptic has libpango1.0-0 (1.18.3-0ubuntu1), at least for Gutsy. Did you check for updates?
You might try downloading and installing this package :
http://packages.ubuntu.com/gutsy-updates/libpango1.0-0

good luck
« Last Edit: March 01, 2008, 03:30:28 pm by sammyf70 »

Offline pasgui

  • Almost regular
  • **
  • Posts: 165
    • LGP
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #9 on: March 01, 2008, 05:04:41 pm »
You might try downloading and installing this package :
http://packages.ubuntu.com/gutsy-updates/libpango1.0-0

Or you may try under Synaptic Package Manager: Settings->Repositories->Updates; check the line gutsy-updates and reload.

Best regards, pasgui

binford

  • Guest
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #10 on: March 01, 2008, 05:07:57 pm »
Yepp, now it works. The "gutsy-update" line was commented, cause there was a signature mismatch some time ago. I forgot about that. Thx guys!

binaryV

  • Guest
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #11 on: March 03, 2008, 06:51:41 am »
Hello.

On the download page :
Quote
NOTE 2: The Ubuntu packages have been linked against wxGTK-2.8.7, which is not available in the default Ubuntu repositories.To successfully install these packages, you have to add the wxWidgets repository for Ubuntu in your /etc/apt/sources.list (e.g. deb http://apt.wxwidgets.org/ gutsy-wx main).

It's work perfectly.

I'm having trouble installing that package.  When I try to install it through Synaptic, I get this message:

"W: GPG error: http://apt.wxwidgets.org gutsy-wx Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E0BCE7F53B087BC"

I suppose it has something to do with what binford was talking about but I don't know what to do about it.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #12 on: March 03, 2008, 08:50:57 am »
I'm having trouble installing that package.  When I try to install it through Synaptic, I get this message:

"W: GPG error: http://apt.wxwidgets.org gutsy-wx Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E0BCE7F53B087BC"

That's a warning. Just proceed installing C::B now.
Be patient!
This bug will be fixed soon...

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #13 on: March 03, 2008, 09:52:35 am »
I'm having trouble installing that package.  When I try to install it through Synaptic, I get this message:

"W: GPG error: http://apt.wxwidgets.org gutsy-wx Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E0BCE7F53B087BC"

That's a warning. Just proceed installing C::B now.

Or run
Code
wget -q http://apt.wxwidgets.org/key.asc -O-  | sudo apt-key add -
to make apt know the public-key used to sign the packages on wxwidgets.org .

Offline r0d

  • Single posting newcomer
  • *
  • Posts: 6
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #14 on: March 03, 2008, 11:43:15 am »
Thank you all for your help.
But i can't install CB 8.02 here because of the new proxy configuration (i can't get access to repositories). Damned system team...

binaryV

  • Guest
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #15 on: March 03, 2008, 02:17:31 pm »
Thanks guys.  I'm up and running and loving it!

Offline WILL

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #16 on: March 12, 2008, 05:41:00 am »
Quote
That's a warning. Just proceed installing C::B now.
I got the same problem with him. But I still didn't get it install ! I'm sorry I'm a little slow, I don't understand how we can install, just click all on the files from the binary file or do we have some command that I can just type in terminal. I'm really frustrated :( ! Any help would be appreciated a lot !

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #17 on: March 12, 2008, 07:41:36 am »
Quote
That's a warning. Just proceed installing C::B now.
I got the same problem with him. But I still didn't get it install ! I'm sorry I'm a little slow, I don't understand how we can install, just click all on the files from the binary file or do we have some command that I can just type in terminal. I'm really frustrated :( ! Any help would be appreciated a lot !

From the command-line (as root or with sudo) yo can type
Code
dpkg -i <names_of_deb_files_seperated_by_spaces> 

If you do it this way there are no problems with the dependencies between the C::B-packages.
If external dependencies are missing the have to be fullfilled first (libwxgtk2.8 ...).

Offline dgrafix

  • Single posting newcomer
  • *
  • Posts: 9
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #18 on: March 13, 2008, 12:58:20 am »
So in simple apt get-terms for a noob has anyone got this working?
i tried adding that repo and got the key,
tried both
sudo apt-get install libwxgtk2.8-7
and
sudo apt-get install libwxgtk2.8.7

no joy.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #19 on: March 13, 2008, 01:07:58 am »
So in simple apt get-terms for a noob has anyone got this working?
i tried adding that repo and got the key,
tried both
sudo apt-get install libwxgtk2.8-7
and
sudo apt-get install libwxgtk2.8.7

no joy.

The package is called libwxgtk2.8-0, so try
Code
sudo apt-get install libwxgtk2.8-0

Offline WILL

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #20 on: March 13, 2008, 07:10:40 am »
Quote
sudo apt-get install libwxgtk2.8-7
I installed this package ? But I still couldn't find CB on my pc. I'm sorry If I sounds so stupid to you guys, but honestly I'm to new to computer :(. Please help me !
Quote
dpkg -i <names_of_deb_files_seperated_by_spaces>

About this one, "names_of_deb_files_seperated_by_spaces", you means all the file on the .tar file that I download from CodeBlock ( I means binary version for 32bit Ubuntu here ). right ?
Then I tried this :
Quote
chan@MrChan:~$ sudo dpkg -i<codeblocks_8.02-0ubuntu1_i386.deb codeblocks-contrib_8.02-0ubuntu1_i386.deb codeblocks-dbg_8.02-0ubuntu1_i386.deb codeblocks-dev_8.02-0ubuntu1_i386.deb libcodeblocks0_8.02-0ubuntu1_i386.deb libwxsmithlib0_8.02-0ubuntu1_i386.deb libwxsmithlib0-dev_8.02-0ubuntu1_i386.deb>
bash: syntax error near unexpected token `newline'
And It told me :( !!
« Last Edit: March 13, 2008, 07:16:15 am by WILL »

Offline Seronis

  • Almost regular
  • **
  • Posts: 197
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #21 on: March 13, 2008, 01:26:02 pm »
make sure there is a space after the  '-i'  and remove the two angle brackets

Code
<type_what_you_need_here>

doesnt mean

Code
<something.deb>

rather it means

Code
something.deb

Offline WILL

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #22 on: March 13, 2008, 04:45:23 pm »
Code
Thanks ! I did :
[quote]chan@MrChan:~/Desktop/CB$ sudo dpkg -i codeblock_8.02-0ubuntu1_i386.deb codeblocks-contrib_8.02-0ubuntu1_i386.deb codeblocks-dbg_8.02-0ubuntu1_i386.deb codeblocks-dev_8.02-0ubuntu1_i386.deb libcodeblocks0_8.02-0ubuntu1_i386.deb libwxsmithlib0_8.02-0ubuntu1_i386.deb libwxsmithlib0-dev_8.02-0ubuntu1_i386.deb
dpkg: error processing codeblock_8.02-0ubuntu1_i386.deb (--install):
 cannot access archive: No such file or directory
(Reading database ... 130116 files and directories currently installed.)
Preparing to replace codeblocks-contrib 8.02-0ubuntu1 (using codeblocks-contrib_8.02-0ubuntu1_i386.deb) ...
Unpacking replacement codeblocks-contrib ...
Preparing to replace codeblocks-dbg 8.02-0ubuntu1 (using codeblocks-dbg_8.02-0ubuntu1_i386.deb) ...
Unpacking replacement codeblocks-dbg ...
Preparing to replace codeblocks-dev 8.02-0ubuntu1 (using codeblocks-dev_8.02-0ubuntu1_i386.deb) ...
Unpacking replacement codeblocks-dev ...
Preparing to replace libcodeblocks0 8.02-0ubuntu1 (using libcodeblocks0_8.02-0ubuntu1_i386.deb) ...
Unpacking replacement libcodeblocks0 ...
Preparing to replace libwxsmithlib0 8.02-0ubuntu1 (using libwxsmithlib0_8.02-0ubuntu1_i386.deb) ...
Unpacking replacement libwxsmithlib0 ...
Preparing to replace libwxsmithlib0-dev 8.02-0ubuntu1 (using libwxsmithlib0-dev_8.02-0ubuntu1_i386.deb) ...
Unpacking replacement libwxsmithlib0-dev ...
dpkg: dependency problems prevent configuration of codeblocks-contrib:
 codeblocks-contrib depends on codeblocks (= 8.02-0ubuntu1); however:
  Package codeblocks is not installed.
dpkg: error processing codeblocks-contrib (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of codeblocks-dbg:
 codeblocks-dbg depends on codeblocks (= 8.02-0ubuntu1); however:
  Package codeblocks is not installed.
dpkg: error processing codeblocks-dbg (--install):
 dependency problems - leaving unconfigured
Setting up libcodeblocks0 (8.02-0ubuntu1) ...

Setting up libwxsmithlib0 (8.02-0ubuntu1) ...

Setting up libwxsmithlib0-dev (8.02-0ubuntu1) ...
Setting up codeblocks-dev (8.02-0ubuntu1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 codeblock_8.02-0ubuntu1_i386.deb
 codeblocks-contrib
 codeblocks-dbg
chan@MrChan:~/Desktop/CB$

It got some errors, and I still didn't find CB on my pc yet :( ! Could you help ?

Offline WILL

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: Troubles installing C::B 8.02 on Ubuntu
« Reply #23 on: March 13, 2008, 04:56:33 pm »
Thanks for all your help T_T ! Finally I got it guys, so happy now haha T_T !