Following this tutorial "https://perlmaven.com/getting-started-with-perl-dancer"
On Windows command line, I run the command "cpanm --verbose Dancer" and that resulted in error "Failed to download http://search.cpan.org/CPAN/authors/id/B/BI/BIGPRESH/Dancer-1.3202.tar.gz"
Playing with it I found the old dancer version is no longer work/available. So I ran
"cpanm --verbose Dancer2"
and that works! with version 2 of dancer.
Related
I have developed a package with rpmbuild with unpre script error. The package on testing successfully installed but now Iam unable to remove the package (even with force option) or nodeps option
I have encountered the same situation. However I was able to uninstall the package with --noscripts option as in rpm -e <pkgname> --noscripts.
I want to find the differences between two versions of Perl using the corelist command line utility.
I tried running the following command:
corelist File::Spec
but I got an error:
-bash: corelist: command not found
How can I resolve this?
The error suggests that corelist is not installed on your machine. If not installed, you can install it via
Ubuntu: sudo apt-get install libmodule-corelist-perl
Centos: Via RPM here
Once you have it installed, you can find the differences between two versions of Perl as follows:
corelist --diff v5.12.0 v5.24.0
If you have problems installing it, there is a web version of corelist available online to which you can refer: http://perlpunks.de/corelist It supports doing differences between Perl versions too.
I am trying to install sipp with pcap-replay on winows7.
I have installed cygwnin, libncurse, and winpcap. I was trying to patch cygwin with IPv6 using the URL http://cygwin.win6.jp/cygwin-ipv6/, but it couldn't get the setup.ini file.
So I copied to local directory and upgrade, but it said no new updates.
And if I try to complie sipp. it gives error
$ ./configure.ac --with-pcap
./configure.ac: line 3: syntax error near unexpected token [SIPp],'
./configure.ac: line 3:AC_INIT([SIPp], [3.3], [sipp-users#lists.sourceforge.net], [sipp])'
Could anyone help me in getting sipp be installed on windows?
I download sipp.3.3.990 it has ./configure and was able to install on Linux.
But now on windows it still fails saying ncurse is not present. But I have downloaded it.
How do I troubleshoot it from here?
You can follow below steps to generate configure from configure.ac.
$> autoreconf -i
Now, you will see a configure file created at the same location.
To run the above command, following packages are required: automake,ncurses-devel,libncurses,M4 and autoconf.
if any of the above packages are missing run the cygwin setup file again and select the packages on the package selection screen and click install.
I intend to use Tab Completion, then I try to load readline using the following command:
$ irb -r irb/completion
However, irb throws an error message shown below:
/usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require':LoadError: cannot load such file -- readline
Then I try to install readline using command:
gem install readline
But, RubyGems prompt me that
ERROR: Could not find a valid gem 'readline' (>= 0) in any repository
How can I fix it?
You have been troubled by the naming.
The repo name is rb-readline
You need to have the readline libraries installed when you compile Ruby.
Follow this blog: http://vvv.tobiassjosten.net/ruby-on-rails/fixing-readline-for-the-ruby-on-rails-console/
I recently installed Casperjs on server (centos) and when I try to run I get the following error:
File "/usr/local/bin/casperjs", line 11
except subprocess.CalledProcessError as err:
^
SyntaxError: invalid syntax
This is the result of running "casperjs --version" which should just print the version number. Although any other commands with casperjs also give the same output.
The steps that I followed to install are pretty standard:
git clone git://github.com/n1k0/casperjs.git
cd casperjs
git checkout tags/1.0.2
ln -sf `pwd`/bin/casperjs /usr/local/bin/casperjs
Also, I'm running version 1.9.6 of phantomjs which is required for casperjs.
Any ideas?
You could check if the version of python is greater than 2.6 or not
for my case , I type the command
python -v
and I get 2.4.3 on the old online redhat machine .
than you could try update your python version .
It might some help