Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Installing MAKE, How to circumvent apt-get requirements< Next Oldest | Next Newest >
lpoulsen Offline





Group: Members
Posts: 6
Joined: Jan. 2009
Posted: Jan. 03 2009,18:10 QUOTE

I need to compile one of my own programs to run on the DSL box (which is the edge router at my business). I had no trouble installing gcc (and its requirements), but when I try to install *make*, it needs *fileutils*, and it fails with the following message:
Unpacking fileutils (from .../fileutils_4.1-10_i386.deb) ...
 dpkg: error processing /var/cache/apt/archives/fileutils_4.1-10_i386.deb (--unpack):
  trying to overwrite `/bin/chgrp', which is also in package coreutils
 dpkg-deb: subprocess paste killed by signal (Broken pipe)
 Errors were encountered while processing:
  /var/cache/apt/archives/fileutils_4.1-10_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)

What is the problem, and how do I get around it?

It looks like part of the problem is that /bin/chgrp is not the real debian chgrp, but the busybox substitute. I had hoped to bypass the problem by makeing it a COPY of busybox instead of a link, but that did not make any difference.
Back to top
Profile PM 
lpoulsen Offline





Group: Members
Posts: 6
Joined: Jan. 2009
Posted: Jan. 06 2009,02:37 QUOTE

I managed to get MAKE in by manually typing

dpkg --force-depends -i /var/apt/archives/make*

Make runs, but gcc won't actually compile anything because
I am missing almost all of /usr/include/*.h

I think that what I need is libc6-dev package, but I get
two errors when I try to install it:
1) something about the wrong version of libc6
2) make is installed but needs fileutils as a prerequisite,
   and since it is not there, apt-get won't go on.

This is not very helpful.

---
Am I crazy for wanting to do a few compiles on a DSL box ?
Back to top
Profile PM 
Tobiaus Offline





Group: Awaiting Authorisation
Posts: 47
Joined: Dec. 2008
Posted: Jan. 09 2009,11:16 QUOTE

message removed
Back to top
Profile PM 
lpoulsen Offline





Group: Members
Posts: 6
Joined: Jan. 2009
Posted: Jan. 13 2009,01:09 QUOTE

I think I have figured out that I need to install a package named gnu-utils in order to get the full (non-busybox) core utilities.
But when I type
        apt-get install gnu-utils
... I get "package not found".

How do I install gnu-utils ?

/ Lars Poulsen
Back to top
Profile PM 
lpoulsen Offline





Group: Members
Posts: 6
Joined: Jan. 2009
Posted: Jan. 13 2009,01:15 QUOTE

With some more googling, I learned that I just need to type
   gnu-utils-restore
... and gnu-utils (true coreutil) gets installed.

But after this, I still cannot install fileutils (which is a prerequisite for make).
Back to top
Profile PM 
8 replies since Jan. 03 2009,18:10 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Installing MAKE

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code