Opened 17 years ago

Last modified 17 years ago

#2 closed defect

grass-6.2.3 and flex-2.5.34, missing the description.html — at Initial Version

Reported by: stumbles Owned by: neteler
Priority: major Milestone: 6.4.0
Component: Default Version: unspecified
Keywords: Cc: grass-dev@…
CPU: Unspecified Platform: Unspecified

Description

Using gcc-4.2.2, glibc-2.7 and flex-2.5.34. The make goes fine till it gets to generating HTML manual pages and fails with;

Following modules are missing the 'description.html' file in src code:


GRASS GIS compilation log


Started compilation: Thu Dec 27 06:56:30 EST 2007 -- Errors in: /usr/src/grass-6.2.3/lib/db/sqlp /usr/src/grass-6.2.3/db/drivers/dbf /usr/src/grass-6.2.3/db/drivers/postgres /usr/src/grass-6.2.3/db/drivers/ogr -- Finished compilation: Thu Dec 27 06:57:17 EST 2007 (In case of errors please change into the directory with error and run 'make') make: * [default] Error 1

So I cd to /usr/src/grass-6.2.3/lib/db/sqlp and run make which then gives;

root@sidney /usr/src/grass-6.2.3/lib/db/sqlp # make flex lex.l lex.l:35: bad character: % lex.l:35: unknown error processing section 1 lex.l:35: unknown error processing section 1 lex.l:35: bad character: 1 lex.l:35: bad character: 2 lex.l:35: bad character: 0 lex.l:35: bad character: 0 make: * [lex.yy.c] Error 1

The remaining directories /usr/src/grass-6.2.3/db/drivers/dbf, /usr/src/grass-6.2.3/db/drivers/postgres and /usr/src/grass-6.2.3/db/drivers/ogr fail on the make because it cannot find;

/usr/bin/ld: cannot find -lgrass_sqlp collect2: ld returned 1 exit status make: * usr/src/grass-6.2.3/dist.i686-pc-linux-gnu/driver/db/dbf Error 1

The error shown for /usr/src/grass-6.2.3/lib/db/sqlp looks very similar to a recent problem I had with teTeX and flex-2.5.34. A small snip of that particular error looks like;

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.. -I./.. -O2 -march=athlon64 -pipe -c y_tab.c -o y_tab.o

flex -l ./pl.l ./pl.l:68: bad character: % ./pl.l:68: unknown error processing section 1 ./pl.l:68: unknown error processing section 1 ./pl.l:68: bad character: 4 ./pl.l:68: bad character: 0

Change History (0)

Note: See TracTickets for help on using tickets.