[Pvfs2-users] PVFS v2.8.0 compile problems

Tony Kew tonykew at ccr.buffalo.edu
Mon Mar 2 12:57:01 EST 2009


Dear Phil,

Thanks for the info, the option worked for me with 7.2.1 codebase, for
what its worth.  The 7.8.0 code with my patch works so far (with the very
limited tests I have done.)  I'll be testing over several nodes this 
afternoon,
or tomorrow.

Here is a trivial patch to fix installation for RPM builds that use:
make install DESTDIR=/var/tmp/pvfs-buildroot

--- pvfs-2.8.0/Makefile.in.orig 2009-03-02 11:40:23.000000000 -0500
+++ pvfs-2.8.0/Makefile.in      2009-03-02 11:41:03.000000000 -0500
@@ -1094,7 +1094,7 @@ endif
        install -d $(bindir)
        install -m 755 $(ADMINTOOLS) $(bindir)
        # for compatibility in case anyone really wants "lsplus"
-       ln -s $(bindir)/pvfs2-ls $(bindir)/pvfs2-lsplus
+       ln -s @bindir@/pvfs2-ls $(bindir)/pvfs2-lsplus
        install -m 755 src/apps/admin/pvfs2-config $(bindir)
        @# if we ever auto-generate genconfig, remove the $(srcdir)
        install -m 755 $(srcdir)/src/apps/admin/pvfs2-genconfig $(bindir)


Thanks,
Tony

Tony Kew
SAN Administrator
The Center for Computational Research
New York State Center of Excellence
 in Bioinformatics & Life Sciences
701 Ellicott Street, Buffalo, NY 14203

CoE Office: (716) 881-8930          Fax: (716) 849-6656
CSE Office: (716) 645-3797 x2174
      Cell: (716) 560-0910

"I love deadlines, I love the whooshing noise they make as they go by."
                                                          Douglas Adams



Phil Carns wrote:
> Hi Tony,
>
> I just wanted to mention that the second compile problem that you 
> pointed out is from a code path that gets enabled with the 
> --enable-mmap-racache option.  That particular option is experimental 
> and (as you have found) not well tested.  I would not advise using it 
> in a production setting.
>
> -Phil
>
>>>>> Dear All,
>>>>>
>>>>> The latest release of PVFS v2.8.0 is failing to compile for me 
>>>>> under RHEL5:
>>>>>
>>>>> $ uname -a
>>>>> Linux ramones.ccr.buffalo.edu 2.6.18-128.1.1.el5PAE #1 SMP Mon Jan 
>>>>> 26  14:18:23 EST 2009 i686 i686 i386 GNU/Linux
>>>>> $ ./configure --prefix=/usr --libdir=/usr/lib \
>>>>> --enable-perf-counters --enable-mmap-racache \
>>>>> --enable-fast --enable-shared \
>>>>> --with-kernel=/lib/modules/`uname -r`/build
>>>>>     
>>>> Hi Tony.  I don't have a fix for you but it appears to be a problem
>>>> with '--enable-shared'.  Can you use static libraries until we send
>>>> you a fix? 


More information about the Pvfs2-users mailing list