P2 Install flexprop on a Linux computer.
pic18f2550
Posts: 400
in Propeller 2
Hello I have a small problem.
Abort at:
src/flexprop_native.c:23:10: fatal error: tk.h: file or directory not found
#include "tk.h"
Comments
You'll have to install the tcl and tk development libraries. There's a section called "Building from source" in README.md, and it suggests doing the following to install on Ubuntu (for other Linux distros you may have to adjust the package names and use the appropriate package manager, like yum for fedora):
Despite the 2 errors, it is now running.
I only had to look for flexprop.tcl and include it in a starter.
The description I had last time was still missing
sudo apt-get install texlive-latex-recommended
sudo apt-get install pandoc.
Thank you.
Which linux distribution are you using?
I first had Ubuntu 22.04 LTS 64 bit on the disk.
It ran too slowly on the i3 and was just annoying.
Now I have Linux Mint 19.04.3, the latest 32-bit version.
Now the box is running again.
The support ends next year, then there will be no more 32 bit support. Too bad.
Don't use a 32 bit OS if you can run 64 bit. There is literally zero point to it and it will make everything slower.
Normally correct, though 32-bit code takes somewhat less RAM, so 32-bit can be better on memory-starved systems. If you have >1GB RAM, you definitely want a 64-bit OS build.
I've had several 64 bit systems on it but they all failed to get out of the pots.
And I didn't want XP.
A 64 bit CPU is no guarantee for speed, the rest of the hardware has to fit, otherwise it won't work.
A 64 bit CPU needs twice as much data transfer to the memory as a 32 bit CPU.
(Milky Way calculation) a 64 bit CPU can load two 32 bit instructions at the same time.
Loading and saving to the main memory is what slows down the most. But this is not about 64 or 32 bits, it is about flexprop. And I don't need an i3 to drink coffee.
Translated with www.DeepL.com/Translator (free version)
4 GByte should actually be enough.
My memory utilisation is at 5%.
The swap file 0%