Summary:ASTERISK-08901: Zaptel fails when compiling V1.4 SVN branch
Reporter:warlock52 (warlock52)Labels:
Date Opened:2007-02-27 22:31:46.000-0600Date Closed:2007-02-28 15:15:50.000-0600
Versions:Frequency of
Description:after having updated the SVN branch of ZAptel it fails to complete the "make install" with the following error.

/usr/bin/install -c -d
/usr/bin/install: too few arguments
Try `/usr/bin/install --help' for more information.
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/zaptel/1.4/xpp/utils'
make: *** [install-xpp] Error 2
Comments:By: Serge Vecher (serge-v) 2007-02-28 08:12:41.000-0600

tzafrir: can you please take a look at this bug? Also, can you please talk to file about getting a 'developer' status on the bug-tracker, so we can assign bugs to you directly? Thanks.

By: Tzafrir Cohen (tzafrir) 2007-02-28 08:38:31.000-0600

Could you please provide a lightly more complete trace? At least three or four lines above the first line of this trace?

What linux distribution is this?

was libusb detected?    

 grep PBX_LIBUSB makeopts

Is there any local modification?

 svn status

By: warlock52 (warlock52) 2007-02-28 09:46:28.000-0600

make install
make[1]: Entering directory `/usr/src/zaptel/1.4'
make -C /lib/modules/ SUBDIRS=/usr/src/zapt                                                                                            el/1.4 modules
make[2]: Entering directory `/lib/modules/'
Compile for trunk-r3495

 Building modules, stage 2.
make[2]: Leaving directory `/lib/modules/'
make[2]: Entering directory `/usr/src/zaptel/1.4/xpp/utils'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/zaptel/1.4/xpp/utils'
make[1]: Leaving directory `/usr/src/zaptel/1.4'
build_tools/genudevrules > /etc/udev/rules.d/zaptel.rules
for x in pciradio.ko tor2.ko torisa.ko wcfxo.ko wct1xxp.ko wctdm.ko wctdm24xxp.ko wcte11xp.ko wcusb.ko zaptel.ko ztd-eth.ko ztd-loc.ko ztdummy.ko ztdynamic.ko zttranscode.ko wcte12xp.ko wct4xxp/wct4xxp.ko wctc4xxp/wctc4xxp.ko xpp/xpp_usb.ko xpp/xpd_fxo.ko xpp/xpd_fxs.ko xpp/xpp.ko; do \
       rm -f /lib/modules/$x ; \
       rm -f /lib/modules/$x ; \
       rm -f /lib/modules/$x ; \
make -C /lib/modules/ SUBDIRS=/usr/src/zaptel/1.4 INSTALL_MOD_PATH= INSTALL_MOD_DIR=misc modules_install
make[1]: Entering directory `/lib/modules/'
 INSTALL /usr/src/zaptel/1.4/pciradio.ko
 INSTALL /usr/src/zaptel/1.4/tor2.ko
 INSTALL /usr/src/zaptel/1.4/torisa.ko
 INSTALL /usr/src/zaptel/1.4/wcfxo.ko
 INSTALL /usr/src/zaptel/1.4/wct1xxp.ko
 INSTALL /usr/src/zaptel/1.4/wct4xxp/wct4xxp.ko
 INSTALL /usr/src/zaptel/1.4/wctc4xxp/wctc4xxp.ko
 INSTALL /usr/src/zaptel/1.4/wctdm.ko
 INSTALL /usr/src/zaptel/1.4/wctdm24xxp.ko
 INSTALL /usr/src/zaptel/1.4/wcte11xp.ko
 INSTALL /usr/src/zaptel/1.4/wcte12xp.ko
 INSTALL /usr/src/zaptel/1.4/wcusb.ko
 INSTALL /usr/src/zaptel/1.4/xpp/xpd_fxo.ko
 INSTALL /usr/src/zaptel/1.4/xpp/xpd_fxs.ko
 INSTALL /usr/src/zaptel/1.4/xpp/xpp.ko
 INSTALL /usr/src/zaptel/1.4/xpp/xpp_usb.ko
 INSTALL /usr/src/zaptel/1.4/zaptel.ko
 INSTALL /usr/src/zaptel/1.4/ztd-eth.ko
 INSTALL /usr/src/zaptel/1.4/ztd-loc.ko
 INSTALL /usr/src/zaptel/1.4/ztdummy.ko
 INSTALL /usr/src/zaptel/1.4/ztdynamic.ko
 INSTALL /usr/src/zaptel/1.4/zttranscode.ko
make[1]: Leaving directory `/lib/modules/'
if [ -f datamods/syncppp.ko ]; then \
       make -C datamods install; \
/usr/bin/install -c -D -m 755 libtonezone.a /usr/lib/libtonezone.a
/usr/bin/install -c -D -m 755 libtonezone.so /usr/lib/libtonezone.so.1.0
if [ -z "" -a `id -u` = 0 ]; then \
       /sbin/ldconfig || : ;\
rm -f /usr/liblibtonezone.so
/bin/ln -sf libtonezone.so.1.0 \
/bin/ln -sf libtonezone.so.1.0 \
if [ -z "" ] && [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then /sbin/restorecon -v /usr/lib/libtonezone.so; fi
/usr/bin/install -c -D -m 644 zaptel.h /usr/include/zaptel/zaptel.h
/usr/bin/install -c -D -m 644 tonezone.h /usr/include/zaptel/tonezone.h
rm -f /usr/include/linux/zaptel.h
rm -f /usr/include/linux/torisa.h
rm -f /usr/include/zaptel.h
rm -f /usr/include/torisa.h
rm -f /usr/include/tonezone.h
make[1]: Entering directory `/usr/src/zaptel/1.4/xpp/utils'
perl -c ../calibrate_slics >/dev/null || true
../calibrate_slics syntax OK
/usr/bin/install -c -d
/usr/bin/install: too few arguments
Try `/usr/bin/install --help' for more information.
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/zaptel/1.4/xpp/utils'
make: *** [install-xpp] Error 2

By: Tzafrir Cohen (tzafrir) 2007-02-28 15:09:13.000-0600

BINDIR and SBINDIR were confused.

1.2: 2252
1.4: 2253
trunk: 2254

By: Tzafrir Cohen (tzafrir) 2007-02-28 15:10:23.000-0600

Fix an incorrect application in changeset 2222 (1.2)