Mailing List archive

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

[linux-dvb] Re: Tuxzap: autogen.sh error



Hi!

On Mon, 24 Sep 2001, Jean-Claude Repetto wrote:
> Why should we have to install GTK if we don't have X installed and we want
> to build only ntuxzap ?

A partial solution. Apply this patch before running autogen.sh:

--- apps/tuxzap/configure.in.orig	Tue Jun 19 15:11:25 2001
+++ apps/tuxzap/configure.in	Tue Sep 25 12:00:09 2001
@@ -111,6 +111,13 @@
   esac
 fi
 changequote([,])dnl
+
+if test "$no_x" = yes; then
+  X_APPS=
+else
+  X_APPS="tuxzap tuxview tuxplayer"
+fi
+AC_SUBST(X_APPS)
 
 AC_SUBST(TUXZAP_MAJOR_VERSION)
 AC_SUBST(TUXZAP_MINOR_VERSION)
--- apps/tuxzap/src/Makefile.am.orig	Tue Jun 19 15:11:25 2001
+++ apps/tuxzap/src/Makefile.am	Tue Sep 25 11:21:09 2001
@@ -47,7 +47,8 @@
 	-I/usr/local/include    \
 	$(DVB_INCS)
 
-bin_PROGRAMS = tuxzap ntuxzap tuxview ntuxplayer tuxplayer rtuxzap
+bin_PROGRAMS = ntuxzap ntuxplayer rtuxzap $(X_APPS)
+EXTRA_PROGRAMS = tuxzap tuxview tuxplayer
 
 tuxzap_SOURCES = \
 	tuxzap.cc       \

Now, if X is not present or if you pass --without-x to configure (per

> ./autogen.sh --without-x

) only console apps of the tuxzap package will be compiled & installed.

But you still need gtk-devel - even to compile the console apps.
Simply deleting the "AM_PATH_GTK(..." line from configure.in is _not_ a
solution for the current draft of the tuxzap package (0.9-20010822).


Bye,
     Rolf



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index