help-source-highlight
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-source-highlight] Configure error on 3.1.4


From: Peter Johansson
Subject: Re: [Help-source-highlight] Configure error on 3.1.4
Date: Tue, 25 Jan 2011 22:26:49 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

Hi Gary,

On 1/25/11 11:32 AM, Gary Funck wrote:

As noted above, the autoconf macro is looking for
'/usr/lib/libboost_regex*.so*' and finds none.

3) Search for the boost_regex library on local system.

     $ ls -1 /*{,/*}/libboost_regex*.so*
     ls: cannot access /*/libboost_regex*.so*: No such file or directory
     /usr/lib64/libboost_regex-mt.so
     /usr/lib64/libboost_regex-mt.so.1.44.0
     /usr/lib64/libboost_regex.so
     /usr/lib64/libboost_regex.so.1.44.0

At this point, the easiest work around is to:

    # INSTALL THE 32-BIT BOOST REGEX LIBRARY
    $ sudo yum install boost-regex.i686

And 'configure' will run without errors.

This seems to work, but may not be the best work-around,
however ...

The longer term fix is to correct the library look up
in m4/ax_boost_regex.m4 so that it uses a more general
scheme to locate the shared library. Perhaps there is
already an AC_... function to do that job?

Or there may also be a problem in the way that the configure
script is setting BOOST_LDFLAGS.  The value that it
comes up with is: /usr/lib, and it should be /usr/lib64.

Where `ax_boost_regex.m4' checks for the library is decided by the variable $BOOST_LDFLAGS. This variable is set in macro file `ax_boost_base.m4' and I know there have been recent patches in this file fixing issues about finding stuff in lib64. If you havent already, I would suggest you try updating `ax_boost_base.m4' as well? It might fix the issue.

Cheers,
Peter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]