[Pvfs2-users] problem with pvfs2 over diskless cluster

Wenbin wenbin at cs.unm.edu
Fri Oct 13 10:34:15 EDT 2006


Hi, Murali,

On Fri, 13 Oct 2006, Murali Vilayannur wrote:

> Hi Wenbin,
>> +++ module.mk   2006-10-12 16:35:32.000000000 -0600
>> @@ -17,4 +17,4 @@
>>         $(DIR)/dbpf-sync.c
>> 
>>  # grab trove-ledger.h from handle-mgmt.
>> -MODCFLAGS_$(DIR) = -I$(srcdir)/src/io/trove/trove-handle-mgmt
>> +MODCFLAGS_$(DIR) = -I$(srcdir)/src/io/trove/trove-handle-mgmt 
>> -I/usr/local/BerkeleyDB.4.5/include
>> 
> Didn't you run configure with --with-db option?
> If so you should not need the above
>> 2. src/apps/admin/pvfs2-migrate-collection.c
>> [root at phoenix admin]# diff -u pvfs2-migrate-collection.c.oct12 
>> pvfs2-migrate-collection.c
>> --- pvfs2-migrate-collection.c.oct12    2006-10-12 02:50:15.000000000 
>> -0600
>> +++ pvfs2-migrate-collection.c  2006-10-12 16:38:05.000000000 -0600
>> @@ -24,7 +24,7 @@
>>  #include <dirent.h>
>>  #include <limits.h>
>> 
>> -#include <db.h>
>> +#include "/usr/local/BerkeleyDB.4.5/include/db.h"
> or this..
> i/.e run configure --with-db=/usr/local/BerkeleyDB.4.5/ and things should 
> build fine..
> If not do let us know.

I did run configure with --with-db=/usr/local/BerkeleyDB.4.5, I checked 
the Makefile, SERVERCFLAGS has the include path right, however, those two 
directories still cannot see the db.h. Maybe they do not use SERVERCFLAGS, 
but the normal CFLAGS?

wenbin.

> thanks,
> Murali
>
>


More information about the Pvfs2-users mailing list