deb

gtk+-3.0 not found issue

跟風遠走 提交于 2019-12-11 12:57:42
问题 I'm writing program using Vala language. When I try to build a .deb package on Launchpad, I get this error CMake can't find valac package gtk+-3.0 . It uses valac version 0.30 . Though it does find it, when I do this on my computer (use cmake to build). This is first time I try to build .deb package, so I'm a bit confused with what to do... Can anyone tell me how to fix this? Thanks in advance. 回答1: The error is quite clear, CMake can't find the pkg-config package named 'gtk+-3.0'. You have

During pbuilder build: run setup.py --install-layout=deb fails (no rights to write to /usr/lib/python2.7/dist-packages)

女生的网名这么多〃 提交于 2019-12-11 05:48:22
问题 I am trying to create PPA for PJSIP and would like to include the python-bindings. I modified the Makefile, so that setup.py is called: install: cd somefolder && python setup.py install --install-layout=deb However, in the pbuilder environment it fails due to insufficient rights on /usr/lib/python2.7/dist-packages/ and I cannot use sudo (obviously)... Suggestions? 回答1: Your debian/rules install target must never install any files outside of the build tree. Instead, it should be installing to

dpkg-buildpackage -uc -us -b fails with “dpkg-shlibdeps: error: couldn't find library libmono-2.0.so.1 needed by …monodis.”

a 夏天 提交于 2019-12-11 03:09:06
问题 Trying to build simple .deb packages with this script is failing with this: dh_installexamples dh_installman dh_installcatalogs dh_installcron dh_installdebconf dh_installemacsen dh_installifupdown dh_installinfo dh_pysupport dh_installinit dh_installmenu dh_installmime dh_installmodules dh_installlogcheck dh_installlogrotate dh_installpam dh_installppp dh_installudev dh_installwm dh_installxfonts dh_bugfiles dh_lintian dh_gconf dh_icons dh_perl # Skipping dh_usrlocal - empty override dh_link

Installing perl module: cpan shell vs rpm/deb

喜欢而已 提交于 2019-12-10 15:24:25
问题 I just wonder - are there any advantages to installing perl modules from the cpan shell compared to installing them by package management? Apart from occasionally having quicker access to the latest modules version? 回答1: Well, it all depends on the intended use of the modules. The native package management has many advantages: The Perl modules will integrate perfectly with your system, e.g. files are in the right (system-dependant) place, scripts added to the PATH, etc. Automatic upgrades and

How to build and deploy package with different versions of one dependency?

无人久伴 提交于 2019-12-10 13:45:15
问题 For example I maintain an application that uses libmemcached. I can compile it using libmemcached5 or libmemcached6, also build .deb package pointing to libmemcached5, libmemcached6 or even libmemcached5|libmemcached6 as dependency, but actually my binary is compiled with only one of them. What's the best way I can solve this trouble to deploy my package without upgrading/downgrading any dependencies on the user-side? 回答1: If you are using a repository, or if multiple compiled versions of

How to create a simply debian package (just compress/extract sources or any files with debian packaging)

别说谁变了你拦得住时间么 提交于 2019-12-09 06:58:03
问题 I need to create a new .deb package of Realxtend project (https://github.com/realXtend/naali). It's a huge project with a lot of dependencies and a automatic bash script (/tools/Linux/build-deps.bash) to download, compile and install all deps and executables. So I try many tutorials but I often some errors and i'm stuck because tutorials are outdated (with new 'rules' file mainly) ...and also because i'm not a dev initialy. So, for beginning, I just need create a .deb file exactly like an

How to install dependencies while creating a .deb installer?

ε祈祈猫儿з 提交于 2019-12-07 12:12:28
问题 I have created a deb package say abc.deb . Now there are few dependencies like python-dev, python-mysql etc., which are needed to be installed as a part of deb installation itself. (i.e. when user runs dpkg -i abc.deb , the dependencies should also get installed automatically). I am using a control file which contains few parameters like preinst, postinst etc. I tried to add Depends to the control file, but I guess, Depends only stops package installation if dependencies mentioned are not

apt preferences pin: origin local?

半世苍凉 提交于 2019-12-07 03:54:13
问题 I have dropped fglrx from my notebook and return to the free drivers but xfce4-power-manager fails to start. it was a known bug I got apt-get source, apply the patch, build and install it. now all works perfect, I have reported this bug to debian. but now I want to hold this package to prevent upgrades for some time I know that clumsy way is to bump the package build version part. for example 1.0.10- 5 and then hold package by a version: Package: xfce4-power-manager Pin: version 1.0.10-5 Pin

CPack tries to build all targets

↘锁芯ラ 提交于 2019-12-07 02:57:39
问题 I have a CMake project composed of one root CMakeLists and multiple sub- CMakeLists (one for each project). I am trying to use CPack to generate a .deb file for one of these projects (APP_client). Yet, when I try to run CPack , it first runs a 'preinstall' and try to build all targets. I want to build only the required targets and their dependencies. Here is what I added to one of my CMakeLists : if(UNIX) INSTALL( TARGETS ${PROJECT_NAME} COMPONENT ${PROJECT_NAME} DESTINATION ${PROJECT_INSTALL

CPack DEB generator: control-file-has-bad-permissions mdsums 0644 != 0644

谁说我不能喝 提交于 2019-12-07 01:04:02
问题 I am developing small console application and I was trying to create Ubuntu package using CPack. Ubuntu version is 13.04 and my main CPack file is below. Package is created correctly, but while trying to install it using graphic interface (basically double click on deb file in Ubuntu) following warning appears: Package is of bad quality control-file-has-bad-permissions mdsums 0644 != 0644 Does anybody know what is the reason of that? And more importantly, how to fix it? CMake version is 2.8