From owner-freebsd-multimedia@FreeBSD.ORG Mon Mar 12 03:28:30 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5AFF5106566B for ; Mon, 12 Mar 2012 03:28:30 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id E66C58FC0C for ; Mon, 12 Mar 2012 03:28:29 +0000 (UTC) Received: by dald2 with SMTP id d2so5031396dal.13 for ; Sun, 11 Mar 2012 20:28:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=5oqudRO7dZN2XG5RTycCy1m1HD8fy6emZJdLSbyroyM=; b=JxKyEaHicq+m43Dhh4kNbDJzd3zQyraz1Gd4rmFTlXTsxl9NBP2XW9NpvJ7WYZw86D wv/ojySFNHJkUm/MJTuljF0XlLgu+UAQHrcS0eWGQsrG/yDMZiJEbp1FBkSYwaB6dj1a /1YuoezsrhxG4zY0F/69eKu8zUgM8A9t+6yc39rZT0yow36Vu1GKsS1Lz79iS2LIBOY2 oO0b3STN4w/UaJSZv5SSV1mIPTC46UoagDzrnNJ/4Cefsx1Nmg4bSA8cIjuYZJaW9024 QSFdPpkxu0o5mgCMhRvmW+Em2mCaU1afdrfpXrVW0YTYttat68eNL/th3Zq0h86Bh5Wl IFLA== Received: by 10.68.239.65 with SMTP id vq1mr10438501pbc.116.1331522908423; Sun, 11 Mar 2012 20:28:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.9.4 with HTTP; Sun, 11 Mar 2012 20:28:08 -0700 (PDT) In-Reply-To: References: From: Henry Hu Date: Sun, 11 Mar 2012 23:28:08 -0400 Message-ID: To: Xavier xfm Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-multimedia@freebsd.org Subject: Re: ./configure say error with libpng when compile tvtime on FreeBSD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 03:28:30 -0000 On Sun, Mar 11, 2012 at 11:05 PM, Xavier xfm 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 >> 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 to #include 2. plugins/tomsmocomp/tomsmocompmacros.h change #include to #include 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 6. plugins/greedyh.cpp add #include 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