I tried the suggestion to remove the single quote character ['] around the directory:
Unfortunately, the same error persists. I also tried not use the ' and adding a \ before the space in the directory. This made things worse:./configure --prefix=/opt --host=mipsel-linux --disable-xmldoc --srcdir=/opt/brcm/Asterisk 1.8.5.0/asterisk-1.8.5.0
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: 1.8.5.0/asterisk-1.8.5.0
configure: error: cannot find sources (main/asterisk.c) in /opt/brcm/Asterisk
I think that you are right and that the single quotes are not needed.[root@mythtv asterisk-1.8.5.0]# ./configure --prefix=/opt --host=mipsel-linux --disable-xmldoc --srcdir=/opt/brcm/Asterisk\ 1.8.5.0/asterisk-1.8.5.0
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... mipsel-unknown-linux-gnu
configure: error: cannot find install-sh, install.sh, or shtool in `pwd` "."/`pwd`
I noticed that having a space in the directory name can causes interesting problems. This can be resolved by placing the directory in single quotes or placing a \ before a space character:
I also tried adding a / to the end of the directory but this only made things worse:[root@mythtv asterisk-1.8.5.0]# cd /
[root@mythtv /]# cd /opt/brcm/Asterisk 1.8.5.0/asterisk-1.8.5.0
-bash: cd: /opt/brcm/Asterisk: No such file or directory
[root@mythtv /]# cd '/opt/brcm/Asterisk 1.8.5.0/asterisk-1.8.5.0'
[root@mythtv asterisk-1.8.5.0]# pwd
/opt/brcm/Asterisk 1.8.5.0/asterisk-1.8.5.0
[root@mythtv asterisk-1.8.5.0]# cd /
[root@mythtv /]# cd /opt/brcm/Asterisk\ 1.8.5.0/asterisk-1.8.5.0
[root@mythtv asterisk-1.8.5.0]# pwd
/opt/brcm/Asterisk 1.8.5.0/asterisk-1.8.5.0
@wpte: in your first reponse, you recommended:[root@mythtv asterisk-1.8.5.0]# ./configure --prefix=/opt --host=mipsel-linux --disable-xmldoc --srcdir='/opt/brcm/Asterisk 1.8.5.0/asterisk-1.8.5.0/'
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... mipsel-unknown-linux-gnu
configure: error: cannot find install-sh, install.sh, or shtool in `pwd` "."/`pwd`
[root@mythtv asterisk-1.8.5.0]# ./configure --prefix=/opt --host=mipsel-linux --disable-xmldoc --srcdir=/opt/brcm/Asterisk\ 1.8.5.0/asterisk-1.8.5.0/
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... mipsel-unknown-linux-gnu
configure: error: cannot find install-sh, install.sh, or shtool in `pwd` "."/`pwd`
[root@mythtv asterisk-1.8.5.0]# ./configure --prefix=/opt --host=mipsel-linux --disable-xmldoc --srcdir=/opt/brcm/Asterisk 1.8.5.0/asterisk-1.8.5.0/
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: 1.8.5.0/asterisk-1.8.5.0/
configure: error: cannot find sources (main/asterisk.c) in /opt/brcm/Asterisk
I did not do this (because I have not figured out how): could this (lack of correct header files) be the cause of the configure errors?this configure is probably a good start for compiling, but you need a lot of libraries...
I'd recommend you just use ipkg packages to get the correct header files, otherwise it's madness to compile everything yourself
Any suggestions would be appreciated.
@wpte: I appreciate you taking the time to look at my questions.