atefsaeed2010 / datacard

Automatically exported from code.google.com/p/datacard
Other
0 stars 1 forks source link

openwrt svn - asterisk-18 - chan_datacard-svn building fail #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. buildroot for openwrt
2. update makefile for asterisk-18
3. enable chan_datacard in openwrt's menuconfig

What is the expected output? What do you see instead?
I'd expect it to compile just fine

What version of the product are you using? On what operating system?
UBUNTU 10.10 (chan_datacard r203)

Please provide any additional information below.

autoreconf: configure.in: not using Automake

The makefile is modified to use the latest chan_datacard svn ( as I'm using the 
latest openwrt trunk too ) with openwrt's asterisk-18 . This should work but it 
doesn't !

Can you put a working configure in the svn or clean the automake/autoconf to 
actually work ?

make[3]: Entering directory `/home/dexter/OpenWrt/trunk/package/chan_datacard'
. /home/dexter/OpenWrt/trunk/include/shell.sh; . 
/home/dexter/OpenWrt/trunk/include/shell.sh; gzip -dc 
/home/dexter/OpenWrt/trunk/dl/chan_datacard-1.0.r315.tar.gz | /bin/tar -C 
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-
1.0.r315/.. -xf - 
ls: cannot access ./patches: No such file or directory
touch 
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-
1.0.r315/.prepared_dee89eb656744218f336338e10519a37
(cd 
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-
1.0.r315; rm -f aclocal.m4; if [ -f ./configure.ac ] || [ -f ./configure.in ]; 
then [ -d ./autom4te.cache ] && rm -rf autom4te.cache; touch NEWS AUTHORS 
COPYING ChangeLog; 
AUTOM4TE=/home/dexter/OpenWrt/trunk/staging_dir/host/bin/autom4te 
AUTOCONF=/home/dexter/OpenWrt/trunk/staging_dir/host/bin/autoconf 
AUTOMAKE=/home/dexter/OpenWrt/trunk/staging_dir/host/bin/automake 
ACLOCAL=/home/dexter/OpenWrt/trunk/staging_dir/host/bin/aclocal 
AUTOHEADER=/home/dexter/OpenWrt/trunk/staging_dir/host/bin/autoheader 
LIBTOOLIZE=/home/dexter/OpenWrt/trunk/staging_dir/host/bin/libtoolize 
LIBTOOL=/home/dexter/OpenWrt/trunk/staging_dir/host/bin/libtool 
M4=/home/dexter/OpenWrt/trunk/staging_dir/host/bin/m4 AUTOPOINT=true 
/home/dexter/OpenWrt/trunk/staging_dir/host/bin/autoreconf -v -f -i -s -B 
/home/dexter/OpenWrt/trunk/staging_dir/host/share/aclocal -I 
/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/host/share/a
clocal -I 
/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/share/ac
local -I m4 -I . . || true; [ -e ./config.rpath ] || ln -s 
/home/dexter/OpenWrt/trunk/scripts/config.rpath ./config.rpath; fi; );
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: /home/dexter/OpenWrt/trunk/staging_dir/host/bin/aclocal -I 
/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/host/share/a
clocal -I 
/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/share/ac
local -I m4 -I . --force 
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /home/dexter/OpenWrt/trunk/staging_dir/host/bin/autoconf 
--include=/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/ho
st/share/aclocal 
--include=/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/us
r/share/aclocal --include=m4 --include=. 
--prepend-include=/home/dexter/OpenWrt/trunk/staging_dir/host/share/aclocal 
--force
autoreconf: running: /home/dexter/OpenWrt/trunk/staging_dir/host/bin/autoheader 
--include=/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/ho
st/share/aclocal 
--include=/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/us
r/share/aclocal --include=m4 --include=. 
--prepend-include=/home/dexter/OpenWrt/trunk/staging_dir/host/share/aclocal 
--force
autoreconf: configure.in: not using Automake
autoreconf: Leaving directory `.'
(cd 
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-
1.0.r315/./; if [ -x ./configure ]; then /usr/bin/find 
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-
1.0.r315/ -name config.guess | xargs -r chmod u+w; /usr/bin/find 
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-
1.0.r315/ -name config.guess | xargs -r -n1 cp 
/home/dexter/OpenWrt/trunk/scripts/config.guess; /usr/bin/find 
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-
1.0.r315/ -name config.sub | xargs -r chmod u+w; /usr/bin/find 
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-
1.0.r315/ -name config.sub | xargs -r -n1 cp 
/home/dexter/OpenWrt/trunk/scripts/config.sub; AR=mips-openwrt-linux-uclibc-ar 
AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 
-fno-caller-saves -fhonour-copts -msoft-float" LD=mips-openwrt-linux-uclibc-ld 
NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" 
GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" 
RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip 
OBJCOPY=mips-openwrt-linux-uclibc-objcopy 
OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size 
CFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts 
-msoft-float " CXXFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves 
-fhonour-copts -msoft-float " 
CPPFLAGS="-I/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/
usr/include 
-I/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include 
-I/home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9
.32/usr/include 
-I/home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9
.32/include " 
LDFLAGS="-L/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/u
sr/lib 
-L/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/lib 
-L/home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9
.32/usr/lib 
-L/home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9
.32/lib "   ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux 
--build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr 
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib 
--sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man 
--infodir=/usr/info --disable-nls   ; fi; )
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script 
/home/dexter/OpenWrt/trunk/include/site/mips-openwrt-linux-uclibc
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." 
"./../.."
make[3]: *** 
[/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard
-1.0.r315/.configured_] Error 1
make[3]: Leaving directory `/home/dexter/OpenWrt/trunk/package/chan_datacard'

Original issue reported on code.google.com by dex...@d3xt3r01.tk on 9 Apr 2011 at 2:39

Attachments:

GoogleCodeExporter commented 9 years ago
Fix attached.

Original comment by goo...@wwsnet.net on 9 Apr 2011 at 2:44

Attachments:

GoogleCodeExporter commented 9 years ago
To explain the fix some more, it was derived from the discussion at 
http://www.mail-archive.com/bug-automake@gnu.org/msg01816.html .

OpenWrt uses autoconf 2.68 and automake 1.11.1 which apparently trigger this 
issue.

Original comment by goo...@wwsnet.net on 9 Apr 2011 at 2:57

GoogleCodeExporter commented 9 years ago
Solved now :)

Original comment by dex...@d3xt3r01.tk on 18 Apr 2011 at 12:18

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by pag...@gmail.com on 5 May 2011 at 9:58