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

Install to $PREFIX #70

Closed
guhcampos opened this issue Mar 17, 2016 · 2 comments
Closed

Install to $PREFIX #70

guhcampos opened this issue Mar 17, 2016 · 2 comments
Assignees
Milestone

Comments

@guhcampos
Copy link

Hi guys,

I noticed that even if I do a "./configure --prefix=$HOME", nitrogen's makefile tries to install some files in /usr/share/:

Steps to Reproduce (this was RHEL7):

[gustavo@hostname nitrogen]$./configure --prefix=$HOME/.local > /dev/null && make -j 8 > /dev/null && make install > /dev/null
./configure: line 3781: ++: command not found
gtk-update-icon-cache: Cache file created successfully.
/bin/install: cannot create regular file ‘/usr/share/appdata/nitrogen.appdata.xml’: Permission denied
make[3]: *** [install-appdataDATA] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

@berkley4
Copy link
Contributor

I ran into a similar issue when trying to install to /usr/local. The solution appears to be to edit line 3 in data/Makefile.am as below...

-appdatadir = /usr/share/appdata
+appdatadir = $(datarootdir)/appdata

@daf
Copy link
Member

daf commented Feb 6, 2017

Awesome, thanks @berkley4, will verify!

@daf daf self-assigned this Feb 6, 2017
@daf daf added this to the 1.6.1 milestone Feb 6, 2017
@daf daf closed this as completed in 83bb1c1 Feb 11, 2017
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

No branches or pull requests

3 participants