Re: [AMBER-Developers] bz2 configure error report

From: Ruxi Qi <ruxiq.uci.edu>
Date: Fri, 24 Mar 2017 10:38:21 -0700

Just tested. I think it's much better now.

Ruxi


On Mar 24, 2017 7:09 AM, "Daniel Roe" <daniel.r.roe.gmail.com> wrote:

I've tried to make the output from the zlib/bzlib checks nicer. Check
it out and see if you like it.

-Dan

On Thu, Mar 23, 2017 at 6:48 PM, Ruxi Qi <ruxiq.uci.edu> wrote:
> Yes that's what I mean.
>
> Ruxi
>
>
> On 3/23/17 15:35, Jason Swails wrote:
>> It seems that configure did what it was supposed to, but the compiler
errors it encountered in determining that libbz2 is not available led to
the concern that something went wrong when it didn't.
>>
>> If configure directed stderr to /dev/null for that command, this
misunderstanding would not have happened.
>>
>> To reiterate, nothing is WRONG, just misleading.
>>
>> All the best,
>> Jason
>>
>> --
>> Jason M. Swails
>>
>>> On Mar 23, 2017, at 6:18 PM, Hai Nguyen <nhai.qn.gmail.com> wrote:
>>>
>>> I am confused. What do you mean about
>>>
>>> "was not properly handled"
>>>
>>> Hai
>>>
>>>> On Thu, Mar 23, 2017 at 6:05 PM Ruxi Qi <ruxiq.uci.edu> wrote:
>>>>
>>>> Yes, it's only shown on configure check. I don't know which part is
>>>> using it.
>>>>
>>>> Ruxi
>>>>
>>>>
>>>>> On 3/23/17 14:44, Hai Nguyen wrote:
>>>>> I am confusing. That mean missing bz2 won't affect your installation
and
>>>> I
>>>>> think it's intended.
>>>>>
>>>>> I am not sure about strong usage of this libbz2 if we already
recommend
>>>>> people to
>>>>> use netcdf format.
>>>>>
>>>>> Hai
>>>>>
>>>>>> On Thu, Mar 23, 2017 at 5:38 PM, Ruxi Qi <ruxiq.uci.edu> wrote:
>>>>>>
>>>>>> No, it doesn't affect the following build. Just too explicit errors.
>>>>>>
>>>>>> Ruxi
>>>>>>
>>>>>>
>>>>>>> On 3/23/17 13:05, Hai Nguyen wrote:
>>>>>>> Does the cònigure exit? The log says
>>>>>>>
>>>>>>> libbz2 Not found; this feature will be disabled.
>>>>>>>
>>>>>>> Hai
>>>>>>>
>>>>>>>> On Thu, Mar 23, 2017 at 3:59 PM Ruxi Qi <ruxiq.uci.edu> wrote:
>>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> FYI, seems the bz2 checking error was not properly handled if
there is
>>>>>>>> no bz2 lib. We happened to notice this on our server without bz2
>>>>>> installed.
>>>>>>>> Checking for libbz2:
>>>>>>>> gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
>>>> -DBINTRAJ
>>>>>>>> -DHASGZ -lbz2 -o testp testp.c
>>>>>>>> testp.c:2:19: error: bzlib.h: No such file or directory
>>>>>>>> testp.c: In function 'main':
>>>>>>>> testp.c:4: error: 'BZFILE' undeclared (first use in this function)
>>>>>>>> testp.c:4: error: (Each undeclared identifier is reported only once
>>>>>>>> testp.c:4: error: for each function it appears in.)
>>>>>>>> testp.c:4: error: 'infile' undeclared (first use in this function)
>>>>>>>> libbz2 Not found; this feature will be disabled.
>>>>>>>>
>>>>>>>> Best,
>>>>>>>>
>>>>>>>> Ruxi
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> AMBER-Developers mailing list
>>>>>>>> AMBER-Developers.ambermd.org
>>>>>>>> http://lists.ambermd.org/mailman/listinfo/amber-developers
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> AMBER-Developers mailing list
>>>>>>> AMBER-Developers.ambermd.org
>>>>>>> http://lists.ambermd.org/mailman/listinfo/amber-developers
>>>>>> _______________________________________________
>>>>>> AMBER-Developers mailing list
>>>>>> AMBER-Developers.ambermd.org
>>>>>> http://lists.ambermd.org/mailman/listinfo/amber-developers
>>>>>>
>>>>> _______________________________________________
>>>>> AMBER-Developers mailing list
>>>>> AMBER-Developers.ambermd.org
>>>>> http://lists.ambermd.org/mailman/listinfo/amber-developers
>>>>
>>>> _______________________________________________
>>>> AMBER-Developers mailing list
>>>> AMBER-Developers.ambermd.org
>>>> http://lists.ambermd.org/mailman/listinfo/amber-developers
>>>>
>>> _______________________________________________
>>> AMBER-Developers mailing list
>>> AMBER-Developers.ambermd.org
>>> http://lists.ambermd.org/mailman/listinfo/amber-developers
>> _______________________________________________
>> AMBER-Developers mailing list
>> AMBER-Developers.ambermd.org
>> http://lists.ambermd.org/mailman/listinfo/amber-developers
>
>
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers



--
-------------------------
Daniel R. Roe
Laboratory of Computational Biology
National Institutes of Health, NHLBI
5635 Fishers Ln, Rm T900
Rockville MD, 20852
https://www.lobos.nih.gov/lcb
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Fri Mar 24 2017 - 11:00:02 PDT
Custom Search