LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   configure: error: cannot find install-sh or install.sh in . ./.. ./../.. (https://www.linuxquestions.org/questions/slackware-14/configure-error-cannot-find-install-sh-or-install-sh-in-4175474739/)

stf92 08-26-2013 04:40 AM

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?

ponce 08-26-2013 05:03 AM

I haven't looked deep in it, but maybe this can give you some hints.

Didier Spaier 08-26-2013 05:12 AM

Instructions are in the doc directory:
Quote:

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.

knudfl 08-26-2013 05:19 AM

Quote:

cannot find install-sh or install.sh ..
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.

-

stf92 08-26-2013 05:52 AM

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.

stf92 08-26-2013 05:54 AM

Quote:

Originally Posted by Didier Spaier (Post 5016116)
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.

stf92 08-26-2013 06:04 AM

Quote:

Originally Posted by knudfl (Post 5016119)
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.

gnashley 08-26-2013 11:25 AM

'cd src && make -f makefiles/Makefile.linux' seems to be the magic invocation.

stf92 08-26-2013 07:18 PM

Thank you gnashley.

stf92 08-27-2013 12:21 AM

Quote:

Originally Posted by gnashley (Post 5016336)
'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.


All times are GMT -5. The time now is 06:22 PM.