Opened 10 years ago

Closed 10 years ago

#671 closed defect (fixed)

compiling ERROR: lex.cc No Such File or Directory

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

Description (last modified by Dimitar Misev)

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 10 years ago.
Proof

Download all attachments as: .zip

Change History (4)

comment:1 by Dimitar Misev, 10 years ago

Description: modified (diff)
Owner: changed from Dimitar Misev to Veranika Liaukevich
Status: newassigned

by fxavier, 10 years ago

Attachment: ErrorRasdamanNoFlex.png added

Proof

comment:2 by fxavier, 10 years ago

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 by Dimitar Misev, 10 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.