Date: Sun, 11 Mar 2012 23:28:08 -0400 From: Henry Hu <henry.hu.sh@gmail.com> To: Xavier xfm <xavierfreebsdmultimedia@gmail.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: ./configure say error with libpng when compile tvtime on FreeBSD Message-ID: <CAEJt7hY2AmXvdq_LjKX2%2B%2BT4t=ZLXW_%2BgxZWq4qt2VQ0Q9bGyQ@mail.gmail.com> In-Reply-To: <CAALX7DJcy93_MX0EbKAT_dgVDpaYzQiaTX4j4UDru0jJ8kSdqg@mail.gmail.com> References: <CAALX7D%2B_L6d=w%2BQU%2Bxwsue38Ji81LNAXhmbeTe8FAav_RsQU5Q@mail.gmail.com> <CAEJt7hbFwZqeYTfdg3LJmD154PmQ89oq3Bx810P3JUSD_Yk4oQ@mail.gmail.com> <CAALX7DJcy93_MX0EbKAT_dgVDpaYzQiaTX4j4UDru0jJ8kSdqg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 11, 2012 at 11:05 PM, Xavier xfm <xavierfreebsdmultimedia@gmail.com> wrote: > On Sun, Mar 11, 2012 at 10:50:06PM -0400, Henry Hu wrote: > > Hi Henry, > > >> On Sun, Mar 11, 2012 at 10:31 PM, Xavier xfm >> <xavierfreebsdmultimedia@gmail.com> wrote: >> > Hi to all, >> > >> > I try to compile tvtime ( http://tvtime.net/ ) on 9.0-RELEASE >> > >> > I copy the log error to: http://pastebin.com/h40fa1s4 >> > >> > ./configure say error with libpng, but I installed libpng-1.5.9 from >> > source >> > code well on this machine 9.0-RELEASE >> >> You may pass the configure stage by >> env LDFLAGS=-L/usr/local/lib ./configure > > It work fine: > > http://pastebin.com/acmyHPWq > > >> >> But there are other dependencies which are hard to solve, since this >> program was written for Linux.... > > For dependencies I don't found ... but make ... : > > http://pastebin.com/EEubU2xJ My make passed the first 2 files and failed on the 3rd, rtctimer.c It depends on linux/rtc.h which is not present on the FreeBSD system. I copied that file from a linux machine, and now I'm failing on the greedyh.asm file. So finally I compiled it successfully. You need to change: 1. src/tvtime.c change #include <termio.h> to #include <sys/filio.h> 2. plugins/tomsmocomp/tomsmocompmacros.h change #include <malloc.h> to #include <stdlib.h> 3. plugins/tomsmocomp/TomsMoCompAll2.inc remove "DSc....::" from 8th and 10th line 4. plugins/tomsmocomp/TomsMoCompAll.inc remove "DSc...::" from 40th line 5. plugins/tomsmocomp.cpp add #include <stdint.h> 6. plugins/greedyh.cpp add #include <stdint.h> 7. plugins/greedyh.asm remove "DSc...::" from 21th line 8. configure with env LDFLAGS=-L/usr/local/lib\ -lintl ./configure There may be other things I just forgot... You may try it.... > > Has solution this error ? > > Well, thanks. -- Cheers, Henry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEJt7hY2AmXvdq_LjKX2%2B%2BT4t=ZLXW_%2BgxZWq4qt2VQ0Q9bGyQ>