From owner-freebsd-ports@FreeBSD.ORG Sun Nov 20 14:34:16 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 413B116A41F for ; Sun, 20 Nov 2005 14:34:16 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 8093B43D49 for ; Sun, 20 Nov 2005 14:34:14 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 20 Nov 2005 14:34:13 -0000 Received: from unknown (EHLO zi025.glhnet.mhn.de) [129.187.19.157] by mail.gmx.net (mp006) with SMTP; 20 Nov 2005 15:34:13 +0100 X-Authenticated: #147403 Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id C69ACC16C; Sun, 20 Nov 2005 15:34:20 +0100 (CET) Date: Sun, 20 Nov 2005 15:34:20 +0100 From: Simon Barner To: WA4GEG@netscape.net Message-ID: <20051120143420.GA34596@zi025.glhnet.mhn.de> References: <58474E01.4A9AF98E.0004E6A7@netscape.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <58474E01.4A9AF98E.0004E6A7@netscape.net> User-Agent: Mutt/1.5.11 X-Y-GMX-Trusted: 0 Cc: freebsd-ports@freebsd.org Subject: Re: dcraw does not compile 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: Sun, 20 Nov 2005 14:34:16 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable WA4GEG@netscape.net wrote: > Hi Ports, >=20 > I'm new to the list and also a bit green around the ears with 'nix in gen= eral. Got FreeBSD 6.0 w/ KDE installed this weekend. Ran into this problem = while installing the port Digikam: >=20 >=20 > dcraw-1.236.tar.gz 100% of 33 kB 3026 Bps 0= 0m00s > =3D=3D=3D> Extracting for dcraw-1.236 > =3D> Checksum OK for dcraw-1.236.tar.gz. > =3D=3D=3D> Patching for dcraw-1.236 > =3D=3D=3D> dcraw-1.236 depends on shared library: jpeg.9 - found > =3D=3D=3D> Configuring for dcraw-1.236 > =3D=3D=3D> Building for dcraw-1.236 > cc -o dcraw -O2 -fno-strict-aliasing -pipe -I/usr/local/include dcraw.c= -L/usr/local/lib -lm -ljpeg > dcraw.c:179: error: conflicting types for 'memmem' > /usr/include/string.h:65: error: previous declaration of 'memmem' was here > dcraw.c:179: error: conflicting types for 'memmem' > /usr/include/string.h:65: error: previous declaration of 'memmem' was here > *** Error code 1 >=20 > Stop in /usr/ports/graphics/dcraw/work/dcraw-1.236. > *** Error code 1 >=20 > Is there a fix for this? If so how do I proceed? Hi, the latest version of the port is 1.239, so you should try if the problem still exists there. So, please update your ports collections as per the instructions given in [1], but be aware of the implications: You said that you are running FreeBSD 6.0, which means that after the update your ports tree will have newer versions of some important libraries and you will have to recompile a lot. This shouldn't cause any troubles as long as you follow the instructions given in /usr/ports/UPDATING. If you simply want to make this single port work, you could also grab the latest version of it from [2 -> Download this directory in tarball]. Please note, that is not the supported way (you are assumed to have the latest version of the ports tree).=20 --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html /usr/share/examples/cvsup/ports-supfile [2] http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/dcraw/ --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDgIlsCkn+/eutqCoRAuw0AJ4j5Qwlg5GLZ0LN4zy8Q5i7Plt7mgCgsE/c XqtZ7Jl5vLLJXxWUurJV794= =lLWu -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0--