Announcement

Collapse
No announcement yet.

Build-essential

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

    Build-essential

    Ive been having problems installing ndiswrapper on my Acer Aspire 3003WLMi, i need to install the 'build-essential' package to use the 'make' command, but when i try to install the debian package it returns errors saying it cant. It installed fautlessly on my pc.

    It says it has unmet dependencies and requires several packages that it says arnt installed:

    Libc6-dev
    Libc-dev
    gcc
    g++
    make
    dpkg-dev

    Ive tried to install these packages sepretely but they return similar errors. Also Adept says 'build-essential' is broken and cannot install it.

    thanks for any help

    Ds

    #2
    Re: Build-essential

    Did you try to install it directly from Adept or did you download a .deb package from somwhere and install on the command line?

    I suggest downloading and installing Synaptic (the Gnome package manager) and trying that as it tends to give clearer error messages. Or, even better, typer "sudeo aptitude" at a terminal and follow the onscreen instructions.

    Comment


      #3
      Re: Build-essential

      First i tried to install using a .deb package i downloaded but that gave the unmet dependencies error so i looked in adept to see if i could install it and it said it was installed but it was broken.

      ok ill try the sudo apitude

      thanks

      Ds

      Comment


        #4
        Re: Build-essential

        since you tried installing a .deb package first, you should purge that package and all of it's config's 1st, which is likely causing the dependency problems w/ the package in the repositories.

        There are multiple ways to purge the system of that .deb install. The safest way is to use Aptitude as it's the most consistent about removing any dependencies that were installed w/ the .deb but are no longer neede.

        1.
        Code:
        sudo aptitude
        You can use your mouse to click on the menu items or the keyboard. You want to search for the .deb "build-essential" and select to PURGE it. Then w/ Adept or Synaptic or Aptitude itself, find build-essential in the repo's and install it.

        2. Use Synaptic and again select to remove package and all of it's config's. If if fails revert to 1.

        3. Use
        Code:
        sudo dpkg -P <packagename>
        Where packagename is build-essential. DO NOT ADD the .deb extension. If you do this, it is unlikely that all the installed dependencies will get uninstalled, so you'll have to repeat this for each depency. However, dpkg does not check for dependecy issues, so be careful w/ this. If you remove a package that other's depend on, you'll bork those packages. Much safer to use Synaptic/Adept/Apt-get/Aptitude which all handle dependencies for you.

        Comment


          #5
          Re: Build-essential

          Thanks Emerzen!

          Ok i have purged the build-essential packages using aptitude, so now what would be the best way to install build-essential as the .deb package didnt work the first time?

          Also it is no longer listed in adept.

          Lastly I have been getting some errors from adept and aptitude saying that another process is using the dpkg daterbase.

          thanks for helping!

          Ds

          Comment


            #6
            Re: Build-essential

            You cannot have more than 1 package manager window open if you're trying to get packages. If you have Adept open, and try going sudo apt-get install build-essential, it's going to ask you if another process is using that resource. Same if you had Synaptic and Adept windows open and you tried getting a package through Automatix. Anything that is using your sources.list at the same time will give you that message. You can have as many managers as you want, but only try to use one at a time.

            Will

            Comment


              #7
              Re: Build-essential

              the above poster is correct, you can only have 1 package manager open at a time. Here's what I'ld do.

              1. Close all other package managers.
              2. Open up a terminal

              Code:
              sudo apt-get update
              Code:
              sudo apt-get install build-essential
              Lemme know if it works or not

              Comment


                #8
                Re: Build-essential

                Also, is "make" part of build-essential? I can't remember, if not, you might have to type in a terminal:
                Code:
                sudo apt-get install make
                too after getting the build-essential devel packages.

                Will

                Comment


                  #9
                  Re: Build-essential

                  I also had problems with installing packages woth have many deps. When I e.x. tried to install some .deb. using dpkg -i it returned me somehing about deps. It couldn't fetch them. In my case, the problem was repository. I was trying to install package which had many deps and I did't have them. So I added repository. Then if some package manager want to instal pckg with many deps it just fetch them form repository. I helped in my case.
                  Try then.

                  Comment


                    #10
                    Re: Build-essential

                    Originally posted by nataniel
                    I also had problems with installing packages woth have many deps. When I e.x. tried to install some .deb. using dpkg -i it returned me somehing about deps. It couldn't fetch them. In my case, the problem was repository. I was trying to install package which had many deps and I did't have them. So I added repository. Then if some package manager want to instal pckg with many deps it just fetch them form repository. I helped in my case.
                    Try then.
                    Yep, dpkg doesn't handle dependencies from what I understand...which is why the apt (and all it's permutations) developed, but apt uses dpkg to do it's dirty work.

                    Comment


                      #11
                      Re: Build-essential

                      Thanks for replying!

                      Emerzen Im trying to install build-essential without an internet connection, as I need the 'make' command to install ndiswrapper so

                      Code:
                      Code:
                      sudo apt-get update
                      Code:
                      Code:
                      sudo apt-get install build-essential
                      says it cannot find the package to install it, so what is the best way to install offline?

                      thanks for any replies!

                      Ds

                      Comment


                        #12
                        Re: Build-essential

                        It's on the CD.
                        Code:
                        sudo apt-cdrom add
                        sudo aptitude update
                        sudo aptitude install build-essential
                        Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

                        Comment

                        Working...
                        X