This repository was archived by the owner on Nov 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
Building later versions #8
Copy link
Copy link
Open
Description
Currently, we build the version in Ubuntu, which is rather old. Here are my notes from building the latest version on Debian 12.
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get -y --no-install-recommends -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' dist-upgrade
apt-get -y --no-install-recommends -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' install build-essential ca-certificates devscripts equivs pkg-config wget cmake libssl-dev libpam0g-dev libxml2-dev libcurl4-openssl-dev libcimcclient0-dev swig python3-dev dh-python
mkdir -p /src
cd /src
wget https://mirrors.edge.kernel.org/ubuntu/pool/universe/s/sblim-sfcc/sblim-sfcc_2.2.8-0ubuntu2.dsc \
https://mirrors.edge.kernel.org/ubuntu/pool/universe/s/sblim-sfcc/sblim-sfcc_2.2.8.orig.tar.bz2 \
https://mirrors.edge.kernel.org/ubuntu/pool/universe/s/sblim-sfcc/sblim-sfcc_2.2.8-0ubuntu2.debian.tar.xz
# Building libcimcclient0-dev, which is a build dep of openwsman
dpkg-source -x sblim-sfcc_2.2.8-0ubuntu2.dsc
cd sblim-sfcc-2.2.8
# Add the -y to the command so it's noninteractive
mk-build-deps -i -t '/usr/bin/apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
# debuild fails with message about trying to modify the build-deps files otherwise
rm *build-deps_*
debuild -us -uc
cd /src
dpkg -i --no-debsig libcimcclient0-dev_2.2.8-0ubuntu2_amd64.deb libcimcclient0_2.2.8-0ubuntu2_amd64.deb libcimcclient0-dbgsym_2.2.8-0ubuntu2_amd64.deb
wget https://github.com/Openwsman/openwsman/archive/refs/tags/v2.7.2.tar.gz
tar -zxvf v2.7.2.tar.gz
cd openwsman-2.7.2/
# patch CMakeLists.txt#Line115 to OPTION( BUILD_PYTHON "Build Python2 bindings" NO )
# patch bindings/python/CMakeLisets.txt:Line16 and add 3.11
mkdir build
cd build
cmake ..
make all
That will make the files in bindings/python/
Metadata
Metadata
Assignees
Labels
No labels