[oe-issues] [Bug 2719] lsof_4.78.bb compile fails with missing selinux/selinux.h

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Sun Aug 5 13:31:51 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2719





--- Comment #4 from Stefan Schmidt <stefan at datenfreihafen.org>  2007-08-05 06:31:51 ---
Unfortunately lsof uses a selfmade configure script which does not accept
configure options.

>From .bb:

do_configure () {
    yes | ./Configure ${LSOF_OS}
}

In this Configure script it tries to test for selinux headers before setting
the compile flag:

   # Test for SELinux support.

    if test -r ${LSOF_INCLUDE}/selinux/selinux.h    # {
    then
      LSOF_CFGF="$LSOF_CFGF -DHASSELINUX"
      LSOF_CFGL="$LSOF_CFGL -lselinux"
    fi  # }
    LSOF_DIALECT_DIR="linux"
    LSOF_CFGF="$LSOF_CFGF -D_FILE_OFFSET_BITS=64"
    ;;

So it finds the header during configure but not during compile. *sigh*

I'll take a deeper look tonight.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list