Ubuntu :: Packaging Project As A .deb File?

Apr 16, 2010

I have nearly completed a project.My team developed using C,shell scripts and qt.I would like to know how to package it as a .deb file??Also during installation,i want it to check for the existence of few packages in the system.If they are not there,i want it to download them using apt.

View 3 Replies


ADVERTISEMENT

Networking :: Packaging A Traffic Shaper Project?

Oct 22, 2010

I have a SUSE Linux traffic shaper that can manage bandwidth usage per user and etc.for use it, we must configure LDAP server &client ,edit sudoerr's file, create mysql database with some tables� . Its interface is base on cgi&perl language . How do I package this project?
i don't know what part of proj is necessary for packaging (what is source code for creating a RPM package?)

View 1 Replies View Related

Ubuntu :: How To Install Pawn-3.3.4127.project File

Jul 13, 2011

I'm trying to install pawn for linux (downloaded from here: [URL] how to install pawn-3.3.4127.project file ?

View 3 Replies View Related

Ubuntu :: Program/project That Will Carve Spicific Points Out Of/off Of A File Name?

Feb 21, 2010

okay. here is the thing. i have files that are named using this setup.######.Username.Picturetitle.Extentioni was wondering if there was a program/project that will carve spicific points out of/off of a file name

View 2 Replies View Related

Ubuntu :: KDevelop4 Asks For Cmake File In Order To Finish Creating C++ Project?

Jan 4, 2010

relative n00b to C++ but I have heard that KDevelop rocks so I am using it as my IDE. what does it mean when it wants me to find a cmake file? idk what that is lol, just got through the section on if statements on my book. where do i find this file? are there any good tutorials on the KDevelop4 Enviroment?

Charlie

View 2 Replies View Related

Software :: Having Small Project Of Php Script And Mysql Database - How To Configure In .deb File

Jul 25, 2011

make deb package with samll project of php and myysql database such as login.php, index.php controll.php etc and database_name.sql. when i install this deb package my php script folder should go in /var/www file and databse should create automatically. i edit the control file of deb package , in depends line i set apache2, php and mysql because these three thing are necessary to run my script till here it is ok .but i am not able to send my project in /var/www and configure database automatically . i think for this i have to write .sh file but i dont know bash scripting

View 1 Replies View Related

Fedora :: Where To Ask For Packaging Rpm's

Jun 17, 2011

I've been using Ubuntu so far. There is a system of launchpad repositories where there are lots of programs available that are not in official repo. I've already added rpm fusion but still I miss many programs that I had on Ubuntu. I found this page and I wonder where I can ask for making rpm's. I need several programs:

No package acidrip available.
No package bombono-dvd available.
No package cdcat available.

[code]....

I now that I can compile from source code but I'm new to linux and it's too difficult for me. I haven't even found program alien on Fedora that allows to install packages from other distributions.

View 8 Replies View Related

Ubuntu Installation :: Cannot Get The Exclusive Lock On The Packaging Backend

Jan 15, 2010

" p, li { white-space: pre-wrap; }Cannot get the exclusive lock on the packaging backend. Please close any other legacy packaging tools that may be open." I cannot update anything, and I haven't opened another package downloader. The only one open is KpackageKit. Please help, is this a big or have a I got a virus or something? I don't know what information is needed so if I need to expand tell me what I need to retrieve and ill post it.I'm not good with Kubuntu problems.

View 2 Replies View Related

Debian :: Packaging Tarball Which Already Has A Directory?

Apr 4, 2011

I have an upstream source tarball which, by coincidence, already contains a directory named "debian", but which has nothing to do with the "debian" directory for packaging. Assume also that renaming this directory would be difficult, for example because many other parts of the code would need to be modified. On an rpm based system, this poses no problem to the packager, since the rpm build process is driven by an external spec file and never has to modify the original source. What would be the best way to package this on a debian system? Is it absolutely necessary to rename the original "debian" directory? Or can I make the dpkg build tools operate out of a different directory?

View 5 Replies View Related

Debian Programming :: Packaging A Qt Application?

Jan 3, 2009

I'm trying to package a Qt application using debuild. However, I can't figure out how to make qmake generate a correct Makefile.

The main problem is that the binary doesn't get put into ./usr/bin inside the .deb.

So dh_shlibdeps always fails and I get the following:

Code: Select alldpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}

The resulting debian package then has an empty "depends" field and no binary.

I used the Qt Hello World example application to start.

I changed debian/rules (generated by dh_make) so that it runs qmake as follows:

Code: Select all#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

[code]....

View 6 Replies View Related

Programming :: Regarding Packaging A Software Release?

Jan 20, 2010

I have a C++ application consisting of several source/header files. As part of the release management procedure, I use a shell script to package all necessary sources/headers in a tar file for a successful compilation on end-user site.However, for example, each time a new directory is created within application's source tree, I need to edit the shell script to implement necessary changes, which is error-prone.What is the best practice to package the source/header files of an application into a tar file ? Is there any tool that I can use for packaging purposes rather than writing my own shell scripts ? For example, how is Linux kernel itself packaged into a tar file ?

View 2 Replies View Related

Ubuntu :: Opening Synaptic Packaging Manager - Command Not Found?

Feb 5, 2010

Attempting to upgrade Firefox to 3.6. On opening synaptic package manager I get :-

An error occurred
E: dpg was interrupted, you must run 'dpkg--configure-a' to correct the problem.
E:_cache->open()failed,please report.

On entering 'dpkg--configure-a' on terminal I get 'command not found.

View 5 Replies View Related

Fedora :: Failed To Initialize Packaging Backend

Mar 16, 2010

Recently I started getting pop-up saying:

Code:
Failed to initialize
Failed to initialize packaging backend
This may occur if other packaging tools are being used simultaneously.
under more details i get:

Code:
There are unfinished transactions remaining. Please run yum-complete-transaction as root. I get to terminal, and as a root I try yum-complete-transaction, but it just says there are no unfinished transactions left. I tried to update thru yum, but this is what I get:

Code:
# yum update
Loaded plugins: fastestmirror, presto, refresh-packagekit
Determining fastest mirrors .....

After lots of googling, I tried:
"yum clean all",
"yum-comlete-transaction",
"rm -f /var/lib/rpm/__db*" + "rpm -vv --rebuilddb" + "yum clean all",

Everything else is working well, and I am able to update with "--skip-broken", but I keep getting this pop-ups. I use fedora 12.

View 5 Replies View Related

Debian :: Packaging / Preinst Script And Version Checking

Oct 27, 2015

How can I use the preinst script to check to see if the version that is installed older than the version trying to be installed and if so, take an action?

For example: if the software installed is at a version less than 6.14 then take an action, else return 0?

preinst:
Code: Select allset -e
case "$1" in
  install|upgrade)
  # if version installed <6.14 then do something else return 0
    ;;

[Code] ....

View 0 Replies View Related

Fedora :: KPackageKit: Failed To Initialize Packaging Backend?

Feb 26, 2010

I have error in KPackageKit when i try to install anything or check for updates:

Failed to initialize packaging backend. This may occur if other packaging tools are being used simultaneously.

Details: There are unfinished transactions remaining. Please run yum-complete-transaction as root.

I don't know anything about other packaging tools - I think I don't using any. Yum works fine in terminal. Reinstall PackageKit and KPackageKit files doesn't helped me. I also try to rebuilt rpm db:

rm -f /var/lib/rpm/__db*
rpm -vv --rebuilddb
yum clean all

I'm using Fedora 12 x86_64.

View 12 Replies View Related

CentOS 5 :: Restore Packaging System To An Usable State?

Jul 14, 2011

I've got a CentOS 5.2 installation with broken package system. When I try to do "yum update" I get lots of "Missing Dependency" errors. How could I restore it to a usable state?

View 6 Replies View Related

Software :: Use "mknod" Command For Build Root File System Of Project?

Aug 11, 2010

My team member want to use "mknod" command for build root file system of our project...

But, mknod is only excutable by "root".

I don't want to let them know the root password.

I think that "sudo" and "fakeroot" are the way to use mknod...

Except for those command, are there any way to use "mknode" ?

OR

Is there any solution for make "root file system ?"

View 1 Replies View Related

Debian Programming :: Packaging Shared Library With Python Wrapper

Apr 12, 2014

I have written a shared library and successfully used debhelper 9 to create a Debian package from source using a Makefile generated by cmake. I then went about writing a python wrapper to that library and wish to package that wrapper in with the library so I can have a single distributable rather than 2 separate ones.

All of my attempts so far have me placing my python source and a setup.py file in the same directory as the makefile at the time where I call debuild.

From here I have tried a couple different configurations to my debian/rules file as seen below:

Attempt 1:
# -*- makefile -*-
%:
dh $@ --with-python2 --buildsystem=python_distutils

This try seemed to package up the python stuff nicely but proceeded to ignore my makefile for the shared library and therefore ultimately failed.

Attempt 2:
# -*- makefile -*-
%:
dh $@ --with-python2

This try ran make, but completely ignored the python stuff. From some research I have gathered that the --buildsystem flag tells debuild to ignore any makefiles in the directory, which obviously causes a problem in my case.

Another attempt was to modify the build dependency to first run make and then call the python build process that file looked like this

Attempt 3:
# -*- makefile -*-

build:
dh $@
dh $@ --with-python2 --buildsystem=python_distutils
%:
dh $@ --with-python2 --buildsystem=python_distutils

This appears to somewhat work as both processes do build, but a few of the python files are still not getting installed.

Is this the way I should be going about doing this? I've noticed that most python wrappers tend to package themselves individually and then make that package dependent on the library it is attempting to wrap.

View 0 Replies View Related

Fedora :: Software Update Error - Failed To Initialize The Packaging Backend

Mar 15, 2010

From the GUI, software update gives the error "Failed to Initialize - Failed to initialize the packaging backend. This may occur if other packaging tools are being used simultaneously." In the more details, "There are unfinished transactions remaining.

I run a terminal, switch to root and do as it tells me. It returns saying that there are no unfinished transactions. I've run it several times with the same result. Then I run "yum clean all" and "yum upgrade." The upgrade processes runs and reports "there are unfinished transactions..." However, the upgrade process still completes. Basically it is now a severe annoyance, but the system does seem to upgrade. I just cannot figure out why there are somehow unfinished transactions that I cannot get rid of. I tried reinitializing the rpm database - no luck. How can I somehow reset yum?

View 2 Replies View Related

Fedora :: 13 - LDFLAGS - Avoid Re-compiling The Source And Only Run The Rpm Packaging Stuff With The Already Built Things

Jul 19, 2010

I recently installed Fedora 13 on my system, and I'm still in the process of setting it up as I like. As the FCEU and snes9x versions on rpmfusion are old (fceultra 0.98, snes without GUI), I wanted to compile my own RPMs Everything went OK, but I found myself having to build the packages several times because of missing LDFLAGS. I got several errors like "symbol X missing, it was found on Y so you may want to add Y to the linker flags", which I fixed by modifying & exporting LDFLAGS.

So, 2 questions:

1.- why are the LDFLAGS missing? How can I avoid having to set them up manually?
2.- There should be a way to avoid re-compiling the source and only run the rpm packaging stuff with the already built things (some option like 'don't build, only package'). how can I do that?

BTW, I can share my (pretty much hacked) .spec files if you are interested

View 8 Replies View Related

Ubuntu Multimedia :: Any Way Of Saving Project?

Feb 22, 2010

Yesterday I spent a good couple of hours putting together a video. When I shut down, Lives flushed my entire project because it uses a tmp working directory and places it as default in tmp.Today, I changed the working directory to Video, thinking this would be safe. Instead, the programme quit half-way through editing and I have now lost another good couple of hours.is there any way of saving my project?I can still see the .lay file but there doesn't seem to be any way of opening it.

View 7 Replies View Related

Ubuntu :: IBM Thinkpad Ressurection Project?

Mar 5, 2011

I want to resume a fantastic old laptop from 1993, the "IBM THINKPAD X86 Model" with 130,544KB of RAM. I love to think a new life for that unused hardware. I have a working usb port (not functional as BOOT) and a working cdrom/dvd device ( not functional as BOOT too) but the NIC is dead and don't have the Floppydisc device. I have a windows2000 professional on it, with a working connection ADSL via modem USB.

- At first for resolve the BOOT problem i download wubi.exe: wubi dont find the internet connection (probably because it's via USB), and it cant download the ISO - I try the WUBI installation on offline mode, with the relative ISO ( the "Ubuntu 10.04.2 LTS (Lucid Lynx)" ):

the installation work but it's stop at the "verify of the system" and the system doesn't work, probably because that Distro of Ubuntu it's a Desktop version, and that need 256MB of RAM and the Thinkpad have less memory. I need to install xubuntu on this machine but on the wubi offline installation don not exist that ISO. I don't want to surrender, this machine MUST have a new life!

P.S: when i'll install the system, i want to open the laptop and restore and redesign the plastic and much more! and i'll want to insert all the project here...

View 7 Replies View Related

Ubuntu :: How To Get Git Repo Up And Running For Project

Jun 15, 2011

I am trying to get a git repo up and running for a project. I currently am running git-daemon through xinetd, and can pull from the repo but not push back to it.

/etc/xinetd.d/git-daemon currently looks like this:
Code:
service git {
socket_type = stream
wait = no
user = gitman
group = gitman
server = /usr/bin/git-daemon
server_args = --inetd --reuseaddr --base-path=/home/gitman/root --export-all
--enable=receive-pack --verbose --syslog /home/gitman/root
log_on_failure += USERID }

And /var/log/messages looks like this:
Code:
Jun 15 15:25:14 dev1 xinetd[27922]: xinetd Version 2.3.14 started with libwrap
loadavg labeled-networking options compiled in.
Jun 15 15:25:14 dev1 xinetd[27922]: Started working: 1 available service
Jun 15 15:25:43 dev1 xinetd[27922]: START: git pid=27927 from=209.XXX.XXX.106
Jun 15 15:25:43 dev1 git-daemon[27927]: Extended attributes (22 bytes) exist
<host=dev1.aea.us.com>
Jun 15 15:25:43 dev1 git-daemon[27927]: Request receive-pack for '/EPA.git'

For some reason, the push request goes through, then stops and hangs. I went to lunch for an hour, and still nothing.

View 2 Replies View Related

General :: Run Java Project From Ubuntu Terminal?

Apr 28, 2011

I have a small java project that handle connections. In order to run it from the terminal I have to cd into the folder that contains the source and run the following command:
java -cp classes com.packagename.mainclass
Where classes is the folder that contains the classes. I want ubuntu to run this application on startup, is there a Java command I can use? Or am I just better off creating a shell script?

View 1 Replies View Related

Ubuntu :: Import Jcreator Project To NetBeans?

Aug 26, 2010

I just started taking AP Computer Science A at my high school and we are learning to program in Java. At school we use Windows XP laptops with Jcreator but at home I just have my desktop with Ubuntu 10.04. I installed NetBeans 6.8 with no issues but can't figure out how to import and be able to work on my Jcreator projects from school. Not sure if this is the right section but I really need to get something working for school.

View 2 Replies View Related

Ubuntu :: Python Begginer Project Proposals

Jan 22, 2011

I just finished my first bash script for moving around mp3s based on their ID3 tags. So I'm fairly new to this kind of stuff!Now I need a small program for Stop Motion. I need it to be light, To preview the camera frame, and some number of previous shot frames, via "onion skining" and surprise surprise, to control my camera.The thing is that I'm thinking of writing it in Python2.6 because I believe that it will be much more efficient and fun.

My question is:

a) Is this project small enough for me to tackle (considering I'm a freelance and currently theres no job to be found)

b) Would you propose an alternative language and why?

c) What about a nice link for learning a bit of Python!

View 7 Replies View Related

Ubuntu :: Recommendation For Project Management Software?

Mar 2, 2011

Does anyone have a recommendation for project management software? We don't need anything too fancy - just boiler plate tasks, time lines, Gantt and Pert charts, etc. We would like to put the area on the web with Apache using SSL/TLS and password authentication or client authentication (and an alternate port).

View 6 Replies View Related

Ubuntu Security :: SELinux Project Not Compatible

Apr 20, 2011

I would like to secure my site and I want to implement CAS for SSO, SELinux for the permission into my server and CODA, the last one I have read is not compatible with it, but I don't know if somebody have tried something. The most important request from HQ is use SELinux, they're conviced is the best one for the user permissions. I tried to look for some info in internet but there almost nothing.

View 2 Replies View Related

Ubuntu :: Status / Nature Of Xfce Project?

Apr 29, 2011

I want to deploy xubuntu on several computers for a long term use. I (not surprisingly) didn't like unity, and want to use a lightweight desktop with more or less classical design. Unity, Gnome 3 and KDE are not a solution, so the best thing that works for me is xfce on top of xubuntu. But... I heard some rumors on the net that this project is dying. So I want to know what is the status of this project?

Is it a live and kicking project with a growing community, or a remnant of the past with a small group of amateurs that keep it alive as a hobby. I need to rely on a solid project with a strong support that can't fade away in seconds. Same question about the 'ubuntu' part of 'xubuntu'. I'm sure there are people around here that follow those projects closely and can describe the situation.

View 9 Replies View Related

Ubuntu :: Collect2: Ld Returned 1 Exit Status In Cpp Project?

Apr 4, 2010

I am making a project learning about inheritance and polymorphism

it consists of
Account.h
Account.cpp

[code]....

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved