Linux newbie - trouble with installing a IDE

This is a discussion on Linux newbie - trouble with installing a IDE within the Linux Programming forums, part of the Platform Specific Boards category; Hi! i'm really really new 2 the linux world... please help! Just a while ago i downloaded the C++ IDE ...

  1. #1
    Android
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    374

    Linux newbie - trouble with installing a IDE

    Hi!
    i'm really really new 2 the linux world... please help!
    Just a while ago i downloaded the C++ IDE Anjuta 1.2 , and now trying to install it on Redhat Linux 9.
    The packages' installation guid goes:

    (1) go to the packge dir and type "./config" - doing this i got a large output and finally this error msg: "Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found"

    (2) type "make"

    (3) type "make install" - these 2 commands also gave errors.

    What i'm doing wrong here please?

    Thanx 4 any help.
    Some useless programs i've wrote : slprogrammersheaven
    Youtube: http://www.youtube.com/user/geekyzine
    My amature IT Blog: http://everything-geeky.blogspot.com/
    My Flash games: http://flashweed.blogspot.com/

    (and, sorry for my amature english)

  2. #2
    ... kermit's Avatar
    Join Date
    Jan 2003
    Posts
    1,528
    It looks like your configure failed because it could not find glib. What desktop are you using? Do you have Gnome installed?

  3. #3
    c n00b
    Join Date
    Sep 2005
    Location
    Fort Collins, CO
    Posts
    7
    I've never used Anjuta, and while I've used RH5.x and 7.x, and I've used Fedora Core 3 and 4, I've never used RH9.x. I have an idea of what the problem might be, though.

    You've probably just experienced the beginning of what is (affectionately?) commonly known as dependency hell. It has a number of platform specific names aside from that one, like RPM hell (for RPMs on the Red Hat platform(s)) and DLL hell (for Windows). It's a problem of decreasing frequency as various OSes fix their dependency problems, but it's a problem that will likely never go away entirely when dealing with software you're compiling from source.

    Your system is, as you've mentioned, Red Hat 9. RH9 is not a recent release, and as such does not have recent versions of various libraries that are probably necessary for compilation and operation of Anjuta. If you downloaded a recent version of Anjuta, I'm not surprised by this at all.

    My first suggestion, if you have the ability and inclination to try it, is to get rid of RH9 and get something newer instead -- like, perhaps, Fedora Core 3 or Fedora Core 4, if you're set on using a Red Hat distribution of Linux. With a recent distribution, you can probably download and install the software very easily using binary packages so that you won't even have to compile it yourself. For instance, I'm using Debian 3.1/Sarge on this machine, and if I wanted Anjuta on it I'd just type "apt-get install anjuta" at the shell (after ensuring I was signed in as root, of course). I might have to hit Enter to confirm installation of multiple dependencies (actually, I know for a fact that I would, since I don't have any of the GNOME libraries on which Anjuta depends). Fedora uses a package management system that is superficially similar to Debian's apt, called YUM, and you should be able to use a similarly simple command line instruction to install Anjuta on any recent Fedora release.

    My second suggestion would be to go try to find an older Anjuta snapshot that might install simply and easily on RH9.

    Otherwise, you're left with this: You're kinda screwed. You'll have to find, and install, all the necessary dependencies yourself, and/or use compiler options to specify different dependencies as much as possible to bootstrap a successful compile. This may possibly lead to buggy software when you're done, and will certainly be a minor frustration later if/when you decide to update any versions of software associated with Anjuta.

    Of course, you could always take a whack at using a different IDE, or just learn to do it at the command line with Vim, gdb, and so on.

  4. #4
    Android
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    374
    i found a Anjuta rmp for RH9, and installed it.
    Thanx 4 the replys.
    Some useless programs i've wrote : slprogrammersheaven
    Youtube: http://www.youtube.com/user/geekyzine
    My amature IT Blog: http://everything-geeky.blogspot.com/
    My Flash games: http://flashweed.blogspot.com/

    (and, sorry for my amature english)

  5. #5
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    Posts
    533
    You know it couldn't hurt if you got the GLIB2 (or if there is newer out) library.
    http://www.gnu.org/ go to the FREE SOFTWARE DIRECTORY and search for GLIBC and GLIB and probably get GTK+ while your at it, that will solve a lot of software installation problems in the future, as a person new to linux I would strongly encourage you to install the software manually to get the hang of it. When I say manual I mean compile it, make it and play with it, rather than just RPM the binaries.

    -LC
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trouble installing Qt3 from book Cd
    By mrcheesypants in forum Tech Board
    Replies: 2
    Last Post: 10-12-2005, 06:57 PM
  2. newbie : compiling a C++ program in linux
    By gemini_shooter in forum C++ Programming
    Replies: 5
    Last Post: 06-23-2005, 02:45 PM
  3. installing hard drives and IDE cables...
    By dbaryl in forum Tech Board
    Replies: 14
    Last Post: 09-02-2002, 10:11 AM
  4. Need some really simple help (complete Linux newbie)
    By Hannwaas in forum Linux Programming
    Replies: 11
    Last Post: 12-10-2001, 02:16 PM
  5. Help for a poor linux newbie??
    By Fordy in forum Linux Programming
    Replies: 2
    Last Post: 09-27-2001, 07:39 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21