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. |
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 titanium_geek |
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? |
have you read the readme that comes with the code?
titanium_geek |
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? |
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. |
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 |
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!! |
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. |
Quote:
Quote:
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. |