[Mono-dev] cannot create regular file `/.../vbnet.lang': Permission [correctly] denied

Rafael Teixeira monoman at gmail.com
Mon Aug 22 09:43:49 EDT 2005


Well there we are updating gtksourceview language-specs, so we need to
be able to put them in right place in the prefix your gtksourceview
was installed.

Perusing the gtksourceview sources:

http://cvs.gnome.org/viewcvs/gtksourceview/gtksourceview/gtksourcelanguagesmanager.c?rev=1.5.4.1&view=markup

The only other somewhat reliable default address to add the
language-specs is inside the users configuration directory, what would
not make them available to any other user.

The list of language-spec directories is GConf-managed by
gtksourceview, so it is not really suitable to be queried by the
configure script (what would probably keep the problem occuring) or
appended by the install target.

What would mean having to instruct the user to manually configure the
directory. That is probably what you already is having to do with PATH
and PKG_CONFIG_PATH, but there is no suitable env var to change in
this case, so you'd need to click your way around GConf...

Hope it helps,


On 8/22/05, Steven T. Hatton <hattons at globalsymmetry.com> wrote:
> When I
> ./autogen.sh --prefix=$MONO_HOME &&\
>  make && make install
> 
> for gtksourceview-sharp I get an error message saying:
> 
> test -z "/opt/gnome/share/gtksourceview-1.0/language-specs" || mkdir -p --
> "/opt/gnome/share/gtksourceview-1.0/language-specs"
>  /usr/bin/install -c -m 644 'nemerle.lang'
> '/opt/gnome/share/gtksourceview-1.0/language-specs/nemerle.lang'
> /usr/bin/install: cannot create regular file
> `/opt/gnome/share/gtksourceview-1.0/language-specs/nemerle.lang': Permission
> denied
>  /usr/bin/install -c -m 644 'vbnet.lang'
> '/opt/gnome/share/gtksourceview-1.0/language-specs/vbnet.lang'
> /usr/bin/install: cannot create regular file
> `/opt/gnome/share/gtksourceview-1.0/language-specs/vbnet.lang': Permission
> denied
> make[2]: *** [install-extra_langDATA] Error 1
> make[2]: Leaving directory `/download/org/go-mono/gtksourceview-sharp'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/download/org/go-mono/gtksourceview-sharp'
> make: *** [install-recursive] Error 1
> 
> 
> And that is exactly what should happen when an install script tries to write
> to a system directory!  $MONO_HOME is where I said to put the results of the
> build process.  How do I report this bug?
> --
> Regards,
> Steven
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 


-- 
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes. 
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!



More information about the Mono-devel-list mailing list