thanks for the quick feedback. I can confirm a) that installing libdevel-attr fixed the first compilation problem. For the second one, it looks like I got victimized by the last update in that some packages have automatically been removed from the previous kernels ( The last update changed the kernel to 3.12.62, and I switched it manually back to 3.11, for which the devel-header files where not installed anymore). Anyway, long story short, if I use 3.12.62, the compilation of the kernel module succeeds as well.

Thanks!

Edgar


On 5/3/2017 12:04 PM, James Burton wrote:
We do not test OrangeFS on OpenSUSE, but here are a list of packages we install for the SLES testing. OpenSUSE uses OpenJDK instead of IBM Java, but the rest should be the same.

orangefs_depends: pkg.installed: - skip_suggestions: True - pkgs: - apache2 - apache2-devel - apache2-mod_nss - apache2-mod_python - autoconf - autoconf - automake - automake - bc - bison - boost-devel - dmapi-devel - flex - fuse - fuse-devel - gcc - gcc-c++ - gcc-fortran - gdb - git - iputils - java-1_7_1-ibm - java-1_7_1-ibm-devel - kernel-default - kernel-source - kernel-syms - less - libacl-devel - libaio-devel - libapr1-devel - libapr-util1-devel - libattr-devel - libldap-2_4-2 - libopenssl-devel - libtool - libtool - libuuid-devel - libxml2-devel - make - mdadm - net-tools - nfs-client - nfs-doc - nfsidmap - nfs-kernel-server - nmap - openldap2 - openldap2-back-meta - openldap2-client - openldap2-devel - openssh - openssh-askpass - pam-devel - patch - patchutils - perl - perl-doc - python - python-xml - python-zypp - rpcbind - rsync - subversion - sudo - tar - vim - wget - xfsprogs - xfsprogs-devel - yast2 - yast2-firstboot - zip - zypper

On Wed, May 3, 2017 at 12:53 PM, Martin Brandenburg <[email protected] <mailto:[email protected]>> wrote:

    On Wed, 3 May 2017, Edgar Gabriel wrote:

    > Hi,
    >
    > I am trying to compile orangefs 2.9.6 on our cluster, and face
    multiple
    > issues. The cluster runs OpenSuSE 13.1, kernel 3.11. The precise
    > configure line that I use is:
    >
    >   ./configure CFLAGS=-m64 --prefix=/opt/pvfs2/2.9.6
    > --with-kernel=/usr/src/linux-3.11.10-21/ --enable-shared
    >
    > config.log is attached to the email.
    >
    > ----
    > The first error is during compilation:
    >
    > src/apps/user/ofs_setdirhint.c:14:24: fatal error: attr/xattr.h:
    No such
    > file or directory
    >   #include <attr/xattr.h>
    >                          ^
    > compilation terminated.
    > make: *** [src/apps/user/ofs_setdirhint.o] Error 1
    > make: *** Waiting for unfinished jobs....
    > ---
    >
    > If I change the include statement in that file from
    <attr/xattr.h> to
    > <linux/xattr.h>, the compilation finishes however successfully.

    There is a package you must install.  On Red Hat derived systems it is
    libattr-devel.  On Debian derived systems it is libattr1-dev.

    I'm not sure what it would be on OpenSuSE.  Google hints that it might
    be called libattr-devel there as well.

    > ------
    > The second error occurs when trying to compile the kernel module:
    >
    > crill:~/orangefs-2.9.6 # make kmod
    > make[2]: *** No rule to make target `modules'.  Stop.
    > make[1]: *** [default] Error 2
    > make: *** [just_kmod] Error 2
    >
    > That one I have not been able to fix, any ideas how to resolve this?

    This is more tricky.  I suppose the /usr/src/linux-3.11.10-21
    directory
    exists?  Is there a package you need to install to get kernel headers.
    kernel-devel maybe?

    I've asked some questions around here and determined that we've built
    the module successfully on OpenSuSE in the recent past.

    Martin

    > Thanks
    > Edgar
    >
    >
    >
    _______________________________________________
    Pvfs2-users mailing list
    [email protected]
    <mailto:[email protected]>
    http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
    <http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users>



--
Edgar Gabriel
Associate Professor
Parallel Software Technologies Lab      http://pstl.cs.uh.edu
Department of Computer Science          University of Houston
Philip G. Hoffman Hall, Room 228        Houston, TX-77204, USA
Tel: +1 (713) 743-3857                  Fax: +1 (713) 743-3335
--

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to