Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Mar 2005 10:46:55 -0700
From:      Anthony Chavez <acc@anthonychavez.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: pthread library problem with bacula
Message-ID:  <m2vf8bgsxc.fsf@pegasos.anthonychavez.org>
References:  <m2hdkfrim6.fsf@pegasos.local> <20050219160238.M66950@familysquires.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 19 Feb 2005 16:29:15 -0500 (EST) "Michael L. Squires" <mikes@siralan.org> wrote:

> There appears to have been a change in the way pthreads are handled by
> 4.?-RELEASE which has broken the bacula-server compile.  Adding
> "-pthread" to the "LIBS =" line in the Makefile in each of
>
> /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/dired,
> ../src/stored, and ../src/tools
>
> allows the compile to complete.  A "make install" seems to complete the
> installation.
>
> It's not obvious to me why '-pthread' isn't being added; if someone
> knows the answer, please tell me; otherwise I'll eventually stumble
> into it.

Michael:

I've been discussing the issue with Lars off-list, and I seem to think
that I've determined what is cuasing this problem.

Are you attempting to build with any make variables, in particular,
- -DWITH_POSTGRESQL?  I am.  But when I make rmconfig clean all and
attempt to build without that option, it builds cleanly.

The patchset that I submitted *does* in fact result in a successful
build when -DWITH_POSTGRESQL is passed, but I have to wonder if the the
patchset is really just covering up the issue rather than actually
fixing it.

Lars:

Please review my patchset once more and reconsider it for inclusion.

- -- 
Anthony Chavez                                 http://anthonychavez.org/
mailto:acc@anthonychavez.org         jabber:acc@jabber.anthonychavez.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFCJKqTbZTbIaRBRXERAos9AJ97Csr/mI6cpn4wWre0nST0DRX3eACfc2m9
Dz+TeDvfJ75bhNE6/L88Qg4=
=CMfy
-----END PGP SIGNATURE-----



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