[Pvfs2-users] problem with pvfs2 over diskless cluster
murali.vilayannur at gmail.com
Fri Oct 13 23:20:22 EDT 2006
I am puzzled how that could have happened. :(
Both the trove module and the migrate collections are specified as
server/admin objs/executables, so they have to
use SERVERCFLAGS. I downloaded pvfs2-1.5.1 and tried building exactly
the same way you described and I
am not able to see those errors with a nonstandard db path. Something
with your setup I guess..
> 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 @@
>>> # 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
>> 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.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?
More information about the Pvfs2-users