martahilmar / gnome-books

Google Summer of Code project for GNOME
Other
51 stars 13 forks source link

Failed to open file 'gnome-books.gresource.xml': No such file or directory #4

Open meunierd opened 10 years ago

meunierd commented 10 years ago

This file doesn't seem to be contained in the src directory and so make fails.

martahilmar commented 10 years ago

For a hotfix try this: cd src/ && glib-compile-resources gnome-books.gresource.xml

meunierd commented 10 years ago

It doesn't seem to make a difference?

ghost commented 10 years ago

For a hotfix try this: cd src/ && glib-compile-resources gnome-books.gresource.xml

Not solve anything, it gives this error: "Failed to open the file «gnome-books.gresource.xml»: There is no such file or directory" As I said Meunierd:

This file doesn't seem to be contained in the src directory

rsriniva commented 10 years ago

Same error here. The xml file is missing

yhvh commented 10 years ago

It seems like the resources directory is missing?

gnome-books.gresource.xml: Failed to locate 'resources/Adwaita.css' in current directory.

yhvh commented 10 years ago

Thanks! Next build error is in the src/Makefile, the error was: make[1]: Entering directory '/home/yhvh/src/gnome-books/src' Makefile:1186: *\ missing separator. Stop.

This was a missing tab at the beginning of line. Dirtyhacks™ fix this for me for now - the next error I get is: make[2]: *\ No rule to make target 'epub-metadata.py', needed by 'all-am'. Stop.

martahilmar commented 10 years ago

I forgot to commit some files, now they are uploaded, so you can try to build it. It should work :). Thanks for the reports.

yhvh commented 10 years ago

Ok, now we're cooking. I should probably start a new bug report for this next issue, but I think it's another case of missing files:

(gjs-console:32608): Gjs-WARNING **: JS ERROR: Error: No JS module 'menu' found in search path @/usr/local/share/books/js/embed.js:28 @/usr/local/share/books/js/mainWindow.js:32 @/usr/local/share/books/js/application.js:42 @/usr/local/share/books/js/main.js:20 @:1

JS_EvaluateScript() failed

ghost commented 10 years ago

Still gives the error in the src/Makefile Makefile:1186: *\ missing separator. Stop. Effectively this was a missing tab at the beginning of line, has spaces instead of a tab. Stops make.

ghost commented 10 years ago

Solved. Changing the spaces to the start of the line 44, of /src/Makefile.am, by a tabulation.

I made the PKGBUILD for ArchLinux, if that's okay, I can post on the AUR repository, so more people will be testing it.

martahilmar commented 10 years ago

Great! Thank you very much for PKGBUILD, that is a good idea :)