Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: KDE 3.1 and g++

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    KDE 3.1 and g++

    I have two questions:

    1. is KDE 3.1 available for RedHat 8.0? I'm a little hesitant to use the version that comes with the disc since I heard they butchered it.

    2. I'd like to know how to actually view the a.out files that are created after compiling a C++ program with g++.

    Thanks a lot

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    1. If you want KDE 3.1, all you should have to do is just downloading it from KDE home page, after you've uninstalled RedHat's KDE distro.

    2. How do you mean 'view' the a.out files? Are you looking for disassembling them or getting some kind of information out of them? If that's the case, you want gdb or any of the utilities in the binutils package. If you really mean that you want to run them, just run "./a.out". The intention of that is that normally, if you don't include slashes in the command name, bash just looks in the directories specified by the PATH variable (/bin, /usr/bin, etc.). If you include a slash, bash will execute the file given by that specific filename, hence ./, which, of course, means the current directory.

  3. #3
    Ah, ok, thanx a lot

  4. $spacer_open
  5. #4


    I have a problem with the KDE installation. I'm using Konstruct to install KDE 3.1, in the middle of the process it shows this error

    /usr/bin/ld: cannot find -lXft
    collect2: ld returned 1 exit status
    make[6]: *** [../lib/] Error 1
    make[6]: Leaving directory `/home/AdmPELL/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.1/src'
    make[5]: *** [sub-src] Error 2
    make[5]: Leaving directory `/home/AdmPELL/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.1'
    make[4]: *** [build-work/qt-x11-free-3.1.1/Makefile] Error 2
    make[4]: Leaving directory `/home/AdmPELL/konstruct/libs/qt-x11-free'
    make[3]: *** [dep-../../libs/qt-x11-free] Error 2
    make[3]: Leaving directory `/home/AdmPELL/konstruct/libs/arts'
    make[2]: *** [dep-../../libs/arts] Error 2
    make[2]: Leaving directory `/home/AdmPELL/konstruct/kde/kdelibs'
    make[1]: *** [dep-../../kde/kdelibs] Error 2
    make[1]: Leaving directory `/home/AdmPELL/konstruct/kde/kdebase'
    make: *** [dep-../../kde/kdebase] Error 2

    I'm not sure what this means.

  6. #5
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    Now that you mention it, it hits me that RedHat 8.0 ships without libXft. I had to get it manually the first time I discovered it. I cannot remember where I got it, though. Can you check what "rpm -ql XFree86-libs | grep Xft" returns?

  7. #6

    here it is


    This is what it returns

  8. #7
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    OK, what's in your /etc/, then?

  9. #8
    Linux Engineer
    Join Date
    Jan 2003
    Lebanon, pa
    rpm -Uvh

  10. #9

    This is in the


  11. #10


    It says that that Xft package is already installed

Posting Permissions

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