[Spice-devel] Build from source

Klaus Hochlehnert Mailings at kh-dev.de
Tue May 6 18:01:14 PDT 2014


Hi,

that worked, but I had to change it in all configure.ac files:
  configure.ac
  spice-common/configure.ac
  spice-common/spice-protocol/configure.ac


After that I ran into the next issue:
  make[4]: Entering directory `/usr/src/spice-gtk-20140507/spice-common/common'
  Makefile:511: .deps/generated_client_demarshallers.Plo: No such file or directory

The directory where this file was located looks unsubstituted:
  drwxr-xr-x 3 root root      18 May  7 02:12 $(srcdir)/

So I copied the files to the right directory:
  cp spice-common/common/\$\(srcdir\)/.deps/* spice-common/common/.deps


Next error was then:
  make[2]: Entering directory `/usr/src/spice-gtk-20140507/gtk'
  Makefile:1329: ../spice-common/common/.deps/sw_canvas.Plo: No such file or directory

Also there was an unsubstituted looking directory:
  drwxr-xr-x  3 root root     25 May  7 02:12 $(top_srcdir)/

Also copied this:
  cp gtk/\$\(top_srcdir\)/spice-common/common/.deps/* spice-common/common/.deps


Then I ran into this problem:
  make[3]: Entering directory `/usr/src/spice-gtk-20140507/doc/reference'
    DOC   Scanning header files
    DOC   Introspecting gobjects
  /usr/bin/ld: .libs/spice-gtk-scan.o: undefined reference to symbol 'gtk_cell_area_class_list_cell_properties'
  //usr/lib/x86_64-linux-gnu/libgtk-3.so.0: error adding symbols: DSO missing from command line
  collect2: error: ld returned 1 exit status
  Linking of scanner failed:
  make[3]: *** [scan-build.stamp] Error 1

As a workaround I disabled html doc generation in ./configure


After that it worked till the end...

Thanks, Klaus



-----Original Message-----
From: Marc-André Lureau [mailto:mlureau at redhat.com] 
Sent: Wednesday, May 07, 2014 1:20 AM
To: Klaus Hochlehnert
Cc: spice-devel at lists.freedesktop.org
Subject: Re: [Spice-devel] Build from source

Hi

----- Original Message -----

> But for spice-gtk I always get this error when running autoconf.sh (or 
> actually autoreconf -v --force --install):
> 
>
I am not sure what's going on, but you should check the "Fix build with automake 1.14" thread: patches are still missing in git (although being ack)



More information about the Spice-devel mailing list