[torquedev] [Bug 176] torque-4.0.0: HWLOC_CFLAGS and HWLOC_LIBS ignored

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Thu May 3 23:10:54 MDT 2012


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=176

--- Comment #4 from rhys.hill at adelaide.edu.au 2012-05-03 23:10:54 MDT ---
(In reply to comment #3)
> When configure does not find the hwloc.pc file it prints:
> 
> No package 'hwloc' found
> 
> Perhaps you should add the directory containing 'hwloc.pc'
> to the PKG_CONFIG_PATH environment variable.
> 
> Alternatively, you may set the environment variables
> HWLOC_CFLAGS and HWLOC_LIBS before running configure.
> 
> Example:
> export HWLOC_CFLAGS='-I/usr/local/hwloc-1.1/include'
> export HWLOC_LIBS='-L/usr/local/hwloc-1.1/lib -lhwloc'
> 
> Alas, setting HWLOC_CFLAGS and HWLOC_LIBS has absolutely no effect
> since these variables are not referenced in the Makefile.
> 
> - Martin

Hi Martin,

I found the same and have bug180 on this which includes a temporary solution,
and there's a proper solution in bug 179. If you put:

PKG_PROG_PKG_CONFIG

right after LT_INIT in configure.ac, and rerun autogen.sh, the problem should
go away.

Cheers,

Rhys

-- 
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the torquedev mailing list