make install

27 views
Skip to first unread message

Ismael Venegas Castelló

unread,
Jul 6, 2024, 6:45:05 AM7/6/24
to 4tH-compiler
Greetings everyone!

I have been trying to find the needed documentation in order to complete the installation properly:

➜  forth-4th-code sudo make install
cp  lib4th.a /usr/lib
gcc -DUNIX -fsigned-char -Wall -O3 -s -I. -o 4th 4th.o -L. -l4th
gcc -DUNIX -fsigned-char -Wall -O3 -s -I. -o 4tsh 4tsh.o -L. -l4th
gcc -DUNIX -fsigned-char -Wall -O3 -s -I. -o pp4th pp4th.o -L. -l4th
cp 4th 4tsh pp4th /usr/local/bin
install -Dm644 ../documentation/4th.1 /usr/share/man/man1/4th.1
install: cannot stat '../documentation/4th.1': No such file or directory
make: *** [Makefile:129: install] Error 1


I am implementing an OS for a virtual stack machine called Uxn and learning Forth along the way, the system has 64K of RAM, which made me want to learn 4th as well since it runs in many of the same platforms that Uxn does (msdos, plan9, etc.).

I am going through the manual, make command runs fine, but make install complains with the error above. It seems it just needs something for the man command, but I can keep on learning since the 4th manual is very good.

Thanks for your help.

Best regards,
Ismael

The Beez

unread,
Jul 6, 2024, 6:51:48 AM7/6/24
to 4tH-compiler
Hi!

Sorry for responding this late, but there is a simple fix:

sudo make mostlyinstall

This will skip the installation of documentation step - and frankly: that's how I install most of the time.
But anyways, it *is* a bug and I will tend to it for the next release. Thanks for reporting it!

Hans Bezemer
Reply all
Reply to author
Forward
0 new messages