Hi Patrick, 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.
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? The freetype-config file is part of Graphviz that I have installed, by the way. Taco. ---------------------------------------- From: "Patrick Spendrin" <[email protected]> Sent: Friday, June 01, 2012 1:24 PM To: [email protected], "KDE on Windows" <[email protected]> Subject: Re: Emerging okular Am 01.06.2012 12:45, schrieb Taco H. in den Bosch: > > Hi everyone, > > I am trying to emerge okular as part of building Calligra on Windows. > This fails, giving the output shown below. > > I am unfamiliar with the emerge tool. Reading the output I would guess > that the problem starts with Freetype: > > -- Found Freetype: CreateProcessError: %1 is not a valid Win32 application. > > In the build instructions for Calligra there are requirements that you > need to install beforehand, such as python and git. There is no mention > of having to install Freetype. > > Can anyone help me out and enlighten me about what is going on here? emerge should get all dependencies for you, so no need for a separate freetype. From what I get from the output of your okular build, cmake seems to have located freetype-config on your system. I do not have that on my system, so the question is where it comes from. You can read the CMakeCache.txt file that has been generated in the build directory for okular: %KDEROOT%\build\kde\okular-4.8.2-20120419\work\msvc2010-Debug-gitHEAD\CMakeC ache.txt The line which says FREETYPECONFIG_EXECUTABLE is the interesting one. IIRC freetype_config on Unix is a bash script, so it won't work right away. > CMake Error: Parse error in cache file > C:/oss/kde/build/kde/okular-4.8.2-2012041 <tel:4.8.2-2012041> > 9/work/msvc2010-RelWithDebInfo-4.8.2/CMakeCache.txt. Offending entry: > for comman > d: "C:\Program Files (x86)\Graphviz 2.28\bin\freetype-config" --libs; > -- Found automoc4: C:/oss/kde/bin/automoc4.exe > -- Found Freetype: CreateProcessError: %1 is not a valid Win32 application. > > for command: "C:\Program Files (x86)\Graphviz 2.28\bin\freetype-config" > --libs regards, Patrick _______________________________________________ Kde-windows mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-windows
_______________________________________________ Kde-windows mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-windows
