You are not logged in.

#1 2018-09-20 10:20:09

benoitldr
Member
From: Grenoble
Registered: 2016-03-03
Posts: 29

installation failed auto-multiple-choice

Hello,

I've met some difficulties in installing auto-multiple choice.

https://aur.archlinux.org/packages/auto … le-choice/

https://project.auto-multiple-choice.ne … opics/3697

errors messages : https://pastebin.com/J8RJ5LWz

Benoit

Last edited by benoitldr (2018-09-24 07:02:48)

Offline

#2 2018-09-20 18:37:45

loqs
Member
Registered: 2014-03-06
Posts: 18,055

Re: installation failed auto-multiple-choice

Replace CV_RGB with CvScalar but the package appears unmaintained both in AUR and upstream.

Offline

#3 2018-09-20 21:18:12

benoitldr
Member
From: Grenoble
Registered: 2016-03-03
Posts: 29

Re: installation failed auto-multiple-choice

loqs wrote:

Replace CV_RGB with CvScalar but the package appears unmaintained both in AUR and upstream.

I managed to :

make all && sudo make install

now the errors at execution is :

Locale::Language will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /usr/lib/AMC/perl/AMC-gui.pl, line 43.
Locale::Codes will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /usr/share/perl5/core_perl/Locale/Language.pm, line 22.
Can't locate AMC/Path.pm in @INC (you may need to install the AMC::Path module) (@INC contains: /usr/lib/perl5/5.28/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.28/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.28/core_perl /usr/share/perl5/core_perl) at /usr/lib/AMC/perl/AMC-gui.pl line 49.
BEGIN failed--compilation aborted at /usr/lib/AMC/perl/AMC-gui.pl line 49.

So I comment the line 43 in /usr/lib/AMC/perl/AMC-gui.pl

but I did not know how to install AMC::Path module...

Offline

#4 2018-09-20 21:33:18

loqs
Member
Registered: 2014-03-06
Posts: 18,055

Re: installation failed auto-multiple-choice

Why did you not use use makepkg but switch to `make all && sudo make install`?

Offline

#5 2018-09-21 07:18:18

benoitldr
Member
From: Grenoble
Registered: 2016-03-03
Posts: 29

Re: installation failed auto-multiple-choice

loqs wrote:

Why did you not use use makepkg but switch to `make all && sudo make install`?

i don't know why, because I was tired, stupid and I thought that git version was more recent... I know install package manually is dirty (so I clean by using rm -Rf...)

The solution :

sed -i 's/CV_RGB/CvScalar/' AMC-detect.cc

Thanks you !

Offline

#6 2018-09-24 07:08:52

benoitldr
Member
From: Grenoble
Registered: 2016-03-03
Posts: 29

Re: installation failed auto-multiple-choice

with the aur version, I have problem in execution, impossible to update document :

Locale::Language will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /usr/lib/AMC/perl/AMC-gui.pl, line 43.
Locale::Codes will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /usr/share/perl5/core_perl/Locale/Language.pm, line 22.
The encoding pragma is no longer supported. Check cperl at /usr/lib/AMC/perl/AMC-prepare.pl line 21.
BEGIN failed--compilation aborted at /usr/lib/AMC/perl/AMC-prepare.pl line 21.

But it is more a problem with the app than archlinux !

Offline

Board footer

Powered by FluxBB