Re: Currently in freeze for 0.8.8, rc2 available

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/14/11 17:35, Matthias Bolte wrote:
[...]
> 
> Could you run make V=1 to get the full command line that produces this error?
> 
> Either libvirt itself or some other library (via pkg-config) injects a
> '-L /usr/lib64' (instead of '-L/usr/lib64') into the LDFLAGS and
> libtool doesn't like it.
> 
> Matthias

~~~ SNIP ~~~
make[3]: Entering directory `/tmp/libvirt-rc/libvirt-0.8.8/src'
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I /usr/include
- -I../src/conf  -O2 -fPIC -L/usr/lib64    -o libvirt_driver_nwfilter.la
libvirt_driver_nwfilter_la-nwfilter_driver.lo
libvirt_driver_nwfilter_la-nwfilter_gentech_driver.lo
libvirt_driver_nwfilter_la-nwfilter_ebiptables_driver.lo
libvirt_driver_nwfilter_la-nwfilter_learnipaddr.lo -L /usr/lib64 -lpcap
  -ldl
libtool: link: require no space between `-L' and `/usr/lib64'
make[3]: *** [libvirt_driver_nwfilter.la] Error 1
make[3]: Leaving directory `/tmp/libvirt-rc/libvirt-0.8.8/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/libvirt-rc/libvirt-0.8.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/libvirt-rc/libvirt-0.8.8'
make: *** [all] Error 2
~~~ SNIP ~~~

~~~ SNIP ~~~
root@slackrepo:/tmp/libvirt-rc/libvirt-0.8.8# grep -e '-L ' Makefile
LIBPCAP_LIBS = -L /usr/lib64 -lpcap
~~~ SNIP ~~~

However, ...

~~~ SNIP ~~~
./configure
sed -i -e "s#-L /usr/lib64#-L/usr/lib64#g" Makefile
sed -i -e "s#-L /usr/lib64#-L/usr/lib64#g" src/Makefile
make
...
~~~ SNIP ~~~

does the trick. It's somewhat "known" hack for x86_64 at Slackware (?)
and I even have it in SlackBuild which I haven't used for this test build.

With hack above, even % make check; passes at Slackware64-13.1

Regards,
Z.

- -- 
Zdenek Styblik
Net/Linux admin
OS TurnovFree.net
email: stybla@xxxxxxxxxxxxxx
jabber: stybla@xxxxxxxxxxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1ZYW8ACgkQ8MreUbSH7ilhnACgpc7LhHNZT8YAtu/i3OS/jumr
FSsAmQHEU+o3TUaqEMMN6SeDvL1yJSuT
=g8FE
-----END PGP SIGNATURE-----

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]