octave-maintainers
[Top][All Lists]
Advanced

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

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


From: John W. Eaton
Subject: Re: [MXE-Octave]Build Failed on CentOS6.6 64bit
Date: Thu, 18 Jun 2015 11:16:18 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0

On 06/14/2015 08:55 AM, JohnD wrote:

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

Right, we should always be using the version of nettle that is built as part of the mxe-octave build process. However, for builds that are not entirely self-contained (using system X11 or fontconfig libraries, for example) I've found that I need to use the following change to the src/octave.mk file so that pkg-config will pick up appropriate pkg-config files:

@@ -132,7 +130,7 @@
         $($(PKG)_QT_CONFIGURE_OPTIONS) \
         $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \
         PKG_CONFIG='$(MXE_PKG_CONFIG)' \
-        PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \
+ PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig:$(HOST_PREFIX)/lib64/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig' \
         && $(CONFIGURE_POST_HOOK)

     ## We want both of these install steps so that we install in the

I think it's likely to always be a bit tricky if we are mixing some system supplied libraries with ones we build ourselves.

jwe





reply via email to

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