On 2/13/19 4:57 PM, Bruce Dubbs via blfs-dev wrote:
On 2/13/19 4:51 PM, Bruce Dubbs wrote:
On 2/13/19 4:23 PM, Douglas R. Reno via blfs-dev wrote:
On 2/13/19 4:07 PM, Bruce Dubbs via blfs-dev wrote:
When rebuilding my workstation (current -dev as of a week ago, but
some packages more recent), I ran into a problem with mupdf. I've
updated the instructions for what works for me, but would
appreciate someone else doing a test build with what I did.
-- Bruce
patch -Np1 -i ../mupdf-1.14.0-shared_libs-1.patch &&
rm -rf thirdparty/curl &&
rm -rf thirdparty/freetype &&
rm -rf thirdparty/harfbuzz &&
rm -rf thirdparty/jpeg &&
rm -rf thirdparty/openjpeg &&
rm -rf thirdparty/libjpeg &&
rm -rf thirdparty/zlib &&
export USE_SYSTEM_LIBS=yes &&
make
Now, as the root user:
make prefix=/usr \
build=release \
docdir=/usr/share/doc/mupdf-1.14.0 \
install &&
ln -sfv mupdf-x11 /usr/bin/mupdf &&
ldconfig
Hi Bruce,
Using your instructions, I get:
renodr [ /sources/mupdf-1.14.0-source ]$ sudo make prefix=/usr
build=release docdir=/usr/share/doc/mupdf-1.14.0 install
make: *** No rule to make target
'build/release/thirdparty/freetype/src/base/ftbase.o', needed by
'build/release/libmupdf-third.so'. Stop.
when running make install. Shouldn't it be ignoring the freetype
third party library?
How are you running the install. If You are using sudo, use sudo -E
so USE_SYSTEM_LIBS=yes is set in the root environment.
I'll try to come up with better instructions.
OK, try this:
patch -Np1 -i $DIR/$PROGRAM-shared_libs-1.patch &&
USE_SYSTEM_LIBS=yes make -j4
Now, as the root user:
USE_SYSTEM_LIBS=yes \
make DESTDIR=$DEST \
prefix=/usr \
build=release \
docdir=/usr/share/doc/mupdf-1.14.0 \
install ^^
ln -sfv mupdf-x11 usr/bin/mupdf
-- Bruce
That one works as well
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page