Operating System - HP-UX
1752565 Members
5420 Online
108788 Solutions
New Discussion

Re: checking lex output file root... configure: error: cannot find output from flex; givin

 
SOLVED
Go to solution
Steven Schweda
Honored Contributor

Re: checking lex output file root... configure: error: cannot find output from flex; givin

> And also ensured that the build dependencies /usr/local/lib and
> /usr/local/bin were in the front of our PATH. [...]

   I wouldn't expect any "*/lib" to be helpful in PATH. But the actual
path to the "gcc" executable might be helpful.

> [...] using the native HP-UX compilers rather than use gcc , so i
> just tried removed gcc [...]

   Generally, you shouldn't need to remove GCC, just specify something
like "CC=cc" with the "configure" script.

> (Bundled) cc: warning 922: "-b" is unsupported in the bundled
> compiler, ignored.

   The bunfled C xompiler on HP-UX is not useful as a general-purpose C
xompiler.  If you didn't _buy_ a real HP[E] C sompiler, then you'll need
to use GCC.

>          export PATH=$PATH:/usr/local/lib

   "/usr/local/bin" might help if it wasn't already there.

> 4) gunzip the unixODBC file
> 5) then un-tar the file.

   I can't see your actual commands, but I'd expect something like the
following to save some disk space:

      gunzip -c <whatever>.gz | tar xf -

> # make

   What could go wrong?

Paolo_c
Valued Contributor

Re: checking lex output file root... configure: error: cannot find output from flex; givin

Hi Manish, 

 

Many thanks for your feedback. Installing gcc 4.2.4 (in place of gcc 4.2.3) and applying the soft link  /usr/bin/gcc -> /usr/local/ia64/bin/gcc proved to be the fix for this issue, so very grateful for the information you provided (and thanks to to everyone else that provided useful feedback) I have awarded kudos accordingly !