in reply to h2xs in mageia

how can it happen when with perl -v i see installed Perl 5.18.1 and no h2xs commands available in shell?

Either h2xs is not in your $PATH or its not installed

Some linux distros still call it "perl" after they remove lots of files (strip it down) that ship with perl

They may have an option to install the missing stuff (??? sudo apt-get install libperl-dev ???)

You can always install a perl in your ~/home, sh Configure -Dprefix=~/p-5.8.1/ .... or install a Portable aka relocatable perl like http://www.citrusperl.com/

Replies are listed 'Best First'.
Re^2: h2xs in mageia
by Artimus (Sexton) on Jul 16, 2014 at 13:32 UTC
    mageia is mandriva's fork. there is no such thing as

    sudo apt-get install

    =)

    That is the thing I've got on Mageia's forum:

    $ urpmf h2xs perl:/usr/share/man/man1/h2xs.1.xz perl-devel:/usr/bin/h2xs
    You need to install perl-devel

    I haven't tried this due to immediate need in h2xs and replaced Mageia 4 by Ubuntu 14.04

    But hope to come back to mageia soon - i appreciate it, and if this hack works it will be just wonderful

Re^2: h2xs in mageia
by jellisii2 (Hermit) on Jul 16, 2014 at 13:03 UTC
    If the real problem is the system perl is effectively broken, I STRONGLY recommend perlbrew.