On Sun, Jun 6, 2010 at 1:14 AM, Dr. David Kirkby
<david.kir...@onetel.net> wrote:
> I've tried twice to build Sage on a machine in which 'flex' was not in the
> path. It has both times failed with:
>
> make install in Singular
> make[4]: Entering directory
> `/export/home/drkirkby/32/sage-4.4.3/spkg/build/singular-3-1-0-4-20100214/src/Singular'
> sh flexer.sh -I -Pyylp -t libparse.l >libparse.cc.lmp
> flexer.sh: flex: not found
> flexer.sh: test: argument expected
> make[4]: *** [libparse.cc] Error 1
>
>
> So is flex a requirement to build Sage? If it is, then I'll add to the
> 'prereq' script a test for flex. If, which I doubt, it is only needed on
> Solaris, then I'll make the test specific to Solaris.
>
> The Solaris system has 'lex' in the path, and whilst 'flex' comes as part of
> Solaris, it is in a directory (/usr/sfw/bin) which was not in the path on
> this particular attempt at building.
>
> I want to avoid forcing everyone to have flex installed if it is possible to
> build Sage without flex, though I doubt that is the case.

Flex and bison used to be required to build Sage.  But they definitely haven't
been required for years on Linux, etc.   I'm not sure what's going on
with Solaris.

William

>
> Dave
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to