Closed spamman63 closed 1 year ago
Hi - I am currently out and about at the mo, I'll investigate the build on Pop! OS when I'm back at my computer. 😁
I have just tried it out on Pop! OS, it seemed to work fine. Are you perhaps missing package python3-venv
?
This is what I see:
By the way, that video is slightly old. You can also build Windows Classic and Watercolor/Professional now with:
./packthem.sh native professional luna/blue
and install the outputted packages.
What fixed it for me was installing python3-venv and then deleteing from xfce-winxp-tc/tools/bldtheme/.venv
Thanks for the info - I guess the question is why the CMake plowed on despite the venv not building. I'll probably give it a look whilst I work on #140
What fixed it for me was installing python3-venv and then deleteing from xfce-winxp-tc/tools/bldtheme/.venv
that helped me! but I also needed to add the command sudo apt install ruby-sass
error for the developer before I installed sass:
./xfce-winxp-tc/packaging/deb/themes/packthem.sh luna/blue [ 33%] Generating /home/john/Documents/xfce-winxp-tc/tools/bldtheme/.venv Collecting pillow Using cached Pillow-9.5.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB) Installing collected packages: pillow Successfully installed pillow-9.5.0 [ 33%] Built target venv-setup [ 66%] Generating composed [ 66%] Built target resources-gtk2 [100%] Generating gtk.css make[2]: SASS-NOTFOUND: No such file or directory make[2]: [CMakeFiles/theme-gtk3.dir/build.make:74: gtk.css] Error 127 make[1]: [CMakeFiles/Makefile2:139: CMakeFiles/theme-gtk3.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 dpkg-deb: error: failed to open package info file '/home/john/Documents/build/out/DEBIAN/control' for reading: No such file or directory Failed to build package for luna/blue, moving on...
I've installed python3-venv, which wasn't installed before, to encounter the exact same error unchanged
You most likely need to bin /tools/bldtheme/.venv
because the directory itself is the dependency - if the folder exists then the target will not run.
You most likely need to bin
/tools/bldtheme/.venv
because the directory itself is the dependency - if the folder exists then the target will not run.
That worked, I didn't know there were hidden files so I did ctrl-h and deleted .venv and it built, thanks
Glad to have helped. :grin:
I'm following this guide exactly as done on screen and at https://youtu.be/wKZqrG9GrdI?t=1463 and when he does
./packthem.sh luna/blue
It builds successfully, however when I attempt to do this it reads
[ 33%] Built target venv-setup [ 66%] Generating composed Traceback (most recent call last): File "/home/username/Documents/xfce-winxp-tc/tools/bldtheme/bldtheme.py", line 6, in
from PIL import Image, ImageDraw
ModuleNotFoundError: No module named 'PIL'
make[2]: [CMakeFiles/resources-gtk2.dir/build.make:73: composed] Error 1
make[1]: [CMakeFiles/Makefile2:113: CMakeFiles/resources-gtk2.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
dpkg-deb: error: failed to open package info file '/home/username/Documents/xfce-winxp-tc/packaging/deb/themes/build/out/DEBIAN/control' for reading: No such file or directory
Failed to build package for luna/blue, moving on...
I'm not sure what to do here, I did
sudo apt install python3-pil
successfully but it didnt change anything. I'm doing this on a new install of Pop OS after installing XFCE