configure: error: cannot find install-sh or install.sh in . ./.. ./../..
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
My evironment is Debian 3.1 unstable. I am trying to install a package which I need to build from source. But before I do "make" and "make install". I need to configure where to install by doing "./configure --prefix=/usr", but this configure command give me error:
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
I did not find "install-sh" or "install.sh" in my /bin folder and /usr/bin folder. Do I need to download it somewhere? Or it is in my system but I failed to locate it.
usually when you are building from source, you need to be in the directory where you downloaded it to. it is probably giving you that error because it can't find the files that you downloaded.
simply:
Code:
cd name_of_directory
hope this helps.
titanium_geek
Last edited by titanium_geek; 09-19-2005 at 10:22 AM.
I tar the source.gz into a directory "source" and I "cd" into the directory generated from source.gz. Then, I call ./configure command. I guess "./" means using the "configure" script from current directory. I also verified that there is a "configure" script in the directory.
So, I think I am already in the right directory and calling the right script. I suspect the "configure" script is calling "install-sh" or "install.sh" scripts in the system which is not available. I am not positive about it. Any other thoughts?
I do not know why it is not included in my debian distr.
Could you check your Debian system and tell me where is your install-sh or install.sh two script files? I do not know where should I put it if I download it.
Need command help: how can I do a global search of a file?
Additional information. The package I am trying to build is SCIM and the README file provided did not say anything about how to build. A simple instruction is provided at www.scim-im.org
if you are a non-developer (I used to be a developer) and you are trying to get your ati/radeon to work with compiz (dri/drm/mesa whatever) by following various links to instruct you what to do, there are a couple of newbie developer actions that you need to do first on a stock (Ubuntu/karmic for me) for all of the previous instructions to work correctly.
First, install the package libtool (Ubuntu/karmic). This will setup install-sh and a few others. Then run:
#> autoreconf -f -i -Wall,no-obsolete
in you git directory. You should then have a config.sub file.
Second, run
#> ./autogen.sh <ANY-ARGS-USED-WITH-CONFIGURE> <INCLUDING-PREFIX=>
This will create your configure executable.
Then run
#> make clean
#> git pull #;;// if compiling from a git directory
#> ./configure <YOUR-OPTIONS>
#> make && make install
This is what I had to do to get a compile, build and install to work with the starting instructions found on Phoronix Forums.
I am trying to install a package which I need to build from source. But before I do "make" and "make install". I need to configure where to install by doing "./configure --prefix=/usr", but this configure command give me error:
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
I did not find "install-sh" or "install.sh" in my /bin folder and /usr/bin folder. Do I need to download it somewhere? Or it is in my system but I failed to locate it.
Your system should have /usr/bin/install as part of the coreutils package. install-sh or install.sh should be provided by automake and therefore be in the tarball of the code you are trying to build. The whole point of automake is that the user should not need it... only the person distributing the source. You should just be able to run the configure script.
What is the code (url please) that you are trying to compile.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.