[Pharo-project] [Moose-dev] Problem loading JNIPort
tudor.girba at gmail.com
Wed Feb 16 19:50:36 CET 2011
Did you manage to get JNIPort working on Pharo 1.2?
On 14 Feb 2011, at 12:16, Tudor Girba wrote:
> Hi Matthias,
> Thanks for reporting. I forwarded the message to the Pharo mailing list as well.
> Can anyone help?
> On 14 Feb 2011, at 12:10, Matthias Junker wrote:
>> i was trying to load JNIPort as described on squeaksource on my Macbook (OS X 10.6.6). I downloaded the latest Pharo 1.2 from Hudson (https://pharo-ic.lille.inria.fr/hudson/view/Pharo/job/Pharo%201.2/) and opened it using SqueakVM 5.8b12. I was able to load Alien using the following command:
>> Gofer it
>> squeaksource:'MetacelloRepository' ;
>> package: 'ConfigurationOfAlien';
>> ((Smalltalk globals classNamed: 'ConfigurationOfAlien')
>> project version: 'Pharo 1.2')
>> load: 'Core'; load: 'LibC
>> Then i loaded the JNIPort Configuration:
>> Gofer it
>> squeaksource: 'JNIPort';
>> package: 'ConfigurationOfJNIPort';
>> But when i load the actual project with this:
>> ConfigurationOfJNIPort project latestVersion load
>> I get the following error in the class StandardLibInterface(AlienLibrary)>>load
>> libraryName: '/System/Library/Frameworks/System.framework/System'
>> errorCode: #'not found'
>> When i check on the file system i find a symbolic link which points to /usr/lib/libSystem.B.dylib (which also exists there).
>> Any hints to what i'm doing wrong?
>> Moose-dev mailing list
>> Moose-dev at iam.unibe.ch
> "In a world where everything is moving ever faster,
> one might have better chances to win by moving slower."
"When people care, great things can happen."
More information about the Pharo-project