03-13-2024, 12:29 PM
OK, I did the following
and ...
At this stage there is a freeze and CTRL-C is needed to continue
So the flex.c problem has gone but there is something else wrong.
- moved yab_work back to ~ and symlinked that to my Programming folder instead of the other way round
- deleted the Buildfactory folder
- emptied the Trash
- uninstalled BuildFactory
- reinstalled it
and ...
Code:
~/yab_work/BuildFactory> ./BuildFactory.yab allinone ../Examples/AllInOne.yab
This_dir/boot/home/yab_work/BuildFactory
File config.h not ok. The app copy it from source is available, otherwise reinstall package.
cp: cannot stat '/boot/system/develop/yab-1.8.0/config.h': No such file or directory
File bison.h not ok. The app copy it from source is available, otherwise reinstall package.
cp: cannot stat '/boot/system/develop/yab-1.8.0/bison.h': No such file or directory
File function.c not ok. The app copy it from source is available, otherwise reinstall package.
cp: cannot stat '/boot/system/develop/yab-1.8.0/function.c': No such file or directory
File global.h not ok. The app copy it from source is available, otherwise reinstall package.
cp: cannot stat '/boot/system/develop/yab-1.8.0/global.h': No such file or directory
File main.c not ok. The app copy it from source is available, otherwise reinstall package.
cp: cannot stat '/boot/system/develop/yab-1.8.0/main.c': No such file or directory
File RdefApply not ok. The app copy it from source is available, otherwise reinstall package.
cp: cannot stat '/boot/system/develop/yab-1.8.0/RdefApply': No such file or directory
File yabasic.bison not ok. The app copy it from source is available, otherwise reinstall package.
cp: cannot stat '/boot/system/develop/yab-1.8.0/yabasic.bison': No such file or directory
File yabasic.flex not ok. The app copy it from source is available, otherwise reinstall package.
cp: cannot stat '/boot/system/develop/yab-1.8.0/yabasic.flex': No such file or directory
File yabasic.h not ok. The app copy it from source is available, otherwise reinstall package.
cp: cannot stat '/boot/system/develop/yab-1.8.0/yabasic.h': No such file or directory
File YabInterface.h not ok. The app copy it from source is available, otherwise reinstall package.
cp: cannot stat '/boot/system/develop/yab-1.8.0/YabInterface.h': No such file or directory
File YabList.h not ok. The app copy it from source is available, otherwise reinstall package.
cp: cannot stat '/boot/system/develop/yab-1.8.0/YabList.h': No such file or directory
File YabMain.cpp ok
IntelArchitecture (64 bit)
yab 1.8.2, built on BePC-Haiku
Original yabasic Copyright 1995-2006 by Marc-Oliver Ihm
yab Copyright 2006-2009 by Jan Bungeroth
yab improvements Copyright 2013-2018 by Jim Saxton
yab improvements Copyright 2018-2020 by BeSly Software Solutions (also thanks to Stephan Aßmus for Correction of Code)
yab improvements Copyright 2021 by BeSly Software Solutions
At this stage there is a freeze and CTRL-C is needed to continue
Code:
flex: can't open yabasic.flex
-- removing not needed stuff ...
Reading file allinone_bf.yab...
Dumping file...
This yab version was compiled on Haiku.
This system is running HAIKU
Writing Automakefile and global.h...
Starting make (ignore warnings)...
rm -f core *.o yabasic.output
g++ -O -I. -DHAVE_CONFIG -DUNIX -DHAIKU -I/boot/system/non-packaged/develop/headers/yab -c YabMain.cpp -o YabMain.o
YabMain.cpp:4:10: fatal error: YabInterface.h: No such file or directory
4 | #include "YabInterface.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
Automakefile:57: recipe for target 'YabMain.o' failed
make: *** [YabMain.o] Error 1
rm -f core *.o yabasic.output
Finished
/bin/sh: line 1: RdefApply: command not found
addattr: can't add attribute to file allinone: No such file or directory
addattr: can't add attribute to file allinone: No such file or directory
chmod: cannot access 'allinone': No such file or directory
--------
-- Info:
Number of libs: 0
Number of subs: 0
Number of lines: 133
~/yab_work/BuildFactory>
So the flex.c problem has gone but there is something else wrong.