checking for SQLite3 library >= 3.0.0... not found
configure: error: sqlite3 not found
Configure failed
crgadmin@Nuc7:~/FreeCiv$
full log attached.
Note, I did reboot the machine after "apt install sqlite3", just in case there was a daemon that needed to be started.
sqlite3 --version reports 3.45.1
same problem with Raspberry Pi OS 64bit fully patched on a pi4 w/8mb ram
Wouldn't surprise me if both machines need some sqlite3 library other than just the one I installed.
thoughts
did at apt-cache search libsqlite3 and found a reference to libsqlite3-dev
so I did a sudp apt install libsqlite3-dev and got past it on the Pi. will followup with ubuntu
Elefant wrote: ↑Mon Jul 01, 2024 5:38 pm
Maybe the error message should include the name of the apt package that needs to be installed?
The error message is same on all platforms, not Debian (& derivatives) specific. We can't list solution for all the different packaging systems (and package names) different distributions use.
Ok. Your previous suggestion is a good idea, but maybe the build instructions could have a bit more information about this error? Something like "If building errors with * not found, ensure you have the development files installed and not just the runtime..." continuing with instructions for how to find the dev files for various common systems?
Note that most Linux systems have separate library packages for "runtime"
library support and for development support (for compiling programs
which use those libraries). To compile Freeciv on such systems you
will need to have the appropriate "development" packages installed.
cazfi wrote: ↑Mon Jul 01, 2024 5:25 am
Would it be clearer if the error message said "sqlite3 development files not found", like the message is for some other dependencies?
Elefant wrote: ↑Wed Jul 03, 2024 2:50 am
Ok. Your previous suggestion is a good idea, but maybe the build instructions could have a bit more information about this error? Something like "If building errors with * not found, ensure you have the development files installed and not just the runtime..." continuing with instructions for how to find the dev files for various common systems?
Updating the error message to include the missing package name and suggesting the installation of development files (e.g., sudo apt install libxyz-dev) improves usability. Additionally, build instructions should guide users in identifying and installing dev files for their system. Providing examples for common Linux distributions ensures a smoother troubleshooting process and saves time.