LCDproc development and user support list

Text archives Help


[Lcdproc] Re: How to compile this driver?


Chronological Thread 
  • From: peter AT adpm.de (Peter Marschall)
  • Subject: [Lcdproc] Re: How to compile this driver?
  • Date: Sat Nov 26 15:58:01 2005

Hi James,

On Wednesday, 23. November 2005 22:34, James Ousley wrote:
> Indeed this is the correct version that this driver was built for.
> However, I am unable to compile the CVS source tree (without any
> modifications). It configures fine but fails on make with:
>
> make[3]: *** No rule to make target `MtxOrb.so', needed by `all-am'.
> Stop.
>
> I know that is probably a build environment issue but have not been to
> locate a fix for it. I am using lastest stable debian. uname -a: Linux
> nsr 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux
>
> automake version: 1.4-p6
> autoconf version: 2.59
> GNU make version: 3.80
> gcc version: 3.3.5
> glibc version: 2.3.2

I have attached a patch that should allow you to compile this Tyan driver
with
the latest CVS.

Here's how to get the things compiled:
- grab latest nightly tar ball
- untar it & cd into the source dir
- copy the tyan_lcdm.* files to server/drivers/
- run: patch -p0 < tyan.patch
- run: sh ./autogen.sh
- now do the usual triple jump: configure, make, make install
that's it

BTW I have contacted the original author of the files
to verify the license in order to get the driver into LCDproc 0.5.

CU
Peter
--
Peter Marschall
eMail:
peter AT adpm.de
diff -u -b -r1.57 acinclude.m4
--- acinclude.m4	25 Oct 2005 22:33:53 -0000	1.57
+++ acinclude.m4	26 Nov 2005 15:40:50 -0000
@@ -9,14 +9,14 @@
  	[                    hd44780,joy,irman,lirc,bayrad,glk,mtc_s16209x]
  	[                    stv5730,sed1330,sed1520,svga,lcdm001,t6963]
 	[                    lcterm,icp_a106,ms6931,iowarrior,glcdlib,imon,xosd,]
-	[                    noritakevfd]
+	[                    noritakevfd,tyan]
 	[                  \"all\" compiles all drivers],
   	drivers="$enableval",
   	drivers=[lcdm001,mtxorb,cfontz,cfontz633,curses,cwlnx,text,lb216,bayrad,glk])
 
 if test "$drivers" = "all"; then
 	
-drivers=[mtxorb,cfontz,cfontz633,curses,cwlnx,text,lb216,mtc_s16209x,hd44780,joy,irman,lirc,bayrad,glk,stv5730,sed1330,sed1520,svga,lcdm001,t6963,lcterm,icp_a106,ms6931,iowarrior,glcdlib,imon,xosd,noritakevfd]
+drivers=[mtxorb,cfontz,cfontz633,curses,cwlnx,text,lb216,mtc_s16209x,hd44780,joy,irman,lirc,bayrad,glk,stv5730,sed1330,sed1520,svga,lcdm001,t6963,lcterm,icp_a106,ms6931,iowarrior,glcdlib,imon,xosd,noritakevfd,tyan]
 fi
 
   	drivers=`echo $drivers | sed 's/,/ /g'`
@@ -277,6 +277,10 @@
 				AC_MSG_WARN([The xosd driver needs xosd.h])
 			])
 			;;
+		tyan)
+			DRIVERS="$DRIVERS tyan${SO}"
+			actdrivers=["$actdrivers tyan"]
+			;;
 		*)
 			AC_MSG_ERROR([Unknown driver $driver])
 			;;
diff -u -b -r1.39 Makefile.am
--- server/drivers/Makefile.am	16 Oct 2005 14:35:39 -0000	1.39
+++ server/drivers/Makefile.am	26 Nov 2005 15:40:51 -0000
@@ -18,7 +18,7 @@
 LIBS =
 
 pkglib_PROGRAMS = @DRIVERS@
-EXTRA_PROGRAMS = bayrad CFontz CFontz633 NoritakeVFD curses CwLnx glk hd44780 irman icp_a106 joy lb216 mtc_s16209x lcdm001 lcterm lirc MtxOrb sed1330 sed1520 stv5730 svga t6963 text wirz_sli ms6931 IOWarrior glcdlib imon xosd
+EXTRA_PROGRAMS = bayrad CFontz CFontz633 NoritakeVFD curses CwLnx glk hd44780 irman icp_a106 joy lb216 mtc_s16209x lcdm001 lcterm lirc MtxOrb sed1330 sed1520 stv5730 svga t6963 text tyan wirz_sli ms6931 IOWarrior glcdlib imon xosd
 noinst_LIBRARIES = libLCD.a
 
 IOWarrior_CFLAGS =   @libusb_cflags@
@@ -70,6 +70,7 @@
 svga_SOURCES =       lcd.h svgalib_drv.c svgalib_drv.h report.h
 t6963_SOURCES =      lcd.h t6963.c t6963.h t6963_font.h report.h
 text_SOURCES =       lcd.h text.h text.c report.h
+tyan_SOURCES =       lcd.h tyan_lcdm.h tyan_lcdm.c report.h
 wirz_sli_SOURCES =   lcd.h wirz-sli.h wirz-sli.c report.h
 ms6931_SOURCES =     lcd.h ms6931.h ms6931.c report.h
 glcdlib_SOURCES =    lcd.h glcdlib.h glcdlib.c report.h

Attachment: autogen.sh
Description: application/shellscript




Archive powered by MHonArc 2.6.18.

Top of page