LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-22-2016, 07:50 AM   #1
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 15.0 64bit
Posts: 190

Rep: Reputation: 23
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...
 
Old 08-22-2016, 08:00 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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/
 
Old 08-22-2016, 01:36 PM   #3
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 15.0 64bit
Posts: 190

Original Poster
Rep: Reputation: 23
During compile 2.0.3 version you linked, I obtained following error:
Code:
dtv/en50221.c: In function 'en50221_SetCAPMT':
dtv/en50221.c:2234:17: error: implicit declaration of function 'dvbpsi_DeletePMT' [-Werror=implicit-function-declaration]
dtv/en50221.c: At top level:
dtv/en50221.c:2288:12: warning: 'en50221_OpenMMI' defined but not used [-Wunused-function]
dtv/en50221.c:2328:12: warning: 'en50221_CloseMMI' defined but not used [-Wunused-function]
dtv/en50221.c:2356:15: warning: 'en50221_GetMMIObject' defined but not used [-Wunused-function]
dtv/en50221.c:2381:13: warning: 'en50221_SendMMIObject' defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[5]: *** [libdtv_plugin_la-en50221.lo] Errore 1
make[5]: Leaving directory `/tmp/SBo/vlc-2.0.3/modules/access'
make[4]: *** [all-recursive] Errore 1
make[4]: Leaving directory `/tmp/SBo/vlc-2.0.3/modules/access'
make[3]: *** [all] Errore 2
make[3]: Leaving directory `/tmp/SBo/vlc-2.0.3/modules/access'
make[2]: *** [all-recursive] Errore 1
make[2]: Leaving directory `/tmp/SBo/vlc-2.0.3/modules'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/tmp/SBo/vlc-2.0.3'
make: *** [all] Errore 2
I don't know how to solve that issue...
 
Old 08-22-2016, 01:51 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Have you installed all the dependencies on that page, including libdvbpsi?
 
Old 08-22-2016, 02:35 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105
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?
 
Old 08-22-2016, 06:22 PM   #6
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 15.0 64bit
Posts: 190

Original Poster
Rep: Reputation: 23
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
faad2                         faad2-2.7-i486-2_SBo
twolame                       twolame-0.3.13-i486-3sl
lua                           lua-5.1.5-i486-1sl tolua++-1.0.93-i486-2sl
portaudio                     portaudio-V19-i486-1ponce
libavc1394                    libavc1394-0.5.4-i486-4sl
libdca                        libdca-0.0.5-i486-1_SBo
libdvbpsi                     libdvbpsi-1.3.0-i486-1_SB
libdvdcss                     libdvdcss-1.2.13-i486-1_SBo
libdvdnav                     libdvdnav-4.2.0-i486-1_SBo
libmatroska                   libmatroska-1.4.2-i486-1_SBo
libmodplug                    libmodplug-0.8.8.4-i486-1sl
libmpeg2                      libmpeg2-0.5.1-i486-7sl
libshout                      libshout-2.3.1-i486-1sl
libupnp                       libupnp-1.6.17-i486-1sl
schroedinger                  schroedinger-1.0.11-i486-3sl
vcdimager                     vcdimager-0.7.24-i486-4sl
faac                          faac-1.28-i486-9sl
musepack-tools                musepack-tools-r475-i486-2_SBo
ffmpeg                        ffmpeg-2.8.7-i686_custom-1_SBo
speex                         slspeex-1.2rc1-i486-8sl
libass                        libass-0.10.0-i486-1sl, libassuan-2.0.3-i486-1
libdc1394                     libdc1394-2.2.0-i486-3sl
live555                       live555-2013.12.21-i486-1sl
Some of above packages are newer version than slack-14.0 default, rebuilt from sources.

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!
 
Old 08-22-2016, 06:24 PM   #7
aaazen
Member
 
Registered: Dec 2009
Posts: 358

Rep: Reputation: Disabled
Quote:
Originally Posted by joenew View Post
Hi all, I need a vlc package for slackware 14.0.
...
Can you give me any suggest?
...
I had trouble with newer versions of vlc using my television tuner and Alien Bob was gracious enough to point me to an older version of vlc from August 2013.

It might work...

http://www.slackware.com/~alien/vlc20/
 
Old 08-23-2016, 05:26 AM   #8
MadMaverick9
Member
 
Registered: Aug 2010
Posts: 353
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob
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?
Really?

Guess I must be dreaming then ...
Code:
bash $ cat /etc/slackware-version 
Slackware 14.0
bash $ uname -a
Linux dreaming 3.2.45-smp #1 SMP Fri May 31 16:44:39 CDT 2013 i686 Intel(R) Pentium(R) Dual  CPU  E2160  @ 1.80GHz GenuineIntel GNU/Linux
bash $ gcc --version
gcc (GCC) 4.7.4
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

bash $ vlc --version
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
VLC version 2.2.4 Weatherwax (2.2.3-37-g888b7e89)
Compiled by root on dreaming.at-home.net (Aug 21 2016 12:53:43)
Compiler: gcc version 4.7.4 (GCC)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file.

bash $ vlc "Ice Cube - You Know How We Do It (Part 2)-ZJmz77rL6MI-01.mp4" 
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
bash $ vlc "Funkadelic - Ain't That Funkin' Kinda Hard on You (Remix) ft. Kendrick Lamar, Ice Cube-NxKBVfPlGgE.webm" 
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
Code:
   a52dec 0.7.4                                     audio/a52dec                                       a52dec-0.7.4-i486-1_SBo
   libass 0.12.1                                    libraries/libass                                   libass-0.10.2-i486-1_SBo
   libdc1394 2.2.3                                  libraries/libdc1394                                libdc1394-2.2.0-i486-1_SBo
   libdvbpsi 1.1.1                                  libraries/libdvbpsi                                libdvbpsi-0.2.2-i486-1_SBo
   libdvdnav 4.2.0                                  libraries/libdvdnav                                libdvdnav-4.2.0-i486-1_SBo
   libmpeg2 0.5.1                                   libraries/libmpeg2                                 libmpeg2-0.5.1-i486-1_SBo
   libupnp 1.6.17                                   libraries/libupnp                                  libupnp-1.6.17-i486-1_SBo
   lua 5.1.5                                        development/lua                                    lua-5.1.5-i486-1_SBo
   portaudio v19_20140130                           development/portaudio                              portaudio-V19-i486-1_SBo
   twolame 0.3.13                                   audio/twolame                                      twolame-0.3.13-i486-1_SBo
   opus 1.1.1                                       audio/opus                                         opus-1.1.1-i486-1_SBo
   libvpx 1.3.0                                     libraries/libvpx                                   libvpx-1.3.0-i486-1_SBo
   gsm 1.0.13                                       libraries/gsm                                      
     eigen3 3.2.4                                   libraries/eigen3                                   
   opencv 3.0.0                                     libraries/opencv                                   
   libtar 1.2.20                                    libraries/libtar                                   
   libkate 0.4.1                                    libraries/libkate                                  
     libmp4v2 2.0.0                                 libraries/libmp4v2                                 libmp4v2-2.0.0-i486-1_SBo
   faac 1.28                                        audio/faac                                         faac-1.28-i486-2_SBo
   libdca 0.0.5                                     libraries/libdca                                   libdca-0.0.5-i486-1_SBo
     libebml 1.3.1                                  libraries/libebml                                  libebml-1.2.2-i486-1_SBo
   libmatroska 1.4.2                                libraries/libmatroska                              libmatroska-1.3.0-i486-1_SBo
   libshout 2.3.1                                   libraries/libshout                                 libshout-2.2.2-i486-1_SBo
   speex 1.2rc2                                     audio/speex                                        speex-1.2rc1-i486-3_SBo
   libva 1.6.2                                      libraries/libva                                    
     libdaemon 0.14                                 libraries/libdaemon                                
   avahi 0.6.31                                     network/avahi                                      
     ftgl 2.1.3_rc5                                 libraries/ftgl                                     
   projectM 2.1.0                                   misc/projectM                                      
   jack-audio-connection-kit 0.124.1                audio/jack-audio-connection-kit                    
   libsidplay2 2.1.1                                libraries/libsidplay2                              
   zvbi 0.2.35                                      multimedia/zvbi                                    
   faad2 2.7                                        audio/faad2                                        faad2-2.7-i486-2_SBo
   libavc1394 0.5.4                                 libraries/libavc1394                               libavc1394-0.5.3-i486-2_SBo
   libmodplug 0.8.8.5                               libraries/libmodplug                               libmodplug-0.8.8.4-i486-1_SBo
     libcuefile r475                                libraries/libcuefile                               libcuefile-r453-i486-1_SBo
     libreplaygain r475                             libraries/libreplaygain                            libreplaygain-r453-i486-1_SBo
   musepack-tools r475                              audio/musepack-tools                               musepack-tools-r435-i486-1_SBo
   vcdimager 0.7.24                                 multimedia/vcdimager                               vcdimager-0.7.23-i486-2_SBo
   dirac 1.0.2                                      multimedia/dirac                                   
     glfw 2.7.8                                     libraries/glfw                                     
     libjpeg-turbo 1.4.2                            libraries/libjpeg-turbo                            
     ftgl 2.1.3_rc5                                 libraries/ftgl                                     
       eigen3 3.2.4                                 libraries/eigen3                                   
     opencv 3.0.0                                   libraries/opencv                                   
   vsxu 0.4.2                                       graphics/vsxu                                      
     gnome-mime-data 2.18.0                         misc/gnome-mime-data                               
       ORBit2 2.14.19                               libraries/ORBit2                                   
     libbonobo 2.32.1                               libraries/libbonobo                                
   gnome-vfs 2.24.4                                 system/gnome-vfs                                   
   live555 2015.12.22                               libraries/live555                                  live555-2011.12.23-i486-1_SBo
   rtmpdump 20150115_a107cef                        multimedia/rtmpdump                                
     ffmpeg 2.6.3                                   multimedia/ffmpeg                                  ffmpeg-2.6.8-i686_custom-1_SBo
   freerdp 1.2.0_beta1_android9                     network/freerdp                                    
   libdvdcss 1.2.13                                 libraries/libdvdcss                                libdvdcss-1.2.11-i486-1_SBo
   fluidsynth 1.1.6                                 audio/fluidsynth                                   
     orc 0.4.23                                     development/orc                                    orc-0.4.18-i486-1_SBo
   schroedinger 1.0.11                              multimedia/schroedinger                            schroedinger-1.0.11-i486-1_SBo
   libminizip 1.2.8                                 libraries/libminizip                               libminizip-1.2.8-i486-1_SBo
   chromaprint 1.2                                  libraries/chromaprint                              
   libssh2 1.4.3                                    libraries/libssh2                                  libssh2-1.4.3-i486-1_SBo
   x265 1.8                                         multimedia/x265                                    
 vlc 2.1.6                                          multimedia/vlc                                     vlc-2.2.4-i586-1_SBo
I use the 14.1 SBo script to build it. And I added the following to get the ncurses interface:
Code:
> NCURSES_CFLAGS="-I/usr/include/ncursesw" \
> NCURSES_LIBS="-lncursesw" \
And I removed a few things. See below for a diff:
Code:
bash $ diff ~/.slackbuilds/14.1/multimedia/vlc/vlc.SlackBuild vlc.SlackBuild 
9c9
< # Copyright (c) 2014-2016  Christoph Willing, Brisbane, Australia
---
> # Copyright (c) 2014  Christoph Willing, Brisbane, Australia
31,32c31,32
< VERSION=${VERSION:-2.1.6}
< BUILD=${BUILD:-4}
---
> VERSION=${VERSION:-2.2.4}
> BUILD=${BUILD:-1}
37c37
<     i?86) ARCH=i486 ;;
---
>     i?86) ARCH=i586 ;;
48,49c48,49
< if [ "$ARCH" = "i486" ]; then
<   SLKCFLAGS="-O2 -march=i486 -mtune=i686"
---
> if [ "$ARCH" = "i586" ]; then
>   SLKCFLAGS="-O2 -march=i586 -mtune=i686"
61,71d60
< # In an ordinary virtual machine, since a different kernal is running,
< # a unique dbus id is needed.
< # However with LXC, the same kernel is used in each container,
< # so we insert an arbitrary value
< #
< grep "CONTAINER=yes" /etc/rc.d/rc.S >/dev/null 2>/dev/null
< if [ $? -eq 0 ]; then
<   mkdir -p /var/lib/dbus/
<   echo "4349d719fcf875a557a8c00400000014" > /var/lib/dbus/machine-id
< fi
< 
81,87d69
< patch -p1 < $CWD/patch-vlc-opencv3.diff
< 
< patch -p0 < $CWD/patch-freerdp.diff
< patch -p0 < $CWD/patch-freerdp_1_2.diff
< patch -p0 < $CWD/patch-projectM-fontpath.diff
< 
< patch -p0 < $CWD/patch_libavcodec_version.diff
88a71
> 
100a84,85
> NCURSES_CFLAGS="-I/usr/include/ncursesw" \
> NCURSES_LIBS="-lncursesw" \
108,110c93
<   --build=$ARCH-slackware-linux \
<   --enable-merge-ffmpeg \
<   --with-kde-solid=no
---
>   --build=$ARCH-slackware-linux
112c95
< make
---
> make -j 3
137c120
< /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
---
> /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
The vlc configure script is very robust in that you do not need all the dependencies listed. Just use the dependencies you need to play your media files.
 
Old 08-23-2016, 05:33 AM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,068

Rep: Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144Reputation: 4144
dunno if related but slackware 14.0 got gcc-4.7.1 not 4.7.4...
 
Old 08-23-2016, 05:54 AM   #10
MadMaverick9
Member
 
Registered: Aug 2010
Posts: 353
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce
dunno if related but slackware 14.0 got gcc-4.7.1 not 4.7.4...
Code:
bash $ ls -alrt /u02/LinuxDistros/slackware-14.0-local/packages/{vlc,gcc}*
-rw-r--r-- 1 root root 15605046 Feb 18  2016 /u02/LinuxDistros/slackware-14.0-local/packages/vlc-2.1.6-i586-3_SBo.tgz
-rw-r--r-- 1 root root  9912456 Feb 19  2016 /u02/LinuxDistros/slackware-14.0-local/packages/vlc-2.2.2-i586-1_SBo.txz
-rw-r--r-- 1 root root 12693656 Apr 13 16:58 /u02/LinuxDistros/slackware-14.0-local/packages/gcc-4.7.4-i486-1.txz
-rw-r--r-- 1 root root  5397460 Apr 13 16:58 /u02/LinuxDistros/slackware-14.0-local/packages/gcc-g++-4.7.4-i486-1.txz
-rw-r--r-- 1 root root  4580540 Apr 13 16:58 /u02/LinuxDistros/slackware-14.0-local/packages/gcc-gfortran-4.7.4-i486-1.txz
-rw-r--r-- 1 root root 11252004 Apr 13 16:58 /u02/LinuxDistros/slackware-14.0-local/packages/gcc-gnat-4.7.4-i486-1.txz
-rw-r--r-- 1 root root  8274308 Apr 13 16:58 /u02/LinuxDistros/slackware-14.0-local/packages/gcc-go-4.7.4-i486-1.txz
-rw-r--r-- 1 root root 23693440 Apr 13 16:58 /u02/LinuxDistros/slackware-14.0-local/packages/gcc-java-4.7.4-i486-1.txz
-rw-r--r-- 1 root root  3768520 Apr 13 16:58 /u02/LinuxDistros/slackware-14.0-local/packages/gcc-objc-4.7.4-i486-1.txz
-rw-r--r-- 1 root root  9913164 Aug 21 13:34 /u02/LinuxDistros/slackware-14.0-local/packages/vlc-2.2.4-i586-1_SBo.txz
As you can see I built vlc 2.2.2 before I upgraded gcc to 4.7.4.

So newer versions of vlc can be build on 14.0.
 
Old 08-23-2016, 08:47 AM   #11
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 15.0 64bit
Posts: 190

Original Poster
Rep: Reputation: 23
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
  CCLD   librtp_plugin.la
  CC     audio_output/adummy.lo
  CCLD   libadummy_plugin.la
  CC     audio_output/libafile_plugin_la-file.lo
  CCLD   libafile_plugin.la
  CC     audio_output/amem.lo
  CCLD   libamem_plugin.la
  CC     audio_output/oss.lo
audio_output/oss.c: In function ‘Start’:
audio_output/oss.c:122:22: error: ‘AFMT_S32_NE’ undeclared (first use in this function)
audio_output/oss.c:122:22: note: each undeclared identifier is reported only once for each function it appears in
audio_output/oss.c: In function ‘Pause’:
audio_output/oss.c:291:24: error: ‘SNDCTL_DSP_SILENCE’ undeclared (first use in this function)
audio_output/oss.c:291:45: error: ‘SNDCTL_DSP_SKIP’ undeclared (first use in this function)
audio_output/oss.c: In function ‘DevicesEnum’:
audio_output/oss.c:326:5: error: unknown type name ‘oss_sysinfo’
audio_output/oss.c:329:20: error: ‘SNDCTL_SYSINFO’ undeclared (first use in this function)
audio_output/oss.c:335:5: error: request for member ‘product’ in something not a structure or union
audio_output/oss.c:335:5: error: request for member ‘version’ in something not a structure or union
audio_output/oss.c:335:5: error: request for member ‘versionnum’ in something not a structure or union
audio_output/oss.c:335:5: error: request for member ‘license’ in something not a structure or union
audio_output/oss.c:338:27: error: request for member ‘numaudios’ in something not a structure or union
audio_output/oss.c:340:9: error: unknown type name ‘oss_audioinfo’
audio_output/oss.c:340:9: error: field name not in record or union initializer
audio_output/oss.c:340:9: error: (near initialization for ‘ai’)
audio_output/oss.c:342:24: error: ‘SNDCTL_AUDIOINFO’ undeclared (first use in this function)
audio_output/oss.c:348:15: error: request for member ‘caps’ in something not a structure or union
audio_output/oss.c:348:24: error: ‘PCM_CAP_HIDDEN’ undeclared (first use in this function)
audio_output/oss.c:348:39: error: ‘PCM_CAP_MODEM’ undeclared (first use in this function)
audio_output/oss.c:350:17: error: request for member ‘caps’ in something not a structure or union
audio_output/oss.c:350:25: error: ‘PCM_CAP_OUTPUT’ undeclared (first use in this function)
audio_output/oss.c:352:16: error: request for member ‘enabled’ in something not a structure or union
audio_output/oss.c:355:37: error: request for member ‘devnode’ in something not a structure or union
audio_output/oss.c:355:49: error: request for member ‘name’ in something not a structure or union
make[4]: *** [audio_output/oss.lo] Errore 1
make[4]: Leaving directory `/tmp/SBo/vlc-2.2.2/modules'
make[3]: *** [all-recursive] Errore 1
make[3]: Leaving directory `/tmp/SBo/vlc-2.2.2/modules'
make[2]: *** [all] Errore 2
make[2]: Leaving directory `/tmp/SBo/vlc-2.2.2/modules'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/tmp/SBo/vlc-2.2.2'
make: *** [all] Errore 2
2. Second question, is there a way to access to kodilive playlist by using MPlayer instead of VLC?
 
Old 08-23-2016, 08:55 AM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by joenew View Post
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 can't answer this question (stuck at work on a Windows computer), but I can give you information to answer it yourself.

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
 
Old 08-23-2016, 10:25 AM   #13
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 15.0 64bit
Posts: 190

Original Poster
Rep: Reputation: 23
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.
 
Old 08-23-2016, 10:32 AM   #14
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
You could try 2.0.9 or 2.0.10 to see if they fix your problems with crashing...

Just make some quick edits to the SlackBuild to point to the new versions and try to compile them.
 
Old 08-23-2016, 10:57 AM   #15
MadMaverick9
Member
 
Registered: Aug 2010
Posts: 353
Blog Entries: 4

Rep: Reputation: Disabled
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:
#--enable-oss \
https://slackbuilds.org/repository/14.2/audio/oss/

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Alien vlc build problem. Slack_Buddha Slackware 3 08-02-2014 10:57 AM
[SOLVED] alienBOB's vlc keeps stoping build with this error... irgunII Slackware 14 11-19-2013 12:15 AM
VLC build for 13.37 x64? qweasd Slackware 2 05-09-2011 11:08 AM
fontconfig-compat32 package breaks VLC build Daedra Slackware 1 09-17-2009 05:23 AM
Problem using Alien Bobs VLC build. garyg007 Slackware 14 04-13-2009 12:49 PM

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

All times are GMT -5. The time now is 05:49 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