It should be possible, in my opinion there must be a way to make it work on mac osx since it has already all the gnu gcc stuff etc.
You will had to experiment with the code, or even try to find the mac precompiled library somewhere on the net,
also you can always try to e-mail the developer of pyliblo and ask him directly (contact info is at the pyliblo homepage http://das.nasophon.de/pyliblo/ )
After working with the author of pyliblo, we were able to come up with the following way to get Pyliblo to successfully compile on my Mac. Turns out the compiler was looking in the wrong place for the liblo header files...so, your mileage may vary, as this may have been a problem specific to my system, but if you’re getting an error about “lo/lo.h” not being found, even though you know you have liblo installed, try this!
That doesn’t help much as when something goes wrong the ending is always the same. So it would be good if you could paste last 10-15 lines of output.
I’m guessing that you don’t have liblo and liblo dev headers installed, but that’s just a guess
src/liblo.c:4530: error: dereferencing pointer to incomplete type src/liblo.c: In function ‘__pyx_tp_clear_5liblo_Bundle’: src/liblo.c:4537: error: dereferencing pointer to incomplete type src/liblo.c:4537: error: dereferencing pointer to incomplete type src/liblo.c:4537: error: dereferencing pointer to incomplete type src/liblo.c:4537: error: dereferencing pointer to incomplete type src/liblo.c:4538: error: dereferencing pointer to incomplete type src/liblo.c: At top level: src/liblo.c:4618: error: invalid application of ‘sizeof’ to incomplete type ‘struct __pyx_obj_5liblo_Bundle’ src/liblo.c:4919: error: invalid application of ‘sizeof’ to incomplete type ‘struct __pyx_obj_5liblo_ServerThread’ src/liblo.c:5065: error: invalid application of ‘sizeof’ to incomplete type ‘struct __pyx_obj_5liblo__Blob’ src/liblo.c:5475: error: conflicting types for ‘__Pyx_WriteUnraisable’ src/liblo.c:1220: error: previous declaration of ‘__Pyx_WriteUnraisable’ was here src/liblo.c:5475: error: conflicting types for ‘__Pyx_WriteUnraisable’ src/liblo.c:1220: error: previous declaration of ‘__Pyx_WriteUnraisable’ was here lipo: can't figure out the architecture type of: /var/folders/wo/wo0VL8qK2RWDt++BYw-WiU+++TI/-Tmp-//ccKCed7r.out error: command 'gcc failed with exit status 1
I installed liblo with mac ports, but I haven’t done anything with liblo dev. I’m trying to find it right now but having some troubles. Just in case, how do I check if liblo, liblo dev, and python-dev are installed?
The first time I tried to install pyliblo, I had liblo installed via macports. I think what made it work was when I installed the latest version (.25 instead of the macports version, .24). Just make sure you uninstall (sudo port uninstall liblo) or deactivate it (sudo port deactvate liblo).
I think what made it work was when I installed the latest version (.25 instead of the macports version, .24).
Ok, I uninstalled .24, but I’m having trouble installing .25.
How exactly did you install it?
I downloaded it from the sourceforge svn.
The instructions say ./configure - but there’s no configure file. I tried renaming configure.ac, but that didn’t work. Obviously I’m missing a step. Any hints?
I just downloaded it and it worked fine for me. Are you sure that you cd into the liblo directory. Also, the configuration file is called, “configure”. If it actually isn’t there, try re-downloading it.
1) Download and unzip liblo .25
2) CD into the directory liblo directory
3) type ./configure
4) type make (may have to be sudo)
5) type make install (will have to be sudo)
After working with the author of pyliblo, we were able to come up with the following way to get Pyliblo to successfully compile on my Mac. Turns out the compiler was looking in the wrong place for the liblo header files...so, your mileage may vary, as this may have been a problem specific to my system, but if you’re getting an error about “lo/lo.h” not being found, even though you know you have liblo installed, try this!