Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] bwctl mis-sets CFLAGS with --with-I2util

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] bwctl mis-sets CFLAGS with --with-I2util


Chronological Thread 
  • From: Aaron Brown <>
  • To: Tim Smith <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] bwctl mis-sets CFLAGS with --with-I2util
  • Date: Fri, 10 Apr 2015 18:13:42 +0000
  • Accept-language: en-US
  • Authentication-results: tim-smith.us; dkim=none (message not signed) header.d=none;

Hey Tim,

Does this patch work for you:
http://ndb1.internet2.edu/~aaron/i2util_fix.patch

There was some underlying logic in how the I2util_dir variable got populated

Cheers,
Aaron

> On Apr 6, 2015, at 7:08 PM, Tim Smith
> <>
> wrote:
>
> Hi; I'm a maintainer of the Homebrew package management system for OS
> X. When building bwctl 1.5.4, running
>
> ./configure --with-I2util=/usr/local/opt/i2util
>
> mis-sets CFLAGS; -I/usr/local/opt/include is added to CFLAGS instead
> of -I/usr/local/opt/i2util/include. (LDFLAGS is set correctly.)
>
> The patch below resolves the issue.
>
> Thanks,
> Tim Smith
>
> diff --git a/configure.ac b/configure.ac
> index 0fb66a5..2de2e55 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -164,7 +164,7 @@ else
> *) I2util_dir="`pwd`/$I2util_dir" ;;
> esac
> LDFLAGS="-L$with_I2util/lib $LDFLAGS"
> - CFLAGS="-I$I2util_dir/include $CFLAGS"
> + CFLAGS="-I$with_I2util/include $CFLAGS"
> fi
> AC_SEARCH_LIBS([I2AddrByNode],I2util, ,AC_MSG_ERROR([Couldn't
> find I2util library]))
> AC_CHECK_HEADERS([I2util/util.h I2util/conf.h],
> ,AC_MSG_ERROR([Couldn't find I2util header files]),
> [AC_INCLUDES_DEFAULT])




Archive powered by MHonArc 2.6.16.

Top of Page