[Scribus] Compiling CVS on Mandrake 9.1 Freetype2 not found...

Peter Linnell scribusdocs
Mon Oct 13 05:24:53 CEST 2003


<snip>
> 
> I tried compiling the CVS code, here are some suggested corrections
> to the cvs instructions on the download page:
> 
> http://web2.altmuehlnet.de/fschmid/download.html
> 
> 
> Where it says 
> 
> cd scribus/Scribus
>         make -f Makefile.dist
>         ./configure
>         make
>         make install
>         
> The first S in each instance of the Scribus directory names are
> the opposite case of each other.
> 
Noted..

> RE: make -f Makefile.dist
> I've never seen this before, It didn't work for me in the
> Scribus/scribus directory of the untarred directory, but it 
> was more responsive in the 1st level Scribus directory where
> it reported...

> [root at mail Scribus]# make -f Makefile.dist
> This Makefile is only for the CVS repository
> This will be deleted before making the distribution

> *** YOU'RE USING AUTOCONF 2.13. We suggest updating.
> *** autoconf 2.5x works best for now, we will drop
> *** support for autoconf 2.13 soon.
> *** Creating acinclude.m4
> !!! If you get recursion errors from autoconf, it is advisable to set
> the
>     environment variable M4 to something including
> "--nesting-limit=50                                               0"
> *** Creating aclocal.m4
> *** Creating configure

This is normal for CVS.  However, the warning is probably the cause of
the error. I would see if there is updated or a newer version of
autoconf installed. There were earlier messages yesterday about the same
issue with Gentoo, which could be solved with:

export WANT_AUTOCONF_2_5=1
export WANT_AUTOMAKE=1.7
make -f Makefile.dist

Mdk 9.1 might not have automake 1.7, but automake 1.6, like RH9

note there can be an automake14, automake15 and automake package
installed separately to accommodate packages or packagers who have older
versions.  

FYI, RH9 which is roughly the same vintage has autoconf 2.57.3


> configure.in:122: AC_PROG_CPP was called before AC_PROG_CC
> autoconf: Undefined macros:
> configure.in:140:AC_CONFIG_FILES([Makefile])
> configure.in:141:AC_CONFIG_FILES([scribus/Makefile])
> configure.in:142:AC_CONFIG_FILES([scribus/icons/Makefile])
> configure.in:143:AC_CONFIG_FILES([scribus/libabout/Makefile])
> configure.in:144:AC_CONFIG_FILES([scribus/libprefs/Makefile])
> configure.in:145:AC_CONFIG_FILES([scribus/plugins/libchar/Makefile])
> configure.in:146:AC_CONFIG_FILES([scribus/plugins/svgexplugin/Makefile                                               ])
> configure.in:147:AC_CONFIG_FILES([scribus/plugins/svgimplugin/Makefile                                               ])
> configure.in:148:AC_CONFIG_FILES([scribus/plugins/printpreview/Makefil                                               e])
> configure.in:149:AC_CONFIG_FILES([scribus/plugins/Makefile])
> configure.in:150:AC_CONFIG_FILES([scribus/libpostscript/Makefile])
> configure.in:151:AC_CONFIG_FILES([scribus/profiles/Makefile])
> configure.in:152:AC_CONFIG_FILES([scribus/libpdf/Makefile])
> configure.in:153:AC_CONFIG_FILES([scribus/dicts/Makefile])
> configure.in:154:AC_CONFIG_FILES([scribus/qm/Makefile])
> configure.in:155:AC_CONFIG_FILES([scribus/po/Makefile])
> make[1]: *** [cvs] Error 1
> make: *** [all] Error 2
> [root at mail Scribus]#
> 
> 
> Here's the results of the ./configure which seems to 
> think I don't have freetype2 installed.
> 
> [root at mail Scribus]# ./configure
> loading cache ./config.cache
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking build system type... i686-pc-linux-gnu
> checking for a BSD compatible install... /usr/bin/install -c
> checking for -p flag to install... yes
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal-1.4... found
> checking for working autoconf... found
> checking for working automake-1.4... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking for libart2-config... /usr/bin/libart2-config
> checking for freetype-config... ./configure: line 1062: error:: command
> not found
> no
> configure: error: You need at least freetype 2.1.0
> [root at mail Scribus]# rpm -qa | grep freetype
> freetype2-2.1.3-12plf
> freetype-1.3.1-18mdk
> freetype2-devel-2.1.3-12plf
> freetype-tools-1.3.1-18mdk
> freetype2-tools-2.1.3-11mdk
> 
With the automake errors, it is likely to fail to correctly create the
./configure script.

Hope that helps,
Peter




More information about the scribus mailing list