I was following this article, https://www.howtogeek.com/428988/how...-git-on-linux/ attempting to locally build ascii-boxes from the downloaded contents of boxes-master.zip
I followed all of the steps in the article except the git clone... step - could not get that to work which is why I downloaded the zip file. (newbie issue probably)
After unzipping the file boxes-master.zip, I executed the make step....
Code:
hugh@b450m:~/build/boxes-master$ make && make test
| For compilation info please refer to the boxes compilation FAQ
| at https://boxes.thomasjensen.com/docs/faq.html#q5
mkdir out
sed -e 's/--BVERSION--/2.1.0/; s/--GLOBALCONF--/\/usr\/share\/boxes/' src/boxes.in.h > out/boxes.h
sed -e 's/--BVERSION--/2.1.0/; s/--GLOBALCONF--/\/usr\/share\/boxes/' doc/boxes.1.in > doc/boxes.1
make -C src BOXES_PLATFORM=unix LEX=flex YACC=bison build
make[1]: Entering directory '/home/hugh/build/boxes-master/src'
make -C ../out -f ../src/Makefile BOXES_PLATFORM=unix ALL_OBJ="parser.o lex.yy.o boxes.o cmdline.o discovery.o generate.o input.o list.o parsecode.o parsing.o query.o regulex.o remove.o shape.o tools.o unicode.o" \
CFLAGS_ADDTL="-O " STRIP=true flags_unix boxes
make[2]: Entering directory '/home/hugh/build/boxes-master/out'
make[2]: Nothing to be done for 'flags_unix'.
flex --header-file=lex.yy.h ../src/lexer.l
bison --warnings=all --verbose --defines=parser.h --output=parser.c ../src/parser.y
gcc -I. -I../src -Wall -W -O -c -o parser.o parser.c
In file included from ../src/parser.y:27:
boxes.h:34:10: fatal error: unitypes.h: No such file or directory
34 | #include <unitypes.h>
| ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [<builtin>: parser.o] Error 1
make[2]: Leaving directory '/home/hugh/build/boxes-master/out'
make[1]: *** [Makefile:54: build] Error 2
make[1]: Leaving directory '/home/hugh/build/boxes-master/src'
make: *** [Makefile:41: build] Error 2
As you can see file, unitypes.h is missing. I determined it is called by six files.
Code:
hugh@b450m:~/build/boxes-master/src$ grep unitypes.h *.*
boxes.in.h:#include <unitypes.h>
input.c:#include <unitypes.h>
regulex.h:#include <unitypes.h>
tools.c:#include <unitypes.h>
tools.h:#include <unitypes.h>
unicode.h:#include <unitypes.h>
Searching for the missing file locally and in github was unsuccessful.
I sent an email to the owner, Thomas Jenson, of ascii-boxes explaining my issue with the missing file.
This being my first attempt (newbie) to build from downloaded code, is there anything else I should have done??
Build System:
Code:
~/build/boxes-master$ inxi -BCMSDm
System: Host: b450m Kernel: 5.8.0-53-generic x86_64 bits: 64 Desktop: Xfce 4.14.2
Distro: Ubuntu 20.04.2 LTS (Focal Fossa)
Machine: Type: Desktop Mobo: ASRock model: B450M/ac serial: <superuser/root required>
UEFI: American Megatrends v: P1.50 date: 10/14/2019
Memory: RAM: total: 15.57 GiB used: 12.32 GiB (79.2%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU: Topology: 6-Core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP L2 cache: 3072 KiB
Speed: 1373 MHz min/max: 1550/3400 MHz Core speeds (MHz): 1: 1377 2: 1376 3: 2789
4: 1267 5: 1374 6: 1270 7: 2615 8: 1270 9: 1448 10: 1458 11: 1375 12: 1264
Drives: Local Storage: total: 1.06 TiB used: 49.97 GiB (4.6%)
ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS500G2B0C-00PXH0
size: 465.76 GiB
ID-2: /dev/sda vendor: Seagate model: ST500LM012 HN-M500MBB size: 465.76 GiB
ID-3: /dev/sdb vendor: Western Digital model: WD1600BJKT-00F4T0 size: 149.05 GiB
Please advise. Thanks
Bookmarks