[asterisk-users] Re: FW: zaptel 1.4.0 on Fedora Core 6 x86_64

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Feb 20 11:14:37 MST 2007


On Tue, Feb 20, 2007 at 12:54:15PM -0500, Carlos Alperin wrote:
> Tzafrir,
> 
> This is the output of make install:
> 
> make[1]: Entering directory `/usr/src/zaptel-1.4.0'
> make -C /lib/modules/2.6.19-1.2911.fc6xen/build
> SUBDIRS=/usr/src/zaptel-1.4.0 modules
> make[2]: Entering directory `/usr/src/kernels/2.6.19-1.2911.fc6-x86_64'
>   Building modules, stage 2.
>   MODPOST 4 modules
> make[2]: Leaving directory `/usr/src/kernels/2.6.19-1.2911.fc6-x86_64'
> make[1]: Leaving directory `/usr/src/zaptel-1.4.0'
> build_tools/genudevrules > /etc/udev/rules.d/zaptel.rules
> if [ -d /usr/lib/hotplug/firmware ]; then \
>                 /usr/bin/install -c -m 644 wct4xxp/*.ima
> /usr/lib/hotplug/firmware; \
>         fi
> if [ -d /lib/firmware ]; then \
>                 /usr/bin/install -c -m 644 wct4xxp/*.ima /lib/firmware; \
>         fi
> Installed firmware
> /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 || : ;\
>         fi
> rm -f /usr/liblibtonezone.so
> /bin/ln -sf libtonezone.so.1.0 \
>                 /usr/lib/libtonezone.so.1
> /bin/ln -sf libtonezone.so.1.0 \
>                 /usr/lib/libtonezone.so
> if [ -z "" ] && [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep
> "SELinux
> status:" | grep -q "enabled") ; then 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
> if [ -f ztcfg ]; then \
>                 /usr/bin/install -c -D -m 755 ztcfg /sbin/ztcfg; \
>         fi
> if [ -f sethdlc-new ]; then \
>                 /usr/bin/install -c -D -m 755 sethdlc-new /sbin/sethdlc; \
>         elif [ -f sethdlc ]; then \
>                 /usr/bin/install -c -D -m 755 sethdlc /sbin/sethdlc; \
>         fi
> if [ -f zttool ]; then \
>                 /usr/bin/install -c -D -m 755 zttool /sbin/zttool; \
>         fi
> for x in zaptel.ko ztd-loc.ko ztdummy.ko zttranscode.ko; do \
>                 rm -f /lib/modules/2.6.19-1.2911.fc6xen/extra/$x ; \
>         done; \
>         make -C /lib/modules/2.6.19-1.2911.fc6xen/build
> SUBDIRS=/usr/src/zaptel-
> 1.4.0 INSTALL_MOD_PATH= INSTALL_MOD_DIR=misc modules_install; \
>         if [ -f datamods/syncppp.ko ]; then \
>                 make -C datamods install; \
>         else \
>                 rm -f
> /lib/modules/2.6.19-1.2911.fc6xen/misc/{hdlc_*,syncppp}.ko
> ; \
>         fi
> make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2911.fc6-x86_64'
>   INSTALL /usr/src/zaptel-1.4.0/zaptel.ko
>   INSTALL /usr/src/zaptel-1.4.0/ztd-loc.ko
>   INSTALL /usr/src/zaptel-1.4.0/ztdummy.ko
>   INSTALL /usr/src/zaptel-1.4.0/zttranscode.ko
>   DEPMOD  2.6.19-1.2911.fc6

So where wer ethey installed to?

Into /lib/modules/2.6.19-1.2911.fc6-x86_64  (no xen) by any chance?

In the worst case, copy them manually:

  cp *.ko /lib/modules/`uname -r`/misc/
  depmod -a

and hope for the best.

> make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2911.fc6-x86_64'
> if ! [ -f wcfxsusb.o ]; then \
>                 rm -f /lib/modules/2.6.19-1.2911.fc6xen/misc/wcfxsusb.o; \
>         fi; \
>         rm -f /lib/modules/2.6.19-1.2911.fc6xen/misc/wcfxs.o
> /usr/bin/install -c -m 644 doc/ztcfg.8 /usr/share/man/man8
> /usr/bin/install -c -m 644 doc/zttool.8 /usr/share/man/man8
> [ `id -u` = 0 ] && /sbin/depmod -a 2.6.19-1.2911.fc6xen || :
> [ -f /etc/zaptel.conf ] || /usr/bin/install -c -D -m 644 zaptel.conf.sample
> /etc
> /zaptel.conf
> build_tools/genmodconf linux26 "" "ztd-loc ztdummy zttranscode"
> Building /etc/modprobe.d/zaptel...
> ***
> *** WARNING:
> *** If you had custom settings in /etc/modprobe.d/zaptel,
> *** they have been moved to /etc/modprobe.d/zaptel.bak.
> ***
> *** In the future, do not edit /etc/modprobe.d/zaptel, but
> *** instead put your changes in another file
> *** in the same directory so that they will not
> *** be overwritten by future Zaptel updates.
> *** 
> 
> I cannot see any error.
> 
> The Warning is due to I already compiled zaptel several times, and
> zaptel.conf, and zaptel already exists.
> 
> Carlos Alperin
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list