[brailleblaster] Re: Howto Compile BrailleBlaster for Mac OS X on the Command Line

  • From: Alex Jurgensen <asquared21@xxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Tue, 12 Jul 2011 20:03:18 -0700

Hi John,

Is there a flag to compile them for 32-bit?

I have a 64-bit system, but I have set everything else up as 32-bit, as far as 
BrailleBlaster is concerned.

Sorry for all the basic questions.

Regards,
Alex,


On 2011-07-12, at 7:59 PM, John J. Boyer wrote:

> You just need to copy the libraries from the standard locations into 
> brailleblaster/dist/native/lib 
> 
> John
> 
> On Tue, Jul 12, 2011 at 07:16:22PM -0700, Alex Jurgensen wrote:
>> Hi John,
>> 
>> The part I do not understand is that the documentation for BrailleBlaster 
>> says  to compile the libraries into the "Native" folder, but the 
>> LibLouisUTDML files for building on the Mac expect the libraries to be in 
>> standard locations.
>> 
>> What is the solution?
>> 
>> Regards,
>> Alex,
>> 
>> 
>> On 2011-07-12, at 5:49 PM, John J. Boyer wrote:
>> 
>>> If you have compilations of the liblouis and liblouisutdml libraries for 
>>> your platform the translate subcommand will produce .brl files. 
>>> 
>>> The build files for liblouis-2.dll already work and are in the 
>>> repository. Those for liblouisutdml.dll are also in the repository, but 
>>> I haven't been able to test the dll because it can't find its 
>>> dependencies. I've asked Bert Frees to take a look. As soon as 
>>> liblouisutdmlo.dll works I will activate the open and translate items on 
>>> the BrailleBlaster menu.
>>> 
>>> John
>>> 
>>> On Tue, Jul 12, 2011 at 04:56:27PM -0700, Alex Jurgensen wrote:
>>>> Hi John and All,
>>>> 
>>>> I've been away from the Braille Blaster list for a while, so I have missed 
>>>> some things.
>>>> 
>>>> Fr instance, what exactly works with  Braille Blaster at the moment?
>>>> 
>>>> I need to be able to produce *.brl files for my embosser. Can anyone let 
>>>> me know if this works yet.
>>>> 
>>>> Any help is appreciated.
>>>> 
>>>> Regards,
>>>> Alex,
>>>> 
>>>> 
>>>> On 2011-07-12, at 3:57 PM, John J. Boyer wrote:
>>>> 
>>>>> I'm glad you have it working. We'll make some accommodations for various 
>>>>> platforms in the Java code.
>>>>> 
>>>>> John
>>>>> 
>>>>> On Tue, Jul 12, 2011 at 03:36:44PM -0700, Alex Jurgensen wrote:
>>>>>> Hi,
>>>>>> 
>>>>>> Just to add to my last message, the "Exit" menu  item is redundant on 
>>>>>> Mac OS X.
>>>>>> 
>>>>>> There is a "Quit" menu item in the "Application" Menu.
>>>>>> 
>>>>>> Regards,
>>>>>> Alex,
>>>>>> 
>>>>>> 
>>>>>> On 2011-07-12, at 3:00 PM, John J. Boyer wrote:
>>>>>> 
>>>>>>> I think you just need to get the SWT jar for the Mac and put it in 
>>>>>>> brailleblaster/dist/lib I can't remember the URL offhand. It's too big 
>>>>>>> to send as an attachment.
>>>>>>> 
>>>>>>> John
>>>>>>> 
>>>>>>> On Tue, Jul 12, 2011 at 02:22:05PM -0700, Alex Jurgensen wrote:
>>>>>>>> Hi Crhis,
>>>>>>>> 
>>>>>>>> That fixed it.
>>>>>>>> 
>>>>>>>> However, running "Java jar BrailleBlaster.jar" gives the following:
>>>>>>>> 
>>>>>>>> Exception in thread "main" java.lang.NoClassDefFoundError: jar
>>>>>>>> Caused by: java.lang.ClassNotFoundException: jar
>>>>>>>>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>>>>>>>        at java.security.AccessController.doPrivileged(Native Method)
>>>>>>>>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>>>>>>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>>>>>>>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>>>>>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>>>>>>> Alexs-iMac:dist AlexJ$ 
>>>>>>>> 
>>>>>>>> I'm not sure why this is occuring.
>>>>>>>> 
>>>>>>>> Regards,
>>>>>>>> Alex,
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On 2011-07-12, at 8:44 AM, Chris von See wrote:
>>>>>>>> 
>>>>>>>>> Extracting the BrailleBlaster zip file using Springy gives 
>>>>>>>>> "permission denied" errors on each item in the archive.  However, 
>>>>>>>>> downloading the archive from "www.brailleblaster.org" and using the 
>>>>>>>>> "sudo unzip brailleblaster-1.0.0.zip" command I was able to extract 
>>>>>>>>> the archive, and upon doing so I noticed that the "brailleblaster" 
>>>>>>>>> directory and all of its subdirectories and files have no permissions 
>>>>>>>>> (that is, there are no user/group/world permission bits set).  Using 
>>>>>>>>> "sudo chmod -R" with appropriate permissions fixed the problem.
>>>>>>>>> 
>>>>>>>>> I'm running Mac OS X Leopard.
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Cheers
>>>>>>>>> Chris
>>>>>>>>> 
>>>>>>>>> On Jul 12, 2011, at 7:33 AM, Cheryl Ann Homiak wrote:
>>>>>>>>> 
>>>>>>>>>> There is indeed a problem with the brailleblaster release on the 
>>>>>>>>>> Mac. When I unzipped it in terminal using the zip command, it 
>>>>>>>>>> unzipped but crashed terminal. I could then only remove the 
>>>>>>>>>> resulting brailleblaster directory by using the sudo command. When I 
>>>>>>>>>> tried going into finder and using Unarchiver, I heard "Unarchiver" 
>>>>>>>>>> but never found an open unarchiver window and the brailleblaster zip 
>>>>>>>>>> file seems to now have disappeared from the directory I had it in 
>>>>>>>>>> and no brailleblaster directory was completed. I am using an Intel 
>>>>>>>>>> Mac mini running Snow Leopard and am not generally having problems 
>>>>>>>>>> unpacking zip files either with unzip or Unarchiver. Not only do I 
>>>>>>>>>> have the basic Unix system that comes with the Mac, but I also have 
>>>>>>>>>> Macports and fink installed. To have a compiling problem is one 
>>>>>>>>>> thing but there really shouldn't be a problem with just unzipping a 
>>>>>>>>>> zip file.
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> -- 
>>>>>>>>>> Cheryl
>>>>>>>>>> 
>>>>>>>>>> "Let the words of my mouth,
>>>>>>>>>> and the meditation of my heart,
>>>>>>>>>> be acceptable in thy sight,
>>>>>>>>>> O LORD, my strength and my Redeemer."
>>>>>>>>>> 
>>>>>>>>>> (Psalm 19:14: Bible KJV)
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>>> -- 
>>>>>>> John J. Boyer; President, Chief Software Developer
>>>>>>> Abilitiessoft, Inc.
>>>>>>> http://www.abilitiessoft.com
>>>>>>> Madison, Wisconsin USA
>>>>>>> Developing software for people with disabilities
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>>> -- 
>>>>> John J. Boyer; President, Chief Software Developer
>>>>> Abilitiessoft, Inc.
>>>>> http://www.abilitiessoft.com
>>>>> Madison, Wisconsin USA
>>>>> Developing software for people with disabilities
>>>>> 
>>>>> 
>>>> 
>>> 
>>> -- 
>>> John J. Boyer; President, Chief Software Developer
>>> Abilitiessoft, Inc.
>>> http://www.abilitiessoft.com
>>> Madison, Wisconsin USA
>>> Developing software for people with disabilities
>>> 
>>> 
>> 
> 
> -- 
> John J. Boyer; President, Chief Software Developer
> Abilitiessoft, Inc.
> http://www.abilitiessoft.com
> Madison, Wisconsin USA
> Developing software for people with disabilities
> 
> 


Other related posts: