[fpc-pascal] Fixes 3.2: make all fails

Bart bartjunk64 at gmail.com
Mon Dec 31 19:22:04 CET 2018


Hi,

OpenSuse Tumbleweed 64-bit (in a VirtualBox VM under Win10)

Installed fpc 3.0.4 form rpm.
(b.t.w. when clicking on the link for
ftp://ftp.hu.freepascal.org/pub/fpc/dist/3.0.4/x86_64-linux/rpm/fpc-3.0.4-1.x86_64.rpm
(on the downloadpage at
https://www.freepascal.org/down/x86_64/linux-hungary.html) I get a
"550 Failed to change directory.". There is no rpm folder in
x86-64-linux. The correct reference is
/pub/fpc/dist/3.0.4/x86_64-linux/fpc-3.0.4-1.x86_64.rpm)

I can compile the classic Hello World with fpc 3.0.4.

Did: svn co https://svn.freepascal.org/svn/fpc/branches/fixes_3_2/

Then tried
~/devel/fpc/3.2.0-fixes>make all

This fails with:
make -C utils all
.....
.....
./fpmake compile --localunitdir=.. --globalunitdir=../packages
--os=linux --cpu=x86_64 -o -Ur -o -Xs -o -O2 -o -n -o -Cg -o -dx86_64
-o -dRELEASE --compiler=/home/bart/devel/fpc/3.2.0-fixes/compiler/ppcx64
-bu
.....
.....
[ 48%] Compiled package utils-fprcp
Start compiling package utils-h2pas for target x86_64-linux.
Executing command "/usr/bin/pyacc h2pas/h2pas.y h2pas/h2pas.pas"
The installer encountered the following error:
External command "/usr/bin/pyacc h2pas/h2pas.y h2pas/h2pas.pas" failed
with exit code 256. Console output:
TP Yacc Version 4.1a [April 2000], Copyright (c) 1990-2000 Albert Graef

FATAL: cannot open file /usr/lib/fpc/lexyacc/yyparse.cod

make[2]: *** [Makefile:2452: all] Fout 1
make[2]: Map '/home/bart/devel/fpc/3.2.0-fixes/utils' wordt verlaten
make[1]: *** [Makefile:2621: utils_all] Fout 2
make[1]: Map '/home/bart/devel/fpc/3.2.0-fixes' wordt verlaten
make: *** [Makefile:2826: build-stamp.x86_64-linux] Fout 2

There is no /usr/lib/fpc folder
There is /usr/lib64/fpc, but no yyparse.cod in any of it's subfolders.
That file can only be found in ~/devel/fpc/3.2.0-fixes/utils/tply and
~/devel/fpc/3.2.0-fixes/utils/h2pas

What did I do wrong?

-- 
Bart



More information about the fpc-pascal mailing list