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

How to create installer package (*.deb or smth)? #1201

Closed
Zhomart opened this issue Mar 16, 2016 · 5 comments
Closed

How to create installer package (*.deb or smth)? #1201

Zhomart opened this issue Mar 16, 2016 · 5 comments
Assignees
Labels

Comments

@Zhomart
Copy link

Zhomart commented Mar 16, 2016

I have many devices with debian on them. My application is written using Poco. I have 1 development device where I compile and test my application. Now I want to install the application to all other devices.
Compiling Poco on each devices takes several hours without tests/samples.

I've tried compiling static independent binary using g++ -static but I couldn't make it work.
Now I've tried shipping compiled "libPoco*.so.41" together with app and run app with LD_LIBRARY_PATH set, couldn't make it run, complains about different versions of libstdc++.so.6.

Now I want to generate *.deb package for Poco and install it on other devices. I don't know is it a good/easy way.

How do you ship your application written using Poco?

@aleks-f
Copy link
Member

aleks-f commented Mar 16, 2016

see distro

@avalchev
Copy link

I also added a Dockerfile, which is building the package: Dockerfile (Hope this is the correct place).

@zosrothko
Copy link
Member

You can use the distro/Linux/Ubuntu/poco/1.6.1/debian/ directory to setup your own debian package or use this ppa if the poco-1.6.1 version is fine for your need.

  • sudo add-apt-repository -y ppa:zosrothko/poco
  • sudo apt-get update -qq
  • sudo apt-get install -qq -y libpoco-dev

@Zhomart
Copy link
Author

Zhomart commented Mar 16, 2016

This is just great, thank you! I'll test it out today.

@Zhomart
Copy link
Author

Zhomart commented Mar 16, 2016

I'm working on arm, unfortunately repository of @zosrothko didn't help. Tried building using distro stuck on some stupid issue pocoproject/distro#8.

I used commands from Dockerfile provided by @avalchev . It works, thank you!

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

No branches or pull requests

5 participants