XviD is an MPEG-4 compliant video CODEC.
This package is known to build and work properly using an LFS-8.1 platform.
Download (HTTP): http://downloads.xvid.org/downloads/xvidcore-1.3.4.tar.gz
Download MD5 sum: 8cf4a42f280b03dae452080ef9e7c798
Download size: 800 KB
Estimated disk space required: 8.2 MB
Estimated build time: 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xvid
This package tarball expands to xvidcore
, not the expected xvidcore-1.3.4
.
Install XviD by running the following commands:
cd build/generic && sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in && ./configure --prefix=/usr && make
This package does not come with a test suite.
Now, as the root
user:
sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile && make install && chmod -v 755 /usr/lib/libxvidcore.so.4.3 && install -v -m755 -d /usr/share/doc/xvidcore-1.3.4/examples && install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.3.4 && install -v -m644 ../../examples/* \ /usr/share/doc/xvidcore-1.3.4/examples
sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in: Fix error during make install if reintalling or upgrading.
sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile: This command disables installing the static library.
Last updated on 2017-08-22 20:47:27 -0700