After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616277 - Problem installing libpeas
Problem installing libpeas
Status: RESOLVED FIXED
Product: libpeas
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: libpeas-maint
libpeas-maint
Depends on:
Blocks:
 
 
Reported: 2010-04-20 13:00 UTC by Łukasz Jernaś
Modified: 2010-05-30 00:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Autotools should use system introspection macros (7.55 KB, patch)
2010-04-23 07:18 UTC, Łukasz Jernaś
committed Details | Review

Description Łukasz Jernaś 2010-04-20 13:00:39 UTC
Currently you cannot install libpeas under a custom prefix, because of it trying to install introspection data under /usr.

----------------------------------------------------------------------
test -z "/usr/share/gir-1.0" || /bin/mkdir -p "/usr/share/gir-1.0"
 /usr/bin/install -c -m 644 Peas-2.0.gir '/usr/share/gir-1.0'
/usr/bin/install: cannot create regular file `/usr/share/gir-1.0/Peas-2.0.gir': Permission denied
make[2]: *** [install-girDATA] Error 1
make[2]: Leaving directory `/home/deejay1/PRACA/GNOME/libpeas/libpeas'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/deejay1/PRACA/GNOME/libpeas/libpeas'
make: *** [install-recursive] Error 1
Comment 1 Steve Frécinaux 2010-04-22 21:44:42 UTC
Hi!

I think this is because it tries to install the file where pkgconfig tells it to.

The proper fix for that would be to use the gobject-introspection m4 macros in our configure.ac.

Do you want to give it a try?
Comment 2 Łukasz Jernaś 2010-04-23 07:18:40 UTC
Created attachment 159395 [details] [review]
Autotools should use system introspection macros

Here you go.
But please test if introspection works after that, but it builds fine here.
Did I say I hate autotools?
Comment 3 Steve Frécinaux 2010-04-23 08:43:05 UTC
Attachment 159395 [details] pushed as 987bef4 - Autotools should use system introspection macros

Thank you very much! Your patch is now available in libpeas master.
Comment 4 Łukasz Jernaś 2010-04-23 09:09:45 UTC
Gah, this accidentally made a regression of https://bugzilla.gnome.org/show_bug.cgi?id=616559
Working on a fix
Comment 5 Steve Frécinaux 2010-04-23 09:11:36 UTC
I think I fixed that already. I noticed it too after a make clean, I should have checked sooner...
Comment 6 Łukasz Jernaś 2010-04-23 09:16:39 UTC
Yes it did. Thanks, and sorry for not noticing that - it was including the already existing installed PeasUI.gir :/
Comment 7 Steve Frécinaux 2010-04-23 09:30:38 UTC
No problem, everything is fine now :-)