On Sat, 8 Aug 2020, Ryan Joseph via fpc-pascal wrote:
On Aug 8, 2020, at 8:37 PM, Michael Van Canneyt <mich...@freepascal.org> wrote:
I don't know, that depends on your system. It is the path where FPC is
installed.
It's the compiler path? This is the same errors I got before which made me
rebuild the compiler (macOS btw)
No, not the compiler path. The directory below which FPC is installed.
packages$ sudo make clean make install PREFIX=/usr/local/lib/fpc/3.3.1/ppcx64
Password:
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C fpmkunit
clean_bootstrap
/bin/rm -rf units_bs
./fpmake clean --localunitdir=.. --os=darwin --cpu=x86_64 -o -dx86_64
--compiler=/usr/local/bin/ppcx64 -bu
Warning: Removed non empty directory "univint/units/x86_64-darwin/"
make: *** No rule to make target `make'. Stop.
packages$
That's because you specified the "make" target to your make command... :-)
Try this (as separate commands):
sudo make clean
sudo make all
sudo make install PREFIX=/usr/local/
You can try to combine it with
sudo make clean all install PREFIX=/usr/local/
But I never do that.
In general, I never compile as root, so I tend to do:
make clean
make all
sudo make install PREFIX=/usr/local/
But once you started as root, you must at least also run make clean as root,
once.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal