octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RE: [MXE-Octave]Build Failed on CentOS6.6 64bit


From: Yuji.I
Subject: Re: RE: [MXE-Octave]Build Failed on CentOS6.6 64bit
Date: Mon, 15 Jun 2015 05:20:16 -0700 (PDT)

tmacchant wrote
> ----- Original Message -----
> 
>> From: Tatsuro MATSUOKA 
>> To: Yuji.I "octave-maintainers
>> Cc: 
>> Date: 2015/6/15, Mon 12:54
>> Subject: Re: RE: [MXE-Octave]Build Failed on CentOS6.6 64bit
>> 
>> ----- Original Message -----
>> 
>>>  From: Yuji.I 
>>>  To: octave-maintainers
>>>  Cc: 
>>>  Date: 2015/6/15, Mon 11:29
>>>  Subject: Re: RE: [MXE-Octave]Build Failed on CentOS6.6 64bit
>>> 
>>> t macchant wrote
>>>>   ----- Original Message -----
>>>> 
>>>>>   From: Yuji.I 
>>>>>   To: octave-maintainers> Cc: 
>>>>>   Date: 2015/6/15, Mon 10:28
>>>>>   Subject: RE: RE: [MXE-Octave]Build Failed on CentOS6.6 64bit
>>>>> 
>>>>>   JohnD wrote
>>>>>>>    -----Original Message-----
>>>>>>>    From: Tatsuro MATSUOKA [mailto:
>>>>> 
>>>>>>    address@hidden
>>>>> 
>>>>>>    ]
>>>>>>>    Sent: Sunday, June 14, 2015 2:12 AM
>>>>>>>    To: JohnD; 
>>>>> 
>>>>>>    octave-maintainers@
>>>>> 
>>>>>>    ; 'Yuji.I'
>>>>>>>    Subject: Re: RE: [MXE-Octave]Build Failed on CentOS6.6 
>> 64bit
>>>>>>> 
>>>>>>>    ----- Original Message -----
>>>>>>> 
>>>>>>>    > From: JohnD
>>>>>>>    > To: octave-maintainers 'Yuji.I'
>>>>>>>    > Cc:
>>>>>>>    > Date: 2015/6/13, Sat 02:38
>>>>>>>    > Subject: RE: RE: [MXE-Octave]Build Failed on 
>> CentOS6.6 
>>>  64bit
>>>>>>>    >
>>>>>>>    >>
>>>>>>>    >>  Message: 2
>>>>>>>    >>  Date: Fri, 12 Jun 2015 07:43:11 -0700 (PDT)
>>>>>>>    >>  From: "Yuji.I" <
>>>>> 
>>>>>>    using923@
>>>>> 
>>>>>>    >
>>>>>>>    >>  To: 
>>>>> 
>>>>>>    octave-maintainers@
>>>>> 
>>>>>>>    >>  Subject: RE: [MXE-Octave]Build Failed on 
>> CentOS6.6 
>>>  64bit
>>>>>>>    >>  Message-ID: <
>>>>> 
>>>>>>    address@hidden
>>>>> 
>>>>>>> 
>>>>>>>    >>  Content-Type: text/plain; charset=us-ascii
>>>>>>>    >>
>>>>>>>    >>  this is  config.log
>>>>>>>    >>  
>>>>> 
>>>  &lt;http://octave.1599824.n4.nabble.com/file/n4670862/config.log
>>>>>>>    in
>>>>>>>    >> tmp-gnutls/gnutls-3.3.15/
>>>>>>>    >>
>>>>>>>    >>
>>>>>>>    >
>>>>>>>    > Still doesn't look like it is picking up the 
>> path for 
>>>  pkg 
>>>>>   config files.
>>>>>>>    > This is still running with the  change to 
>> Makefile.in ?
>>>>>>>    >
>>>>>>>    > In src/gnutls.mk, modify line 42 to be cd 
>> '$(1)' 
>>>>>   &&
>>>>>>>    > PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig'
>>>>>>>    > ./configure \
>>>>>>>    >
>>>>>>> 
>>>>>>>    Find where your nettle.pc is e.g.
>>>>>>> 
>>>>>>>    $ locate nettle.pc
>>>>>>> 
>>>>>>>    Perhaps two versions of libnettle are installed on your 
>> PC.
>>>>>>>    Specify which nettle.pc is for ver. 2.7 and set 
>>>  PKG_CONFIG_PATH
>>>>>>> 
>>>>>>>    $ export PKG_CONFIG_PATH=(path ver. 2.7 nettle.pc exist
>>>>>>>    ):$PKG_CONFIG_PATH (assuming bash shell)
>>>>>>> 
>>>>>>>    and try mxe-octave.
>>>>>>> 
>>>>>>>    Tatsuro
>>>>>> 
>>>>>>    The correct version of nettle should be installed in
>>>>>>    '$(HOST_LIBDIR)/pkgconfig' as part of the build rule 
>> from 
>>>>>   nettle.mk, so
>>>>>>    should probally check that it was indeed installed :)
>>>>>> 
>>>>>>    export PKG_CONFIG_PATH probably wont work, as part of the 
>>>  makefile.in
>>>>>>    unexports a number of exports as they either may conflict 
>> with mxe
>>>>>>   tools
>>>>>>    or
>>>>>>    are set in Makefile.in
>>>>> 
>>>>>   Thank you for advice,
>>>>>   and Sorry for the late reply...It has installed Libnettle2.7.1, 
>> but it
>>>>>   can't find it. 
>>>> 
>>>>> 
>>>>>   I tried modified line 42 to be 
>>>>>   cd '$(1)' && 
>>>  PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' 
>>>>>   ./configure \
>>>>>   but it falied with the same error.
>>>>> 
>>>>>   I make sure that there is libnettle.so in mxe-octave/usr/lib64/ .
>>>>> 
>>>> 
>>>> 
>>>>>   I make sure that there is libnettle.so in mxe-octave/usr/lib64/ .
>>>> 
>>>>   The problem comes from pkg-config detection so that you have to find 
>> also
>>>>   nettle.pc. 
>>>> 
>>>> 
>>>>   You wrote in the first post:
>>>>>   It has installed Libnettle2.7.1, but it can't find it. 
>>>> 
>>>> 
>>>>   If you install Libnettle2.7.1 with "dev" tools, you must 
>> have 
>>>  nettle.pc
>>>>   for libnettle 2.7.1 in appropriate place.
>>>> 
>>>>   If you cannot find nettle.pc for Libnettle2.7.1, your installation of
>>>>   Libnettle2.7.1 failed 
>>>>   and it might be origin of the error.
>>>> 
>>>>   Tatsuro
>>>> 
>>>>   Tatsuro
>>> 
>>>>   You wrote in the first post: 
>>>>>   It has installed Libnettle2.7.1, but it can't find it.  
>>> 
>>>  Sorry, I wrote misleading sentence.
>>>  I wrote "It" means "MXE-Octave".
>>>  I installed nettle and nettle-devel on system by yum before I sent this
>>>  forum.
>>>  however,  those  have no influence on this matter.
>>> 
>>>  I guess the cause is environmental variable in MXE-Octave
>>>  or unsuitable Makefile (and *.mk files) for CentOS6.6.
>>> 
>> OK. You have installed nettle and nettle-devel but seems to be correctly 
>> recognized from 
>> pkg-config.
>> 
>> John D. pointed out that thing. From your config.log
>> 
>> 
>> configure:8470: checking for NETTLE
>> 
>> configure:8478: $PKG_CONFIG --exists --print-errors "nettle >= 2.7 
>> nettle < 3.0"
>> Package nettle was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `nettle.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'nettle' found
>> Package nettle was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `nettle.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'nettle' found
>> configure:8481: $? = 1
>> configure:8496: $PKG_CONFIG --exists --print-errors "nettle >= 2.7 
>> nettle < 3.0"
>> Package nettle was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `nettle.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'nettle' found
>> Package nettle was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `nettle.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'nettle' found
>> configure:8499: $? = 1
>> No package 'nettle' found
>> No package 'nettle' found
>> configure:8527: result: no
>> configure:8530: error: 
>>   ***
>>   *** Libnettle 2.7.1 was not found. Note that this version of gnutls 
>> doesn't support nettle 3.0.
>> 
>> The above obviously shows that pkg-config does not work correctly. 
>> It must be corrected if you want to improve the situation.
>> Therefore I have sometimes asked you where (a) file(s) nettle.pc is
>> (are). 
>> 
>> 
>> Please search where nettle.pc if you do not know it.  
>> $ find / -name nettle.pc
>> 
>> and show the results here
>> 
>> Tatsuro
> 
> 
> Sorry for separately writing.
> If you find nettle.pc, look into nettle.pc and check the version.
> 
> Tatsuro 

All right, the following shows result with commands as you say.
=====
# find / -name nettle.pc 
/root/mxe-octave/usr/lib64/pkgconfig/nettle.pc
/usr/lib64/lib64/pkgconfig/nettle.pc
/usr/local/lib64/pkgconfig/nettle.pc
=====

All "nettle.pc" contain "Version: 2.7.1".



--
View this message in context: 
http://octave.1599824.n4.nabble.com/MXE-Octave-Build-Failed-on-CentOS6-6-64bit-tp4670812p4670938.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]