<br>Trying to build 3.1.1 on Solaris 10 (update 8) so I can enable SQL support. I've installed the required version of gcc, bison, flex, and etc.. per the INSTALL doc.<br><br>Here is the error I get: (I've searched google all morning and find tons of others with this error but no solution)<br>
<br><span style="font-family: courier new,monospace;">./configure --prefix=/usr/local --enable-sql --enable-pcre</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking for pkg-config... /bin/pkg-config</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking pkg-config is at least version 0.9.0... yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking for a BSD-compatible install... /usr/local/bin/install -c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking whether build environment is sane... yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking for a thread-safe mkdir -p... /usr/local/bin/mkdir -p</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking for gawk... no</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking for mawk... no</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking for nawk... nawk</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking whether make sets $(MAKE)... yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking for gcc... gcc</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking for C compiler default output file name... a.out</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking whether the C compiler works... yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking whether we are cross compiling... no</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking for suffix of executables... </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking for suffix of object files... o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking whether we are using the GNU C compiler... yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking whether gcc accepts -g... yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking for gcc option to accept ISO C89... none needed</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking for style of include used by make... GNU</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking dependency style of gcc... gcc3</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking for gcc... (cached) gcc</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking whether we are using the GNU C compiler... (cached) yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking whether gcc accepts -g... (cached) yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking for gcc option to accept ISO C89... (cached) none needed</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking dependency style of gcc... (cached) gcc3</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking for gcc option to accept ISO C99... -std=gnu99</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking for bison... bison -y</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">checking for flex... flex</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">checking lex output file root... configure: error: cannot find output from flex; giving up</span><br>
<br>I am using the following environment vars:<br><span style="font-family: courier new,monospace;">CXX=g++</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">CFLAGS=-I/usr/local/include</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">CPPFLAGS=-I/usr/local/include</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">CC=gcc</span><br><br>All my open source tools are under /usr/local. <br>
<br>I have tried have /usr/ccs/bin in my PATH before /yusr/local/bin, tried having it after, and tried not having it in my PATH at all.<br><br>Anyone have any ideas?<br><br>Thx,<br>CC<br>