pthread library problem with bacula
Anthony Chavez
acc at anthonychavez.org
Tue Mar 1 17:47:33 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 19 Feb 2005 16:29:15 -0500 (EST) "Michael L. Squires" <mikes at 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 at anthonychavez.org jabber:acc at jabber.anthonychavez.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
iD8DBQFCJKqTbZTbIaRBRXERAos9AJ97Csr/mI6cpn4wWre0nST0DRX3eACfc2m9
Dz+TeDvfJ75bhNE6/L88Qg4=
=CMfy
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list