Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2007 17:50:13 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        sekes <gexlie@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: irc/unreal
Message-ID:  <20070326145013.GA1085@straylight.m.ringlet.net>
In-Reply-To: <53cc795f0703240541w6953db30m337b4beb66bc8cdf@mail.gmail.com>
References:  <53cc795f0703240541w6953db30m337b4beb66bc8cdf@mail.gmail.com>

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

--7AUc2qLy4jB3hD7Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 24, 2007 at 03:41:20PM +0300, sekes wrote:
> I'm trying to build irc/unreal on 6.2-RELEASE and failing:
>=20
> =3D=3D=3D>  Building for Unreal-3.2.6
> Building src
> cc -I../include
> -I/usr/ports/irc/unreal/work/Unreal3.2/extras/regexp/include -pipe
> -I/usr/local/include -O2 -fno-strict-aliasing -pipe  -funsigned-char
> -fno-strict-aliasing -export-dynamic  -L/usr/local/lib  -c timesynch.c
> cc -I../include
> -I/usr/ports/irc/unreal/work/Unreal3.2/extras/regexp/include -pipe
> -I/usr/local/include -O2 -fno-strict-aliasing -pipe  -funsigned-char
> -fno-strict-aliasing -export-dynamic  -L/usr/local/lib  -c res.c
> res.c: In function `m_dns':
> res.c:718: error: storage size of 'inf' isn't known
> *** Error code 1
>=20
> Stop in /usr/ports/irc/unreal/work/Unreal3.2/src.
> *** Error code 1
>=20
> Stop in /usr/ports/irc/unreal/work/Unreal3.2.
> *** Error code 1
>=20
> Stop in /usr/ports/irc/unreal.
> [xnet] /usr/ports/irc/unreal#
>=20
> Ideas?

Do you have the c-ares library installed?  What is the output of
  pkg_info | fgrep -e c-ares -e curl

If this does not display a line saying "c-ares-config-1.3.2", then
you need to either upgrade or reinstall your c-ares library, with
the ares_config_info patch.  To do that:

- deinstall anything that provides a libcares.so in your path (you can
  find out what it is by first running "ldconfig -r | fgrep cares" to
  find the library itself and then
  "pkg_info -qW /usr/local/lib/libcares.so.1" to see which package has
  installed it)
- cd /usr/ports/dns/c-ares
- make config (as root)
- make sure the CONFIG_INFO option is checked
- make all install clean

After that, try building unreal-ircd again.

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net    roam@cnsys.bg    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence would be seven words long if it were six words shorter.

--7AUc2qLy4jB3hD7Z
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGB92l7Ri2jRYZRVMRAmvkAJ0du4vT4p6JzcfyuzCKhOLOBg73FACcDFty
QjcUQwcTQpI5ymI7kzVQzIY=
=MIYX
-----END PGP SIGNATURE-----

--7AUc2qLy4jB3hD7Z--



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