[pkg-boost-devel] Bug#424038: problem for libraries names between ax_boost.m4 and debian packages

Domenico Andreoli cavok at debian.org
Sun May 27 12:28:16 UTC 2007


On Fri, May 25, 2007 at 08:53:08PM +0200, Gauthier Quesnel wrote:
> Hi all,

hi,
 
> The ax_boost.m4 script does not detect the correct library because the
> "debian libraries names" are not defined in the script. Now, my
> question:
> 	what is the best way to correct this ?
> 	* modify the ax_boost*.m4 script or
> 	* modify the debian packages ?
> 	:-)

of course fix the ax_boost*.m4 script :)

please have a look at [0]. yes, it is difficult to believe, but currently
there is no portable way to guess boost library names.

when they started to make such crazy names i provided commodity links
for mortal people, these are the real "debian library names", but they
are not portable across linux distributions. i even provided "default"
links to multi-thread libraries, but it was an arbitrary choice i now
regret to have done.

until few days ago i thought bjam/boost-build could be used to portably
link boost libraries but i was wrong. these names are built in Jamfile.v2
at the root of boost source tree and there is no way to make boost-build
tell you which are they once you are out of the boost source tree.

cheers
domenico

[0] http://www.boost.org/more/getting_started/unix-variants.html#library-naming

-----[ Domenico Andreoli, aka cavok
 --[ http://www.dandreoli.com/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50




More information about the pkg-boost-devel mailing list