Well, i've had another crack at this with a vanilla install and i can say it was not easy. The RuneOS(no fault of anyone) is a little behind the rest of arch so there are many dependencies that are difficult to get in line.
I think that this option should be included as a feature request and voted on as the support of such a feature may be more complex than it ought to be. Please submit one and link to this topic.
If anyone else has any imput on this one, please chime in. Here's a basic rundown of what i did to get abcde installed and working.
First up, the perl install facility, CPAN, is next to useless here. You'll need to build custom perl musicbrainz modules by yourself.
This is a pain because new versions of the arch makepkg no longer allow the --asroot option so you'll need to make a user for compiling.
The other thing that i'm not entirely sure about is 2 issues that i came accross with an html parser.so and a xml parser.so. If One of the devs could comment here, that would be great because i feel it's a bit much to ask of other forums about this custom arch build. It got me really confused!
As is the nature of Arch linux, any instructions here are likely dated, things around here change a lot.
Here goes.
As Root: #
- Code: Select all
pacman -S libxml-perl libproxy perl-xml-parser perl-html-parser libdiscid abcde cdparanoia eject flac libdiscid musicbrainz
I found that i had to update pacman and systemd but you'll also need all those make apps as well. This is treacherous because there may be some RuneOS things counting on it.
- Code: Select all
pacman -S pacman systemd binutils patch gcc make perl
Because --asroot no longer works, you'll have to create a user.
jon = the name you want to use.
- Code: Select all
useradd -g users -G optical,wheel,audio,storage,mpd -s /bin/bash -m jon
login as jon and set a password
- Code: Select all
su jon
cd
gpasswd
Now to build the perl bits. Since installing abcde for myself and writing this, the AUR repos changed the way packages are managed so there were some casulties with some of the unmaintained packages. This is a real pain but there is a backup. My wgets point there but this may not be around for ever so take a copy for yourself. It should be
here, but the
mirror had the actual PKGBUILD needed. I lost a day to this weirdness.
As Jon $
perl-musicbrainz-discid
- Code: Select all
mkdir perl-musicbrainz-discid
cd perl-musicbrainz-discid
wget http://pkgbuild.com/git/aur-mirror.git/plain/perl-musicbrainz-discid/PKGBUILD
wget http://pkgbuild.com/git/aur-mirror.git/plain/perl-musicbrainz-discid/new-musicbrainz-urls.patch
wget http://pkgbuild.com/git/aur-mirror.git/plain/perl-musicbrainz-discid/pod-encoding.patch
Before we build, we need to change the architecture.
- Code: Select all
nano PKGBUILD
Change where is says
- Code: Select all
arch=('i686' 'x86_64')
to
- Code: Select all
arch=('armv6h')
and save the file.
then run
- Code: Select all
makepkg -sri
It'll ask for a root password to install. Do it.
The next is very similar
- Code: Select all
cd
mkdir perl-webservice-musicbrainz
cd perl-webservice-musicbrainz
wget http://pkgbuild.com/git/aur-mirror.git/plain/perl-webservice-musicbrainz/PKGBUILD
Before we build, we need to change the architecture.
- Code: Select all
nano PKGBUILD
Change where is says
- Code: Select all
arch=('i686' 'x86_64')
to
- Code: Select all
arch=('armv6h')
and save the file.
then run
- Code: Select all
makepkg -sri
It'll ask for a root password to install. Do it.
If that all went well, you should be able to run abcde.
but...
Now here's for the weird bit.
I kept getting this error around /usr/lib/perl5/site_perl/auto/XML/LibXML/LibXML.so and /usr/lib/perl5/site_perl/auto/HTML/Parser/Parser.so
I forget the errors now but i had to brute force them because pacman -Qo /usr/lib/perl5/site_perl/auto/HTML/Parser/Parser.so gave me no clues.
Here's what I did. I wish it was neater but this is all i could get to work.
@ACX or @hondagx35 have any opinions here?Kill problematic files as root. #
- Code: Select all
su
- Code: Select all
rm /usr/lib/perl5/site_perl/auto/HTML/Parser/Parser.so
rm /usr/lib/perl5/site_perl/auto/XML/LibXML/LibXML.so
Link them from where they exist elsewhere as root.
- Code: Select all
ln -S /usr/lib/perl5/site_perl/auto/HTML/Parser/Parser.so /usr/lib/perl5/vendor_perl/auto/HTML/Parser/Parser.so
ln -S /usr/lib/perl5/site_perl/auto/XML/LibXML/LibXML.so /usr/lib/perl5/vendor_perl/auto/XML/LibXML/LibXML.so
This may be unrelated but i also found that i needed to reinstall openssl.
- Code: Select all
pacman -S openssl
Try that. If it doesn't work, i may have missed a step. Just let me know.
Fingers crossed.
mm
BONUS.
mkcue is required to have cue files made with abcde. adding in your ACTION list, cue will envoke a dependancy.
The problem is that the package is nowhere to be found!
Except hereas jon $
- Code: Select all
cd
mkdir mkcue
cd mkcue
wget https://raw.githubusercontent.com/boronology/pkgbuild_mkcue/master/PKGBUILD
Before we build, we need to change the architecture.
- Code: Select all
nano PKGBUILD
Change where is says
- Code: Select all
arch=('i686' 'x86_64')
to
- Code: Select all
arch=('armv6h')
and save the file.
then run
- Code: Select all
makepkg -sri
It'll ask for a root password to install. Do it.