From owner-freebsd-ports@FreeBSD.ORG Mon Feb 12 22:35:35 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 68D7F16A409 for ; Mon, 12 Feb 2007 22:35:35 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id 4954E13C4B9 for ; Mon, 12 Feb 2007 22:35:35 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from hymn08.u.washington.edu (hymn08.u.washington.edu [140.142.13.238]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l1CMZYLe006107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 12 Feb 2007 14:35:34 -0800 Received: from localhost (localhost [127.0.0.1]) by hymn08.u.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l1CMZY3Z025998 for ; Mon, 12 Feb 2007 14:35:34 -0800 X-Auth-Received: from [192.55.52.1] by hymn08.u.washington.edu via HTTP; Mon, 12 Feb 2007 14:35:34 PST Date: Mon, 12 Feb 2007 14:35:34 -0800 (PST) From: youshi10@u.washington.edu To: freebsd-ports@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.2.12.142434 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='SUPERLONG_LINE 0.05, NO_REAL_NAME 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Subject: Porting a Linux application to FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Feb 2007 22:35:35 -0000 Hello, I was referred here by some people in the hackers@ list because I asked a porting related question and I should have asked it on this list. I was wondering steps people had used in the past for porting linux applications, in particular applications that need libpng (i.e. the differences between FreeBSD and Linux's libpng, if there are any). I ran configure with no arguments and with the --with-png=/usr/local/lib argument, but both sets of arguments fail saying that they require png_read_png (just a C generated autoconf test). The odd thing that I discovered too when I manually tried to compile the autoconf generated C file is that it segfaulted when I tried to execute the program (not sure if this behavior's intended or not). Also, the application that I'm porting uses video4linux, and I was wondering if there were any sorts of tips regarding porting this API. The application that I'm trying to port is tvtime (). TIA! -Garrett