Hi guys!
When I try to build Pike 8.1 from Git I get an error saying pike-test is not found. What’s that about?
Making all in build/linux-4.4.0-22-generic-x86_64 ./precompile.sh --cache precompile.pike --api=3 >"/home/poppa/src/pike-git/devel/src/builtin.c" "/home/poppa/src/pike-git/devel/src/builtin.cmod" || { rm "/home/poppa/src/pike-git/devel/src/builtin.c"; exit 1; } precompile: /home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/master.pike /home/poppa/src/pike-git/devel/bin/precompile.pike --api=3 /home/poppa/src/pike-git/devel/src/builtin.cmod (method=Q) ./precompile.sh: 135: ./precompile.sh: /home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/pike: not found precompile: /home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/tpike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/master.pike /home/poppa/src/pike-git/devel/bin/precompile.pike --api=3 /home/poppa/src/pike-git/devel/src/builtin.cmod (method=QQ) ./precompile.sh: 135: ./precompile.sh: /home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/tpike: not found precompile: /home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/test-pike /home/poppa/src/pike-git/devel/bin/precompile.pike --api=3 /home/poppa/src/pike-git/devel/src/builtin.cmod (method=QQQ) ./precompile.sh: 135: ./precompile.sh: /home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/test-pike: not found precompile: pike /home/poppa/src/pike-git/devel/bin/precompile.pike --api=3 /home/poppa/src/pike-git/devel/src/builtin.cmod (method=QQQQQQ) /home/poppa/src/pike-git/devel/src/builtin.cmod:2091: Syntax error: string(8bit) is not a valid type. precompile: /usr/local/bin/pike80 /home/poppa/src/pike-git/devel/bin/precompile.pike --api=3 /home/poppa/src/pike-git/devel/src/builtin.cmod (method=QQQQQQ) /home/poppa/src/pike-git/devel/src/builtin.cmod:2091: Syntax error: string(8bit) is not a valid type. precompile: /home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/master.pike /home/poppa/src/pike-git/devel/bin/precompile.pike --api=3 /home/poppa/src/pike-git/devel/src/builtin.cmod (method=Q) ./precompile.sh: 135: ./precompile.sh: /home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/pike: not found precompile: /home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/tpike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m/home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/master.pike /home/poppa/src/pike-git/devel/bin/precompile.pike --api=3 /home/poppa/src/pike-git/devel/src/builtin.cmod (method=QQ) ./precompile.sh: 135: ./precompile.sh: /home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/tpike: not found precompile: /home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/test-pike /home/poppa/src/pike-git/devel/bin/precompile.pike --api=3 /home/poppa/src/pike-git/devel/src/builtin.cmod (method=QQQ) ./precompile.sh: 135: ./precompile.sh: /home/poppa/src/pike-git/devel/build/linux-4.4.0-22-generic-x86_64/test-pike: not found Failed to find a Pike executable that could run /home/poppa/src/pike-git/devel/bin/precompile.pike. Makefile:512: receptet för målet ”/home/poppa/src/pike-git/devel/src/builtin.c” misslyckades make[3]: *** [/home/poppa/src/pike-git/devel/src/builtin.c] Fel 1 Makefile:1156: receptet för målet ”module_objects” misslyckades make[2]: *** [module_objects] Fel 2 Makefile:149: receptet för målet ”_make_in_builddir” misslyckades make[1]: *** [_make_in_builddir] Fel 2 Makefile:66: receptet för målet ”compile” misslyckades make: *** [compile] Fel 2
Regards ----------------------------- Pontus Östlund Developer • Roxen AB +46 70-662 81 69
www.roxen.com http://www.roxen.com/ | twitter.com/roxen https://twitter.com/roxen
To build pike from Git, you need to have a recent enough pike installed already. Apparently yours is too old:
precompile: pike /home/poppa/src/pike-git/devel/bin/precompile.pike --api=3 /home/poppa/src/pike-git/devel/src/builtin.cmod (method=QQQQQQ) /home/poppa/src/pike-git/devel/src/builtin.cmod:2091: Syntax error: string(8bit) is not a valid type.
test-pike is just one of the possible internally built pikes that are also tried in case they are more up-to-date.
27 maj 2016 kl. 12:10 skrev Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum 10353@lyskom.lysator.liu.se:
To build pike from Git, you need to have a recent enough pike installed already. Apparently yours is too old:
It’s couple of days old git Pike 8.1. Hope that’s not considered old? ;)
Regards ----------------------------- Pontus Östlund Developer • Roxen AB +46 70-662 81 69
www.roxen.com http://www.roxen.com/ | twitter.com/roxen https://twitter.com/roxen
The precompiler should now work with a Parser.Pike that is more than 3 days old again...
pike-devel@lists.lysator.liu.se