[GRASSLIST:4397] can't compile 5.7

So, I decided to try 5.7, but I can't compile it. I get the codes for 5.3 and
5.7, but it stops with:

d.path
make[2]: Entering directory `/home/guano/.Trash/grass-5.7.0/display/d.path'
gcc -rdynamic -L/home/guano/.Trash/grass-5.7.0/dist.i686-pc-linux-gnu/lib
-L/usr/lib -o
/home/guano/.Trash/grass-5.7.0/dist.i686-pc-linux-gnu/etc/bin/cmd/d.path
OBJ.i686-pc-linux-gnu/main.o OBJ.i686-pc-linux-gnu/select.o -lgrass_display
-lgrass_raster -lgrass_vect -lgrass_dig2 -lgrass_dgl -lgrass_rtree
-lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lgrass_dgl
-lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lz -lm
-lz
/home/guano/.Trash/grass-5.7.0/dist.i686-pc-linux-gnu/lib/libgrass_vect.so:
undefined reference to `V2_close_ogr'
/home/guano/.Trash/grass-5.7.0/dist.i686-pc-linux-gnu/lib/libgrass_vect.so:
undefined reference to `V2_open_old_ogr'
collect2: ld returned 1 exit status
make[2]: ***
[/home/guano/.Trash/grass-5.7.0/dist.i686-pc-linux-gnu/etc/bin/cmd/d.path]
Error 1
make[2]: Leaving directory `/home/guano/.Trash/grass-5.7.0/display/d.path'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/guano/.Trash/grass-5.7.0/display'
make: *** [default] Error 1

I tried to use the snapshot, but get same the error.

Help?

thanks

--
+-------------------------------------------------+
        Carlos Henrique Grohmann - Guano
  Geologist M.Sc - PhD Student at IGc-USP - Brazil
     Linux User #89721 - guano at usp dot br -
+-------------------------------------------------+