Re: [fontforge-users] Announcing LibSpiro - version libspiro_beta.0.3.20150131

Jose Da Silva <[email protected]> Mon, 9 Feb 2015 01:22:09 -0800
Newsgroups gmane.comp.fonts.fontforge.devel
Message-ID <[email protected]>
On February 5, 2015 06:22:53 AM jb wrote:
> Jose Da Silva wrote:
> > On February 5, 2015 12:54:04 AM luigi scarso wrote:
> >> takes 0m11.666s
> >> to install libsipro on my notebook.
> > 
> > I think jon may be running an old sgi, so some things like autoconf
> > and automake may be very, very, outdated, but... no clues were given.
> 
> I finally got it to build by specifying c99 and hacking away at some
> errors but this is ridiculous. The docs are awful and totally
> non-informative. Having to struggle through a simple operation is
> indicative of a total lack of care and/or q/c.

I added a bunch of fixes based on a combination of your error messages, 
using ./configure CC=c89 and trying a compiler that's even older than yours.

My older compiler didn't complain about the errors you listed, therefore I 
think I caught all of them if you listed all of them:
cc-1241 cc: ERROR File = spiro.c, Line = 491
  A declaration cannot appear after an executable statement in a block.
      int i;
      ^
cc-1241 cc: ERROR File = spiro.c, Line = 492
  A declaration cannot appear after an executable statement in a block.
      int ilast;
      ^
etc.....

I'm interested to know if ./configure will stop when it doesn't find hypot() 
or finite() on your machine (without specifying ./configure CC=c99 ).

You'll still need to use CC=c99 for your computer, and even then, I suspect 
your version might not contain both hypot() and finite()/isfinite().
https://github.com/fontforge/libspiro/tree/0v3_using_configure


> I would suggest picking up a cheap Sun box and the Sun compiler (it's
> free for developers) and test this stuff before you send it winging its
> way into the world. Maybe even have someone who doesn't own a Secret
> Decoder Ring run through it first. *Anythign* is betetr than trusting
> gcc and Loonix.

Picking-up a Sun box is out of the question since I'm more interested in 
reducing my computer gear. Adding an old computer that runs about as fast 
as a modern smart phone is not in my plans, and today's Sun is now a part 
of Oracle, so, the current Oracle OS is based on Red Hat Linux, and their 
CPUs are not Sparc AFAIK.


> "Free and Open Source" is lovely and all but if it means "crap that
> doesn't work", then I'll stick with proprietary and commercial. Even
> Mickeeysoft :(

I highly doubt you meant the last paragraph here. :)
There is a difference between dropping libspiro when it first falls over, vs 
plodding through all the errors you encountered until you "finally got it to 
build" :)

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
fontforge-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fontforge-devel
http://fontforge.10959.n7.nabble.com/Developer-f3.html