Announcement

Collapse
No announcement yet.

Problem installing Superkaramba[SOLVED]

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

    Problem installing Superkaramba[SOLVED]

    Dear Friends, I am a newB. I tried to install superkaramba. But it gave me the following error:
    Code:
    dutta@freemind:~/Programs/superkaramba-0.39$ ./configure
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for -p flag to install... yes
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking for kde-config... /usr/bin/kde-config
    checking where to install... /usr (as returned by kde-config)
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for g++... no
    checking for c++... no
    checking for gpp... no
    checking for aCC... no
    checking for CC... no
    checking for cxx... no
    checking for cc++... no
    checking for cl... no
    checking for FCC... no
    checking for KCC... no
    checking for RCC... no
    checking for xlC_r... no
    checking for xlC... no
    checking whether we are using the GNU C++ compiler... no
    checking whether g++ accepts -g... no
    checking dependency style of g++... none
    checking whether gcc is blacklisted... no
    checking whether g++ supports -Wmissing-format-attribute... no
    checking whether gcc supports -Wmissing-format-attribute... yes
    checking whether g++ supports -Wundef... no
    checking whether g++ supports -Wno-long-long... no
    checking whether g++ supports -Wno-non-virtual-dtor... no
    checking how to run the C++ preprocessor... /lib/cpp
    configure: error: C++ preprocessor "/lib/cpp" fails sanity check
    See `config.log' for more details.
    Someone pls tell me what to do?
    Regards

    #2
    Re: Problem installing Superkaramba

    Do not try to compile what others have already precompiled for you - unless there is a reason as well as sufficient knowledge given ... end of insult, begin of advise: sudo apt-get install superkaramba 8)

    HTH
    Birdy (aka littleDrHouse)

    Comment


      #3
      Re: Problem installing Superkaramba

      it gave me :
      Code:
      dutta@freemind:~$ sudo apt-get install superkaramba
      Password:
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Couldn't find package superkaramba

      Comment


        #4
        Re: Problem installing Superkaramba

        Originally posted by cyberbuff
        Couldn't find package superkaramba
        Ooops, in this case you have to add the "universe" repositories to the appropriate list (I assumed this for being a default setting - sorry ). In case you feel unsure on how to proceed, just post the contents of /etc/apt/sources.list and we / I will tell you what to change (and how, if applicable).

        Birdy

        Comment


          #5
          Re: Problem installing Superkaramba

          here it is:
          Code:
          dutta@freemind:~$ cat /etc/apt/sources.list
          
          deb [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy main restricted
          deb-src [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy main restricted
          
          ## Major bug fix updates produced after the final release of the
          ## distribution.
          deb [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy-updates main restricted
          deb-src [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy-updates main restricted
          
          ## Uncomment the following two lines to add software from the 'universe'
          ## repository.
          ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
          ## team, and may not be under a free licence. Please satisfy yourself as to
          ## your rights to use the software. Also, please note that software in
          ## universe WILL NOT receive any review or updates from the Ubuntu security
          ## team.
          # deb [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy universe
          # deb-src [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy universe
          
          ## Uncomment the following two lines to add software from the 'backports'
          ## repository.
          ## N.B. software from this repository may not have been tested as
          ## extensively as that contained in the main release, although it includes
          ## newer versions of some applications which may provide useful features.
          ## Also, please note that software in backports WILL NOT receive any review
          ## or updates from the Ubuntu security team.
          # deb [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy-backports main restricted universe multiverse
          # deb-src [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy-backports main restricted universe multiverse
          
          deb [url]http://security.ubuntu.com/ubuntu[/url] edgy-security main restricted
          deb-src [url]http://security.ubuntu.com/ubuntu[/url] edgy-security main restricted
          # deb [url]http://security.ubuntu.com/ubuntu[/url] edgy-security universe
          # deb-src [url]http://security.ubuntu.com/ubuntu[/url] edgy-security universe

          Comment


            #6
            Re: Problem installing Superkaramba

            First of all, backup the given list, e.g. by sudo cp /etc/apt/sources.list /etc/apt/sources.list.orig; then read all comments and remove them afterwards (just to keep the list handier); finally, but most important: from all lines starting with "deb" / "deb-src" remove the leading "#" (therewith "activating" the particular entry) - or simply replace (!) your file's current contents with the following lines:

            Code:
            deb [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy main restricted
            deb-src [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy main restricted
            deb [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy-updates main restricted
            deb-src [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy-updates main restricted
            deb [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy universe
            deb-src [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy universe
            deb [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy-backports main restricted universe multiverse
            deb-src [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy-backports main restricted universe multiverse
            deb [url]http://security.ubuntu.com/ubuntu[/url] edgy-security main restricted
            deb-src [url]http://security.ubuntu.com/ubuntu[/url] edgy-security main restricted
            deb [url]http://security.ubuntu.com/ubuntu[/url] edgy-security universe
            deb-src [url]http://security.ubuntu.com/ubuntu[/url] edgy-security universe
            Having done so, check the list's integrity: sudo apt-get update should run through without any error occurring.

            HTH
            Birdy

            Comment


              #7
              Re: Problem installing Superkaramba

              Still having the same problem. It still gives me:
              Code:
              sudo apt-get install superkaramba
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              E: Couldn't find package superkaramba
              I think the problem is somewhere else...(beg your pardon if i am wrong; i am n00b) The following bold lines are what makes it troublesome:
              Code:
              dutta@freemind:~/Programs/superkaramba-0.39$ ./configure
              checking build system type... i686-pc-linux-gnu
              checking host system type... i686-pc-linux-gnu
              checking target system type... i686-pc-linux-gnu
              checking for a BSD-compatible install... /usr/bin/install -c
              checking for -p flag to install... yes
              checking whether build environment is sane... yes
              checking for gawk... no
              checking for mawk... mawk
              checking whether make sets $(MAKE)... yes
              checking for kde-config... /usr/bin/kde-config
              checking where to install... /usr (as returned by kde-config)
              checking for style of include used by make... GNU
              checking for gcc... gcc
              checking for C compiler default output file name... a.out
              checking whether the C compiler works... yes
              checking whether we are cross compiling... no
              checking for suffix of executables...
              checking for suffix of object files... o
              checking whether we are using the GNU C compiler... yes
              checking whether gcc accepts -g... yes
              checking for gcc option to accept ANSI C... none needed
              checking dependency style of gcc... gcc3
              checking how to run the C preprocessor... gcc -E
              [b]checking for g++... no
              checking for c++... no
              checking for gpp... no
              checking for aCC... no
              checking for CC... no
              checking for cxx... no
              checking for cc++... no
              checking for cl... no
              checking for FCC... no
              checking for KCC... no
              checking for RCC... no
              checking for xlC_r... no
              checking for xlC... no
              checking whether we are using the GNU C++ compiler... no
              checking whether g++ accepts -g... no
              checking dependency style of g++... none
              checking whether gcc is blacklisted... no
              checking whether g++ supports -Wmissing-format-attribute... no
              checking whether gcc supports -Wmissing-format-attribute... yes
              checking whether g++ supports -Wundef... no
              checking whether g++ supports -Wno-long-long... no
              checking whether g++ supports -Wno-non-virtual-dtor... no
              checking how to run the C++ preprocessor... /lib/cpp
              configure: error: C++ preprocessor "/lib/cpp" fails sanity check[/b]
              See `config.log' for more details.

              Comment


                #8
                Re: Problem installing Superkaramba

                There are two different, although possibly related problems you are facing:

                Originally posted by cyberbuff
                E: Couldn't find package superkaramba
                1. Your system's package manager insists on misbehaving ... in order to (hopefully) get this sorted out, please let us have a look at /etc/apt/sources.list as a whole / as you are currently using it.

                Originally posted by cyberbuff
                configure: error: C++ preprocessor "/lib/cpp" fails sanity check
                2. Your system seems to be lacking of some packages required for manual compilation (from which I strongly discourage anyone new to Linux, just to remind you). To get them, you may try sudo apt-get install build-essential - which may or may not work, depending on the "range" of your first problem.

                Comment


                  #9
                  Re: Problem installing Superkaramba

                  Just use Automatix.

                  http://www.getautomatix.com/

                  Comment


                    #10
                    Re: Problem installing Superkaramba

                    Originally posted by penguin.ch
                    sudo apt-get install build-essential
                    Is that in the CD?

                    Comment


                      #11
                      Re: Problem installing Superkaramba

                      All you need to do is enable 'universe' and install 'superkaramba'.

                      No automatix, building, compiling, or anything special.

                      This in your sources.list
                      Code:
                      # deb [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy universe
                      # deb-src [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy universe
                      needs to look like this
                      Code:
                      deb [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy universe
                      deb-src [url]http://in.archive.ubuntu.com/ubuntu/[/url] edgy universe
                      and then you'll need to update, 'sudo apt-get update' or "Fetch Updates" with adept. After that just install superkaramba.

                      Comment


                        #12
                        Re: Problem installing Superkaramba

                        hey guys, I got Superkaramba from adept! But i really dont know what is happening with the Konsole-process. anyway thanks for your help...

                        Comment

                        Working...
                        X