Quote:
Originally Posted by percy_vere_uk
So I modified the configure script for libvpx-1.7.0 to stop short of showing an error.
Code:
../configure --prefix=/usr \
--enable-shared \
--disable-static &&
# make
By stopping the script here jhalfs thinks it has installed libvpx and that this dependency is satisfied. Hopefully it is now seeing the libvpx that I have built from the book.
Now the jhalfs KDE build script has continued to run OK. So I will have to see if any other packages call for libvpx.
Thank you very much for the amount of work you have put into this.
percy
|
The problem there is you're not building anything, no libraries are produced. If the lib is truly needed, this will be a problem in 1 of 2 ways:
1. You will go to launch some program (of which libvpx is a dependency) which will have a run-time link dependency on libvpx, and the program will fail to start, as the library cannot be found.
2. If the library is loaded dynamically, you'll be using a program at some point and it can just suddenly die, when it goes to dynamically load libvpx.
You could make the same change in libvpx-1.6.1. By not doing the actual build, you won't get this build error.
Hopefully nothing makes use of libvpx, or that component won't really be usable, or functionality will be limited. Now that being said, libvpx isn't an entirely popular library. Outside of Google you don't see it used in industry often. It's a beautiful codec, but industry is what it is, and it's not very popular. Hopefully because of that jhalfs's "dependency" on libvpx is either a very small corner case, or isn't utilized at all.
2 more notes, in case you end up trying further:
1. In the official build instructions, the call is done like this:
Code:
$ mkdir build
$ cd build
$ ../libvpx/configure <options>
$ make
The fact that the build dir is at the same level as libvpx dir MAY make a difference....but I doubt it.
2. Here is my vpx_config.h. If the only problem is the config not being generated, then just drop the file in what I believe will be the build dir (is on my system), and make should work. I didn't modify the config, I don't think. If there's more problems, though, it will just error somewhere else..
Code:
/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
/* */
/* Use of this source code is governed by a BSD-style license */
/* that can be found in the LICENSE file in the root of the source */
/* tree. An additional intellectual property rights grant can be found */
/* in the file PATENTS. All contributing project authors may */
/* be found in the AUTHORS file in the root of the source tree. */
/* This file automatically generated by configure. Do not edit! */
#ifndef VPX_CONFIG_H
#define VPX_CONFIG_H
#define RESTRICT
#define INLINE __forceinline
#define ARCH_ARM 0
#define ARCH_MIPS 0
#define ARCH_X86 1
#define ARCH_X86_64 0
#define HAVE_NEON 0
#define HAVE_NEON_ASM 0
#define HAVE_MIPS32 0
#define HAVE_DSPR2 0
#define HAVE_MSA 0
#define HAVE_MIPS64 0
#define HAVE_MMX 1
#define HAVE_SSE 1
#define HAVE_SSE2 1
#define HAVE_SSE3 1
#define HAVE_SSSE3 1
#define HAVE_SSE4_1 1
#define HAVE_AVX 1
#define HAVE_AVX2 1
#define HAVE_VPX_PORTS 1
#define HAVE_PTHREAD_H 0
#define HAVE_UNISTD_H 0
#define CONFIG_DEPENDENCY_TRACKING 1
#define CONFIG_EXTERNAL_BUILD 1
#define CONFIG_INSTALL_DOCS 0
#define CONFIG_INSTALL_BINS 1
#define CONFIG_INSTALL_LIBS 1
#define CONFIG_INSTALL_SRCS 0
#define CONFIG_DEBUG 0
#define CONFIG_GPROF 0
#define CONFIG_GCOV 0
#define CONFIG_RVCT 0
#define CONFIG_GCC 0
#define CONFIG_MSVS 1
#define CONFIG_PIC 0
#define CONFIG_BIG_ENDIAN 0
#define CONFIG_CODEC_SRCS 0
#define CONFIG_DEBUG_LIBS 0
#define CONFIG_DEQUANT_TOKENS 0
#define CONFIG_DC_RECON 0
#define CONFIG_RUNTIME_CPU_DETECT 1
#define CONFIG_POSTPROC 1
#define CONFIG_VP9_POSTPROC 0
#define CONFIG_MULTITHREAD 1
#define CONFIG_INTERNAL_STATS 0
#define CONFIG_VP8_ENCODER 1
#define CONFIG_VP8_DECODER 1
#define CONFIG_VP9_ENCODER 1
#define CONFIG_VP9_DECODER 1
#define CONFIG_VP8 1
#define CONFIG_VP9 1
#define CONFIG_ENCODERS 1
#define CONFIG_DECODERS 1
#define CONFIG_STATIC_MSVCRT 1
#define CONFIG_SPATIAL_RESAMPLING 1
#define CONFIG_REALTIME_ONLY 0
#define CONFIG_ONTHEFLY_BITPACKING 0
#define CONFIG_ERROR_CONCEALMENT 0
#define CONFIG_SHARED 0
#define CONFIG_STATIC 1
#define CONFIG_SMALL 0
#define CONFIG_POSTPROC_VISUALIZER 0
#define CONFIG_OS_SUPPORT 1
#define CONFIG_UNIT_TESTS 1
#define CONFIG_WEBM_IO 1
#define CONFIG_LIBYUV 1
#define CONFIG_DECODE_PERF_TESTS 0
#define CONFIG_ENCODE_PERF_TESTS 0
#define CONFIG_MULTI_RES_ENCODING 0
#define CONFIG_TEMPORAL_DENOISING 1
#define CONFIG_VP9_TEMPORAL_DENOISING 0
#define CONFIG_COEFFICIENT_RANGE_CHECKING 0
#define CONFIG_VP9_HIGHBITDEPTH 0
#define CONFIG_BETTER_HW_COMPATIBILITY 0
#define CONFIG_EXPERIMENTAL 0
#define CONFIG_SIZE_LIMIT 0
#define CONFIG_SPATIAL_SVC 0
#define CONFIG_FP_MB_STATS 0
#define CONFIG_EMULATE_HARDWARE 0
#define CONFIG_MISC_FIXES 0
#endif /* VPX_CONFIG_H */
No problem for helping, man. Whether you try to by-pass this lib, or continue messing with it, best of luck to you!