[SOLVED] configure: error: cannot find install-sh or install.sh in . ./.. ./../..
SlackwareThis Forum is for the discussion of Slackware 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 . ./.. ./../..
Hi: I have a package, avra-1.3.0.tar.bz2. I unzipped and untarred, went to the src/ directory, where configure and the source files are and ran configure, as instructed by the INSTALL file. But I get
Code:
$ ./configure
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
$
But there is no install-sh or install.sh in all of the package! What can this configure be looking for?
To compile avra you need gcc and the automake utilities. These will create a ./configure script that evaluates your system enviroment. To get the AVRA executable, you have to issue the following commands:
aclocal autoconf automake -a ./configure make && make install
I tried, it works but 'make' returned missing files, so you'll have to make some adjustments to the Makefile, I guess.
Thanks, ponce. This is a bit odd. I downloaded the previous version (http://sourceforge.net/projects/avra/files/) and it already has, along with the sources, avra, the executable file (it's an assembler for the AVR family of Atmel microcontrollers). I ran it and it works. But there are no manuals. Instead, the new version, the one I ran first, has a 'Build' file that says:
#!/usr/bin/env bash
#
# AVRA Build and Release helper script
# source this in the root directory of avra and then invoke one of the
# functions to create a release. This is very hackish, but makes life easier.
VERSION="1.3.0" # Change to new version
OS_TYPE="source" # Change to linux, mingw32, apple or source
# This doesn't normaly have to be changed ...
I think this is intended for developers or hackers and not people like me.
Instructions are in the doc directory: I tried, it works but 'make' returned missing files, so you'll have to make some adjustments to the Makefile, I guess.
I did too, the files are NEWS and some others without importance. But the Makefile is way too complex.
That's what `bootstrap' is for : aclocal && autoconf && automake -a
( Please read the "text file" bootstrap.)
This will do : $ sh bootstrap
... and the links to /usr/share/automake*/install-sh etc. etc. are created.
EDIT : Beaten by @ Didier Spaier.
-
I donot have a file bootstrap. I ran, in a second try, the three commands, which are not mention in the <root_dir>/INSTALL, but are mentioned in <root_dir>/doc/README.txt. But then make failed, complaining ... exactly what happened to Didier.
'cd src && make -f makefiles/Makefile.linux' seems to be the magic invocation.
It worked! But this package serious flaws. The include files, which has hundreds of definitions without which writing a source program (assembler) would be very tiresome, has directives beginning with '#', like #ifndef, #define, #pragma, which seem to belong to C but not to the assembler language. I will delete those directives and use it anyways. And best, I see in the Atmel site if I can get some new assembler, though they are all for Windows.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.