Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Nov 2005 15:34:20 +0100
From:      Simon Barner <barner@FreeBSD.org>
To:        WA4GEG@netscape.net
Cc:        freebsd-ports@freebsd.org
Subject:   Re: dcraw does not compile
Message-ID:  <20051120143420.GA34596@zi025.glhnet.mhn.de>
In-Reply-To: <58474E01.4A9AF98E.0004E6A7@netscape.net>
References:  <58474E01.4A9AF98E.0004E6A7@netscape.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051120143420.GA34596>