Re: Bug#179184: ecasound2.2: Global resource file searched in wrong directory (fwd)

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: Bug#179184: ecasound2.2: Global resource file searched in wrong directory (fwd)
From: mlrobot_AT_wakkanet.fi
Date: Thu Apr 24 2003 - 04:20:27 EEST


Reseding more anti-spammed messages...

---------- Forwarded message ----------
Date: Mon, 03 Feb 2003 11:08:48 +0900
From: Junichi Uekawa <dancer_AT_netfort.gr.jp>
To: Kai Weber <kai.weber_AT_glorybox.de>
Cc: Junichi Uekawa <dancer_AT_netfort.gr.jp>, ecasound-list_AT_wakkanet.fi
Subject: Re: Bug#179184: ecasound2.2: Global resource file searched in
    wrong directory

At Mon, 03 Feb 2003 10:48:43 +0900,
Junichi Uekawa wrote:
>
> >
> > do you happen to have /home/bond/.ecasound/ecasoundrc
> > as well ?
>
>
> I've looked at the template, and it was actually obvious.
> It does this:
>
> resource-directory = @prefix@/share/ecasound
>
> and it should be something like
>
> resource-directory = @pkgdatadir@
>
>
> (and it shouldn't be generated in configure, but through makefiles
> with sed.)

Hm.. the following part (in eca-resources.cpp) is probably the most problematic:

ECA_RESOURCES::ECA_RESOURCES(void)
  : resources_found_rep(true)
{
  string ecasound_prefix (ECA_PREFIX);
  string ecasound_resource_path = ecasound_prefix + "/share/ecasound";

I am calling "./configure --datadir=/usr/share/ecasound2.2", so
the assumption that ecasound_resource_path = @prefix@/share/ecasound does not stand.

regards,
        junichi


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Apr 24 2003 - 04:20:29 EEST