[Slackbuilds-users] Scribus-1.4.6: build fails not finding freetype.h

Rich Shepard rshepard at appl-ecosys.com
Mon Aug 7 17:22:29 UTC 2017


On Mon, 7 Aug 2017, Sebastien BALLET wrote:

> It complains because you forgot to add "./CMakeLists.txt" after "-D
> <var>=<value>". Here is what you need to add after "-DRENDER_LIB=CAIRO \".
>
> 8<--------------------------------------
>  *-D FREETYPE_INCLUDE_DIRS:PATH="/u*
>
> *sr/include/freetype2" \  ./CMakeLists.txt *8<----------------------------
> ----------

Sebastien,

   Actually, I copied this:

>  -D FREETYPE_INCLUDE_DIRS:PATH="/usr/include/freetype2" \
>  ./CMakeLists.txt

from your message into scribus.SlackBuild.

   With freetype-2.5.5-i486-2_slack14.1.txz installed, and the cmake portion
of the build script containing:

cmake \
   -DCMAKE_C_FLAGS="$SLKCFLAGS" \
   -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
   -DCMAKE_INSTALL_PREFIX:PATH=/usr \
   -DLIB_SUFFIX=${LIBDIRSUFFIX} \
   -DRENDER_LIB=CAIRO
   -D FREETYPE_INCLUDE_DIRS:PATH="/usr/include/freetype2" \
   ./CMakeLists.txt

   I run the script:

# VERBOSE=1 ./scribus.SlackBuild

and see this:

-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/SBo/scribus-1.4.6
./scribus.SlackBuild: line 82: -D: command not found

Rich



More information about the SlackBuilds-users mailing list