denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Denemo-devel] [bug #31102] Compiling problems- seems to be missing ./ac


From: anonymous
Subject: [Denemo-devel] [bug #31102] Compiling problems- seems to be missing ./actions/menus/MainMenu/ModeMenu/MIDI/CheckPitches
Date: Wed, 22 Sep 2010 19:37:16 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10

URL:
  <http://savannah.gnu.org/bugs/?31102>

                 Summary: Compiling problems- seems to be missing
./actions/menus/MainMenu/ModeMenu/MIDI/CheckPitches
                 Project: GNU Denemo, a gtk+ frontend to GNU Lilypond
            Submitted by: None
            Submitted on: Wed 22 Sep 2010 07:37:16 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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,




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31102>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]