¦ news ¦ ¦ about ¦ ¦ faq ¦ ¦ links ¦ ¦ gnupg public key ¦
| faq |
|---|
|
kmail / gnupg doesn't validate keys
to fetch keys from a keyserver automatically, you need to edit
your ~/.gnugpg/gpg.conf
|
|
configure can't find qt headers and libraries first, make sure the qt-libs and -headers are installed. with sid, this should look like this:
now tell configure where qt is found:
if you use the debian-way of packaging, just edit the appropriate line in debian/rules the same. |
|
how to build a debian package from source - quick & dirty sometimes you find a new piece of software that you want to take a look at, which isn't in the official debian distribution, or you just find a newer (and maybe unstable) release with the cutting-edge feature you just have been looking for. some developers put debian packages on their pages, maybe you find it in a repository on apt-get.org or via google. if you can't find a deb or just want to build one for yourself anyway, here's a quick and pretty dirty description on how to do it. before doing anythig, read any readme's, install's and crawl through the application's doc directory and its homepage. those places provide useful information on how to build the software without getting headaches! first, you have to set up a proper 'packaging-environment'. therefore you should install dh-make, gcc and g++:
this installs all the tools neccessary for building your own packages (other tools like fakeroot are not neccessary but would come in handy, so you might want to install it). check the source directory of the application you want to build for a debian directory. this directory contains all the information needed by the building and packaging tools. some developers have already done this, an example would be mplayer. if you can't find such a directory, you have to create one by running
within the source directory. always choose single-binaries. if you have any parameters to pass for ./configure, open debian/rules and edit the appropriate line. having done this, change to the sources root directory and call
to start the configure, building and packaging process. there's a good chance that ./configure will stop, telling you that needed applications or libraries or can't be found. in that case, just search for the missing package with
or search packages.debian.org and install it. run
again, and repeat the above steps until ./configure finishes succsessfully and the building process starts. if the process runs through without further errors, you'll find the debian-package one directory lever higher. to install, become root and type:
note : as mentioned in the beginning, this was quick and dirty. to learn how to create packages the debian way correctly, read the debian new maintainers' guide. a german translation of this short how-to can be found on debianforum.de. |
created 2003 by sk (aka chimaera)