CPAN - Specio::Constraint::Simple install error - perl

Attempting to install Specio::Constraint::Simple, running into the following error:
Can't resolve method "???" overloading "&{}" in package
"Specio::Constraint::Simple" at Specio::Constraint::Simple->new line
35.
Only related article I have found has been: https://rt.cpan.org/Public/Bug/Display.html?id=117975
Any suggestions would be appreciated.
Thank you

This is caused by a bug in older versions of Role::Tiny that was fixed in version 1.003003:
overloads specified as method names rather than subrefs are now applied
properly
Upgrading Role::Tiny should fix it and allow Specio::Constraint::Simple to be installed normally.
Actually, you don't even need to do that manually: Version 0.26 of Specio now requires at least version 1.003003 of Role::Tiny. Any future attempt to install Specio will upgrade Role::Tiny automatically (if required).

Related

How to upgrade dev dependencies in Flutter

How can I upgrade my Flutter dev_dependencies? The flutter pub upgrade command doesn't seem to work on those and I don't see a --dev parameter for the command so do I have to update them manually or am I doing something wrong?
Are you familiar with the carat syntax? (e.g., dependency: ^x.y.z)
Carat Syntax documentation
Essentially, the carat indicates to automatically get the most up to date version of that package that is backward compatible with the number you specify. So it will update automatically up to a major version, at which point you will need to manually specify the new version number.

error installing lang/perl5.30 on FreeBSD 12.0

Clean installation of FreeBSD 12.0 updated to last patch.
Trying to install Perl: portmaster lang/perl5.30
Error: malloc.c:1242:13: error: use of undeclared identifier 'my_perl
How to fix it?
Well I don't know how FreeBSD handles patching the source code its compiling, but perl-5.30.0 needs the following patch applied to build properly on systems which use perl's malloc() library:
v5.31.0-13-g9629b6dc1d
1.go to /usr/ports/lang/per5.30
2.run "make config" and deselect PERL_MALLOC option
3.now retry make install

emacs: package-name is an available obsolete package

Whenever I install a MELPA package, I get this message:
package-name is an available obsolete package
Here is a screenshot of what I mean (first line):
I tried this solution but it did not help.
How to fix it?
That message confused me too. It turns out it's just a poor choice of words for saying that there's a new version available.
https://lists.gnu.org/archive/html/help-gnu-emacs/2019-02/msg00082.html
Once you update the list of packages with M-x package-refresh-contents, then you can type U x and it will upgrade all installed packages that have a more recent version available.
Once that is done, the message you see when you open the description of an updated package will be:
Package x is installed.

How to get Sinatra on stage with XP?

Keen to try Sinatra but I’m using Windows XP and getting error:
“C:/Ruby19/lib/ruby/gems/1.9.1/gems/rack-1.3.5/lib/rack/backports/uri/common_192.rb:53:in `remove_const’: constant URI::WFKV_ not defined (NameError)”
There is a reference to the problem at: https://github.com/rack/rack/pull/247
where Shanev removed the fix but how do I do that??
The problem seems to with ruby 1.9.1 update your ruby version and then check.
Ref:here

Where can I get a Xerces-C compatible with XML::XERCES 2.7.0?

This question is in continuation of this post, I have tried installing Xerces-C but the thing is Xerces-C version is 2.8.0 and 3.0.0 and XML::XERCES latest version is 2.7.0 and so am getting following error message:
Update2: Here is the error which am getting, it says there is somekind of version mismatch.
Using XERCES_LIB = /home/adoshi/XML-Parser/Parser2/
xerces-c_2_8_0-hppa-hpux-acc_3(1)/xerces-c_2_8_0-hppa-hpux-acc_3/lib
Using XERCES_INCLUDE = /home/adoshi/XML-Parser/Parser2/
xerces-c_2_8_0-hppa-hpux-acc_3(1)/xerces-c_2_8_0-hppa-hpux-acc_3/include
WARNING
You have defined the XERCESCROOT variable, but the file:
XERCESCROOT/src/xercesc/config.status
does not seem to point to the config.status file that was used to
build your Xerces-C library. Without that file, I may not be able to
properly build the C++ glue files that come with Xerces.pm.
Proceeding anyway ...
Using Xerces-C version info from /home/adoshi/XML-Parser/Parser2/xerces
-c_2_8_0-hppa-hpux-acc_3(1)/xerces-c_2_8_0-hppa-hpux-acc_3/include/xercesc/util
/XercesVersion.hpp
*** Version Mismatch ***
You are attempt to build XML::Xerces-2.7.0-0 using Xerces-C-2.8.0,
this will most likely fail, so I am aborting.
You must use Xerces-C-2.7.0
Any guidance would be highly appreciated.
Did you read the download page that clearly says "Older releases are available from the archive download site."? Perhaps you can find a 2.7.0 release there.