Giter Site home page Giter Site logo

[deb] mraa deb pkg about mraa HOT 4 CLOSED

eclipse avatar eclipse commented on August 15, 2024 1
[deb] mraa deb pkg

from mraa.

Comments (4)

tingleby avatar tingleby commented on August 15, 2024 1

The IPK generation feature in the build system is a bit rusty and isnt really used that much any more.
A better way to create the DEBs it to use the debian build system

https://launchpad.net/~mraa/+archive/ubuntu/mraa/+files/mraa_1.3.0-2.debian.tar.xz
Is a copy of the latest debain/* files that is used for the PPA. These should work for Debain too.

from mraa.

g-vidal avatar g-vidal commented on August 15, 2024

Hi,

I don't know if it is the right place to submit this comment... sorry if it is so.
Last week I have built a deb package without any problem, today I am getting an error message that I cannot debug. I am using a RaspBerry Pi3 with debian stretch distribution installed.

I am compiling the last version of node and swig before dealing with mraa. mraa compilation and standard installation is OK, ipk package generation is OK but it fails for deb package. I have also checked with checkinstall that also fails.

Here are the commands and traces :

mkdir build
cd build
cmake -DIPK=ON -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install 
sudo make package
.[ 22%] Built target mraa
../...
[100%] Built target I2c-compass
Run CPack packaging tool...
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: mraa
CPack: - Install project: mraa
CPack: Create package
CPack: Package mraa_1.3.0.17_armv7.ipk generated.
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
Makefile:105 : la recette pour la cible « package » a échouée
make: *** [package] Abandon

I am trying to maintain a stretch image with mraa and upm for raspberry Pi3 ant that would help a lot to be able to build deb package. Thanks for any help.
Best regards

from mraa.

arfoll avatar arfoll commented on August 15, 2024

@g-vidal We simply don't support building DEBs in this way. Packaging mraa in this way is really not recommended. Using the packages from our ubuntu PPA are a much better starting point.

from mraa.

g-vidal avatar g-vidal commented on August 15, 2024

OK
Thanks for the quick answer and great work. I'll try to adapt myself to this evolution... for the moment we will use the original git sources.

from mraa.

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.