Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2003
    Posts
    13

    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
    Location
    Täby, Sweden
    Posts
    7,578
    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
    Just Joined!
    Join Date
    Feb 2003
    Posts
    13
    Ah, ok, thanx a lot

  4. #4
    Just Joined!
    Join Date
    Feb 2003
    Posts
    13

    Problem

    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/libqt-mt.so.3.1.1] 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.

  5. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    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?

  6. #6
    Just Joined!
    Join Date
    Feb 2003
    Posts
    13

    here it is

    /usr/X11R6/lib/libXft.so.1
    /usr/X11R6/lib/libXft.so.1.2

    This is what it returns

  7. #7
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    OK, what's in your /etc/ld.so.conf, then?

  8. #8
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    Code:
    rpm -Uvh ftp://rpmfind.net/linux/redhat/8.0/en/os/i386/RedHat/RPMS/Xft-2.0-1.i386.rpm

  9. #9
    Just Joined!
    Join Date
    Feb 2003
    Posts
    13

    This is in the ld.so.conf

    /usr/kerberos/lib
    /usr/X11R6/lib
    /usr/lib/qt-3.0.5/lib
    /usr/lib/sane
    /usr/local/lib
    /usr/lib/wine

  10. #10
    Just Joined!
    Join Date
    Feb 2003
    Posts
    13

    Hmm

    It says that that Xft package is already installed

Page 1 of 2 1 2 LastLast

Posting Permissions

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