[LLVMdev] 2.0-prerelease build errors

Reid Spencer rspencer at reidspencer.com
Thu May 17 15:52:31 PDT 2007


On Thu, 2007-05-17 at 15:15 -0700, Tanya M. Lattner wrote:
> > llvm[2]: Flexing FileLexer.l
> > llvm[2]: Bison of FileParser.y SKIPPED -- bison not found
> > llvm[2]: Compiling FileLexer.cpp for Release build
> > /usr/home/emil/llvm-2.0/utils/TableGen/FileLexer.l:34:24: FileParser.h: No such file or directory
> >
> > Is this a packaging issue where FileParser.h was omitted
> > from the tarball, or does LLVM *need* bison in order to build?
> 
> No, bison should not be required. You have found a bug in our Makefiles.

That bug has now been fixed on the release_20 branch and on mainline.
Its only been tested on Linux. I would appreciate some verification on
other hosts.

Thanks,

Reid.
> 
> > With bison installed, the build gets past TableGen but breaks later:
> > gmake[2]: Entering directory `/usr/home/emil/objdir/tools/opt'
> > /usr/home/emil/llvm-2.0/Makefile.rules:1021: *** multiple target patterns.  Stop.
> >
> > This is because $(ProjLibsPaths) contains:
> > "/usr/home/emil/objdir/Release/bin/llvm-config llvm-config: Perl not
> > found so llvm-config could not be generated"
> >
> > Should configure also error out if perl isn't installed?
> 
> Yes. Reid has changed this so that perl is now required.
> 
> Thanks so much for reporting these!
> 
> -Tanya
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list