Re: Unable to build on Fedora 35

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

 



On Wed, Nov 17, 2021 at 8:12 AM Pete Zaitcev <zaitcev@xxxxxxxxxx> wrote:
>
> Hello:
>
> I am following directions in README.md and hit the following.
>
> $ cd build
> $ ninja
> [128/2107] Performing build step for 'Boost'
> FAILED: boost/src/Boost-stamp/Boost-build boost/lib/libboost_atomic.a boost/lib/libboost_chrono.a boost/lib/libboost_thread.a boost/lib/libboost_system.a boost/lib/libboost_date_time.a boost/lib/libboost_regex.a boost/lib/libboost_random.a boost/lib/libboost_program_options.a boost/lib/libboost_iostreams.a boost/lib/libboost_context.a boost/lib/libboost_coroutine.a boost/lib/libboost_python310.a boost/lib/libboost_filesystem.a boost/lib/libboost_container.a /home/zaitcev/ceph/ceph-srbac/build/boost/src/Boost-stamp/Boost-build /home/zaitcev/ceph/ceph-srbac/build/boost/lib/libboost_atomic.a
>  [....... gazillion of libraries .......]
>  /home/zaitcev/ceph/ceph-srbac/build/boost/lib/libboost_coroutine.a /home/zaitcev/ceph/ceph-srbac/build/boost/lib/libboost_python310.a /home/zaitcev/ceph/ceph-srbac/build/boost/lib/libboost_filesystem.a /home/zaitcev/ceph/ceph-srbac/build/boost/lib/libboost_container.a
> cd /home/zaitcev/ceph/ceph-srbac/build/boost/src/Boost && CC=/usr/bin/cc CXX=/usr/bin/c++ ./b2 -j1 -d0 --user-config=/home/zaitcev/ceph/ceph-srbac/build/user-config.jam toolset=gcc headers stage variant=release threading=multi link=static address-model=64 "cxxflags=-fPIC -w" && /usr/bin/cmake -E touch /home/zaitcev/ceph/ceph-srbac/build/boost/src/Boost-stamp/Boost-build
> error: wrong library name 'python310' in the --with-<library> option.
>
> [... ninja continues parallel builds ...]
> added 2835 packages in 541.617s
> ninja: build stopped: subcommand failed.
> [zaitcev@lembas build]$ echo $?
> 1
> [zaitcev@lembas build]$
>
> Not sure what to do about this.
>
> Can we build using system Boost? It is a well-known library.

sure. as long as it is >= v1.73

> It should not be necessary to build a fork for ourselves.

again, it depends on the availability of boost v1.73.

>
> I started with ./install-deps.sh, which did not install boost-devel.
> Should I just install it myself? And then how do I tell cmake

not sure what distro you are using, or what version of boost you have,
if you have boost v1.73 and up installed already, you can always pass
-DWITH_SYSTEM_BOOST=ON and probably
-DBOOST_ROOT=<where-your-boost-is-installed> to cmake.

> that I have it?
>
> -- Pete
>
> _______________________________________________
> Dev mailing list -- dev@xxxxxxx
> To unsubscribe send an email to dev-leave@xxxxxxx



-- 
Regards
Kefu Chai
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx



[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux