On Thu, Jul 25, 2013 at 9:50 AM, Roman Bogorodskiy <bogorodskiy@xxxxxxxxx> wrote:
--
Jason Helfman wrote:Never tried to build with libssh2. Just downloaded rc1 now and did:
> Configure failure on BSD when detecting libssh2. This is the first time I
> have run into this. Has anything changed?
>
> configure: error: You must install the libssh2 >= 1.3pkg-config module to
> compile libvirt
> ===> Script "configure" failed unexpectedly.
> Please report the problem to jgh@xxxxxxxxxxx [maintainer] and attach the
> "/usr/home/jgh/workspace/ports/devel/libvirt/work/libvirt-1.1.1/config.log"
> including the output of the failure of your make command. Also, it might be
> a good idea to provide an overview of all packages installed on your system
> (e.g. a /usr/local/sbin/pkg-static info -g -Ea).
> *** [do-configure] Error code 1
>
> Stop in /usr/home/jgh/workspace/ports/devel/libvirt.
> *** [build] Error code 1
>
> Stop in /usr/home/jgh/workspace/ports/devel/libvirt.
> [jgh@hatter ~/workspace/ports/devel/libvirt]$ pkg info -l libssh2 |grep pc
> /usr/local/libdata/pkgconfig/libssh2.pc
>
> -jgh
./configure --with-ssh2
and it worked fine for me:
configure: ssh2: yes (CFLAGS='-I/usr/local/include '
LIBS='-L/usr/local/lib -lssh2 -Wl,-rpath=/usr/lib:/usr/local/lib ')
Could you provide config.log?
Roman Bogorodskiy
The port builds by default with libssh2, and this is this first issue there has been with it.
config.log => http://people.freebsd.org/~jgh/files/config.log
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
Thanks!
-jgh
--
Jason Helfman | FreeBSD Committer
jgh@xxxxxxxxxxx | http://people.freebsd.org/~jgh | The Power to Serve
jgh@xxxxxxxxxxx | http://people.freebsd.org/~jgh | The Power to Serve
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list