Build VLC on Slackware 14.0
Hi all, I need a vlc package for slackware 14.0.
My system audio is based on OSSv4 (open sound system version 4). I had installed an AlienBob precompiled package of vlc 2.1.4, but I notice some choppy sound and a bad fluency during playback. I read about option "--enable-oss" to be used at compile time for 2.1.x vlc versions. Now I would like to rebuild Alien's vlc package (2.1.4) with that option active. Or build a newer version of vlc... Anyway my system is a bit outdated for building packages like VLC. Can you give me any suggest? How to build a new VLC version on an old Slackware-14.0? Or instead, how to rebuild an alien bob old package? I can't find old source directory on his repo... |
There is a VLC SlackBuild on SBo for 14.0. There are a lot of dependencies, but once you get all those, it should build fine. You will need to manually edit the SlackBuild to enable OSS.
https://slackbuilds.org/repository/14.0/multimedia/vlc/ |
During compile 2.0.3 version you linked, I obtained following error:
Code:
dtv/en50221.c: In function 'en50221_SetCAPMT': |
Have you installed all the dependencies on that page, including libdvbpsi?
|
A relatively new release of VLC will not compile on Slackware 14.0 where the compiler, glibc and lots of support libraries are just too old.
Is it possible for you to upgrade to a newer release of Slackware? |
I've grepped the SBo dependencies for vlc-2.0.3 (https://slackbuilds.org/repository/14.0/multimedia/vlc/). On my system I found or added the following deps packages (also libdvbpsi):
Code:
a52dec a52dec-0.7.4-i486-3alien Thanks Alien, for all your work and also for your answer. My system should be upgraded in next weeks: I'm waiting for new hardware improvements (double RAM and an SSD new drive), then I'll install a brand new slack system (14.2) on that. But on my current old HDD I'll keep for a while my current system 14.0: I have to migrate some configs an so on.. Anyway, your vlc package (the last one released for 14.0, vlc-2.1.4-i486-1alien.txt) was installed and working ok, a part oss support not enabled at compile time. I found it at: http://www.slackware.com/~alien/slac...s/vlc/pkg/14.0 The problem: I could try to compile that old version with your slackbuild and "--enable-oss" activated, but I can't find your "build" directory for that old version. If you have some suggest it will be greatly appreciated. Thanks again! :) |
Quote:
It might work... http://www.slackware.com/~alien/vlc20/ |
Quote:
Guess I must be dreaming then ... Code:
bash $ cat /etc/slackware-version Code:
a52dec 0.7.4 audio/a52dec a52dec-0.7.4-i486-1_SBo Code:
> NCURSES_CFLAGS="-I/usr/include/ncursesw" \ Code:
bash $ diff ~/.slackbuilds/14.1/multimedia/vlc/vlc.SlackBuild vlc.SlackBuild |
dunno if related but slackware 14.0 got gcc-4.7.1 not 4.7.4...
|
Quote:
Code:
bash $ ls -alrt /u02/LinuxDistros/slackware-14.0-local/packages/{vlc,gcc}* So newer versions of vlc can be build on 14.0. |
I confirm: on my system vlc-2.2.2 package can be built, using SBo script as described above by Maverick.
However issue with oss audio output persists: If I try to reproduce an audio/video file, video reproduction seems ok, but audio is choppy... I usually use mplayer, not vlc, so I didn't notice this VLC/OSSv4 issue. Then few days ago I read about ip tv via kodlive and vlc. So I tried it but I experiment our sound issue. I've started to think my internet connection didn't support iptv. But then I tried to reproduce a local file and choppy sound persists... So the problem is linked to VLC and OSSv4 audio. Likely ALSA or new PulseAudio don't suffer this "bug". Now.. Some questions: 1- For version 2.2.2, is "--enable-oss" configure switch available? Or any other way to make VLC working under OSSv4 audio system? I tried to add it in slackbuild but I obtain following error: Code:
CCLD libvlc_srtp.la |
Quote:
Extract the source and then, once in that directory, run ./configure --help. That should provide you all the options the configure script supports. If you want, you can throw a pipe at the end and grep the output for oss. Code:
./configure --help | grep -i oss |
Ok, yes it is available also on 2.2.4.
- I try to build it (the last vlc version using Maverik suggested slackbuild from SBo) without oss suport enabled: the package is created and working but OSS audio choppy persists. - I then try to rebuild it with enable-oss support. And obtained the same error relate to oss, I reported above the error code. - Finally I tried to install Alien VlC 2.0.8 which is compiled with oss support enabled. This is working with local files, but if I try to add the same network stream I tried with other vlc versions... then vlc-2.0.8 crash too often. |
|
Well - I think you may be out of luck with regards to oss.
A quick search brought up two vlc tickets: https://encrypted.google.com/search?...%99+undeclared https://trac.videolan.org/vlc/attach...-compile-error https://trac.videolan.org/vlc/ticket/9607 https://trac.videolan.org/vlc/ticket/7212 Even AlienBOB disables oss: http://taper.alienbase.nl/mirrors/pe...vlc.SlackBuild Code:
# VLC 2.1 wants OSS4 which we do not have: What you could try is to upgrade oss to 4.2.2011. But since I don't use oss on my systems, I can't help you beyond this. Like bassmadrigal has already suggested - you're probably stuck with an older version. |
All times are GMT -5. The time now is 08:20 AM. |