Announcement

Collapse
No announcement yet.

<RESOLVED> KDirStat substitute - recommendations?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

    Coool!

    I would love to see a 64 bit version of Kdirstat in the Natty repositories :-)

    I followed the instructions at:

    A single line installation:

    Code:
    git clone [url]http://grumpypenguin.org/~josh/kdirstat.git;[/url] cd kdirstat; mkdir build; cd build; cmake ..; sudo make install
    It works like a charm!

    Remark it is called "k4dirstat" now!

    Happy coding dudes and thanks
    Check out my Ⓥegan youtube channel PlantSugar
    CV and gallery at grn.dk
    Please add [SOLVED] to topic subject when topic is solved.

    Comment


      #17
      Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

      Thanks ubuntuku!
      Your .deb works fine in my 32 bit install.

      But for the 64 bit install I haven’t been able to go the git route and end up with nearly the same errors as reported by PattiMichelle

      Comment


        #18
        Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

        do you have kdelib5-dev installed?

        Comment


          #19
          Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

          Originally posted by Teunis
          But for the 64 bit install I haven’t been able to go the git route and end up with nearly the same errors as reported by PattiMichelle
          You'll need at least "kdelibs5-dev" package (and it's dependencies) installed to build from source.

          EDIT: claydo(g) beat me to it

          Comment


            #20
            Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

            Good point to install kdelibs5-dev, I came further.

            Next came a message libkonq5-dev was also missing.

            Now the process stops here:

            Code:
            Scanning dependencies of target k4dirstat                                                              
            [ 13%] Building CXX object src/CMakeFiles/k4dirstat.dir/k4dirstat_automoc.o                                             
            In file included from /home/teunis/kdirstat/build/src/moc_kdirtreecache.cpp:10:0,                                           
                     from /home/teunis/kdirstat/build/src/k4dirstat_automoc.cpp:8:
            /home/teunis/kdirstat/build/src/../../src/kdirtreecache.h:21:18: fatal error: zlib.h: File or directory does not exist
            compilation terminated.
            make[2]: *** [src/CMakeFiles/k4dirstat.dir/k4dirstat_automoc.o] Error 1
            make[1]: *** [src/CMakeFiles/k4dirstat.dir/all] Error 2
            make: *** [all] Error 2
            What to do about the missing zlib.h?

            Comment


              #21
              Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

              Originally posted by Teunis
              What to do about the missing zlib.h?
              Try installing "zlib1g-dev"

              Comment


                #22
                Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

                Resolved +1

                Thanks all!

                Comment


                  #23
                  Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

                  I cannot use the deb file, since it does not match my amd63 system.

                  Baobab seems quite ok, tho, but I cannot find it in the Kickoff Application Launcher. I have to start it in a terminal with

                  baobab &

                  Why does it not show up in the launcher?
                  'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

                  Comment


                    #24
                    Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

                    I sincerely hope it's an AMD64 system

                    When you follow gnowak's single line installation AFTER ensuring you installed the libraries I had missing you should be gold.

                    Comment


                      #25
                      Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

                      Yes, it's 64.

                      I tried gnowak's recipe. After 2 false starts and installing git and cmake, I got the following error:


                      CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
                      ERROR: cmake/modules/FindKDE4Internal.cmake not found in
                      /home/jon/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
                      Call Stack (most recent call first):
                      CMakeLists.txt:5 (find_package)


                      CMake Warning (dev) in CMakeLists.txt:
                      No cmake_minimum_required command is present. A line of code such as

                      cmake_minimum_required(VERSION 2.8)

                      should be added at the top of the file. The version specified may be lower
                      if you wish to support older CMake versions for this project. For more
                      information run "cmake --help-policy CMP0000".
                      This warning is for project developers. Use -Wno-dev to suppress it.

                      -- Configuring incomplete, errors occurred!
                      make: *** No rule to make target `install'. Stop.
                      'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

                      Comment


                        #26
                        Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

                        Yes, exactly the same error PattyMichelle and I had.

                        For me it was fixed after following claydoh's advice.

                        So you also need to install kdelib5-dev, libkonq5-dev and zlib1g-dev.
                        Then try again.

                        Comment


                          #27
                          Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

                          Originally posted by ubuntuku
                          just created deb package for kdirstat, you can dl it here:
                          http://dl.dropbox.com/u/16223945/kdi...011-1_i386.deb

                          Please test it and let me know how it goes
                          Won't install under my 11.04 x64

                          Comment


                            #28
                            Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

                            Hmmm.... It's not building for me... Now sure what's wrong here...

                            patti@dv7t-Kubuntu64:~$ sudo su
                            root@dv7t-Kubuntu64:/home/patti# git clone http://grumpypenguin.org/~josh/kdirstat.git
                            Cloning into kdirstat...
                            root@dv7t-Kubuntu64:/home/patti# cd kdirstat
                            root@dv7t-Kubuntu64:/home/patti/kdirstat# mkdir build
                            root@dv7t-Kubuntu64:/home/patti/kdirstat# cd build
                            root@dv7t-Kubuntu64:/home/patti/kdirstat/build# cmake ..
                            -- The C compiler identification is GNU
                            -- The CXX compiler identification is GNU
                            -- Check for working C compiler: /usr/bin/gcc
                            -- Check for working C compiler: /usr/bin/gcc -- works
                            -- Detecting C compiler ABI info
                            -- Detecting C compiler ABI info - done
                            -- Check for working CXX compiler: /usr/bin/c++
                            -- Check for working CXX compiler: /usr/bin/c++ -- works
                            -- Detecting CXX compiler ABI info
                            -- Detecting CXX compiler ABI info - done
                            CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
                            ERROR: cmake/modules/FindKDE4Internal.cmake not found in
                            /root/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
                            Call Stack (most recent call first):
                            CMakeLists.txt:5 (find_package)


                            CMake Warning (dev) in CMakeLists.txt:
                            No cmake_minimum_required command is present. A line of code such as

                            cmake_minimum_required(VERSION 2.8)

                            should be added at the top of the file. The version specified may be lower
                            if you wish to support older CMake versions for this project. For more
                            information run "cmake --help-policy CMP0000".
                            This warning is for project developers. Use -Wno-dev to suppress it.

                            -- Configuring incomplete, errors occurred!
                            root@dv7t-Kubuntu64:/home/patti/kdirstat/build#

                            Comment


                              #29
                              Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

                              Originally posted by Teunis
                              Yes, exactly the same error PattyMichelle and I had.

                              For me it was fixed after following claydoh's advice.

                              So you also need to install kdelib5-dev, libkonq5-dev and zlib1g-dev.
                              Then try again.
                              ... turns out it's "kdelibs5," not "kdelib5" ... this matters because synaptic/adept/etc. are a little on the braindead side...
                              OK, so after getting the names right, I see the -dev versions aren't installed - now they are and (of course) it built!

                              Comment


                                #30
                                Re: &lt;RESOLVED&gt; KDirStat substitute - recommendations?

                                Originally posted by PattiMichelle
                                Originally posted by Teunis
                                Yes, exactly the same error PattyMichelle and I had.

                                For me it was fixed after following claydoh's advice.

                                So you also need to install kdelib5-dev, libkonq5-dev and zlib1g-dev.
                                Then try again.
                                ... turns out it's "kdelibs5," not "kdelib5" ... this matters because synaptic/adept/etc. are a little on the braindead side...
                                OK, so after getting the names right, I see the -dev versions aren't installed - now they are and (of course) it built!
                                Now, how to run it? I don't see it anywhere... no menu entry...
                                patti@dv7t-Kubuntu64:~$ kdirstat
                                kdirstat: command not found
                                patti@dv7t-Kubuntu64:~$ whereis kdirstat
                                kdirstat:
                                patti@dv7t-Kubuntu64:~$

                                OIC!!!!!!!!!!!!!!!!!!!!!! New name!!

                                Code:
                                patti@dv7t-Kubuntu64:~$ [b]k4dirstat[/b]
                                Object::connect: No such signal KApplication::kdisplayPaletteChanged()
                                Object::connect: (sender name:  'k4dirstat')
                                QPainter::begin: Widget painting can only begin as a result of a paintEvent
                                Application asked to unregister timer 0x1500000c which is not registered in this thread. Fix application.
                                patti@dv7t-Kubuntu64:~$

                                Comment

                                Users Viewing This Topic

                                Collapse

                                There are 0 users viewing this topic.

                                Working...
                                X