[fpc-devel] Cannot build fpc trunk on MacOS

Ondrej Pokorny lazarus at kluug.net
Sun Jul 28 10:41:22 CEST 2019


Hello,

I wanted to try the latest FPC/Lazarus on Mac OS and I got the following 
error when building trunk with FPC 3.0.4:

Installing package chm
Installation package chm for target x86_64-darwin succeeded
Start compiling package cocoaint for target x86_64-darwin.
        Compiling cocoaint/BuildUnit_cocoaint.pp
Compiled package cocoaint
Installing package cocoaint
The installer encountered the following error:
Unable to open file "cocoaint/units/x86_64-darwin/CoreGraphics.ppu"
make[3]: *** [distinstall] Error 1
make[2]: *** [packages_distinstall] Error 2
make[1]: *** [installother] Error 2
make: *** [installall] Error 2

I compile with this script:

make clean all OPT="-gl -O-"
make install INSTALL_PREFIX=~/software/fpc/trunk_exp PP=/usr/local/bin/fpc

I downloaded and installed FPC 3.0.4 from 
https://www.freepascal.org/download.html. The version is as follows:

Free Pascal Compiler version 3.0.4 [2018/09/30] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others


Anybody knows what's going on?

Thanks
Ondrej



More information about the fpc-devel mailing list