[GRASS-dev] Re: [GRASS-trac] #2: grass-6.2.3 and flex-2.5.34, missing the description.html

GRASS-trac trac at osgeo.org
Wed Jan 9 09:22:32 EST 2008


#2: grass-6.2.3 and flex-2.5.34, missing the description.html
-----------------------+----------------------------------------------------
  Reporter:  stumbles  |       Owner:  neteler    
      Type:  defect    |      Status:  new        
  Priority:  major     |   Milestone:  6.3.0      
 Component:  default   |     Version:  unspecified
Resolution:            |    Keywords:             
-----------------------+----------------------------------------------------
Changes (by neteler):

 * cc: grass-dev at lists.osgeo.org (added)
  * component:  Docs => default

Old 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 at 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

New 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 at 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
 }}}

Comment:

 developers,

 is there any known issue with flex-2.5.34?

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2#comment:1>
GRASS-trac <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list