<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">Hi Patrick,<br />
<br />
thanks for your help so far. I have looked at the things you have mentioned, and you are right. FREETYPECONFIG_EXECUTABLE points to a bash script. The Calligra build instructions use a Windows command line window to execute the build process, so the bash script cannot be executed.<br />
<br />
I could open a bash shell instead, but the build environment is set up using a kdeenv.bat batch file, which the bash shell will not be able to execute. I am just starting with Calligra and KDE. Do you know how I should proceed?<br />
<br />
The freetype-config file is part of Graphviz that I have installed, by the way.<br />
<br />
Taco.<br />
<br />
<span style="font-family: tahoma, arial, sans-serif; font-size: 10pt;"><hr size="2" width="100%" align="center" />
<strong>From</strong>: "Patrick Spendrin" <ps_ml@gmx.de><br />
<strong>Sent</strong>: Friday, June 01, 2012 1:24 PM<br />
<strong>To</strong>: taco@heddesit.nl, "KDE on Windows" <kde-windows@kde.org><br />
<strong>Subject</strong>: Re: Emerging okular</span><br />
<br />
Am 01.06.2012 12:45, schrieb Taco H. in den Bosch:<br />
> <br />
> Hi everyone,<br />
> <br />
> I am trying to emerge okular as part of building Calligra on Windows.<br />
> This fails, giving the output shown below.<br />
> <br />
> I am unfamiliar with the emerge tool. Reading the output I would guess<br />
> that the problem starts with Freetype:<br />
> <br />
> -- Found Freetype: CreateProcessError: %1 is not a valid Win32 application.<br />
> <br />
> In the build instructions for Calligra there are requirements that you<br />
> need to install beforehand, such as python and git. There is no mention<br />
> of having to install Freetype.<br />
> <br />
> Can anyone help me out and enlighten me about what is going on here?<br />
<br />
emerge should get all dependencies for you, so no need for a separate<br />
freetype. From what I get from the output of your okular build, cmake<br />
seems to have located freetype-config on your system. I do not have that<br />
on my system, so the question is where it comes from.<br />
You can read the CMakeCache.txt file that has been generated in the<br />
build directory for okular:<br />
%KDEROOT%\build\kde\okular-4.8.2-20120419\work\msvc2010-Debug-gitHEAD\CMakeCache.txt<br />
The line which says FREETYPECONFIG_EXECUTABLE is the interesting one.<br />
IIRC freetype_config on Unix is a bash script, so it won't work right away.<br />
<br />
> CMake Error: Parse error in cache file<br />
> C:/oss/kde/build/kde/okular-4.8.2-2012041 <tel:4.8.2-2012041><br />
> 9/work/msvc2010-RelWithDebInfo-4.8.2/CMakeCache.txt. Offending entry:<br />
> for comman<br />
> d: "C:\Program Files (x86)\Graphviz 2.28\bin\freetype-config" --libs;<br />
<br />
> -- Found automoc4: C:/oss/kde/bin/automoc4.exe<br />
> -- Found Freetype: CreateProcessError: %1 is not a valid Win32 application.<br />
> <br />
> for command: "C:\Program Files (x86)\Graphviz 2.28\bin\freetype-config"<br />
> --libs<br />
<br />
regards,<br />
Patrick<br />
_______________________________________________<br />
Kde-windows mailing list<br />
Kde-windows@kde.org<br />
https://mail.kde.org/mailman/listinfo/kde-windows<br /></span>