Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package generation for Patchbox OS 2020-11-23 almost ok #137

Open
f1oat opened this issue Aug 25, 2021 · 1 comment
Open

Package generation for Patchbox OS 2020-11-23 almost ok #137

f1oat opened this issue Aug 25, 2021 · 1 comment
Assignees

Comments

@f1oat
Copy link

f1oat commented Aug 25, 2021

I have been able to compile pd-ceammc and all associated externals with my RPi-4 running Patchbox OS .
I am using the following commands:

sudo apt-get install cmake pkg-config libasound2-dev libmodplug-dev      libboost-dev gettext libavahi-compat-libdnssd-dev libsndfile1-dev     libjack-jackd2-dev libfftw3-dev tcllib tklib alsa-utils build-essential     patchelf git libarmadillo-dev libusb-1.0.0-dev libglib2.0-dev libxcb-randr0-dev    libxcb1-dev x11proto-dev lsb-release

sudo aptitude install llvm-9-dev
sudo aptitude install libedit-dev

git clone https://github.com/uliss/pure-data
cd pure-data
git submodule init
git submodule update --init --recursive
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_PORTAUDIO=OFF \
      -DCMAKE_BUILD_TYPE=Release -DWITH_ALSA=ON \
      -DWITH_JACK=ON -DWITH_PORTMIDI=ON ..
make

"make install" is ok and everything is running correctly.
However, "make package" exits with errors:

CPackDeb: - Generating dependency list
CMake Error at /usr/share/cmake-3.16/Modules/Internal/CPack/CPackDeb.cmake:317 (message):
  CPackDeb: dpkg-shlibdeps: 'dpkg-shlibdeps: warning:
  ./usr/lib/pd_ceammc/extra/lyonpotpourri/expflam~.pd_linux contains an
  unresolvable reference to symbol class_domainsignalin: it's probably a
  plugin

....

  dpkg-shlibdeps: error: cannot find library libLTO.so.9 needed by
  ./usr/lib/pd_ceammc/extra/ceammc/lang.faust~.pd_linux (ELF format:
  'elf32-littlearm' abi: '0101002800000000'; RPATH:
  '/usr/lib/pd_ceammc/extra/ceammc')

  dpkg-shlibdeps: error: cannot find library libRemarks.so.9 needed by
  ./usr/lib/pd_ceammc/extra/ceammc/lang.faust~.pd_linux (ELF format:
  'elf32-littlearm' abi: '0101002800000000'; RPATH:
  '/usr/lib/pd_ceammc/extra/ceammc')

...

CPack Error: Error while execution CPackDeb.cmake
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: puredata
make: *** [Makefile:140: package] Error 1

These missing libs are present in "/usr/lib/llvm-9/lib/" directory (provided by "llvm-9-dev" package).
Any clue on how to solve this issue?
Thanks.

@uliss uliss self-assigned this Aug 25, 2021
@uliss uliss added the bug label Nov 5, 2021
@uliss
Copy link
Owner

uliss commented Nov 5, 2021

at this the simple adhoc solution is build without FAUST support.

cmake ... -DWITH_FAUST=OFF ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants