[Biopython-dev] [Bug 1974] New: Missing flex dependency crashes build with unclear error message "/usr/bin/ld: cannot find -lfl"

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Mar 22 11:36:12 UTC 2006


http://bugzilla.open-bio.org/show_bug.cgi?id=1974

           Summary: Missing flex dependency crashes build with unclear error
                    message "/usr/bin/ld: cannot find -lfl"
           Product: Biopython
           Version: Not Applicable
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: yohell at ifm.liu.se


Biopython depends on flex, which is not mentioned in the docs. 

$ python setup.py build

produces a lot of text and at the end comes:
/usr/bin/ld: cannot find -lfl 
collect2: ld returned 1 exit status 
error: command 'gcc' failed with exit status 1 

A google on "biopython lfl" led me to this post:
http://mail.python.org/pipermail/distutils-sig/2004-March/003795.html

After reading this I installed flex using Synaptic (Ubuntulinux 5.10) and
rebuilt using

$ python setup.py build

with no problem.

The missing flex dependency should be added to the list of required software on
the biopython download page:
http://www.biopython.org/download/

Cheers,
Joel Hedlund




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list