Giter VIP home page Giter VIP logo

Comments (6)

juha-h avatar juha-h commented on June 1, 2024 1

Sorry, buildpackage is

dpkg-buildpackage -rfakeroot -b -us -uc
rm -f ../*buildinfo
rm -f ../*changes

from baresip.

juha-h avatar juha-h commented on June 1, 2024

This works for me when I run it in directory where re and baresip sources are located.

rm *.deb
#RE_VERSION=v3.6.0
#BS_VERSION=v3.6.0
RE_VERSION=main
BS_VERSION=main
cd re
git clean -dfx
git stash
git checkout $RE_VERSION
#git checkout `git rev-list -n 1 --before="2022-09-26 23:59" main`
git pull
echo "patching re ...."
for patch in ../re-patches/*; do
    patch -p1 < $patch;
done
buildpackage
cd ..
sudo dpkg -i libre_*deb libre-dev*deb
cd baresip-apps
git clean -dfx
git stash
git pull
cd ..
cd baresip
git clean -dfx
git stash
git checkout $BS_VERSION
#git checkout `git rev-list -n 1 --before="2022-09-26 23:59" main`
git pull
echo "patching baresip ..."
for patch in ../baresip-patches/*; do
    patch -p1 < $patch;
done
buildpackage
cd ..
sudo dpkg -i baresip_*deb libbaresip_*deb libbaresip-dev*deb

from baresip.

mirkobrankovic avatar mirkobrankovic commented on June 1, 2024

and what lib is behind this buildpackage that you run?

from baresip.

sreimers avatar sreimers commented on June 1, 2024

Is pkg-config installed? It provides path hints.

from baresip.

mirkobrankovic avatar mirkobrankovic commented on June 1, 2024

Yeah seems it is installed:
pkg-config is already the newest version (1.8.1-1).

What I noticed is that libre on Debian11 build has bigger size:
-rw-r--r-- 1 root root 897K Dec 20 16:50 libre.so.19.7.0
while on Debian12 :
-rw-r--r-- 1 root root 847K Dec 21 11:02 libre.so.19.7.0
so when I copy it from 11 machine to 12, baresip can find it and prepare build:

CMake Debug Log at cmake/FindRE.cmake:4 (find_path):
  find_path called with the following settings:

    VAR: RE_INCLUDE_DIR
    NAMES: "re.h"
    Documentation: Path to a file.
    Framework
      Only Search Frameworks: 0
      Search Frameworks Last: 0
      Search Frameworks First: 0
    AppBundle
      Only Search AppBundle: 0
      Search AppBundle Last: 0
      Search AppBundle First: 0
    CMAKE_FIND_USE_CMAKE_PATH: 1
    CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
    CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 1
    CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1
    CMAKE_FIND_USE_INSTALL_PREFIX: 1

  find_path considered the following locations:

    /usr/local/src/re/include/re.h

  The item was found at

    /usr/local/include/re/re.h

Call Stack (most recent call first):
  CMakeLists.txt:39 (find_package)


-- Found RE: /usr/local/lib/libre.so
CMake Debug Log at CMakeLists.txt:39 (find_package):
  find_package considered the following paths for FindRE.cmake:

    /usr/share/cmake-3.27/Modules/FindRE.cmake

  The file was found at

    /usr/local/src/baresip-3.7.0/cmake/FindRE.cmake

But then build fails cause it is probably not compatible:
Undefined references to Openssl 1.1.0 while on Debian12 I have openssl 3.0.11-1~deb12u2

from baresip.

mirkobrankovic avatar mirkobrankovic commented on June 1, 2024

I worked around the issue with coping libre.so.19.7.0 from Debian 11 and then preparing the build.
Then re-compiling re on Debian 12, and finally runing build of baresip on Debian12 and now i can run it

from baresip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.