Has anyone had success running POST on Snow Leopard (Mac OS 10.6)?

Leonid Spektor spektor at andrew.cmu.edu
Thu Jul 22 20:14:07 UTC 2010


J,

	The problem is that gcc on 10.6.4 is trying to create a 64 bit programs. But, post and a few other programs, that read and write binary database files, such as "post.db", need to be in 32 bits. To be more precise, the internal variable size of type "long" has changed from 4 bytes in 32 bit model program to 8 bytes in 64 bit programs. That's what the error message is trying to say. You can see more about this change on web site:

http://developer.apple.com/mac/library/documentation/Darwin/Conceptual/64bitPorting/transition/transition.html

Look for table 2-1.

For now, though, if you can instruct gcc to compile CLAN programs in a 32 bit, then the problem will disappear. I am trying to find a way to do just that, but so far I can't. In a long run, however, we would change the post and other programs to be more resilient, but for now compiling CLAN as a 32 bit programs is the fastest solution.

Leonid.





On Jul 22, 2010, at 13:02, Joyrexus wrote:

> Greetings,
> 
> After downloading, compiling, and installing the clan tools (via the
> latest unix source files) and the english mor database on a new iMac
> running Snow Leopard (10.6.4) we're having issues running post with
> the "post.db" database. All attempts to run post result in the
> following message:
> 
> non-compatible short int size
> 
> We haven't had any issues running post on our Macs running OS X 10.5.
> 
> Wondering if anyone else has encountered this issue or is aware of a
> fix?
> 
> Thanks in advance for any tips/help/suggestions.
> 
> -- J
> 
> -- 
> You received this message because you are subscribed to the Google Groups "chibolts" group.
> To post to this group, send email to chibolts at googlegroups.com.
> To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/chibolts?hl=en.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups "chibolts" group.
To post to this group, send email to chibolts at googlegroups.com.
To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chibolts?hl=en.



More information about the Chibolts mailing list