Comments (6)
Sorry, buildpackage is
dpkg-buildpackage -rfakeroot -b -us -uc
rm -f ../*buildinfo
rm -f ../*changes
from baresip.
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.
and what lib is behind this buildpackage
that you run?
from baresip.
Is pkg-config
installed? It provides path hints.
from baresip.
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.
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)
- Non-conditional and wrong standard RPATHs break building on Fedora HOT 3
- new compiler warnings HOT 2
- ausrc_format & auplay_format - distorted audio HOT 9
- Can this project connect websocket
- MQTT client does not reconnect after connection issues HOT 6
- test_call_change_videodir fails sometimes. HOT 1
- libbaresip cmake fails to find FFMPEG HOT 2
- Wrong UA_EVENT on incoming call with early video HOT 3
- Module aufile does not work properly as audio source for calls HOT 11
- ua: sip:alice@office: UA not found: HOT 5
- How to integrate baresip and ffmpeg?
- Echo cancellation HOT 4
- v3.9.0 build failure in Homebrew HOT 2
- Could NOT find RE (missing: RE_INCLUDE_DIR)
- Call getting rejected with "no common audio codecs - rejected" HOT 12
- -- Could NOT find GZRTP (missing: GZRTP_INCLUDE_DIR) HOT 4
- aufile: ITU G.711 mu-law with 8000 sample rate are played much too fast HOT 5
- calls from -e are starting before register HOT 7
- gst module not found in debian 11 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baresip.