I've only recently switched to 10.5 myself, and was surprised to find so 
many problems with libraries and versions. I've been hesitant to 
"fix"portmidi without more experience, especially maintaining 
compatibility with 10.4, although that may be hopeless. If anyone has 
developed a set of "best practices" for configuring libraries such as 
PortMidi, please chime in. Meanwhile, I did get PortMidi working, which 
seems consistent with Erik's statement that the svn head worked, at 
least as a static library. I'll work toward cleaning things up and 
supporting both dylib and static versions.

-Roger

erik flister wrote:
> hey paul-
> i found your project at http://code.haskell.org/PortMidi/.  i've
> downloaded it and am trying to get it working on osx 10.5.7 intel with
> ghc 6.10.3.  when trying to build i get a bunch of errors (attached
> below).
>
> i can build/install portmidi release 82, but not 131, from
> http://sourceforge.net/projects/portmedia/files/, due to
> incompatibilities with osx 10.5 that stephen pope posted to this list.
>  i also tried the svn head (rev 156) at
> https://portmedia.svn.sourceforge.net/svnroot/portmedia.  with that, i
> can build the static .a libraries without errors, but not the .dylib
> (errors attached below).  roger, i was wondering whether you'd have
> time to look into the 10.5 issues?
>
> i think the errors building the haskell bindings might be due to the
> portmidi 10.5 incompatibility, and indeed i can get them to work after
> installing the dylib from release 82 (i don't know how to try the
> static .a's).  i have to make the following changes to the .cabal file
> for it to build and link:
> -comment out the c-sources tag and files
> -add a line "extra-libraries: portmidi"
>
> ...

_______________________________________________
media_api mailing list
[email protected]
http://lists.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to