[Libre-soc-dev] daily kan-ban update 14may2021

Luke Kenneth Casson Leighton lkcl at lkcl.net
Sat May 15 18:28:28 BST 2021


On Sat, May 15, 2021 at 6:08 PM Lauri Kasanen <cand at gmx.com> wrote:

> This python stuff keeps failing in different, ungooglable,
> badly designed ways, and it's making me very grumpy.

you've not run the standard installation process, which is entirely
automated.  i didn't give you the full list because you don't need
most of them, you're not running the HDL, just the simulator.  here's
the full list of dependencies:
https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=install-hdl-apt-reqs;hb=HEAD

of course that assumes you've upgraded to python 3.7 rather than
arbitrarily picked "a latest version of python3 which could be 3.8 or
3.9 depending on your OS" - (hence why we standardised on debian/10 as
the development OS, so as to avoid *exactly* the problems you're
running into)

and, argh, yes, you've installed python 3.9 which is only in
debian/testing, so you can't use the above script without modifying
it.

regardless: running "python3 setup.py develop" should pick up that
there are dependencies - including astor - which is in the install
dependencies:

https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=setup.py;h=34821a04d31003bd84fc584007b6dacbe04e931c;hb=c6bb683697a4b3f1352775198fe7cfb1c63556b8#l16

line 16, there.

you *must not* create arbitrary random symbolic links - you *really
do* have to run that command "python3 setup.py develop" in order to
trigger it to install the dependencies.

the "normal" installation process is incredibly simple.

step 1: run this script
https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=install-hdl-apt-reqs;hb=HEAD

step 2: run this script
https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=hdl-dev-repos;hb=HEAD

unfortunately you've deviated from "normal" by using a
non-standardised version of python.

l.



More information about the Libre-soc-dev mailing list