LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 12-27-2020, 10:00 AM   #1
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Rep: Reputation: Disabled
VLC?


Long time slacker, but new to arm!

My family bought me a Pi 400 for Xmas (Yay!), so I've immediately installed slackware-current from SARPI. So far so good. Some of my favourite apps are missing, most noticeably VLC.

I've tried building AlienBob's package (which seems to be ARM friendly), but it complains about apache-ant being missing, which is NOT ARM friendly - as far as I can see, anyway!

The distro supplied with the 400 (Raspbian?) does have VLC, and I think Raspbian is based on Debian? In theory, if I can find the .deb package, I should be able to run deb2tgz on it and install it, provided the dependencies are met.

Am I barking up the wrong tree? Has anyone got VLC working under slackware-arm?

All suggestions gratefully received!

--
Pete
 
Old 12-27-2020, 10:11 AM   #2
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,918

Rep: Reputation: Disabled
build script vlc-3.0.11.1-aarch64-1mara.txz, but the compiled package is not under aarch32

Last edited by sndwvs; 12-27-2020 at 10:15 AM.
 
1 members found this post helpful.
Old 12-27-2020, 10:47 AM   #3
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
Wow! That was quick! Many thanks for that!

As I said, I'm very new to Arm, although I've been using Slackware for a very long time. I was under the impression that the Pi 400 was 64-bit. Is this correct? And does this imply that the SARPI install is only 32-bit?

Sorry if these are dumb questions, but I've only had it a couple of days, and I'm still finding my way around it!

--
Pete
 
Old 12-27-2020, 11:11 AM   #4
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,918

Rep: Reputation: Disabled
Quote:
Originally Posted by pchristy View Post
I was under the impression that the Pi 400 was 64-bit.
yes, it supports both aarch32/64 architectures.

Quote:
Originally Posted by pchristy View Post
And does this imply that the SARPI install is only 32-bit?
yes, Slackwarearm is used.
 
1 members found this post helpful.
Old 12-27-2020, 12:47 PM   #5
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
Thanks for the replies!

I'm currently downloading slarm64 to my local (home) repository. If I can figure out how to tweak the slackware installer to suit, I'll have a go at installing it instead of slackwarearm. I need to find out how the boot system works on arm, because it appears quite different from Intel/AMD.

Shame there isn't something like AlienBob's usbimg2disk.sh to create a bootable install media. SARPI seemed to have something like that, but it still involved a lot of manual fiddling on completion of the install, in order to make the SD card bootable.

I have a lot of research / reading to do! Can you recommend a good "idiot's guide" to arm?

--
Pete
 
Old 12-27-2020, 01:00 PM   #6
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,918

Rep: Reputation: Disabled
for raspberry pi 3/4 there is a ready-made image, you just need to write to the card.
 
Old 12-27-2020, 01:07 PM   #7
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by pchristy View Post
Long time slacker, but new to arm!

My family bought me a Pi 400 for Xmas (Yay!), so I've immediately installed slackware-current from SARPI. So far so good. Some of my favourite apps are missing, most noticeably VLC.
Hi Pete. Merry Christmas and welcome to the ARM side of Slackware.

I've looked at the Pi 400 previously and didn't fancy buying it. Though I did wonder if the SARPi installer in its current form would get Slackware ARM running on this new device easily. You're the first person I'm aware of who's used SARPi to install Slackware ARM on this device so that's answered my question. Thanks very much for sharing the info.

As for VLC, I've taken a quick look at Eric's work and it looks pretty intense on the face of it. Looking at his build notes it's obvious why... http://www.slackware.com/~alien/slac...vlc.SlackBuild

Code:
# NOTE: this SlackBuild is a monster - it tries to wrap all dependencies to
# vlc into the resulting package by building these deps as static libraries
# and then in the final stage linking vlc against all the static libraries.
# The resulting package has all the vlc functionality and does not depend on
# any software that is not present in a standard full install of Slackware.
# This makes my package quite different from all the other vlc builds that are
# floating around on the Internet.
# /Eric Hameleers/
Even though it's labelled as "a monster" (@alienBOB - LOL WTF?) I've found that if it's possible on Slackware x86_64 then it's almost nearly always possible on ARM as well. That being said I haven't tried to build VLC for ARM because I'm a very infrequent desktop user with Slackware and therefore have no use for it. However, this looks like the kind of challenge that I'd undertake just for the hell of it. Obviously Eric's way of building VLC works and the trick will be to find a way of building it successfully on Slackware ARM - which doesn't always involve the same modus operandi or method(s) as x86.

For example; I can't remember what I was building last year (or maybe earlier this year) but it required Google go-lang to be installed in order to build. Somebody said to me "Oh, you're out of luck! That'll never build for the ARM platform because there are missing <insert forgotten elements here>." So I looked at the Slackbuild.org scripts for go-lang, which seemed pretty straight-forward, and decided to build the dependent pkgs one by one in order before having a stab at go-lang itself. It took me a few hours to build the dependencies and 6-8 hours on building and installing go-lang itself (it was a real PITA as I recall). Managed it in the end through manipulation and installation of the required pkgs in the right order.

So that leads me to questions. Why is apache-ant not ARM friendly? Is there any reason why apache-ant cannot be built for ARM architecture? If you had apache-ant for ARM installed would this enable you to build VLC using Eric's scripts?
 
Old 12-27-2020, 01:18 PM   #8
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,918

Rep: Reputation: Disabled
apache-ant arm build, package.
this package does not depend on the OS architecture.
 
Old 12-27-2020, 01:20 PM   #9
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by sndwvs View Post
apache-ant arm build, package.
this package does not depend on the OS architecture.
and you've built VLC on ARM with it successfully?
 
Old 12-27-2020, 01:34 PM   #10
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,918

Rep: Reputation: Disabled
Quote:
Originally Posted by Exaga View Post
and you've built VLC on ARM with it successfully?
yes

Last edited by sndwvs; 12-27-2020 at 01:35 PM.
 
Old 12-27-2020, 02:39 PM   #11
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by sndwvs View Post
Thanks. I wasn't sure because your post says "the compiled package is not under aarch32" and the link to your pkg and rpi4 image is labelled 'aarch64'.

Just wanted to know if you'd built it successfully under ARM (i.e. 'aarch32'). Do you have a link to your 'aarch32' version of the pkg by any chance?
 
Old 12-27-2020, 02:44 PM   #12
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,918

Rep: Reputation: Disabled
Quote:
Originally Posted by Exaga View Post
Just wanted to know if you'd built it successfully under ARM (i.e. 'aarch32'). Do you have a link to your 'aarch32' version of the pkg by any chance?
no, there is no ready-made assembly for aarch32, but only packages included in Slackware are used for building.
 
Old 12-27-2020, 03:00 PM   #13
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by sndwvs View Post
no, there is no ready-made assembly for aarch32, but only packages included in Slackware are used for building.
I'm asking because the OP installed Slackware ARM using the sarpi installer - therefore it's 'aarch32' and not 'aarch64'. OP would have to install slarm64 in order to use your 'aarch64' pkg. Unless that's what you're suggesting he does?

I work exclusively with the official Slackware ARM source-tree. I once had a very bad experience with a version of "Slackware" (note the double quotes) on the Orange Pi and it wasn't pretty. However, I am interested in alien's "monster" VLC build scripts. Think I'll play around with them a little while I'm under house-arrest due to lock-down regulations here in the UK.

Last edited by Exaga; 12-27-2020 at 03:02 PM. Reason: Jaffa cakes FTW!
 
Old 12-27-2020, 03:05 PM   #14
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,918

Rep: Reputation: Disabled
Quote:
Originally Posted by Exaga View Post
I'm asking because the OP installed Slackware ARM using the sarpi installer - therefore it's 'aarch32' and not 'aarch64'. OP would have to install slarm64 in order to use your 'aarch64' pkg. Unless that's what your suggesting he does?
I pointed to the build script by aarch32/64 and pointed to the complete package under aarch64.
 
Old 12-27-2020, 03:15 PM   #15
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by sndwvs View Post
I pointed to the build script by aarch32/64 and pointed to the complete package under aarch64.
Ja. I was thinking if you already had a 32-bit pkg it might be useful and save a little time. For my purposes it's just as easy to use alien's build scripts and modify them to suit. Thanks anyway.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vlc 2.7 mageia 3 no video only sound vlc win ok moshebagelfresser Mageia 5 07-21-2013 12:20 AM
Installing VLC using vlc-0.9.9a-4.el5.rf.i386.rpm--Error relating to Dependencies redhat5 Linux - Newbie 1 12-17-2009 04:23 PM
LXer: Create your own VLC skin with VLC media player Skin Editor LXer Syndicated Linux News 0 12-06-2009 12:30 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 10:48 PM
I'm Getting 6 VLC Windows At Once - Problem With VLC Player davidx Linux - Software 1 11-03-2008 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration