bugDenemo - Bugs: bug #31092, denemo searches for some stuff at...

 
 

bug #31092: denemo searches for some stuff at /usr/share/denemo, regardless of install prefix

Submitter:  None
Submitted:  Mon 20 Sep 2010 09:49:46 PM UTC
   
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 04 Oct 2010 02:18:19 PM UTC, comment #3: 

using the --sysconfdir seems to be the correct solution.

Richard Shann <rshann>
Group administrator
Tue 21 Sep 2010 08:30:33 AM UTC, comment #2: 

Well, I see that on denemo.org it tells us to use --sysconfdir= a local directory. I don't know whether this is standard stuff

Richard Shann <rshann>
Group administrator
Tue 21 Sep 2010 07:43:22 AM UTC, comment #1: 

Worse: I am trying with the latest git and get:
...
make[1]: Entering directory `/home/rshann/git-denemo/localbuild'
make[2]: Entering directory `/home/rshann/git-denemo/localbuild'
test -z "/etc/denemo" || /bin/mkdir -p "/etc/denemo"
 /usr/bin/install -c -m 644 '../denemo/denemo.conf' '/etc/denemo/denemo.conf'
/usr/bin/install: cannot remove `/etc/denemo/denemo.conf': Permission denied
make[2]: * [install-dist_sysconfDATA] Error 1
make[2]: Leaving directory `/home/rshann/git-denemo/localbuild'
make[1]: * [install-am] Error 2
make[1]: Leaving directory `/home/rshann/git-denemo/localbuild'
make: * [install-recursive] Error 1

There have been no changes to the Makefile.am here for quite a while...

Can someone with some autoconf expertise step in and help?

Richard Shann <rshann>
Group administrator
Mon 20 Sep 2010 09:49:46 PM UTC, original submission:  

I have just installed denemo 0.8.18 with the /usr/local prefix.
(This is the default when I build the sources myself with ./configure;make; and install with make install.)

When starting denemo, I get this:

-----------------------------------
GNU Denemo, a gtk+ frontend for GNU Lilypond
(c) 1999-2005, 2009 Matthew Hiller, Adam Tee, and others


This program is provided with absolutely NO WARRANTY; see
the file COPYING for details.

This software may be redistributed and modified under the
terms of the GNU General Public License; again, see the file
COPYING for details.

Version 0_8_18fluidsynth: error: Unable to open file "/usr/share/denemo/soundfonts/A320U.sf2"
fluidsynth: error: Couldn't load soundfont file
fluidsynth: error: Failed to load SoundFont "/usr/share/denemo/soundfonts/A320U.sf2"

* (denemo:4089): WARNING *:
Failed to load the soundfont

-----------------------------------

My point is that it's trying to load stuff from /usr/share/denemo, when it's installed in /usr/local/share/denemo.

This is a debian lenny/squeez/sid hybrid system, but I don't think that matters a lot.

I have tried both 0.8.18 and the upcoming 0.8.20 from SVN, and both version had the same behavior.

As a work-around, I just symlinked /usr/share/denemo to /usr/local/share/denemo on my system, and this made this error disappear, but I think this should be fixed.

Thank you:

    Kristof


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rshann (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-08-11 rshann StatusInvalid Fixed
        Open/ClosedOpen Closed
    2010-10-04 rshann StatusNeed Info Invalid
    2010-09-21 rshann Severity4 - Important 2 - Minor
        StatusNone Need Info
    2010-09-21 rshann Severity3 - Normal 4 - Important

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code