Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Porting Shakespeare

Porting Shakespeare
Thread Tools
Addicted to MacNN
Join Date: Aug 2000
Location: Retired
Status: Offline
Reply With Quote
Feb 5, 2002, 04:40 AM
 
Has anyone attempted a port of the Shakespeare programing lanquage for Mac OS X? I tried but my skills be limited. Here is the homepage: http://shakespearelang.sourceforge.n...ammingLanguage
Power Macintosh Dual G4
SGI Indigo2 6.5.21f
     
Senior User
Join Date: Jan 2000
Status: Offline
Reply With Quote
Feb 5, 2002, 09:27 AM
 
It wasn't that hard. Mac OS X doesn't include a library that spl needs in order to compile, libfl.a. Get it from ftp.gnu.org, in the directory /gnu/non-gnu/flex. Download the flex-*.*.*.tar.gz file, decompress it, run configure, run make (you may need to edit the Makefile to use cc rather than gcc; I made gcc a symlink to cc, so no issue there), but don't install it. Move or copy libfl.a to /usr/lib, and run ranlib on /usr/lib/libfl.a. Now go into the spl source folder and run make. It should work. The only other issue I ran into was a mispelled filename in the include directory in the spl source folder. Other than that, it works fine.
     
Addicted to MacNN
Join Date: Aug 2000
Location: Retired
Status: Offline
Reply With Quote
Feb 6, 2002, 04:26 AM
 
I followed the above with flex. Now when I try make I get this:

bison --verbose -d
bison: no grammar file given
*** Error code 1
Power Macintosh Dual G4
SGI Indigo2 6.5.21f
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:39 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2