From owner-freebsd-ports@FreeBSD.ORG Tue Feb 13 00:17:52 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 22F1716A400 for ; Tue, 13 Feb 2007 00:17:52 +0000 (UTC) (envelope-from tmclaugh@FreeBSD.org) Received: from straycat.dhs.org (c-24-63-86-11.hsd1.ma.comcast.net [24.63.86.11]) by mx1.freebsd.org (Postfix) with ESMTP id 9B0B613C471 for ; Tue, 13 Feb 2007 00:17:51 +0000 (UTC) (envelope-from tmclaugh@FreeBSD.org) Received: from [192.168.1.127] (bofh.straycat.dhs.org [192.168.1.127]) by straycat.dhs.org (8.13.8/8.13.8) with ESMTP id l1CNiSV2028134; Mon, 12 Feb 2007 18:44:31 -0500 (EST) From: Tom McLaughlin To: youshi10@u.washington.edu In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-pT5ka1yKILbVvb0U5Fa5" Date: Mon, 12 Feb 2007 18:44:27 -0500 Message-Id: <1171323867.21134.1.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 FreeBSD GNOME Team Port Cc: freebsd-ports@FreeBSD.org Subject: Re: 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: Tue, 13 Feb 2007 00:17:52 -0000 --=-pT5ka1yKILbVvb0U5Fa5 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2007-02-12 at 14:35 -0800, youshi10@u.washington.edu wrote: > 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=3D/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). Linux does not have it's own libpng and neither do we. Most Linux distros and us use libpng from libpng.org. I took a quick look at the current libpng in the ports tree and it appears to have png_read_png(). With out seeing a Makefile for the ports system and some error output it is hard to comment as to the specific reason stuff is failing for you. > Also, the application that I'm porting uses video4linux, and I > was wondering if there were any sorts of tips regarding porting this > API. You may want to send a message to Florent Thoumie (flz@) who maintains the multimedia/v4l_compat port. tom > The application that I'm trying to port is tvtime > (). > TIA! > -Garrett --=-pT5ka1yKILbVvb0U5Fa5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBF0Pvb4zniJeL3s9gRAmZoAKDL7xqSOXYRmmcgz8Xu3ok4PfWwcACcCM8S 5MHrvcNiQKDxndVYWi5odl4= =U+h+ -----END PGP SIGNATURE----- --=-pT5ka1yKILbVvb0U5Fa5--