in reply to PerlObjCBridge with custom perl

I don't use Mac OSX but I do understand module installation under Perl. The following should probably work. Anyway giving it a try will take no more than a minute or two.

You have a 5.8.1 disto. That is binary compatible with 5.8.5 (AFAIK) and I assume that the bridge code is XS/C and has binary component. You need to cut and paste several bits from 5.8.1 to the same locations in 5.8.5.

Here is a simulated install of this module showing what goes where:

[root@devel3 PerlObjCBridge]# make install Installing INSTALL_ROOT/i686-linux/auto/PerlObjCBridge/PerlObjCBridge. +so Installing INSTALL_ROOT/i686-linux/auto/PerlObjCBridge/PerlObjCBridge. +bs Installing INSTALL_ROOT/i686-linux/PerlObjCBridge.pm # this is unnecessary man and book-keeping stuff..... Installing INSTALL_ROOT/man/man3/PerlObjCBridge.3 Writing INSTALL_ROOT/i686-linux/auto/PerlObjCBridge/.packlist Appending installation info to INSTALL_ROOT/i686-linux/perllocal.pod [root@devel3 PerlObjCBridge]#

So I suggest you do a locate on PerlObjCBrige. You should find a .so .bs and .pm relative to your 5.8.1 install root in the locations shown (well probably not i686 ;-) Copy those 3 files into exactly the same path locations relative to your 5.8.5 install root. They will then be found and may/should just work.

cheers

tachyon

Replies are listed 'Best First'.
Re^2: PerlObjCBridge with custom perl
by borisz (Canon) on Aug 29, 2004 at 14:37 UTC
    I know, that I can copy the files, as long as the perl versions are binary compatible. But I search for a real solution. If this is not possible I go and copy the files.
    /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Foundation/Foundat +ion.bs /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Foundation/Foundat +ion.bundle /Library/Perl/5.8.1/darwin-thread-multi-2level/Foundation.pm /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/PerlObjCBridge/aut +osplit.ix /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/PerlObjCBridge/Per +lObjCBridge.bs /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/PerlObjCBridge/Per +lObjCBridge.bundle /Library/Perl/5.8.1/darwin-thread-multi-2level/PerlObjCBridge.pm
    Boris

      Call me a bluff old pragmatist but if it was me I would try copying the files first, and if that works, search for a *real* solution at my leisure. You would be right if you thought it might well end up right on the bottom of the TODO list after a day or two. Given that it is a custom Apple module it may not be freely available. Isn't camelbones supposed to do the same sort of stuff better?

      cheers

      tachyon

        Yes, right. I'm just in a try what is possible to me with OSX phase. I use CamesBones already with great success. After that, I try just some intercation with cocoa without a gui. Thats what PerlObjCBridge does. It makes me angry, if I can not use a perl of my choice and use PerlObjCBridge.
        At the end I copy the files and try to avoid PerlObjCBridge in the future in flavor of CamesBones. Even if CamesBones is often far more than I need.
        Boris