LinuxQuestions.org
Register a domain and help support LQ
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 10-04-2012, 08:41 PM   #1
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Rep: Reputation: 106Reputation: 106
Exclamation VLC Slackware 14 libva


Ok, I'm a bit stumped here with an error I'm getting compiling alienBOB's vlc script. The build fails when it tries to build libva. I have already compiled using his script. I've built this script many times and I have never seen this error. Here's what I'm getting:
Code:
libva - 0.32.0

 • Global :
     Prefix: /usr

 • Drivers: dummy 
 • Winsys : x11 egl glx 
make: the `-j' option requires a positive integral argument
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  --eval=STRING               Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo recipes.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for i486-slackware-linux-gnu
Report bugs to <bug-make@gnu.org>
Usage: strip <option(s)> in-file(s)
 Removes symbols and sections from files
 The options are:
  -I --input-target=<bfdname>      Assume input file is in format <bfdname>
  -O --output-target=<bfdname>     Create an output file in format <bfdname>
  -F --target=<bfdname>            Set both input and output format to <bfdname>
  -p --preserve-dates              Copy modified/access timestamps to the output
  -R --remove-section=<name>       Remove section <name> from the output
  -s --strip-all                   Remove all symbol and relocation information
  -g -S -d --strip-debug           Remove all debugging symbols & sections
     --strip-unneeded              Remove all symbols not needed by relocations
     --only-keep-debug             Strip everything but the debug information
  -N --strip-symbol=<name>         Do not copy symbol <name>
  -K --keep-symbol=<name>          Do not strip symbol <name>
     --keep-file-symbols           Do not strip file symbol(s)
  -w --wildcard                    Permit wildcard in symbol comparison
  -x --discard-all                 Remove all non-global symbols
  -X --discard-locals              Remove any compiler-generated symbols
  -v --verbose                     List all object files modified
  -V --version                     Display this program's version number
  -h --help                        Display this output
     --info                        List object formats & architectures supported
  -o <file>                        Place stripped output into <file>
strip: supported targets: elf32-i386 a.out-i386-linux pei-i386 elf64-x86-64 elf32-x86-64 elf64-l1om elf64-k1om elf64-little elf64-big elf32-little elf32-big pe-i386 plugin srec symbolsrec verilog tekhex binary ihex trad-core
Any ideas?
 
Old 10-04-2012, 09:22 PM   #2
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Original Poster
Rep: Reputation: 106Reputation: 106
Hmm, it appears that for some reason, libva did not want to compile with ${NUMJOBS}. I had to do the following around line 3007.

Code:
#make -j${NUMJOBS} 2>&1 | tee $OUTPUT/make-${PRGNAM}_libva.log
make 2>&1 | tee $OUTPUT/make-${PRGNAM}_libva.log
Once I took out -j${NUMJOBS}, the script continued on without errors. Will mark this as solved once the build completes.
 
Old 10-05-2012, 01:15 AM   #3
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 435

Rep: Reputation: 138Reputation: 138
Well done for figuring it out .... any reason why you didn't just use his binary package ? It's kinda a lot easier to install :-)
 
Old 10-05-2012, 03:48 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,308

Rep: Reputation: Disabled
The VLC packages which I built for Slackware 14 have been created with an updated vlc.SlackBuild which I have not yet uploaded to the server. I will do that once VLC 2.0.4 is released. Some Slackware 14 related build issues were resolved in that script.

Eric
 
Old 10-05-2012, 05:05 AM   #5
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Original Poster
Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by Mark Pettit View Post
Well done for figuring it out .... any reason why you didn't just use his binary package ? It's kinda a lot easier to install :-)
I need vlc to have pulseaudio support. Long story.

---------- Post added 10-05-12 at 05:06 AM ----------

Quote:
Originally Posted by Alien Bob View Post
The VLC packages which I built for Slackware 14 have been created with an updated vlc.SlackBuild which I have not yet uploaded to the server. I will do that once VLC 2.0.4 is released. Some Slackware 14 related build issues were resolved in that script.

Eric
Thanks Eric!
 
  


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
How to enable libvdpau, libva (vaapi) and MPlayer with Nvidia driver? linuxs64 Slackware 3 01-11-2011 11:47 AM
alien's vlc, -current and SBo's libva grissiom Slackware 2 10-28-2010 08:50 AM
[SOLVED] Problem with VLC 1.1.1 on Slackware 13.1 (with both 32 and 64 bits) Lufbery Slackware 6 08-12-2010 07:49 AM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 10:48 PM
vlc installation on Slackware jaakkop Linux - Software 1 08-08-2005 03:03 AM


All times are GMT -5. The time now is 08:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration