[syslog-ng] Solaris 10 Compilation Woes
Pal Tamas
folti at balabit.hu
Fri Jul 30 16:49:06 CEST 2010
On Fri, Jul 30, 2010 at 07:16:38AM -0700, Chuck wrote:
>
> This is all it had:
>
> configure:4862: gcc -std=gnu99 -c -I/usr/local/include -I/usr/local/include
> conftest.c >&5
> configure:4862: $? = 0
> configure:4882: result: -std=gnu99
> configure:4897: checking for bison
> configure:4913: found /usr/local/bin/bison
> configure:4924: result: bison -y
> configure:4941: checking for flex
> configure:4957: found /usr/local/bin/flex
> configure:4968: result: flex
> configure:5005: flex conftest.l
> ./configure: line 5007: /usr/local/bin/flex: Invalid argument
> configure:5009: $? = 126
> configure:5011: checking lex output file root
> configure:5022: error: cannot find output from flex; giving up
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> -CC
Does /usr/local/bin/flex works? Like '/usr/local/bin/flex --help'
displays the help?
Does running '/usr/local/bin/flex conftest.l'* from the command line
generates c source from the .l file? (usually named lex.yy.c or
lexyy.c).
* ./configure's conftest.l contains this on my computer:
----- CUT HERE -----
%%
a { ECHO; }
b { REJECT; }
c { yymore (); }
d { yyless (1); }
e { yyless (input () != 0); }
f { unput (yytext[0]); }
. { BEGIN INITIAL; }
%%
#ifdef YYTEXT_POINTER
extern char *yytext;
#endif
int
main (void)
{
return ! yylex () + ! yywrap ();
}
----- CUT HERE -----
--
Pal Tamas/Folti
folti at balabit.hu
More information about the syslog-ng
mailing list