<div dir="ltr">On Thu, Jul 25, 2013 at 9:50 AM, Roman Bogorodskiy <span dir="ltr"><<a href="mailto:bogorodskiy@gmail.com" target="_blank">bogorodskiy@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">  Jason Helfman wrote:<br>
<br>
> Configure failure on BSD when detecting libssh2. This is the first time I<br>
> have run into this. Has anything changed?<br>
><br>
> configure: error: You must install the libssh2 >= 1.3pkg-config module to<br>
> compile libvirt<br>
> ===>  Script "configure" failed unexpectedly.<br>
> Please report the problem to jgh@FreeBSD.org [maintainer] and attach the<br>
> "/usr/home/jgh/workspace/ports/devel/libvirt/work/libvirt-1.1.1/config.log"<br>
> including the output of the failure of your make command. Also, it might be<br>
> a good idea to provide an overview of all packages installed on your system<br>
> (e.g. a /usr/local/sbin/pkg-static info -g -Ea).<br>
> *** [do-configure] Error code 1<br>
><br>
> Stop in /usr/home/jgh/workspace/ports/devel/libvirt.<br>
> *** [build] Error code 1<br>
><br>
> Stop in /usr/home/jgh/workspace/ports/devel/libvirt.<br>
> [jgh@hatter ~/workspace/ports/devel/libvirt]$ pkg info -l libssh2 |grep pc<br>
>     /usr/local/libdata/pkgconfig/libssh2.pc<br>
><br>
> -jgh<br>
<br>
</div>Never tried to build with libssh2. Just downloaded rc1 now and did:<br>
<br>
./configure --with-ssh2<br>
<br>
and it worked fine for me:<br>
<br>
configure:       ssh2: yes (CFLAGS='-I/usr/local/include  '<br>
LIBS='-L/usr/local/lib -lssh2  -Wl,-rpath=/usr/lib:/usr/local/lib  ')<br>
<br>
Could you provide config.log?<br>
<span class=""><font color="#888888"><br>
Roman Bogorodskiy</font></span></blockquote><div> </div></div></div><div class="gmail_extra">The port builds by default with libssh2, and this is this first issue there has been with it.<br><br></div><div class="gmail_extra">
config.log => <a href="http://people.freebsd.org/~jgh/files/config.log">http://people.freebsd.org/~jgh/files/config.log</a><br></div><div class="gmail_extra">libvirt.shar port => <a href="http://people.freebsd.org/~jgh/files/libvirt.shar">http://people.freebsd.org/~jgh/files/libvirt.shar</a><br>
<br></div><div class="gmail_extra">I added PKG_CONFIG_PATH to CONFIGURE_ARGS to attempt to solve the build issue, as this was noted in ./configure help and was also noted in config.log<br><br></div><div class="gmail_extra">
Thanks!<br></div><div class="gmail_extra">-jgh<br clear="all"></div><div class="gmail_extra"><br>-- <br><div dir="ltr">Jason Helfman          | FreeBSD Committer<br>jgh@FreeBSD.org     | <a href="http://people.freebsd.org/%7Ejgh" target="_blank">http://people.freebsd.org/~jgh</a>  | The Power to Serve<br>
</div>
</div></div>