can't instal in debian/sarge

Help
2006-09-13
2013-05-01
  • David Zejda
    David Zejda
    2006-09-13

    I downloaded the two files mentioned in http://xsh.sourceforge.net/download.html but installation of libraries fails:

    Using prefix /usr/local
    Checking libxml2-...
    File: libxml2-2.6.8.tar.gz
    Checking libxml2-...
    Version: 2.6.8
    Present version:
    Installing libxml2-2.6.8.tar.gz
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for a BSD-compatible install... /usr/bin/install -c
    checking how to run the C preprocessor... gcc -E
    checking for rm... /bin/rm
    checking for mv... /bin/mv
    checking for tar... /bin/tar
    checking for function prototypes... yes
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for string.h... (cached) yes
    checking for a sed that does not truncate output... /bin/sed
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognise dependent libraries... pass_all
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking for g++... no
    checking for c++... no
    checking for gpp... no
    checking for aCC... no
    checking for CC... no
    checking for cxx... no
    checking for cc++... no
    checking for cl... no
    checking for FCC... no
    checking for KCC... no
    checking for RCC... no
    checking for xlC_r... no
    checking for xlC... no
    checking whether we are using the GNU C++ compiler... no
    checking whether g++ accepts -g... no
    checking dependency style of g++... none
    checking how to run the C++ preprocessor... /lib/cpp
    configure: error: C++ preprocessor "/lib/cpp" fails sanity check
    See `config.log' for more details.

    and then the "xsh" says:

    Can't locate XML/LibXML/Iterator.pm in @INC (@INC contains: /home/zejdad/crffak/XML-XSH2-2.0.2 /home/zejdad/crffak/XML-XSH2-2.0.2/../lib /home/zejdad/crffak/XML-XSH2-2.0.2/lib /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /home/zejdad/crffak/XML-XSH2-2.0.2/lib/XML/XSH2/Iterators.pm line 237.
    BEGIN failed--compilation aborted at /home/zejdad/crffak/XML-XSH2-2.0.2/lib/XML/XSH2/Iterators.pm line 238.
    Compilation failed in require at /home/zejdad/crffak/XML-XSH2-2.0.2/lib/XML/XSH2/Functions.pm line 12.
    BEGIN failed--compilation aborted at /home/zejdad/crffak/XML-XSH2-2.0.2/lib/XML/XSH2/Functions.pm line 12.
    Compilation failed in require at /home/zejdad/crffak/XML-XSH2-2.0.2/lib/XML/XSH2.pm line 16.
    BEGIN failed--compilation aborted at /home/zejdad/crffak/XML-XSH2-2.0.2/lib/XML/XSH2.pm line 16.
    Compilation failed in require at ./xsh line 29.
    BEGIN failed--compilation aborted at ./xsh line 29.

    Thanks for your help...

     
    • Petr Pajas
      Petr Pajas
      2006-09-13

      libxml2 is essential, so unless you can install that (and its Perl bindings) on your system, xsh won't run at all.

      However, the versions provided in the dependency bundle are quite outdated. I'll try to upload an updated dependency package later today (and let you know) and we shall see if it make any difference.

      -- Petr

       
    • Petr Pajas
      Petr Pajas
      2006-09-13

      Ok, please try with the updated xmltools-bundle.tar.gz and report if it fails. You can also e-mail me directly.