20.04.2020, 21:54
Still problems with setting those paths. When I ran your new ./build-vapoursynth.sh script it stopped because of the following error on line 10:
I thought it could be because I deleted the /usr/local/lib/python3.6/site-packages folder as I wanted to clean the current Vapoursynth installation before running your new scripts. So I decided to try that in Ubuntu 18.04 VM not touched yet by setting those paths. When I run ./build-vapoursynth.sh in this VM I get this:
OK, so let's export the path first:
and run build-vapoursynth.sh again:
So let's try to export PYTHONPATH too, but this fails because of the same error as on my physical computer with Ubuntu above:
And run the build-vapoursynth.sh again:
When I run build-vapoursynth.sh from your previous scripts you provided me yesterday morning, it runs fine without these issues.
jirka@pc-jirka:~/vapoursynth$ ./build-vapoursynth.sh
+ export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib
+ LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib
+ export /usr/local/lib/python3.6/site-packages:/usr/local/lib/python3.6/site-packages
./build-vapoursynth.sh: line 10: export: „/usr/local/lib/python3.6/site-packages:/usr/local/lib/python3.6/site-packages“: not a valid identifier
I thought it could be because I deleted the /usr/local/lib/python3.6/site-packages folder as I wanted to clean the current Vapoursynth installation before running your new scripts. So I decided to try that in Ubuntu 18.04 VM not touched yet by setting those paths. When I run ./build-vapoursynth.sh in this VM I get this:
jirka@virt-mate:~/vapoursynth$ ./build-vapoursynth.sh
./build-vapoursynth.sh: line 9: LD_LIBRARY_PATH: unbound variable
jirka@virt-mate:~/vapoursynth$ export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
jirka@virt-mate:~/vapoursynth$ sudo ldconfig
jirka@virt-mate:~/vapoursynth$ ./build-vapoursynth.sh
+ export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib
+ LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib
./build-vapoursynth.sh: line 10: PYTHONPATH: unbound variable
jirka@virt-mate:~/vapoursynth$ export /usr/local/lib/python3.6/site-packages:$PYTHONPATH
bash: export: `/usr/local/lib/python3.6/site-packages:': not a valid identifier
jirka@virt-mate:~/vapoursynth$ ./build-vapoursynth.sh
+ export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib:/usr/local/lib:/usr/local/lib
+ LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib:/usr/local/lib:/usr/local/lib
./build-vapoursynth.sh: line 10: PYTHONPATH: unbound variable
When I run build-vapoursynth.sh from your previous scripts you provided me yesterday morning, it runs fine without these issues.