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: Tatsuro MATSUOKA
Subject: Re: RE: [MXE-Octave]Build Failed on CentOS6.6 64bit
Date: Tue, 16 Jun 2015 08:36:25 +0900 (JST)

----- Original Message -----

> From: Yuji.I 
> To: octave-maintainers
> Cc: 
> Date: 2015/6/15, Mon 21:20
> Subject: Re: RE: [MXE-Octave]Build Failed on CentOS6.6 64bit
> 


 <snip>

>>>>   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".
> 


> /usr/lib64/lib64/pkgconfig/nettle.pc

John already showed (perhaps correct way) how you should do,

*******************************************************

> 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/ . 
> 
>
«  []

Remove the above change and run the mxe-configure with 
'--enable-lib64-directory' option 
*******************************************************

In case the above being failure, I can show the way to dirty hack for 
src/nettle.mk in mxe directory. 

Tatsuro



reply via email to

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