You are not logged in.

#1 2008-01-25 22:01:17

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

/usr/bin/install is missing!

Well, I don't know how this one happened.  I was trying to "make install" a program I had just finished compiling, and then I get a message saying that /usr/bin/install is missing.  I checked /usr/bin for "install", and it isn't there, even though it was before.  How do I fix this problem?

Last edited by Falcata (2008-01-25 22:02:46)

Offline

#2 2008-01-25 22:07:13

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: /usr/bin/install is missing!

> pacman -Qo /bin/install
/bin/install is owned by coreutils 6.9-4

There might be a problem with that program. It should look in /bin, not /usr/bin. Or just use install directly, which is in the PATH..

Last edited by shining (2008-01-25 22:07:50)


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2008-01-25 22:10:50

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: /usr/bin/install is missing!

Huh.  It was always in /usr/bin on other distro's.  Thanks for the help.

EDIT: How do I fix this?  I have no idea on what part of the makefile I need to modify, so I'm a little stuck.  Is there a way to override it's location, or would coping install over to /usr/bin work?

Last edited by Falcata (2008-01-25 22:21:32)

Offline

#4 2008-01-25 23:16:36

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: /usr/bin/install is missing!

Well, you could try

sed -i "s#/usr/bin/install#/bin/install#g" Makefile

and see if that works.  Backup the Makefile first, in case it screws something up.

Otherwise, we can't really help you without seeing the Makefile you're using

Offline

#5 2008-01-25 23:27:32

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: /usr/bin/install is missing!

Well, I don't think that I could post the makefile, due to it's size.  But, you can find the sources for the program I was trying to compile here.

Last edited by Falcata (2008-01-25 23:27:54)

Offline

#6 2008-01-25 23:39:01

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: /usr/bin/install is missing!

Someone has already done all the hard work for you:
http://aur.archlinux.org/packages.php?d … 1&ID=12975

Offline

#7 2008-01-25 23:40:25

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: /usr/bin/install is missing!

Problem solved.  I made a link to /bin/install under /usr/bin, and it worked fine.

Now then, another question: why did Nodoka get installed under /usr/local/lib, rather than /usr/lib?

EDIT: Should have waited a moment before posting, I guess.  How do you install packages from AUR?  Or packages that you downloaded onto your system?

Last edited by Falcata (2008-01-25 23:41:26)

Offline

#8 2008-01-26 01:06:30

_adam_
Member
From: Dora, Alabama
Registered: 2006-05-18
Posts: 94

Re: /usr/bin/install is missing!

/usr/local is the default path for make to install to. to change that, use ./configure --prefix=/usr

http://wiki.archlinux.org/index.php/AUR … NSUPPORTED

Offline

Board footer

Powered by FluxBB