Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] problem compiling bwctl on a mac

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] problem compiling bwctl on a mac


Chronological Thread 
  • From: "Florio, Christopher N" <>
  • To: Michael Sinatra <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] problem compiling bwctl on a mac
  • Date: Wed, 18 Mar 2015 18:29:13 +0000
  • Accept-language: en-US

Hey Michael,

I'm not following what you put below. Are you saying you installed the
I2util in /usr/local/bwctl first? Then compiled bwctl using that CFLAGS
environment variable set like that?

Thanks!


On Mar 17, 2015, at 5:39 PM, Michael Sinatra
<>
wrote:

> I built the latest bwctl on a FreeBSD system a few days ago. I
> installed it in /usr/local/bwctl, so what I needed to do was:
>
> env CFLAGS+=-I/usr/local/bwctl/include ./configure
> --prefix=/usr/local/bwctl --with-I2util=/usr/local/bwctl
>
> Did you try that?
>
> On 03/17/2015 12:55, Florio, Christopher N wrote:
>> Any other ideas? I'm at a loss here.
>>
>>
>> On Mar 16, 2015, at 4:26 PM, Florio, Christopher N
>> <>
>> wrote:
>>
>>> Yes I had tried that. Is this looking for the path with the .h files or
>>> the libI2util.a or something else?
>>>
>>> It looks like libI2util.a was installed in /usr/local/lib --
>>>
>>> net-v501-00236:bwctl-1.5.3 admin$ ls -la /usr/local/lib | grep libI2util.a
>>> -rw-r--r-- 1 root wheel 227656 Mar 16 11:17 libI2util.a
>>>
>>>
>>> It looks like a set of .h files were installed /usr/local/include/I2util/
>>>
>>> ls -la /usr/local/include/I2util/
>>> total 168
>>> drwxr-xr-x 21 root wheel 714 Mar 16 11:17 .
>>> drwxr-xr-x 5 root wheel 170 Mar 16 11:17 ..
>>> -rw-r--r--@ 1 root wheel 3301 Mar 16 11:17 Pthread.h
>>> -rw-r--r--@ 1 root wheel 5873 Mar 16 11:17 addr.h
>>> -rw-r--r--@ 1 root wheel 3561 Mar 16 11:17 conf.h
>>> -rw-r--r--@ 1 root wheel 4400 Mar 16 11:17 errlog.h
>>> -rw-r--r--@ 1 root wheel 1360 Mar 16 11:17 errlogimmediate.h
>>> -rw-r--r--@ 1 root wheel 1523 Mar 16 11:17 errlogsyslog.h
>>> -rw-r--r--@ 1 root wheel 1666 Mar 16 11:17 hex.h
>>> -rw-r--r--@ 1 root wheel 2536 Mar 16 11:17 hmac-sha1.h
>>> -rw-r--r--@ 1 root wheel 1624 Mar 16 11:17 io.h
>>> -rw-r--r--@ 1 root wheel 1004 Mar 16 11:17 mach_dep.h
>>> -rw-r--r--@ 1 root wheel 1415 Mar 16 11:17 md5.h
>>> -rw-r--r--@ 1 root wheel 2381 Mar 16 11:17 pbkdf2.h
>>> -rw-r--r--@ 1 root wheel 1636 Mar 16 11:17 random.h
>>> -rw-r--r--@ 1 root wheel 3466 Mar 16 11:17 readpassphrase.h
>>> -rw-r--r--@ 1 root wheel 3313 Mar 16 11:17 saddr.h
>>> -rw-r--r--@ 1 root wheel 2892 Mar 16 11:17 sha1.h
>>> -rw-r--r--@ 1 root wheel 1711 Mar 16 11:17 sha1P.h
>>> -rw-r--r--@ 1 root wheel 3386 Mar 16 11:17 table.h
>>> -rw-r--r--@ 1 root wheel 1875 Mar 16 11:17 util.h
>>>
>>>
>>> I've tried both of these with the same error -
>>>
>>> ./configure --with-i2util=/usr/local/include/I2util
>>>
>>> ./configure --with-i2util=/usr/local/lib
>>>
>>> Are the library files some of these or something else that configure is
>>> trying to locate?
>>>
>>> On Mar 16, 2015, at 2:21 PM, Michael Sinatra
>>> <>
>>> wrote:
>>>
>>>>
>>>>
>>>> On 03/16/15 11:09, Florio, Christopher N wrote:
>>>>> Hey all,
>>>>>
>>>>> I'm having no luck compiling bwctl on a mac. I've installed I2util and
>>>>> I'm still getting stuck with this error on configure -
>>>>>
>>>>> configure: error: Couldn't find I2util library
>>>>
>>>> You need to explicitly specify the location of the I2util library, e.g.:
>>>>
>>>> ./configure --with-I2util=</path/to/I2util>
>>>>
>>>> Even so, the configure script can't always find the I2util includes, so
>>>> you may also need to set the environment variable CFLAGS to add
>>>> "-I</path/to/I2util/include>" so that the C compiler finds the includes.
>>>>
>>>> michael
>>>>
>>>
>>
>




Archive powered by MHonArc 2.6.16.

Top of Page