[PATCH spice-gtk] Add pyparsing requirement to README and autogen.sh

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

 



Hello,

When building spice-gtk on freshly installed Fedora box I got an
unclear make error as included in [builderror.log].  Proposing a
missing README pre-requisite for a build from GIT.  Also I believe
autogen.sh could check it on its own.

FYI I do not have a GIT account for commit.


Thank you,
Steph
  GEN      generated_client_demarshallers.c
make[4]: *** [Makefile:809: generated_client_demarshallers.c] Error 1
make[4]: Leaving directory '/home/steph/spice-gtk/spice-common/common'
make[3]: *** [Makefile:455: all-recursive] Error 1
make[3]: Leaving directory '/home/steph/spice-gtk/spice-common'
make[2]: *** [Makefile:387: all] Error 2
make[2]: Leaving directory '/home/steph/spice-gtk/spice-common'
make[1]: *** [Makefile:621: all-recursive] Error 1
make[1]: Leaving directory '/home/steph/spice-gtk'
make: *** [Makefile:528: all] Error 2
[bash]steph:/home/steph/spice-gtk$ cd spice-common/
[bash]steph:/home/steph/spice-gtk/spice-common$ cd common/
[bash]steph:/home/steph/spice-gtk/spice-common/common$ make generated_client_demarshallers.c 
  GEN      generated_client_demarshallers.c
make: *** [Makefile:809: generated_client_demarshallers.c] Error 1
[bash]steph:/home/steph/spice-gtk/spice-common/common$ make -n generated_client_demarshallers.c 
echo "  GEN     " generated_client_demarshallers.c;/usr/bin/python ../spice_codegen.py --generate-demarshallers --client --include common/messages.h ../spice.proto generated_client_demarshallers.c >/dev/null
[bash]steph:/home/steph/spice-gtk/spice-common/common$ /usr/bin/python ../spice_codegen.py --generate-demarshallers --client --include common/messages.h ../spice.proto generated_client_demarshallers.c
Module pyparsing not found.
Add pyparsing requirement to README and autogen.sh

Also use --enable-python-checks in autogen.sh to check python2/3-pyparsing
requirement for rebuilds from GIT.

Signed-off-by: Marie Stephanie Alesna <istephielicious@xxxxxxxxx>
---
 README     | 5 ++++-
 autogen.sh | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/README b/README
index d49b018..612027d 100644
--- a/README
+++ b/README
@@ -53,4 +53,7 @@ gstreamer1-devel gstreamer1-plugins-base-devel gstreamer1-plugins-good gstreamer
 
 . If you build from git, you'll also need:
 
-libtool automake gettext-devel vala vala-tools python2/python3
+libtool automake gettext-devel vala vala-tools
+  python2 python2-pyparsing
+or
+  python3 python3-pyparsing
diff --git a/autogen.sh b/autogen.sh
index cc7bda3..363720f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -12,7 +12,7 @@ test -z "$srcdir" && srcdir=.
     autoreconf -v --force --install
 )
 
-CONFIGURE_ARGS="--enable-maintainer-mode --enable-gtk-doc --with-gtk=3.0 --enable-vala"
+CONFIGURE_ARGS="--enable-maintainer-mode --enable-gtk-doc --with-gtk=3.0 --enable-vala --enable-python-checks"
 
 if [ -z "$NOCONFIGURE" ]; then
     echo "Running configure with $CONFIGURE_ARGS $@"
-- 
2.13.5

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]