Cursos Asterisk en México

Error al tratar de Compilar Dahdi

Colapsar

Anuncio

Colapsar
No hay anuncio todavía.
X
 
  • Filtrar
  • Tiempo
  • Mostrar
Limpiar Todo
nuevos mensajes

  • Error al tratar de Compilar Dahdi

    No es la primera vez que instalo asterisk, pero es la primera que me sale este error.

    ¿Alguna persona sabe por que sale este error?
    Gracias.


    Código:
    rm -f /usr/lib/libtonezone.so
    /bin/ln -sf libtonezone.so.2.0 \
            /usr/lib/libtonezone.so.2
    /bin/ln -sf libtonezone.so.2.0 \
            /usr/lib/libtonezone.so
    # Overwrite the 1.0 links out there.  dahdi-tools 2.0.0 installed
    # 1.0 links but dahdi-tools changed them to 2.0 in order to explicitly
    # break applications linked with zaptel.  But, this also meant that
    # applications linked with libtonezone.so.1.0 broke when dahdi-tools
    # 2.1.0 was installed.
    /bin/ln -sf libtonezone.so.2.0 \
            /usr/lib/libtonezone.so.1.0
    /bin/ln -sf libtonezone.so.2.0 \
            /usr/lib/libtonezone.so.1
    /usr/bin/install -c -d -m 755 //usr/include/dahdi
    /usr/bin/install -c -m 644 tonezone.h /usr/include/dahdi/
    ###################################################
    ###
    ### DAHDI tools installed successfully.
    ### If you have not done so before, install init scripts with:
    ###
    ###   make config
    ###
    ###################################################
    make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1/tools'
    make -C tools config
    make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1/tools'
    install -D dahdi.init /etc/init.d/dahdi
    /usr/bin/install -c -d /etc/udev/rules.d
    /usr/bin/install -c -D -m 644 dahdi.rules /etc/udev/rules.d/
    /sbin/chkconfig --add dahdi
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US",
        LC_ALL = (unset),
        LC_CTYPE = "UTF-8",
        LANG = "en_US.UTF-8"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    /sbin/insserv: No such file or directory
    dahdi                     0:off  1:off  2:off  3:off  4:off  5:off  6:off
    make[1]: *** [config] Error 1
    make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1/tools'
    make: *** [config] Error 2
    user69:/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1#


    El OS esta completamente actualizado, de hecho tengo un asterisk corriendo en la misma versión con la misma versión de dandi.
    Agradezco sus comentarios.
    Editado por última vez por elarquitecto; https://asteriskmx.org/foros/member/1851-elarquitecto en 02-02-2015, 08:21 PM.
    Siempre son bienvenidas las críticas y comentarios, incluso si no son constructivos

  • #2
    Ubuntu?

    Intenta revisando estos threads:
    Sometimes I come across Debian or Ubuntu Systems which report following error e.g. during installing new packages: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_PAPER = "de_AT.UTF-8", LC_ADDRESS = "de_AT.UTF-8", LC_MONETARY = "de_AT.UTF-8", LC_NUMERIC = "de_AT.UTF-8", LC_TELEPHONE = "de_AT.UTF-8", LC_MEASUREMENT = "de_AT.UTF-8", LC_TIME

    Comentario


    • #3
      Código HTML:
      make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1/linux/drivers/dahdi/xpp/firmwares'
      ################################################## #
      ###
      ### DAHDI installed successfully.
      ### If you have not done so before, install the package
      ### dahdi-tools.
      ###
      ################################################## #
      make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1/linux'
      make -C tools install
      make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1/tools'
      make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1/tools/xpp'
      make[2]: Nothing to be done for `all'.
      make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1/tools/xpp'
      make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1/tools/xpp'
      /usr/bin/install -c -d /usr/sbin
      /usr/bin/install -c astribank_is_starting dahdi_registration xpp_sync lsdahdi xpp_blink dahdi_genconf dahdi_hardware twinstar /usr/sbin/
      /usr/bin/install -c -d /usr/share/dahdi
      /usr/bin/install -c xpp_fxloader astribank_hook /usr/share/dahdi/
      /usr/bin/install -c waitfor_xpds /usr/share/dahdi/
      /usr/bin/install -c -d /etc/udev/rules.d
      /usr/bin/install -c -m 644 xpp.rules /etc/udev/rules.d/
      /usr/bin/install -c -d /usr/share/man/man8
      /usr/bin/install -c -m 644 astribank_is_starting.8 dahdi_registration.8 xpp_sync.8 lsdahdi.8 xpp_blink.8 dahdi_genconf.8 dahdi_hardware.8 twinstar.8 /usr/share/man/man8/
      /usr/bin/install -c -d /etc/hotplug/usb
      /usr/bin/install -c -m 644 xpp_fxloader.usermap /etc/hotplug/usb/
      # for backward compatibility and for hotplug users:
      ln -sf /usr/share/dahdi/xpp_fxloader /etc/hotplug/usb/
      /usr/bin/install -c -d /usr/local/share/perl/5.14.2
      for i in Dahdi Dahdi/Xpp Dahdi/Config Dahdi/Config/Gen Dahdi/Hardware; \
      do \
      /usr/bin/install -c -d "/usr/local/share/perl/5.14.2/$i"; \
      done
      for i in Dahdi.pm Dahdi/Chans.pm Dahdi/Hardware.pm Dahdi/Span.pm Dahdi/Utils.pm Dahdi/Xpp.pm Dahdi/Xpp/Line.pm Dahdi/Xpp/Mpp.pm Dahdi/Xpp/Xbus.pm Dahdi/Xpp/Xpd.pm Dahdi/Config/Gen.pm Dahdi/Config/Params.pm Dahdi/Config/Gen/Assignedspans.pm Dahdi/Config/Gen/Chandahdi.pm Dahdi/Config/Gen/Freepbxdb.pm Dahdi/Config/Gen/Modules.pm Dahdi/Config/Gen/Spantypes.pm Dahdi/Config/Gen/System.pm Dahdi/Config/Gen/Unicall.pm Dahdi/Config/Gen/Users.pm Dahdi/Config/Gen/Xpporder.pm Dahdi/Hardware/PCI.pm Dahdi/Hardware/USB.pm; \
      do \
      /usr/bin/install -c -m 644 "perl_modules/$i" "/usr/local/share/perl/5.14.2/$i"; \
      done
      make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1/tools/xpp'
      install -d /usr/sbin
      install fxotune dahdi_cfg dahdi_monitor dahdi_speed dahdi_test dahdi_scan dahdi_maint dahdi_tool sethdlc /usr/sbin/
      install -d /usr/share/man/man8
      install -m 644 doc/fxotune.8 doc/dahdi_cfg.8 doc/dahdi_monitor.8 doc/dahdi_test.8 doc/dahdi_scan.8 doc/dahdi_maint.8 doc/dahdi_tool.8 doc/dahdi_span_assignments.8 doc/dahdi_span_types.8 doc/dahdi_waitfor_span_assignments.8 /usr/share/man/man8/
      install -d /usr/share/dahdi
      tar cf - -C hotplug dahdi_handle_device dahdi_span_config dahdi_auto_assign_compat span_config.d/10-dahdi-cfg span_config.d/20-fxotune span_config.d/50-asterisk handle_device.d/10-span-types handle_device.d/20-span-assignments | tar xf - -C /usr/share/dahdi/
      install dahdi_span_assignments dahdi_span_types dahdi_waitfor_span_assignments //usr/sbin/
      install -m 644 assigned-spans.conf.sample span-types.conf.sample //etc/dahdi/
      install -d /etc/bash_completion.d
      install -m 644 dahdi-bash-completion /etc/bash_completion.d/dahdi
      /usr/bin/install -c -d -m 755 //usr/lib
      /usr/bin/install -c -m 755 libtonezone.a /usr/lib/
      /usr/bin/install -c -m 755 libtonezone.so /usr/lib/libtonezone.so.2.0
      if [ `id -u` = 0 ]; then \
      /sbin/ldconfig || : ;\
      fi
      rm -f /usr/lib/libtonezone.so
      /bin/ln -sf libtonezone.so.2.0 \
      /usr/lib/libtonezone.so.2
      /bin/ln -sf libtonezone.so.2.0 \
      /usr/lib/libtonezone.so
      # Overwrite the 1.0 links out there. dahdi-tools 2.0.0 installed
      # 1.0 links but dahdi-tools changed them to 2.0 in order to explicitly
      # break applications linked with zaptel. But, this also meant that
      # applications linked with libtonezone.so.1.0 broke when dahdi-tools
      # 2.1.0 was installed.
      /bin/ln -sf libtonezone.so.2.0 \
      /usr/lib/libtonezone.so.1.0
      /bin/ln -sf libtonezone.so.2.0 \
      /usr/lib/libtonezone.so.1
      /usr/bin/install -c -d -m 755 //usr/include/dahdi
      /usr/bin/install -c -m 644 tonezone.h /usr/include/dahdi/
      ################################################## #
      ###
      ### DAHDI tools installed successfully.
      ### If you have not done so before, install init scripts with:
      ###
      ### make config
      ###
      ################################################## #
      make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1/tools'
      make -C tools config
      make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1/tools'
      install -D dahdi.init /etc/init.d/dahdi
      /usr/bin/install -c -d /etc/udev/rules.d
      /usr/bin/install -c -D -m 644 dahdi.rules /etc/udev/rules.d/
      /sbin/chkconfig --add dahdi
      /sbin/insserv: No such file or directory
      dahdi 0ff 1ff 2ff 3ff 4ff 5ff 6ff
      make[1]: *** [config] Error 1
      make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.0.1+2.10.0.1/tools'
      make: *** [config] Error 2

      Siempre son bienvenidas las críticas y comentarios, incluso si no son constructivos

      Comentario


      • #4
        Como que tu sistema no esta bien configurado intenta con: https://loginroot.com/ubuntu-12-04-6...-or-directory/

        Comentario

        Principales Usuarios Activos

        Colapsar

        No hay usuarios activos superiores.
        Trabajando...
        X