[Xastir-dev] Error in map cache and dbfawk,

Jerry Chamberlin jerryc at netlab.org
Fri Nov 26 20:20:13 EST 2004


I thought I had db 4 on all my machines.

Did a rm -rf xastir and starting rom scratch in case I had some old something
contributing

On Fri, 26 Nov 2004, Tom Russo wrote:

> On Fri, Nov 26, 2004 at 07:35:33PM -0500, we recorded a bogon-computron collision of the <jerryc at netlab.org> flavor, containing:
> > 
> > This stated last weekend.off CVS.
> > 
> > Getting error on one of my xastir boxes.
> 
> > map_cache.c:76:2: #error DB_VERSION_MAJOR < 4
> > map_cache.c:165:2: #error DB_VERSION_MAJOR < 4
> > map_cache.c:281:2: #error DB_VERSION_MAJOR < 4
> 
> This is the real error.
> 
> For whatever reason, configure is finding a version of libdb that has major
> version number less than four, and still tries to use it.  But the code won't
> compile with db version less than four.
> 
> There needs to be another check in configure.ac to reject any version of db
> that has version number less than four and not set USE_MAP_CACHE unless
> a suitable version is found.
> 
> Everything else you quote are harmless warnings that should be cleaned up,
> but aren't the source of your problem.
> 
> To get around this in the meantime, you can do one of several things:
> 
>   1) install db 4.2 if you want map cache to work
> or  2) hack on config.h after you run configure, and undef USE_MAP_CACHE
> or  3) comment out the probe for the db library in configure.ac and rerun
>      bootstrap.  Just look for the line that says "XASTIR_BERKELEY_DB_CHK"
>      and put a "#" at the beginning
> 
> -- 
> Tom Russo    KM5VY     SAR502  DM64ux         http://www.swcp.com/~russo/
> Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://www.qsl.net/~km5vy/
>  "Politics consists of choosing between the disastrous and the unpalatable."
>                                       -- John Kenneth Galbraith
> 

The Net Lab year 2000 and beyond Internet Education is Science
http://www.netlab.org
WA0JRJ - Jerry
used to be ICQ 6408731
used to be AIM PappyJerry




More information about the Xastir-dev mailing list