bugDenemo - Bugs: bug #31102, Compiling problems- seems to be...

 
 

bug #31102: Compiling problems- seems to be missing ./actions/menus/MainMenu/ModeMenu/MIDI/CheckPitches

Submitter:  None
Submitted:  Wed 22 Sep 2010 07:37:16 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 24 Sep 2010 06:40:28 PM UTC, comment #4: 

If the original author still reads here, please contact me -email is unavailable- or better #denemo on irc.freenode.org or directly as Nils^ there.

I have all cross-compiled but some library and binary location problems in my appbundle, maybe you could help me with this stuff.


-Deleted Account- <steele>
Wed 22 Sep 2010 08:14:46 PM UTC, comment #3: 

BTW I see you specify --prefix
There is a note on denemo.org that you need also to specify --sysconfdir, but perhaps this is only when not installing as root. See http://denemo.org/index.php/Compiling

./configure --prefix=/mypath/ --sysconfdir=/mypath/

Richard Shann <rshann>
Group administrator
Wed 22 Sep 2010 08:00:30 PM UTC, comment #2: 

I have just pushed a fix for the wrong symlink. The other problem you hit will, by chance vanish shortly as the file lyparser.y has just become obsolete.
Be aware that Nils is also trying to build for Mac OSX using GUB.

Richard Shann <rshann>
Group administrator
Wed 22 Sep 2010 07:58:39 PM UTC, comment #1: 

ah,  after trying it again and again, it seems to compile and install now.

oh, and I forgot- you need to install lilypond as well-
$ sudo port install lilypond

now if I can just get the sound to make some noise on my computer...

Anonymous
Wed 22 Sep 2010 07:37:16 PM UTC, original submission:  

Hello
  I'm new to Denemo, and I'm compiling on Snow Leopard on a Mac...  I tried installing it from git Wed, Sept. 22, 2010, and compiling it from source.  I got most of the way through- and now it seems I'm missing a file due to a symlink mishap.

$ git clone git://git.savannah.gnu.org/denemo.git

$ cd denemo

$ sh autogen.sh

This gave me a bunch of dependency errors, so I installed many things using ports...

$ sudo port install qtplay
$ sudo port install guile
$ sudo port install gtksourceview2
$ sudo port install jack
$ sudo port install fluidsynth
$ sudo port install portaudio
$ sudo port install aubio

Next I run

$ sh autogen.sh

$ ./configure --prefix=/opt/local --enable-jack

$ make

This gives me the following error:

gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I../intl -I../include -I../libsmf -I../pixmaps -DLOCALEDIR=\"/opt/local/share/locale\" -DSYSCONFDIR=\"/etc/denemo/\" -DPKGDATADIR=\"/opt/local/share/denemo/\" -DDATAROOTDIR=\"/opt/local/share/\" -DPKGNAME=\"denemo\"   -I/opt/local/include  -g -O2 -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -I/opt/local/include -I/opt/local/include -D_THREAD_SAFE  -I/opt/local/include/libxml2   -D_REENTRANT -I/opt/local/include/gtksourceview-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -D_HAVE_JACK_ -I/opt/local/include   -D_HAVE_FLUIDSYNTH_ -I/opt/local/include   -D_HAVE_PORTAUDIO_ -I/opt/local/include/aubio -I/opt/local/include   -I/opt/local/include   -I/opt/local/include   -MT lyparser.o -MD -MP -MF .deps/lyparser.Tpo -c -o lyparser.o lyparser.c
./lyparser.y:172:20: error: malloc.h: No such file or directory
make[2]: * [lyparser.o] Error 1
make[1]: * [all-recursive] Error 1
make: * [all] Error 2

So the fix for that is to comment out the line 172 in lyparser.y
or replace line 172 with

with

#if !defined(_APPLE_)
   #include <malloc.h>
#endif

The reason for this is that in Snow Leopard, malloc.h is included inside stdlib.h 
Save the file, then try again to make.  Now it seems to work ok and we can move on to

$ sudo make install


and now I get an error-

test -z "/etc/denemo" || ./install-sh -c -d "/etc/denemo"
 /usr/bin/install -c -m 644 denemo.conf '/etc/denemo'
make  install-data-hook
cp -r ./actions opt/local/share/denemo/
cp: ./actions/menus/MainMenu/Educational/MIDI/CheckPitches: No such file or directory
make[3]: * [install-data-hook] Error 1
make[2]: * [install-data-am] Error 2
make[1]: * [install-am] Error 2
make: * [install-recursive] Error 1

After some investigation- it seems that this is a symlink to
./actions/menus/MainMenu/ModeMenu/MIDI/CheckPitches

which doesn't exist- hence the issue.

Please put this file (not a broken symlink) in the correct place in the Git repository.

Thanks,

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 steele (Posted a comment)
  • -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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-04 steele Open/ClosedOpen Closed
    2010-09-22 rshann StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code