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\CMakeCache.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
