I have a problem with building SAGE 4.3.1 for linux-powerpc32: checking lex output file root... configure: error: cannot find output from flex; giving up
My distro is Fedora 12 Constantine, I have flex 2.5.35 installed by package management system (Package flex-2.5.35-7.fc12.ppc already installed and latest version) and there's also lex symlink to flex: $ ls -l `which lex` lrwxrwxrwx 1 root root 4 2009-11-18 18:57 /usr/bin/lex -> flex Full output from make: ---------- $ make cd spkg && ./install all 2>&1 | tee -a ../install.log make[1]: Entering directory `/home/douglas/Desktop/SAGE/sage-4.3.1/spkg' base/dir-0.1-install ../data/ ../local/ ../local/etc ../local/lib ../local/bin ../local/include ../tmp/ /home/douglas/Desktop/SAGE/sage-4.3.1/spkg/build installed/ base/prereq-0.6-install Starting prerequisite check. Machine: Linux localhost 2.6.31.12-174.2.3.fc12.ppc #1 Mon Jan 18 19:36:45 UTC 2010 ppc ppc ppc GNU/Linux prereq-0.6/ prereq-0.6/configure prereq-0.6/configure.ac prereq-0.6/Makefile.am prereq-0.6/config.sub prereq-0.6/Makefile.in prereq-0.6/missing prereq-0.6/depcomp prereq-0.6/m4/ prereq-0.6/m4/ax_gxx_version.m4 prereq-0.6/m4/ax_with_perl.4 prereq-0.6/m4/ax_c_check_flag.m4 prereq-0.6/m4/ax_prog_perl_version.m4 prereq-0.6/m4/ax_gcc_version.m4 prereq-0.6/m4/ax_gxx_option.m4 prereq-0.6/m4/ax_gcc_option.m4 prereq-0.6/autom4te.cache/ prereq-0.6/autom4te.cache/output.1 prereq-0.6/autom4te.cache/traces.0 prereq-0.6/autom4te.cache/output.0 prereq-0.6/autom4te.cache/traces.1 prereq-0.6/config.guess prereq-0.6/aclocal.m4 prereq-0.6/config.h.in prereq-0.6/install-sh checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... powerpc-unknown-linux-gnu checking host system type... powerpc-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -E checking for flex... flex checking lex output file root... configure: error: cannot find output from flex; giving up ERROR: You do not have all of the prerequisites needed to build Sage from source. See the errors above. make[1]: *** [installed/prereq-0.6] Error 1 make[1]: Leaving directory `/home/douglas/Desktop/SAGE/sage-4.3.1/spkg' real 0m21.657s user 0m2.805s sys 0m2.803s Error building Sage. ---------- -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org