pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: looking for boost…
On Thu, Feb 23, 2023 at 09:38:31PM -0600, Tim Larson wrote:
> So I'm back after a long absence and trying to update a few packages,
> includes games/alephone. Jumping it ahead 10+ years to the 20230119 release…
>
> configure:9321: checking for boostlib >= 1.65.0 (106500)
> configure:9353: c++ -std=gnu++17 -c -O2 -fPIC -D_FORTIFY_SOURCE=2
> -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL
> -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include
> -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include
> -I/usr/X11R7/include/libdrm -I/usr/pkg/include conftest.cpp >&5
> configure:9353: $? = 0
> configure:9356: result: yes
> configure:9550: checking whether the Boost::System library is available
> configure:9576: c++ -std=gnu++17 -c -I/usr/pkg/include -I/usr/include
> -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm
> -I/usr/pkg/include conftest.cpp >&5
> configure:9576: $? = 0
> configure:9592: result: yes
> configure:9751: error: Could not find a version of the Boost::System
> library!
>
> Yet…
>
> /usr/pkg/lib/libboost_system.a
> /usr/pkg/lib/libboost_system.so@
> /usr/pkg/lib/libboost_system.so.1.81.0*
>
> Some searching online shows this error usually being caused by the loader
> search path being wrong. Checked that. It's definitely looking there for it…
The pkgsrc buildlink3 framework hides headers/libraries from the compiler.
Does your package Makefile contain a line
.include "../../devel/boost-libs/buildlink3.mk"
to make the files from boost-libs available to the compiler?
Thomas
Home |
Main Index |
Thread Index |
Old Index