LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   VLC Slackware 14 libva (https://www.linuxquestions.org/questions/slackware-14/vlc-slackware-14-libva-4175430586/)

stormtracknole 10-04-2012 08:41 PM

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?

stormtracknole 10-04-2012 09:22 PM

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.

Mark Pettit 10-05-2012 01:15 AM

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 :-)

Alien Bob 10-05-2012 03:48 AM

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

stormtracknole 10-05-2012 05:05 AM

Quote:

Originally Posted by Mark Pettit (Post 4797776)
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 (Post 4797868)
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!


All times are GMT -5. The time now is 12:48 PM.