SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am having a really hard time finding a good guide for installing some media software to play standard DVDs. I downloaded a script package for MPPlayer in slackware, and I have these files but I don't know what to do with them... and none of the readme files or anything on the internet I have found has shed any light.. And I have done a number of searches. Can anybody point me in the right direction?
Hi there,
VLC as a media player is pretty good, will do DVD's and so forth. Prob MPlayer will work if you have libdvdcss2 installed: here is a link for ubuntu: http://packages.medibuntu.org/hardy/libdvdcss2.html
Hi there,
VLC as a media player is pretty good, will do DVD's and so forth. Prob MPlayer will work if you have libdvdcss2 installed: here is a link for ubuntu: http://packages.medibuntu.org/hardy/libdvdcss2.html
How will that help him? Clearly he is using slackware.
Thank you . I found this guide, but it kept linking to a site that, at the time, was unavailable. I have downloaded packages similar to this. What do I do with the contents of these? Do I unpack them and run the executables with the sh command?
Thank you . I found this guide, but it kept linking to a site that, at the time, was unavailable. I have downloaded packages similar to this. What do I do with the contents of these? Do I unpack them and run the executables with the sh command?
Let me give you an example.
Let's say you want to build libdvdcss. So go to slackbuilds and download the libdvdcss.tar.gz and also the source libdvdcss-1.2.10.tar.bz2. Now open a terminal and type:
Code:
tar xvf libdvdcss.tar.gz
mv libdvdcss-1.2.10.tar.bz2 libdvdcss/
cd libdvdcss
chmod +x libdvdcss.SlackBuild
./libdvdcss.SlackBuild
It should output the package in a /tmp/ folder, so just install it from there using "installpkg".
Since you are new to this, may I suggest sbopkg?
It's a great tool to automatically build packages from slackbuilds and install them. You can even sync and upgrade packages.
You don't really need libdvdplay and libdvdnav together, they do the same thing. Just use libdvdnav for menus, subtitles, chapters etc. and libdvdcss to bypass CSS encryption.
EDIT: If you got other sources than the ones slackbuilds.org links to, either make sure they are the same release number or edit the SlackBuild script to match releases.
You just need to install libdvdcss and xine or any xine-based media player like Dragon Player will play DVDs without issues.
Indeed, that is all there is to it.
You will find a libdvdcss package for Slackware 13.0 (64-bit) here in case you do not want to build it from source: http://slackware.org.uk/people/alien...ss/pkg64/13.0/
A package for other Slackware versions (32-bit) can be found too, if you go up a bit in the directory tree.
Let's say you want to build libdvdcss. So go to slackbuilds and download the libdvdcss.tar.gz and also the source libdvdcss-1.2.10.tar.bz2. Now open a terminal and type:
Code:
tar xvf libdvdcss.tar.gz
mv libdvdcss-1.2.10.tar.bz2 libdvdcss/
cd libdvdcss
chmod +x libdvdcss.SlackBuild
./libdvdcss.SlackBuild
It should output the package in a /tmp/ folder, so just install it from there using "installpkg".
Since you are new to this, may I suggest sbopkg?
It's a great tool to automatically build packages from slackbuilds and install them. You can even sync and upgrade packages.
Thank you for the detailed instructions but i think I am going to need more direction then even that . I used these commands deviating only to specify the directory of my files ex. /home/usr/downloads, ect. The outcome was a the libdvdcss.tar.gz was unextract, the tar.bz2 was move there to that folder, and then.... well I don't know. Here were the commands I used, in a terminal under a regular user:
Code:
bash-3.1$ tar xvf /home/michael/Downloads/libdvdcss.tar.gz
libdvdcss/
libdvdcss/README
libdvdcss/libdvdcss.info
libdvdcss/slack-desc
libdvdcss/libdvdcss.SlackBuild
bash-3.1$ mv /home/michael/Downloads/libdvdcss-1.2.10.tar.bz2 /home/michael/libdvdcss
bash-3.1$ cd /home/michael/libdvdcss
bash-3.1$ chmod +x /home/michael/libdvdcss/libdvdcss.SlackBuild
bash-3.1$ ./home/michael/libdvdcss/libdvdcss.SlackBuild
bash: ./home/michael/libdvdcss/libdvdcss.SlackBuild: No such file or directory
I don't think I understand what to do with the last command. .[directory]slackbuild is what I interpreted it as.
I looked in my temp folder and couldn't find anything there that seemed related to these lib files. If there is a guide I can read online that can give me a better idea of what I am doing then I would appreciate it. I recognized a few of these commands and researched the rest. I gather that I am unpacking the libdvdcss, then moving the tar.bz2 file to the same directory, and then trying trying to execute the slackbuild.script? Something somewhere seems wrong with the syntax.
I am getting the impression that I need to start doing a lot of linux tutorials on console commands :/
Indeed, that is all there is to it.
You will find a libdvdcss package for Slackware 13.0 (64-bit) here in case you do not want to build it from source: http://slackware.org.uk/people/alien...ss/pkg64/13.0/
A package for other Slackware versions (32-bit) can be found too, if you go up a bit in the directory tree.
Just follow what Alien_Bob says. It works. Download either the 64bit or 32bit version, and install that package.
As root: (64bit package shown. Change name for 32bit)
Code:
installpkg libdvdcss-1.2.10-x86_64-1alien.tgz
And then use Xine or MPlayer or any player on your Slackware system to play DVDs
Apologies regarding misdirection on ubuntu link there, was trying to give general info about what was required, as opposed to directions specific to slack. Hopefully someone will find it useful.
Ok, that seemed to fix up that problem. I am having another issue though. I did the command, under both "su" and "su -" and the it gave me a configure error on the c compiler. Here is what it printed in terminal, which I ran from within the x window environment:
Code:
bash-3.1# su -
UNION:
A dues-paying club workers wield to strike management.
root@Slackware-Linux:~# ./libdvdcss.SlackBuild
-su: ./libdvdcss.SlackBuild: No such file or directory
root@Slackware-Linux:~# cd /home/michael/libdvdcss/
root@Slackware-Linux:/home/michael/libdvdcss# ./libdvdcss.SlackBuild
libdvdcss-1.2.10/
libdvdcss-1.2.10/INSTALL
libdvdcss-1.2.10/NEWS
libdvdcss-1.2.10/.auto/
libdvdcss-1.2.10/.auto/depcomp
libdvdcss-1.2.10/.auto/install-sh
libdvdcss-1.2.10/.auto/config.sub
libdvdcss-1.2.10/.auto/ltmain.sh
libdvdcss-1.2.10/.auto/missing
libdvdcss-1.2.10/.auto/config.guess
libdvdcss-1.2.10/ChangeLog
libdvdcss-1.2.10/Makefile.in
libdvdcss-1.2.10/libdvdcss.spec
libdvdcss-1.2.10/AUTHORS
libdvdcss-1.2.10/configure.ac
libdvdcss-1.2.10/src/
libdvdcss-1.2.10/src/ioctl.c
libdvdcss-1.2.10/src/libdvdcss.pc.in
libdvdcss-1.2.10/src/dvdcss/
libdvdcss-1.2.10/src/dvdcss/Makefile.in
libdvdcss-1.2.10/src/dvdcss/dvdcss.h
libdvdcss-1.2.10/src/dvdcss/Makefile.am
libdvdcss-1.2.10/src/common.h
libdvdcss-1.2.10/src/Makefile.in
libdvdcss-1.2.10/src/libdvdcss.c
libdvdcss-1.2.10/src/css.c
libdvdcss-1.2.10/src/csstables.h
libdvdcss-1.2.10/src/libdvdcss.h
libdvdcss-1.2.10/src/bsdi_ioctl.c
libdvdcss-1.2.10/src/ioctl.h
libdvdcss-1.2.10/src/css.h
libdvdcss-1.2.10/src/error.c
libdvdcss-1.2.10/src/device.c
libdvdcss-1.2.10/src/Makefile.am
libdvdcss-1.2.10/src/device.h
libdvdcss-1.2.10/src/bsdi_dvd.h
libdvdcss-1.2.10/README
libdvdcss-1.2.10/config.h.in
libdvdcss-1.2.10/aclocal.m4
libdvdcss-1.2.10/test/
libdvdcss-1.2.10/test/Makefile.in
libdvdcss-1.2.10/test/csstest.c
libdvdcss-1.2.10/test/Makefile.am
libdvdcss-1.2.10/bootstrap
libdvdcss-1.2.10/doc/
libdvdcss-1.2.10/doc/Makefile.in
libdvdcss-1.2.10/doc/footer.html
libdvdcss-1.2.10/doc/header.html
libdvdcss-1.2.10/doc/Makefile.am
libdvdcss-1.2.10/doc/doxygen.cfg.in
libdvdcss-1.2.10/configure
libdvdcss-1.2.10/Makefile.am
libdvdcss-1.2.10/COPYING
checking build system type... i486-slackware-linux-gnu
checking host system type... i486-slackware-linux-gnu
checking target system type... i486-slackware-linux-gnu
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
root@Slackware-Linux:/home/michael/libdvdcss#
I went into my /tmp folder, and found a libdvdcss-1.2.10 folder within SBo directory. I also saw a package-libdvdcss, but it is empty. The configurelog I found within it says this:
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --docdir=/usr/doc/libdvdcss-1.2.10 --enable-shared=yes --enable-static=no --build=i486-slackware-linux
## --------- ##
## Platform. ##
## --------- ##
hostname = Slackware-Linux
uname -m = x86_64
uname -r = 2.6.29.6
uname -s = Linux
uname -v = #2 SMP Mon Aug 17 11:58:18 CDT 2009
/usr/bin/uname -p = Dual Core AMD Opteron(tm) Processor 165
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/games
PATH: /usr/lib64/java/bin
PATH: /usr/lib64/kde4/libexec
PATH: /usr/lib64/qt/bin
PATH: /usr/share/texmf/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1983: checking build system type
configure:2001: result: i486-slackware-linux-gnu
configure:2023: checking host system type
configure:2038: result: i486-slackware-linux-gnu
configure:2060: checking target system type
configure:2075: result: i486-slackware-linux-gnu
configure:2119: checking for a BSD-compatible install
configure:2175: result: /usr/bin/ginstall -c
configure:2186: checking whether build environment is sane
configure:2229: result: yes
configure:2257: checking for a thread-safe mkdir -p
configure:2296: result: /usr/bin/mkdir -p
configure:2309: checking for gawk
configure:2325: found /usr/bin/gawk
configure:2336: result: gawk
configure:2347: checking whether make sets $(MAKE)
configure:2368: result: yes
configure:2607: checking for gcc
configure:2623: found /usr/bin/gcc
configure:2634: result: gcc
configure:2872: checking for C compiler version
configure:2879: gcc --version >&5
gcc (GCC) 4.3.3
Copyright (C) 2008 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.
configure:2882: $? = 0
configure:2889: gcc -v >&5
Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/specs
Target: x86_64-slackware-linux
Configured with: ../gcc-4.3.3/configure --prefix=/usr --libdir=/usr/lib64 --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-checking=release --with-system-zlib --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --with-gnu-ld --verbose --disable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux
Thread model: posix
gcc version 4.3.3 (GCC)
configure:2892: $? = 0
configure:2899: gcc -V >&5
gcc: '-V' option must have argument
configure:2902: $? = 1
configure:2925: checking for C compiler default output file name
configure:2952: gcc -O2 -march=i486 -mtune=i686 conftest.c >&5
conftest.c:1: error: CPU you selected does not support x86-64 instruction set
configure:2955: $? = 1
configure:2993: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libdvdcss"
| #define VERSION "1.2.10"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3000: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i486-slackware-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -march=i486 -mtune=i686'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -march=i486 -mtune=i686'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i486-slackware-linux
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i486-slackware-linux-gnu
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i486-slackware-linux-gnu
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /tmp/SBo/libdvdcss-1.2.10/.auto/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /tmp/SBo/libdvdcss-1.2.10/.auto/missing --run tar'
AR=''
AS=''
AUTOCONF='${SHELL} /tmp/SBo/libdvdcss-1.2.10/.auto/missing --run autoconf'
AUTOHEADER='${SHELL} /tmp/SBo/libdvdcss-1.2.10/.auto/missing --run autoheader'
AUTOMAKE='${SHELL} /tmp/SBo/libdvdcss-1.2.10/.auto/missing --run automake-1.10'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS='-O2 -march=i486 -mtune=i686'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-O2 -march=i486 -mtune=i686'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DOXYGEN=''
DOXYGEN_FALSE=''
DOXYGEN_TRUE=''
DSYMUTIL=''
DVDCSS_LDFLAGS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LATEX=''
LATEX_FALSE=''
LATEX_TRUE=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /tmp/SBo/libdvdcss-1.2.10/.auto/missing --run makeinfo'
NMEDIT=''
OBJDUMP=''
OBJEXT=''
PACKAGE='libdvdcss'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SYS_BSDI_FALSE=''
SYS_BSDI_LIBDVD_FALSE=''
SYS_BSDI_LIBDVD_TRUE=''
SYS_BSDI_TRUE=''
SYS_MSVC_FALSE=''
SYS_MSVC_TRUE=''
VERSION='1.2.10'
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i486-slackware-linux-gnu'
build_alias='i486-slackware-linux'
build_cpu='i486'
build_os='linux-gnu'
build_vendor='slackware'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='/usr/doc/libdvdcss-1.2.10'
dvidir='${docdir}'
exec_prefix='NONE'
host='i486-slackware-linux-gnu'
host_alias=''
host_cpu='i486'
host_os='linux-gnu'
host_vendor='slackware'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /tmp/SBo/libdvdcss-1.2.10/.auto/install-sh'
libdir='/usr/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/man'
mkdir_p='/usr/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target='i486-slackware-linux-gnu'
target_alias=''
target_cpu='i486'
target_os='linux-gnu'
target_vendor='slackware'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "libdvdcss"
#define VERSION "1.2.10"
configure: exit 77
So what went wrong here? I looked at the guide you linked, and it said this:
Quote:
Note that for many builds, you will need to have a true login shell in order to have a correctly populated environment. Among other things, /usr/share/texmf/bin will not be in your PATH if you simply do "su" -- therefore, you will need to either use "su -" when switching to root, or source the the /etc/profile script after doing "su", or perhaps modifying /root/.bashrc to include necessary PATH elements.
i tried running it as both "Su" and "su -" and the result was the same. I don't know how to do this other stuff. What do I do from here?
Last edited by mothergoose729; 11-26-2009 at 08:12 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.