[MonoDevelop] monodevelop.in [PATCH]
mmorano at mikeandwan.us
Mon Nov 27 17:42:09 EST 2006
That is a great question. Originally I tried using '"', in order to be
consistent with the original approach. However, this did not work, and
looking in the firefox start script on my box, it declares the
exec /usr/libexec/mozilla-launcher "$@"
When I modified this check to use '=' instead of '"', it properly pulled
in the library path (in this case '/usr/lib64/mozilla-firefox') where it
was pulling in 'MOZILLA_LIBDIR=/usr/lib64/mozilla-firefox' when using
the '"' approach.
Now I would bet that different distros opt to specify these environment
variables in different ways and locations, but don't have any other
distros to compare against. In my opinion, this is a fairly fragile
means to obtain this, but am not familiar enough to know if there are
other constructs/facilities that are more reliable (perhaps a pkgconfig
type of call that could obtain this path?)
On Mon, 2006-11-27 at 20:22 +0000, Michael Hutchinson wrote:
> On 11/25/06, Mike Morano <mmorano at mikeandwan.us> wrote:
> > Hello,
> > I was getting an error trying to run monodevelop (from svn), and was
> > producing a stack trace each time I tried to start, which was caused by
> > not finding my mozilla libraries correctly.
> > I'm using gentoo and firefox2, and was able to correct this by modifying
> > the monodevelop.in to pull in the correct library path. The diff is
> > attached.
> A question before committing this -- is cutting on '=' correct, or
> should it be '"'? Will this then be robust across different gentoo
More information about the Monodevelop-list