<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - checking for libmnl... no in cross-compile"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1230">1230</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>checking for libmnl... no in cross-compile
</td>
</tr>
<tr>
<th>Product</th>
<td>iptables
</td>
</tr>
<tr>
<th>Version</th>
<td>1.6.x
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Ubuntu
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>iptables
</td>
</tr>
<tr>
<th>Assignee</th>
<td>netfilter-buglog@lists.netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>torque@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Hi, I am trying to cross-compile iptables on Ubuntu for Raspberry Pi because I
need it to cross-compile miniupnpd. I realized that I also need libmnl so I
compiled and `make install` that. It is obviously present in my
/raspi/usr/include/libmnl and /raspi/usr/bin folders. I configured iptables
with
./configure --host=arm-linux-gnueabihf -prefix=/home/tim/raspi/usr
-exec-prefix=/home/tim/raspi/usr --with-tools=no --with-tests=no
--enable-static
this fails with
checking for libmnl... no
*** Error: No suitable libmnl found. ***
Please install the 'libmnl' package
Or consider --disable-nftables to skip
iptables-compat over nftables support.
but the check is not even compiling code, I think the check is checking the
pkg-config.
configure:13029: checking for libmnl
configure:13036: $PKG_CONFIG --exists --print-errors "libmnl >= 1.0"
Package libmnl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libmnl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libmnl' found
configure:13039: $? = 1
configure:13053: $PKG_CONFIG --exists --print-errors "libmnl >= 1.0"
Package libmnl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libmnl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libmnl' found
I'm sure this is done all the time, so it might not be a real bug, just my
ignorance. But any assistance would be much appreciated.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>