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: Mon, 15 Jun 2015 11:02:06 +0900 (JST)

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



reply via email to

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