Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2006 10:27:48 -0800
From:      Beech Rintoul <beech@alaskaparadise.com>
To:        freebsd-ports@freebsd.org
Cc:        "Simon L. Nielsen" <simon@freebsd.org>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Problem with 7-CURRENT build
Message-ID:  <200608201028.07254.beech@alaskaparadise.com>
In-Reply-To: <20060820114040.GA1077@zaphod.nitro.dk>
References:  <200608192200.41601.beech@alaskaparadise.com> <20060820111855.GA94500@xor.obsecurity.org> <20060820114040.GA1077@zaphod.nitro.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1933458.kYXIrqHMv5
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Sunday 20 August 2006 03:40, Simon L. Nielsen wrote:
> On 2006.08.20 07:18:55 -0400, Kris Kennaway wrote:
> > On Sat, Aug 19, 2006 at 10:00:24PM -0800, Beech Rintoul wrote:
> > > I just recently adopted the port gtkjournal. The port builds fine in
> > > 6.1, but I get the following error when trying to build in -CURRENT:
> > >
> > > Making all in aolib
> > > gmake[3]: Entering directory
> > > `/usr/ports/deskutils/gtkjournal.orig/work/gtkjournal-0.3.5b/src/aoli=
b'
> > > c++ -DHAVE_CONFIG_H -I. -I. -I../..  -DXTHREADS -DXUSE_MTSAFE_API
> > > -I/usr/local/lib/sigc++-1.2/include -I/usr/local/include/sigc++-1.2
> > > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> > > -I/usr/local/include/cairo -I/usr/local/include/atk-1.0
> > > -I/usr/X11R6/include/gtkmm-2.0 -I/usr/X11R6/lib/gtkmm-2.0/include
> > > -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include
> > > -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include
> > > -I/usr/local/include/freetype2 -I/usr/local/include   -I../../src  =20
> > > -O2 -fno-strict-aliasing -pipe -I/usr/local/include
> > > -I/usr/include/openssl -c bfcryptfile.cpp
> > > bfcryptfile.cpp: In static member function `static std::string
> > > aolib::BFCryptFile::hashPass(const char*, unsigned char*)':
> > > bfcryptfile.cpp:59: error: `SHA_DIGEST_LENGTH' undeclared (first use
> > > this function)
> > > bfcryptfile.cpp:59: error: (Each undeclared identifier is reported on=
ly
> > > once for each function it appears in.)
> > > bfcryptfile.cpp:62: error: `out' undeclared (first use this function)
> > > gmake[3]: *** [bfcryptfile.o] Error 1
> > >
> > > Would someone take a look at this and give me some pointers as to what
> > > to do to get it to build in -CURRENT. For the time being I have an
> > > OSVERSION check to mark it broken on 7.0 and above. I tried contacting
> > > the developer, but his website seems to be down and he hasn't respond=
ed
> > > to my email. I'd really like to get this working and any help would be
> > > appreciated.
> >
> > It's to do with the new OpenSSL version.  Presumably you need to fix
> > the source; simon@ might be able to help you.
>
> This looks like one of the simple cases where the program depend on
> "header pollution" in previous OpenSSL versions, where sha.h was
> pulled in by some other header, but isn't anymore in OpenSSL 0.9.8b.
>
> Try simply including openssl/sha.h in the source code in the file
> where the builds fail.  This should work with both new and old OpenSSL
> so no need for special version check in the patch.  See
> e.g.
> http://cvsweb.freebsd.org/ports/security/openscep/files/patch-lib_proxy.c=
?r
>ev=3D1.1 for a similar problem in another port.

Thank you. That was exactly the fix needed. I appreciate your support.

Beech

=2D-=20

=2D------------------------------------------------------------------------=
=2D-------------
Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com
/"\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
=2D------------------------------------------------------------------------=
=2D-------------












--nextPart1933458.kYXIrqHMv5
Content-Type: application/pgp-signature

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

iD8DBQBE6Km3p5D0B1NlT4URAqgWAKCJ/IdJnwHKdvUKg86ayOsKDU9Z0QCfWsZA
xoUIiPB34AqbkKSwCxaQNKo=
=O8Bs
-----END PGP SIGNATURE-----

--nextPart1933458.kYXIrqHMv5--



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