[Freeswitch-users] "make install" failure on Solaris 10

Bruce McAlister bruce.mcalister at blueface.ie
Thu Sep 3 03:42:50 PDT 2009


Hi,

I have just managed to complete a build of FreeSWITCH 1.0.4 on Solaris 
10. The problem I am now having is that it fails on the "make install" 
part of the installation.

I have attached the complete output of the "make install".

A snippet of the failure is below:

---
Installing freeswitch
*** Error code 1
The following command caused the error:
for htdocsfile in `find htdocs -name \* | grep -v .svn` ; do \
	dir=`echo $htdocsfile | sed -e 's|/[^/]*$||'`; \
	filename=`echo $htdocsfile | sed -e 's|^.*/||'`; \
	test -d 
/var/tmp/pkgbuild-user/freeswitch-1.0.4-build/opt/freeswitch/$dir || 
/export/home/user/packages/BUILD/freeswitch-1.0.4/build/config/install-sh 
-d /var/tmp/pkgbuild-user/freeswitch-1.0.4-build/opt/freeswitch/$dir ; \
	test -f 
/var/tmp/pkgbuild-user/freeswitch-1.0.4-build/opt/freeswitch/$dir/$filename 
|| /opt/jdsbld/bin/ginstall -c -m 644 $dir/$filename 
/var/tmp/pkgbuild-user/freeswitch-1.0.4-build/opt/freeswitch/$dir 
2>/dev/null;  \
done
make: Fatal error: Command failed for target `samples-htdocs'
Current working directory /export/home/user/packages/BUILD/freeswitch-1.0.4
*** Error code 1
The following command caused the error:
test -d 
/var/tmp/pkgbuild-user/freeswitch-1.0.4-build/opt/freeswitch/htdocs || 
make samples-htdocs
make: Fatal error: Command failed for target `install-data-local'
Current working directory /export/home/user/packages/BUILD/freeswitch-1.0.4
*** Error code 1
The following command caused the error:
make "OUR_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | sed -e 
"s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in 
$tmp_mods ; do echo $i-all ; done )"; echo $mods )" 
"OUR_CLEAN_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | sed -e 
"s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in 
$tmp_mods ; do echo $i-clean ; done )"; echo $mods )" 
"OUR_INSTALL_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | sed -e 
"s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in 
$tmp_mods ; do echo $i-install ; done)"; echo $mods )" 
"OUR_UNINSTALL_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | sed -e 
"s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in 
$tmp_mods ; do echo $i-uninstall ; done)"; echo $mods )" 
"OUR_DISABLED_MODULES=$(tmp_mods="$(grep "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | grep -v 
"\#\#" | sed -e "s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods 
; do echo $i-all ; done )"; echo $mods )" 
"OUR_DISABLED_CLEAN_MODULES=$(tmp_mods="$(grep "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | grep -v 
"\#\#" | sed -e "s|^.*/||" | sort | uniq )";  mods="$(for i in $tmp_mods 
; do echo $i-clean ; done )"; echo $mods )" 
"OUR_DISABLED_INSTALL_MODULES=$(tmp_mods="$(grep "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | grep -v 
"\#\#" | sed -e "s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods 
; do echo $i-install ; done)"; echo $mods )" 
"OUR_DISABLED_UNINSTALL_MODULES=$(tmp_mods="$(grep "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | grep -v 
"\#\#" | sed -e "s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods 
; do echo $i-uninstall ; done)"; echo $mods )" `test -n "" || echo -s` 
install-exec-am install-data-am
make: Fatal error: Command failed for target `install-am'
Current working directory /export/home/user/packages/BUILD/freeswitch-1.0.4
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
   case $f in \
     *=* | --[!k]*);; \
     *k*) failcom='fail=yes';; \
   esac; \
done; \
dot_seen=no; \
target=`echo install-recursive | sed s/-recursive//`; \
list='. src build'; for subdir in $list; do \
   echo "Making $target in $subdir"; \
   if test "$subdir" = "."; then \
     dot_seen=yes; \
     local_target="$target-am"; \
   else \
     local_target="$target"; \
   fi; \
   (cd $subdir && make "OUR_MODULES=$(if test -z "" ; then 
tmp_mods="$(grep -v "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | sed -e 
"s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in 
$tmp_mods ; do echo $i-all ; done )"; echo $mods )" 
"OUR_CLEAN_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | sed -e 
"s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in 
$tmp_mods ; do echo $i-clean ; done )"; echo $mods )" 
"OUR_INSTALL_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | sed -e 
"s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in 
$tmp_mods ; do echo $i-install ; done)"; echo $mods )" 
"OUR_UNINSTALL_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | sed -e 
"s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in 
$tmp_mods ; do echo $i-uninstall ; done)"; echo $mods )" 
"OUR_DISABLED_MODULES=$(tmp_mods="$(grep "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | grep -v 
"\#\#" | sed -e "s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods 
; do echo $i-all ; done )"; echo $mods )" 
"OUR_DISABLED_CLEAN_MODULES=$(tmp_mods="$(grep "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | grep -v 
"\#\#" | sed -e "s|^.*/||" | sort | uniq )";  mods="$(for i in $tmp_mods 
; do echo $i-clean ; done )"; echo $mods )" 
"OUR_DISABLED_INSTALL_MODULES=$(tmp_mods="$(grep "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | grep -v 
"\#\#" | sed -e "s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods 
; do echo $i-install ; done)"; echo $mods )" 
"OUR_DISABLED_UNINSTALL_MODULES=$(tmp_mods="$(grep "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | grep -v 
"\#\#" | sed -e "s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods 
; do echo $i-uninstall ; done)"; echo $mods )" `test -n "" || echo -s` 
$local_target) \
   || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
   make "OUR_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | sed -e 
"s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in 
$tmp_mods ; do echo $i-all ; done )"; echo $mods )" 
"OUR_CLEAN_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | sed -e 
"s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in 
$tmp_mods ; do echo $i-clean ; done )"; echo $mods )" 
"OUR_INSTALL_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | sed -e 
"s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in 
$tmp_mods ; do echo $i-install ; done)"; echo $mods )" 
"OUR_UNINSTALL_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | sed -e 
"s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in 
$tmp_mods ; do echo $i-uninstall ; done)"; echo $mods )" 
"OUR_DISABLED_MODULES=$(tmp_mods="$(grep "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | grep -v 
"\#\#" | sed -e "s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods 
; do echo $i-all ; done )"; echo $mods )" 
"OUR_DISABLED_CLEAN_MODULES=$(tmp_mods="$(grep "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | grep -v 
"\#\#" | sed -e "s|^.*/||" | sort | uniq )";  mods="$(for i in $tmp_mods 
; do echo $i-clean ; done )"; echo $mods )" 
"OUR_DISABLED_INSTALL_MODULES=$(tmp_mods="$(grep "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | grep -v 
"\#\#" | sed -e "s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods 
; do echo $i-install ; done)"; echo $mods )" 
"OUR_DISABLED_UNINSTALL_MODULES=$(tmp_mods="$(grep "\#" 
/export/home/user/packages/BUILD/freeswitch-1.0.4/modules.conf | grep -v 
"\#\#" | sed -e "s|^.*/||" | sort | uniq )"; mods="$(for i in $tmp_mods 
; do echo $i-uninstall ; done)"; echo $mods )" `test -n "" || echo -s` 
"$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `install-recursive'
Current working directory /export/home/user/packages/BUILD/freeswitch-1.0.4
*** Error code 1
make: Fatal error: Command failed for target `install'

---

Any pointers would be greatly appreciated.

Thanks
Bruce
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 28169-1.0.4-make-install.log
Url: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090903/d6ab4e17/attachment-0002.pl 


More information about the FreeSWITCH-users mailing list