Bug 2654 - Dbus doesn't honor build/install prefix for monodocs.
Summary: Dbus doesn't honor build/install prefix for monodocs.
Status: RESOLVED WONTFIX
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Joe Shaw
QA Contact:
URL: http://amd.store20.com/files/2005-Q1/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-05 17:14 UTC by Priit Laes (irc: plaes)
Modified: 2006-08-10 12:31 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Fix prefixed installation for mono docs. (1.23 KB, patch)
2005-08-17 22:28 UTC, Priit Laes (irc: plaes)
Details | Splinter Review
patch to make monodoc stuff install to $prefix (1.21 KB, patch)
2005-08-18 15:30 UTC, Brent Smith
Details | Splinter Review

Description Priit Laes (irc: plaes) 2005-03-05 17:14:27 UTC
make[3]: Nothing to be done for `install-exec-am'.
install -d -m 755 /`monodoc --get-sourcesdir`
make[3]: Leaving directory `/home/dma/microtinder/cvs/dbus/mono/doc'
make[2]: Leaving directory `/home/dma/microtinder/cvs/dbus/mono/doc'
make[1]: Leaving directory `/home/dma/microtinder/cvs/dbus/mono'
install: cannot change permissions of `//usr/lib/monodoc/sources': Operation not
permitted
make[3]: *** [install-data-local] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
Comment 1 Colin Walters 2005-06-15 21:51:34 UTC
Don't know much about monodoc, giving this one to Joe.
Comment 2 Brent Smith 2005-07-19 04:25:13 UTC
this is particularly annoying in jhbuild, since it sets the prefix using the
autotools packages, and ends up causing my build to fail everytime:  The problem 
is in the Makefile.am file in the mono/docs/ directory.

install-data-local:
  install -d -m 755 $(DESTDIR)/`monodoc --get-sourcesdir`
  install -m 644 $(srcdir)/dbus-sharp-docs.source $(DESTDIR)/`monodoc
--get-sourcesdir`
  install -m 644 dbus-sharp-docs.tree $(DESTDIR)/`monodoc --get-sourcesdir`
  install -m 644 dbus-sharp-docs.zip $(DESTDIR)/`monodoc --get-sourcesdir`

uninstall-local:
  rm -f $(DESTDIR)/`monodoc --get-sourcesdir`/dbus-sharp-docs.source
  rm -f $(DESTDIR)/`monodoc --get-sourcesdir`/dbus-sharp-docs.tree
  rm -f $(DESTDIR)/`monodoc --get-sourcesdir`/dbus-sharp-docs.zip

I always end up changing $(DESTDIR) to $(prefix) in the generated Makefile

This should be changed to use the autotools methods for installing/uninstalling
somehow.
Comment 3 Brent Smith 2005-07-20 06:44:02 UTC
Created attachment 3110 [details]
xorg-6.8.2-r1 dual works

Would something like this be ok?  this seemed to fix the problem for me.
Comment 4 Priit Laes (irc: plaes) 2005-08-16 01:05:53 UTC
Uhm.. attached patch has gone missing somehow :(
Comment 5 Priit Laes (irc: plaes) 2005-08-17 22:28:01 UTC
Created attachment 2915 [details] [review]
Fix prefixed installation for mono docs.

Mirrored here:
http://amd.store20.com/files/2005-Q3/dbus-monodoc-prefix-fix.patch
Comment 6 Brent Smith 2005-08-18 15:30:20 UTC
Created attachment 2919 [details] [review]
patch to make monodoc stuff install to $prefix

Is there any reason why something like this wouldn't work?
Comment 7 John (J5) Palmieri 2006-08-10 12:31:32 UTC
The mono bindings are no longer supported.  


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.