Opened 4 years ago

Closed 4 years ago

#671 closed defect (fixed)

compiling ERROR: lex.cc No Such File or Directory

Reported by: fxavier Owned by: vliaukevich
Priority: major Milestone:
Component: undecided Version: development
Keywords: Cc:
Complexity: Medium

Description (last modified by dmisev)

I did a brand new installation of Rasdaman, and I got the following error:

Making all in qlparser
make[2]: Entering directory `/home/xavier/Documents/rasdaman_GIT_repo/qlparser'
/bin/bash ../ylwrap lex.ll .c lex.cc -- : -i -I
if [ -e oql.hh ]; then mv oql.hh oql.h ; fi
make  all-am
make[3]: Entering directory `/home/xavier/Documents/rasdaman_GIT_repo/qlparser'
/bin/bash ../ylwrap lex.ll .c lex.cc -- : -i -I
g++ -DHAVE_CONFIG_H -I. -I..    -I/usr/include/postgresql   -I/usr/include/gdal -I /usr/include/  -g3 -gdwarf-2 -O0 -rdynamic  -I/home/xavier/Documents/rasdaman_GIT_repo -I/home/xavier/Documents/rasdaman_GIT_repo/debug -I/home/xavier/Documents/rasdaman_GIT_repo/include  -DSHARE_DATA_DIR=\"/home/xavier/Programas/rasdaman/share/rasdaman/\" -DCONFDIR=\"/home/xavier/Programas/rasdaman/etc/\" -DBINDIR=\"/home/xavier/Programas/rasdaman/bin/\" -DLOGDIR=\"/home/xavier/Programas/rasdaman/log/\" -MT lex.o -MD -MP -MF .deps/lex.Tpo -c -o lex.o lex.cc
g++: error: lex.cc: No such file or directory
g++: fatal error: no input files
compilation terminated. 

The version was the most recent one, and I got the files from GIT repo. Dimitar already looked at it :P

Xavier

Related ticket #412

Attachments (1)

ErrorRasdamanNoFlex.png (173.8 KB) - added by fxavier 4 years ago.
Proof

Download all attachments as: .zip

Change History (4)

comment:1 Changed 4 years ago by dmisev

  • Description modified (diff)
  • Owner changed from dmisev to vliaukevich
  • Status changed from new to assigned

Changed 4 years ago by fxavier

Proof

comment:2 Changed 4 years ago by fxavier

I also found the solution. You need to have the flex installed, along with the Bison. These two softwares need to be validated with the configuration file, and they're not. I guessed the problem, but it could have gone the other way...

comment:3 Changed 4 years ago by dmisev

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.