Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SOLVED] Error in building: Can't copy 'po/*.mo' : doesn't exist or not regular file #2001

Closed
Lowrida opened this issue Jan 11, 2022 · 10 comments · Fixed by #2004
Closed

[SOLVED] Error in building: Can't copy 'po/*.mo' : doesn't exist or not regular file #2001

Lowrida opened this issue Jan 11, 2022 · 10 comments · Fixed by #2004

Comments

@Lowrida
Copy link

Lowrida commented Jan 11, 2022

** For how to run the latest Guake in your computer, please refer to [Install from source]
** (https://guake.readthedocs.io/en/latest/user/installing.html#install-from-source).<
I did..
I ran script bootstrap to install all neccesaries.
Ran 'make', then 'sudo make install' and got the following error:

error: can't copy 'po/*.mo': doesn't exist or not a regular file make: *** [Makefile:93: install-guake] Fout 1

I just got me a new system with Mint 20 (previous was 19) and i wanted the latest quake back. But the installation is not going smooth... i have no clue how to fix this. Appreciating some help.

Thanks

@Davidy22
Copy link
Collaborator

Is there more information above that? What's your version of python and setuptools?

@Lowrida
Copy link
Author

Lowrida commented Jan 11, 2022

Yes ofcourse! This is from start until the error message:

`
install -dm755 "//usr/local/share/applications"
install -Dm644 "/home/admin/.source/guake/guake/data/guake.desktop" "//usr/local/share/applications/"
install -Dm644 "/home/admin/.source/guake/guake/data/guake-prefs.desktop" "//usr/local/share/applications/"
install -dm755 "//usr/local/share/metainfo/"
install -Dm644 "/home/admin/.source/guake/guake/data/guake.desktop.metainfo.xml" "//usr/local/share/metainfo/"
install -dm755 "//usr/local/share/guake/pixmaps"
install -Dm644 "/home/admin/.source/guake/guake/data"/pixmaps/.png "//usr/local/share/guake/pixmaps/"
install -Dm644 "/home/admin/.source/guake/guake/data"/pixmaps/
.svg "//usr/local/share/guake/pixmaps/"
install -dm755 "//usr/local/share/pixmaps"
install -Dm644 "/home/admin/.source/guake/guake/data/pixmaps/guake.png" "//usr/local/share/pixmaps/"
install -dm755 "//usr/local/share/guake"
install -Dm644 "/home/admin/.source/guake/guake/data/autostart-guake.desktop" "//usr/local/share/guake/"
install -dm755 "//usr/local/share/guake"
install -Dm644 "/home/admin/.source/guake/guake/data"/.glade "//usr/local/share/guake/"
install -dm755 "//usr/local/share/glib-2.0/schemas"
install -Dm644 "/home/admin/.source/guake/guake/data/org.guake.gschema.xml" "//usr/local/share/glib-2.0/schemas/"
if [ 1 = 1 ]; then glib-compile-schemas //usr/local/share/glib-2.0/schemas; fi
for f in $(find po -iname "
.mo"); do
l="${f%%.*}";
lb=$(basename $l);
install -Dm644 "$f" "//usr/local/share/locale/$lb/LC_MESSAGES/guake.mo";
done;

you probably want to execute this target with sudo:

sudo make install

#############################################################

Installing from source on your system is not recommended.
Please prefer you application package manager (apt, yum, ...)

#############################################################
running install
running build
running build_py
copying guake/paths.py -> build/lib/guake
copying guake/_version.py -> build/lib/guake
running install_lib
copying build/lib/guake/paths.py -> /usr/local/lib/python3.8/dist-packages/guake
copying build/lib/guake/_version.py -> /usr/local/lib/python3.8/dist-packages/guake
byte-compiling /usr/local/lib/python3.8/dist-packages/guake/paths.py to paths.cpython-38.pyc
byte-compiling /usr/local/lib/python3.8/dist-packages/guake/_version.py to _version.cpython-38.pyc
writing byte-compilation script '/tmp/tmppmbicele.py'
/usr/bin/python3 /tmp/tmppmbicele.py
removing /tmp/tmppmbicele.py
running install_data
`
Python version is 3.8.2
Setuptools version is 45.2.0-1 (i believe, see image)

Schermafdruk van 2022-01-11 18-03-59

@Lowrida
Copy link
Author

Lowrida commented Jan 11, 2022

For some reason the code tags don't work properly...

@Davidy22
Copy link
Collaborator

Davidy22 commented Jan 11, 2022

Some of the latest commits (b2f7570) merged transfer Guake to a new system for version number handling, setuptools_scm. If that's not installed or not working, Guake version won't come out right either. You might need to update setuptools and install setuptools_scm if it somehow wasn't installed already

@Lowrida
Copy link
Author

Lowrida commented Jan 11, 2022

As you can see on the screenshot, it is installed. Or do i need another version? Or the one with "-git" at the end? I'm sorry if that are dum questions, but i have no experience with setuptools or scm or any of that..

@Lowrida
Copy link
Author

Lowrida commented Jan 11, 2022

Upgraded to setuptools 60.x and same error! I don't get it, what am i doing wrong here??

@Lowrida
Copy link
Author

Lowrida commented Jan 12, 2022

What the heck..? I just wanted to check which version i was on and it seems the installation did succeeded after all!?

Guake Terminal: 3.8.2.dev27+g6dc23f3 VTE: 0.60.3 VTE runtime: 0.60.3 Gtk: 3.24.20

@Lowrida Lowrida changed the title Error in building: Can't copy 'po/*.mo' : doesn't exist or not regular file [SOLVED] Error in building: Can't copy 'po/*.mo' : doesn't exist or not regular file Jan 12, 2022
@Davidy22
Copy link
Collaborator

So it's just newer version of setuptools needed, nice to know. I'll close since this is marked as solved, I presume you're able to run as well if you can see the version.

@Davidy22 Davidy22 reopened this Jan 12, 2022
@Davidy22
Copy link
Collaborator

Actually, I think I know what's going on, making a PR

Davidy22 added a commit to Davidy22/guake that referenced this issue Jan 12, 2022
@Lowrida
Copy link
Author

Lowrida commented Jan 12, 2022

To be honest i don't know for sure. Because after the first time the error showed up, i did not check if the new version of guake already worked. I posted the error here and tried a few things, then your solutions.. and late last night i wanted to check what older version i was on when i discovered that i was already on the newer version! So what exactly made it work i don't know.. could be that after the first error it already worked, i just didn't check.

Davidy22 added a commit that referenced this issue Jan 13, 2022
PhungXuanAnh pushed a commit to PhungXuanAnh/guake that referenced this issue Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants