Bug 474211 - Makefile.am fixes
Summary: Makefile.am fixes
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-02 20:02 UTC by paolo borelli
Modified: 2010-03-16 17:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-22 12:57:14 UTC
Embargoed:


Attachments (Terms of Use)
patch (1.09 KB, patch)
2008-12-02 20:02 UTC, paolo borelli
no flags Details | Diff

Description paolo borelli 2008-12-02 20:02:32 UTC
Created attachment 325416 [details]
patch

when trying to build libvirt from cvs, I got the following build
failure. The patch attached fixes it, I am not sure what
libvirtd_DEPENDENCIES = $(libvirtd_LDADD) was trying to accomplish, but
it looks wrong to me.



gcc -DHAVE_CONFIG_H -I. -I..    -I../gnulib/lib -I../gnulib/lib
-I../include -I../include -I../src -I/opt/gnome/include/libxml2
 -I/opt/gnome/include/PolicyKit -I/opt/gnome/include/dbus-1.0
-I/opt/gnome/lib/dbus-1.0/include   -Wall -Wformat -Wformat-security
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow
-Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
-Winline -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fasynchronous-unwind-tables
-DLOCAL_STATE_DIR="\"/opt/gnome/var\""  -DSYSCONF_DIR="\"/opt/gnome/etc
\"" -DQEMUD_PID_FILE="\"\""
-DREMOTE_PID_FILE="\"/opt/gnome/var/run/libvirtd.pid\""
-DGETTEXT_PACKAGE=\"libvirt\" -D_REENTRANT   -g -O2 -MT libvirtd-mdns.o
-MD -MP -MF .deps/libvirtd-mdns.Tpo -c -o libvirtd-mdns.o `test -f
'mdns.c' || echo './'`mdns.c
make[2]: *** No rule to make target `-L/opt/gnome/lib', needed by
`libvirtd'.  Stop.
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/libvirtd-mdns.Tpo .deps/libvirtd-mdns.Po
mv -f .deps/libvirtd-remote.Tpo .deps/libvirtd-remote.Po
make[2]: Leaving directory `/home/paolo/svn/gnome/libvirt/qemud'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paolo/svn/gnome/libvirt'
make: *** [all] Error 2

Comment 1 Daniel Berrangé 2009-01-22 12:57:14 UTC
This patch is now incorporated in upstream codebase and 0.5.1 release


Note You need to log in before you can comment on or make changes to this bug.