denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Denemo on MacOS


From: Jeremiah Benham
Subject: Re: [Denemo-devel] Denemo on MacOS
Date: Tue, 31 Mar 2009 08:37:09 -0500

My question is should we make a separate autogen.sh file or provide some
sort of switch:

if [ LINUX ]
  then 
    aclocal $ACLOCAL_FLAGS .......
fi

if [ DARWIN ]
   then 
    aclocal $ACLOCAL_FLAGS .......
fi

I just don't know how to tell if it is LINUX or DARWIN.


Jeremiah 

On Sat, 2009-03-28 at 15:21 +0100, Nils Gey wrote:
> This is a chatlog about compiling Denemo on MacOS.
> 
> 11:42 ( blooplete ) hello all
> 11:42 ( blooplete ) I'm about to try denemo on OS X
> 
> 12:16 ( blooplete ) prereqs for compile are the xcode sdk, macports
> 12:17 ( blooplete ) 1) modify ./autogen.sh so line 2 goes from "aclocal 
> $ACLOCAL_FLAGS -I m4 -I /usr/share/aclocal && \" to "aclocal $ACLOCAL_FLAGS 
> -I m4 -I
>                     /usr/share/aclocal -I /opt/local/share/aclocal && \"
> 12:17 ( blooplete ) change line 4 from "libtoolize" to "glibtoolize"
> 12:19 ( blooplete ) change configure.in to add "AM_PROG_CC_C_O" after 
> "GUILE_FLAGS"
> 
> 12:19 ( blooplete ) then run "sudo port install gtk2" and "sudo port install 
> guile
> 
> 12:42 ( blooplete ) is it just possible to add ifdefs or the equivalent in 
> the places it's needed in the config files and then add stuff to INSTALL to 
> let
>                     people know the deps they'll need to compile?
> 12:42 ( blooplete ) I'll definitely try and get an .app or something going 
> though so people don't have to mess with the source
> 
> 12:44 ( blooplete ) right now I'm just getting guile to install
> 12:46 ( blooplete ) the reason for the libtool and glibtool stuff is that the 
> "libtool" executable on OS X is quite a bit different to the GNU libtool
>                     executable, which is the one you want
> 12:46 ( blooplete ) I can't remember if it's preinstalled or I installed it, 
> but I have a glibtool that does what we want
> 12:47 ( blooplete ) ok so guile is installed, just finding and installing 
> 'aubio' now
> 12:53 ( blooplete ) macports has it and it's installing it now
> 
> 13:12 ( blooplete ) ok so aubio is installed, I'm installing portaudio 
> through macports now
> 13:13 ( blooplete ) ok I'm now running make!
> 13:14 ( blooplete ) hmm
> 13:14 ( blooplete ) file.c:36:40: error: malloc.h: No such file or director
> 13:14 ( blooplete ) and file.c: In function ‘open_for_real’:
> 13:14 ( blooplete ) file.c:252: warning: passing argument 3 of 
> ‘g_object_set_data’ makes pointer from integer without a cast
> 13:15 ( blooplete ) I'll have a look
> 13:17 ( blooplete ) ok, on osx, you need to do #include <sys/malloc.h> 
> instead of #include <malloc.h>
> 13:18 ( blooplete ) actually it's best to find and replace <malloc.h> with 
> <sys/malloc.h>
> 13:23 ( blooplete ) ok I got denemo running on OS X!
> 13:24 ( blooplete ) I do get a bunch of warnings on the terminal though
> 13:25 ( blooplete ) also it pops up with a some icons cannot be loaded 
> warning on startup
> 13:55 ( blooplete ) ok later
> 13:55 ( blooplete ) all
> 13:55 ( blooplete ) I'm going to finish getting timidity working tomorrow 
> most probaby
> 
> 
> 
> 
> 





reply via email to

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