lanceberc / ycwx

Weather web pages for yacht clubs and other interested parties
MIT License
1 stars 1 forks source link

doc: compilation instructions #1

Closed rkaiser0324 closed 1 year ago

rkaiser0324 commented 1 year ago

Also update Makefile.

rkaiser0324 commented 1 year ago

I am still revising this. I don't think I can get the prerequisites for all scripts installed on AlmaLinux 8 (in particular Python 3.6 doesn't work and for Python 3.9 I cannot build gdal). So I will try on AlmaLinux 9. If that doesn't work I will switch over to Ubuntu which it looks like you're using for the Raspberry Pi?

lanceberc commented 1 year ago

Getting gdal and its associated packages installed with consistent versions seems to require dumb luck. I think I did it with one big "apt get install" line so it could compute all the dependencies once. Version hell is the scourge of Open Source development.

Python 3.9.2 is currently installed. I believe that the RPi is running Debian, but then:

$ cat /proc/version Linux version 5.15.61-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022