<br>This is all it had:<br><br><span style="font-family: courier new,monospace;">configure:4862: gcc -std=gnu99 -c -I/usr/local/include -I/usr/local/include conftest.c >&5</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">configure:4862: $? = 0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">configure:4882: result: -std=gnu99</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">configure:4897: checking for bison</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">configure:4913: found /usr/local/bin/bison</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">configure:4924: result: bison -y</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">configure:4941: checking for flex</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">configure:4957: found /usr/local/bin/flex</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">configure:4968: result: flex</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">configure:5005: flex conftest.l</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">./configure: line 5007: /usr/local/bin/flex: Invalid argument</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">configure:5009: $? = 126</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">configure:5011: checking lex output file root</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">configure:5022: error: cannot find output from flex; giving up</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">## ---------------- ##</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">## Cache variables. ##</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">## ---------------- ##</span><br><br>-CC<br>
<br><div class="gmail_quote">On Fri, Jul 30, 2010 at 7:10 AM, Pal Tamas <span dir="ltr"><<a href="mailto:folti@balabit.hu">folti@balabit.hu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Fri, Jul 30, 2010 at 06:46:14AM -0700, Chuck wrote:<br>
><br>
> Trying to build 3.1.1 on Solaris 10 (update 8) so I can enable SQL support.<br>
> I've installed the required version of gcc, bison, flex, and etc.. per the<br>
> INSTALL doc.<br>
><br>
> Here is the error I get: (I've searched google all morning and find tons of<br>
> others with this error but no solution)<br>
><br>
> ./configure --prefix=/usr/local --enable-sql --enable-pcre<br>
> checking for pkg-config... /bin/pkg-config<br>
> checking pkg-config is at least version 0.9.0... yes<br>
> checking for a BSD-compatible install... /usr/local/bin/install -c<br>
> checking whether build environment is sane... yes<br>
> checking for a thread-safe mkdir -p... /usr/local/bin/mkdir -p<br>
> checking for gawk... no<br>
> checking for mawk... no<br>
> checking for nawk... nawk<br>
> checking whether make sets $(MAKE)... yes<br>
> checking for gcc... gcc<br>
> checking for C compiler default output file name... a.out<br>
> checking whether the C compiler works... yes<br>
> checking whether we are cross compiling... no<br>
> checking for suffix of executables...<br>
> checking for suffix of object files... o<br>
> checking whether we are using the GNU C compiler... yes<br>
> checking whether gcc accepts -g... yes<br>
> checking for gcc option to accept ISO C89... none needed<br>
> checking for style of include used by make... GNU<br>
> checking dependency style of gcc... gcc3<br>
> checking for gcc... (cached) gcc<br>
> checking whether we are using the GNU C compiler... (cached) yes<br>
> checking whether gcc accepts -g... (cached) yes<br>
> checking for gcc option to accept ISO C89... (cached) none needed<br>
> checking dependency style of gcc... (cached) gcc3<br>
> checking for gcc option to accept ISO C99... -std=gnu99<br>
> checking for bison... bison -y<br>
> checking for flex... flex<br>
> checking lex output file root... configure: error: cannot find output from<br>
> flex; giving up<br>
><br>
> I am using the following environment vars:<br>
> CXX=g++<br>
> CFLAGS=-I/usr/local/include<br>
> CPPFLAGS=-I/usr/local/include<br>
> CC=gcc<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<br>
> it after, and tried not having it in my PATH at all.<br>
><br>
> Anyone have any ideas?<br>
><br>
> Thx,<br>
> CC<br>
</div></div>Did you check the config.log file? ./configure logs the exact error<br>
messages into this file. Just search for the string<br>
'checking lex output file root'. If it's possible, please send in the<br>
excerpt of config.log from the line containing the 'checking ...'<br>
message to the first '## ---------------------- ##' line.<br>
<font color="#888888"><br>
--<br>
Pal Tamas/Folti<br>
<a href="mailto:folti@balabit.hu">folti@balabit.hu</a><br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br>
<br>
</font></blockquote></div><br>