[ 
https://issues.apache.org/jira/browse/GUACAMOLE-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931508#comment-15931508
 ] 

Michael Jumper commented on GUACAMOLE-245:
------------------------------------------

Running "autoreconf -fi" under strace, I see autoreconf is checking for (among 
other things) the presence of "install-sh" and then "install.sh" in its default 
search locations ("./", "../", and "../../"). In my case, I happened to have a 
script named "install.sh" in my home directory. This had nothing to do with the 
"install.sh" script that autoreconf wants, but it assumed that was the correct 
location for auxiliary files anyway, put "ltmain.sh" there, and caused the 
generation of configure to fail.

I'm definitely not a fan of that magic, and it might be worth adding that 
{{AC_CONFIG_AUX_DIR}} line at some point, but removing the "install.sh" script 
solved the problem.

> Run "autoreconf -fi" fails with "required file './ltmain.sh' not found"
> -----------------------------------------------------------------------
>
>                 Key: GUACAMOLE-245
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-245
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-server
>            Reporter: Michael Jumper
>            Assignee: Michael Jumper
>
> On my development machine, I am no longer able to regenerate the configure 
> script, etc. with {{autoreconf -fi}}. From a clean clone of the git 
> repository, {{autoreconf -fi}} produces the following:
> {code:none}
> [mjumper@dev-mjumper incubator-guacamole-server]$ autoreconf -fi
> libtoolize: putting auxiliary files in '../..'.
> libtoolize: copying file '../../ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
> libtoolize: copying file 'm4/libtool.m4'
> libtoolize: copying file 'm4/ltoptions.m4'
> libtoolize: copying file 'm4/ltsugar.m4'
> libtoolize: copying file 'm4/ltversion.m4'
> libtoolize: copying file 'm4/lt~obsolete.m4'
> configure.ac:26: installing './compile'
> configure.ac:26: installing './config.guess'
> configure.ac:26: installing './config.sub'
> configure.ac:22: installing './install-sh'
> configure.ac:26: error: required file './ltmain.sh' not found
> configure.ac:22: installing './missing'
> src/common-ssh/Makefile.am: installing './depcomp'
> parallel-tests: installing './test-driver'
> autoreconf: automake failed with exit status: 1
> [mjumper@dev-mjumper incubator-guacamole-server]$ 
> {code}
> The key weirdness here is "putting auxiliary files in '../..'", which in my 
> case is {{autoreconf}} shoving "ltmain.sh" in my home directory, of all 
> places. I'm not sure when this changed. It's not a regression, as the same 
> issue occurs with a clean clone of 0.9.10-incubating.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to