Results 1 to 8 of 8

Thread: Installing Code::blocks

  1. #1

    Default Installing Code::blocks

    Hello,
    I tried to install Codeblocks.
    I took the installation file from there : https://build.opensuse.org/package/b...=openSUSE_11.4
    I try intalling it through the Yast and here is what I get :
    nothing provides libcodeblocks.so.0 needed by codeblocks-7508-28.5.i586

    I went to this page : Installing Code::Blocks from source on Linux - CodeBlocks

    "Checking the presence of GTK+ library
    Have a look in /usr/lib for something like "libgtk-x11-2.0.so". Alternatively, do a search with your package manager or go to your Linux distribution forum for help."

    -> I do not have such a file.

    And I also found this : Cannot install Codeblocks on Opensuse 11.4
    It does not seem to be my problem now (maybe when I solve this first one ?)

    Thank you in advance.

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Installing Code::blocks

    Am 11.02.2012 19:36, schrieb franck210883:
    >
    > Hello,
    > I tried to install Codeblocks.
    > I took the installation file from there : http://tinyurl.com/89hhwpg
    > I try intalling it through the Yast and here is what I get :
    > NOTHING PROVIDES LIBCODEBLOCKS.SO.0 NEEDED BY CODEBLOCKS-7508-28.5.I586
    > I went to this page : 'Installing Code::Blocks from source on Linux -
    > CodeBlocks' (http://tinyurl.com/3ynt7l)
    >
    > "Checking the presence of GTK+ library
    > Have a look in /usr/lib for something like "libgtk-x11-2.0.so".
    > Alternatively, do a search with your package manager or go to your Linux
    > distribution forum for help."
    >
    > -> I do not have such a file.
    >

    Install the package gtk2-devel to get this file.

    The more interesting question is why you did not add the repository, it
    is unlikely that by simply using a single rpm you can expect to fulfill
    all dependencies.

    You missed at least that you also need the rpm
    libcodeblocks0 which has to be installed first if you do it the way you
    did it.

    > And I also found this : 'Cannot install Codeblocks on Opensuse 11.4'
    > (http://tinyurl.com/6q7l53o)
    > It does not seem to be my problem now (maybe when I solve this first
    > one ?)
    >
    > Thank you in advance.
    >
    >



    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.8.0 |
    nVidia ION | 3GB Ram

  3. #3

    Default Re: Installing Code::blocks

    Thank you, I installed gtk2-devel and I found the file I needed.
    Now, I followed the procedure described here : Installing Code::Blocks from source on Linux - CodeBlocks
    I did everything written in the "Building wxWidgets" part : I added /opt/wx/2.8/bin to the PATH and then, problem : I must add /opt/wx/2.8/lib to /etc/ld.so.conf (nano /etc/ld.so.conf).
    I have no idea how I can do that... And I did't find any tutorial about it.

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Installing Code::blocks

    Am 12.02.2012 03:16, schrieb franck210883:
    >
    > Thank you, I installed gtk2-devel and I found the file I needed.
    > Now, I followed the procedure described here : 'Installing Code::Blocks
    > from source on Linux - CodeBlocks' (http://tinyurl.com/3ynt7l)
    > I did everything written in the "Building wxWidgets" part : I added
    > /opt/wx/2.8/bin to the PATH and then, problem : I must *add
    > /opt/wx/2.8/lib to /etc/ld.so.conf (nano /etc/ld.so.conf)*.
    > I have no idea how I can do that... And I did't find any tutorial about
    > it.
    >
    >

    I still do not get it why you make your own life so hard.
    There is no need to compile wxwidgets, all of them is available in
    openSUSE you need to install the corresponding -devel files.

    And again there is absolutely no need to compile anything yourself just
    to get codeblocks.

    Open a terminal and do
    Code:
    su -
    zypper ar http://tinyurl.com/6sjpdcl devel:tools:ide
    zypper in codeblocks
    and that was it.

    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.8.0 |
    nVidia ION | 3GB Ram

  5. #5

    Default Re: Installing Code::blocks

    Quote Originally Posted by franck210883 View Post
    Thank you, I installed gtk2-devel and I found the file I needed.
    Now, I followed the procedure described here : Installing Code::Blocks from source on Linux - CodeBlocks
    I did everything written in the "Building wxWidgets" part : I added /opt/wx/2.8/bin to the PATH and then, problem : I must add /opt/wx/2.8/lib to /etc/ld.so.conf (nano /etc/ld.so.conf).
    I have no idea how I can do that... And I did't find any tutorial about it.
    What don't you know how to do?
    Edit /etc/ld.so.conf ?


  6. #6

    Default Re: Installing Code::blocks

    It worked right away, thank you.
    Sorry, there are so many new things for me that I get confused...

  7. #7

    Default Re: Installing Code::blocks

    Bezoutsidentity, ok, now I know that nano = edit...

  8. #8
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Installing Code::blocks

    On 02/12/2012 03:16 AM, franck210883 wrote:
    > I followed the procedure described here : 'Installing Code::Blocks
    > from source on Linux - CodeBlocks' (http://tinyurl.com/3ynt7l)


    i believe what OP @franck210883 did not know is that the guide he
    followed was not what he needed to follow....

    the title of the procedure is "Installing Code::Blocks from source.."

    which of course requires compiling...

    which may be required by _some_ Linux distros, but not often required
    for openSUSE..

    hello @franck210883! i know you have heard how hard it is to add
    programs to Linux--but, that is a lie told by the uninformed....as you
    see codeblock is SO simple to install (with one line of code in a
    terminal, or the way i prefer with YaST Software Management [after
    adding the correct repo]

    welcome to the progressive Linux. (well, the same is available for
    Debian, Red Hat and all the 'main' Linux varities..)

    we even have documentation which explains it, have a look:

    http://doc.opensuse.org/documentatio....software.html

    --
    DD http://tinyurl.com/DD-Caveat
    Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •