GNOME Bugzilla – Bug 318636
Evince doesn't discover the t1lib library correctly
Last modified: 2005-10-12 07:45:57 UTC
Version details: 0.4.0 stable Distribution/Version: Linux from Scratch Pass --enable-t1lib and --enable-dvi to configure This is using the most recent t1lib tarball I can find: t1lib-5.1.0 Here is a patch that fixes the issue ========================================================================== Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org> Date: 2005-10-11 Initial Package Version: 0.4.0 Upstream Status: Unknown (bug submitted to GNOME Bugzilla) Origin: Randy McMurchy Description: Fixes t1lib discovery and implementation diff -Naur evince-0.4.0-orig/configure evince-0.4.0/configure --- evince-0.4.0-orig/configure 2005-08-26 04:07:09.000000000 +0000 +++ evince-0.4.0/configure 2005-10-12 03:44:06.000000000 +0000 @@ -27646,13 +27646,13 @@ if test "x$enable_dvi" = "xyes"; then if test "x$enable_type1_fonts" = "xyes"; then - echo "$as_me:$LINENO: checking for T1_InitLib in -lt1lib" >&5 -echo $ECHO_N "checking for T1_InitLib in -lt1lib... $ECHO_C" >&6 + echo "$as_me:$LINENO: checking for T1_InitLib in -lt1" >&5 +echo $ECHO_N "checking for T1_InitLib in -lt1... $ECHO_C" >&6 if test "${ac_cv_lib_t1lib_T1_InitLib+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lt1lib $LIBS" +LIBS="-lt1 -lm $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF diff -Naur evince-0.4.0-orig/dvi/mdvi-lib/Makefile.in evince-0.4.0/dvi/mdvi-lib/Makefile.in --- evince-0.4.0-orig/dvi/mdvi-lib/Makefile.in 2005-08-26 04:27:57.000000000 +0000 +++ evince-0.4.0/dvi/mdvi-lib/Makefile.in 2005-10-12 03:44:06.000000000 +0000 @@ -36,7 +36,7 @@ PRE_UNINSTALL = : POST_UNINSTALL = : host_triplet = @host@ -@WITH_TYPE1_FONTS_TRUE@am__append_1 = -lt1lib +@WITH_TYPE1_FONTS_TRUE@am__append_1 = -lt1 -lm ACLOCAL = @ACLOCAL@ ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ AMDEP_FALSE = @AMDEP_FALSE@
Hello. Thanks for the patch. Note that there is no need to correct configure and Makefile.in files - they are autogenerated. You should modify configure.in and Makefile.am instead. Although this bug was already fixed in CVS. *** This bug has been marked as a duplicate of 315493 ***