LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 09-19-2005, 10:30 AM   #1
jialin
LQ Newbie
 
Registered: Sep 2005
Location: US
Posts: 14

Rep: Reputation: 0
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.
 
Old 09-19-2005, 11:20 AM   #2
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
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

Last edited by titanium_geek; 09-19-2005 at 11:22 AM.
 
Old 09-19-2005, 02:12 PM   #3
jialin
LQ Newbie
 
Registered: Sep 2005
Location: US
Posts: 14

Original Poster
Rep: Reputation: 0
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?
 
Old 09-19-2005, 03:27 PM   #4
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
have you read the readme that comes with the code?

titanium_geek
 
Old 09-19-2005, 05:12 PM   #5
jialin
LQ Newbie
 
Registered: Sep 2005
Location: US
Posts: 14

Original Poster
Rep: Reputation: 0
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?
 
Old 09-19-2005, 06:46 PM   #6
jialin
LQ Newbie
 
Registered: Sep 2005
Location: US
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 09-19-2005, 08:42 PM   #7
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
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
 
Old 11-04-2009, 09:20 PM   #8
Shirish S
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
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!!
 
Old 12-01-2009, 09:12 PM   #9
rwsmith61
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
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.
 
Old 12-01-2009, 09:36 PM   #10
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
Quote:
Originally Posted by jialin View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help!!! Can't install glib 2.4.7, because the configure script can't find pkgconfig RJARRRPCGP Linux - Newbie 3 11-22-2004 01:20 AM
Help!!! Can't install glib, because configure can't find pkgconfig RJARRRPCGP Linux - Newbie 1 11-20-2004 10:43 PM
configure php install error obj63 Linux - Software 2 08-18-2004 10:19 PM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 04:52 PM
little help ;) "configure: error: can not find install-sh or install.sh" pertek Linux - Software 0 03-19-2004 12:20 PM


All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration