LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   configure: error: cannot find install-sh or install.sh in . ./.. ./../.. (https://www.linuxquestions.org/questions/debian-26/configure-error-cannot-find-install-sh-or-install-sh-in-364870/)

jialin 09-19-2005 09:30 AM

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.

thanks for any help.

titanium_geek 09-19-2005 10:20 AM

Hello and Welcome to LQ!

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

jialin 09-19-2005 01:12 PM

Thanks for your warm welcome.

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?

titanium_geek 09-19-2005 02:27 PM

have you read the readme that comes with the code?

titanium_geek

jialin 09-19-2005 04:12 PM

I found there is a place to download install-sh script

http://dev.w3.org/cvsweb/DOM/install-sh
http://dev.w3.org/cvsweb/~checkout~/...ype=text/plain

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?

jialin 09-19-2005 05:46 PM

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

Here is what I find realted to my problem.
http://mail.gnome.org/archives/gnome.../msg00123.html

My current Autoconf version is 2.59a-3, not sure if I should get the latest. I might get into a series of dependency troubles if I have to.

titanium_geek 09-19-2005 07:42 PM

debian system- hard drive went CLUNK wah CLUNK clunk. :(
sorry.

sounds wierd though- building is usaully self contained with most software... I dunno.

searching: grep, find, locate

titanium_geek

Shirish S 11-04-2009 08:20 PM

Solved install-sh not found
 
I also was getting the same issue of not finding the install-sh/install.sh
I solved it by using
autoreconf -f -i -Wall,no-obsolete

U can try and find out if it works for u also!!

rwsmith61 12-01-2009 08:12 PM

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.

evo2 12-01-2009 08:36 PM

Quote:

Originally Posted by jialin (Post 1859996)
My evironment is Debian 3.1 unstable.

Impossible! Must be a typo. Debian 3.1 is sarge which is an obsolete release: http://www.debian.org/releases/sarge/

Quote:

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.

Evo2.


All times are GMT -5. The time now is 01:37 PM.