The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: MoTw on June 19, 2009, 05:49:19 pm

Title: Problem with compiling Simutrans: install-sh not found
Post by: MoTw on June 19, 2009, 05:49:19 pm
I wanted to compile Simutrans to test some patches. So I downloaded the src-Files from sourceforge. I extracted them into a new directory and started compiling by "./configure". This it was the commandline says:
Quote
configure: error: cannot find install-sh or install.sh in misc "."/misc
.

I looked for a directory called "misc" in my compiling-directory but: It is neither in the downloaded src-File nor in my directory.

Do I have to write the install-sh by myself?

Thanks for help.
Title: Re: Problem with compiling Simutrans: install-sh not found
Post by: seb444 on June 19, 2009, 07:20:41 pm
Try it :

$ sudo updatedb
$ locate install-sh
/usr/lib/python2.6/config/install-sh
/usr/share/aclocal-1.10/install-sh.m4
/usr/share/automake/install-sh
/usr/share/automake-1.10/install-sh
/usr/share/automake-1.4/install-sh
/usr/share/doc/libxerces-c2-dev/examples/install-sh
/usr/share/icu/3.8.1/install-sh
/usr/share/libtool/config/install-sh
$ ln -s /usr/share/automake/install-sh install-sh
Title: Re: Problem with compiling Simutrans: install-sh not found
Post by: prissi on June 20, 2009, 07:38:48 pm
No, with simutrans you have to go to the directory above trunk and type ./configure.sh. Simutrans does not use autoconf.
Title: Re: Problem with compiling Simutrans: install-sh not found
Post by: MoTw on June 20, 2009, 08:13:37 pm
What do you mean by that? I downloaded the source-Files from sourceforge.net, extracted it into a new directory and added some patch-files. Next, I typed "./configure". ???
Title: Re: Problem with compiling Simutrans: install-sh not found
Post by: prissi on June 20, 2009, 08:16:59 pm
this will not work, as I said above. I can try "./configure.sh" but it may faild too. The you just need to copy config.template to config.defualt and edit it a little.