[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Freetype 2.9.1 broken for build.win32x86/pharo.cog.spur (#319)

Ben Coman notifications at github.com
Thu Dec 13 09:36:38 UTC 2018


Just to isolate the error away from the overarching pharo build, so its easier to iterate on...
```
$ mkdir -p /tmp/freetype291 && cd /tmp/freetype291

$ cp ~/Repos/freetype291/opensmalltalk-vm/build.win32x86/pharo.cog.spur/builddbg/third-party/freetype-2.9.1/Toolchain-cross-mingw32-cygwin.cmake \
     /tmp/freetype291/Toolchain-cross-mingw32-cygwin.cmake

$ wget http://ftp.igh.cnrs.fr/pub/nongnu/freetype/freetype-2.9.1.tar.gz

$ tar xf freetype-2.9.1.tar.gz && cd freetype-2.9.1

$ mkdir build && cd build

$ cmake ..\
                 -DCMAKE_TOOLCHAIN_FILE=../Toolchain-cross-mingw32-cygwin.cmake \
                 -DCMAKE_INSTALL_PREFIX=/home/Ben/Repos/freetype265/opensmalltalk-vm/.thirdparty-cache/windows/i386 \
                 -DWITH_PNG=OFF \
                 -DBUILD_SHARED_LIBS=ON \
                 -DCMAKE_C_FLAGS="-m32 -static-libgcc -static-libstdc++"
-- The C compiler identification is GNU 6.4.0
-- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc.exe
-- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config.exe (found version "0.29.1")
-- Could NOT find harfbuzz (missing:  HARFBUZZ_INCLUDE_DIRS HARFBUZZ_LIBRARIES)
-- Could NOT find ZLIB (missing:  ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find PNG (missing:  PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Could NOT find ZLIB (missing:  ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find BZip2 (missing:  BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:
    WITH_PNG
-- Build files have been written to: /tmp/freetype291/build/freetype-2.9.1/build

$ make

$ make 
CMake Error at cmake_install.cmake:35 (file):
  file INSTALL cannot find
  "/tmp/freetype291/build/freetype-2.9.1/build/include/freetype/config/ftconfig.h".
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/319#issuecomment-446902772
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20181213/84359e0c/attachment-0001.html>


More information about the Vm-dev mailing list