Mailing List archive

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

[linux-dvb] Re: New Digital TV Client DTV - First Public Release



Rolf Hakenes wrote:
> 
> dieter.maas@freenet.de schrieb:
> >
> > Hi Rolf,
> >
> > i am trying to get your program compiled, very promising features ;-),
> > i dont get the datbase search switched off, i think, keeps searching
> > for -lpq no matter if i give NO_DATABASE=0 or 1 and comment out SQLLIB or not,
> > i am already downloading this postgreSQL, but that is looking like another
> > installation drama, so, how to switch the database off really?
> >
> > Dieter
> >
> > --
> > Info:
> > To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
> 
> Hi,
> 
> I have looked at the top-level Makefile once again. There is a mistake in the
> documentation. You have to set NO_DATABASE to 1 AND comment out the
> SQLLIBS-line. After that the compiling should work (as far as I tested it, but I
> couldn't test it WITHOUT a PostgreSQL installation, because I don't want to
> deinstall it...sorry). If nothing works, look into the Makefile further on and
> delete the 'SQLLIBS=$(SQLLIBS)' phrase...
> 
> rh

Hi Rolf,

  For me it does not compile to.
I applied these 4 patches to make it compile:

--- Makefile.org        Fri Jun  1 17:57:44 2001
+++ Makefile    Sat Jun  2 15:53:03 2001
@@ -7,13 +7,13 @@
 
 LOGDIR = /var/log
 USE_DVB_0_8 = 0
-NO_DATABASE = 0
-#
-# If NO_DATABASE == 0, comment out the following line
-#
-SQLLIBS = -lpq -lcrypt
+NO_DATABASE = 1
 
-MAKE = gmake
+ifeq ($(NO_DATABASE), 0)
+       SQLLIBS = -lpq -lcrypt
+endif
+
+MAKE = make
 
 SUBDIRS = src/liblx src/libsi src/libdcl src/dtv src/dtv_scan
 
--- ./src/dtv/Makefile.org      Fri Jun  1 17:48:57 2001
+++ ./src/dtv/Makefile  Sat Jun  2 15:33:35 2001
@@ -12,7 +12,7 @@
 
 LIBDIRS = -L../../lib
 LIBS = -ldcl -lsi -llx -lm
-# -lpq -lcrypt
+# $(SQLLIBS)
 DISTDIR = ../../bin
 DISTDIR_CONF = ../../etc
 DTV_CONF = dtv.conf available_channels.dcl channel_list.dcl

--- ./src/dtv_scan/Makefile.org Fri Jun  1 16:54:03 2001
+++ ./src/dtv_scan/Makefile     Sat Jun  2 15:31:53 2001
@@ -8,7 +8,7 @@
 INCDIRS = -I../../include
 
 LIBDIRS = -L../../lib
-LIBS = -ldcl -lsi -llx -lm -lpq -lcrypt
+LIBS = -ldcl -lsi -llx -lm $(SQLLIBS)
 DISTDIR = ../../bin
 DISTDIR_CONF = ../../etc
 DTV_CONF = astra_transponders.dcl dtv_scan.conf

--- ./src/libsi/Makefile.org    Fri Jun  1 16:54:05 2001
+++ ./src/libsi/Makefile        Sat Jun  2 15:46:05 2001
@@ -12,7 +12,7 @@
 MAKEDEPEND = gcc -M
 
 LIBDIRS = -L. -L../../lib
-LIBS = -lsi -llx -lpq
+LIBS = -lsi -llx $(SQLLIBS)
 
 AR = ar
 ARFLAGS = ru

Tjuess
  Heino




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



Home | Main Index | Thread Index