Hello,
can someone help me installing
libboost-all-dev
(ubuntu package) giving me the corresponding package name for opensuse?
Thanks in advance
Hello,
can someone help me installing
libboost-all-dev
(ubuntu package) giving me the corresponding package name for opensuse?
Thanks in advance
@mark07 Hi, zypper in boost-devel
should suffice, boost has a big library split… zypper se libboost_*-devel
shows them all…
thanks Malcom.
Unfortunately I am looking for boost asio library that in ubuntu is part of
libboost-all-dev
but also with the command you suggested I cannot find it for Tumbleweed.
Do you have any other hint that can help?
@mark07 asio is a separate package, not part of boost asio-devel
See https://think-async.com/Asio/ boost.asio is part of boost…
Thanks a lot for the pointer.
I checked and asio is installed. But it is not enough.
The problem is that a ./configure is complaining about
checking whether the Boost::ASIO library is available... yes
configure: error: Could not find a version of the Boost::Asio library!
and it seems a common problem solved in Ubuntu installing this
libboost-all-dev
that I was mentioning. I checked with Ubuntu and installing this actually solve the issue.
Any idea if there is a similar package?
@mark07 then you need to add whatever option to configure to point at the openSUSE location. Check down in /usr/include
or /usr/lib64
or use pkgconfig to find the location (check config.log). Then run ./configure --help
to add the prefix to the configure command to locate.
That’s a different distribution, as indicated the file your looking for, is part of boost-devel now.
@mark07 perhaps you could share what your trying to compile?
Sure , it is
@mark07 you need to install libboost_regex-devel and libboost_system-devel;
zypper in libboost_regex-devel libboost_system-devel
github/riscv-isa-sim> ./configure
configure: loading site script /usr/share/site/x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking for ar... ar
checking for ranlib... ranlib
checking for dtc... /usr/bin/dtc
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for __int128_t... yes
checking whether the linker accepts -Wl,--export-dynamic... yes
checking whether C++ compiler accepts -relocatable-pch... no
configure: configuring default subproject : fesvr
checking for pthread_create in -lpthread... yes
checking for struct statx.stx_ino... yes
checking for struct statx.stx_mnt_id... yes
configure: configuring default subproject : riscv
checking for boostlib >= 1.53 (105300)... yes
checking whether the Boost::ASIO library is available... yes <====
checking for main in -lboost_system... yes
checking whether the Boost::Regex library is available... yes
checking for exit in -lboost_regex... yes
checking for main in -lboost_system... (cached) yes
checking for main in -lboost_regex... yes
checking for library containing dlopen... none required
checking for pthread_create in -lpthread... (cached) yes
configure: configuring default subproject : disasm
configure: configuring default subproject : customext
configure: configuring default subproject : fdt
configure: configuring default subproject : softfloat
configure: configuring default subproject : spike_main
configure: configuring default subproject : spike_dasm
configure: creating ./config.status
config.status: creating fesvr.mk
config.status: creating riscv.mk
config.status: creating disasm.mk
config.status: creating customext.mk
config.status: creating fdt.mk
config.status: creating softfloat.mk
config.status: creating spike_main.mk
config.status: creating spike_dasm.mk
config.status: creating Makefile
config.status: creating riscv-fesvr.pc
config.status: creating riscv-disasm.pc
config.status: creating riscv-riscv.pc
config.status: creating config.h
@malcolmlewis great. This solved the issues.
Big big thanks
@mark07 Just an FYI, I did build this as an rpm, but may also be interested in Ripes which I also packaged up for a Aeon user (to use in distrobox)…
https://build.opensuse.org/package/show/home:malcolmlewis:TESTING/riscv-isa-sim
https://build.opensuse.org/package/show/home:malcolmlewis:TESTING/Ripes
@mark07 I submitted the rpm to the Emulators development repository if wanting to use.
Great thanks a lot @malcolmlewis