building a debian package

Mikael Magnusson mikma264 at gmail.com
Sat Aug 19 11:56:00 CEST 2006


Renato Serodio wrote / skrev:

> Hello there!
> 
> So, I've finally managed to compile my minisip copy out of SVN. Now, I
> need to run it.. I'd like to run it now, but the binary that goes into
> 'install' eventually segfaults, probably because I didn't actually
> call 'install' to deploy on the system..
> 
> Well, I didn't install it because I tend to forget I did - and it's a
> pain cleaning the mess for a fresh installation.

The build.pl script by default installs minisip into the local install 
directory, which makes it easy to remove. And should be enough to 
install the minisip target, since the libraries can be used from the 
build directories.

> 
> As it appears, the code ships with the debianizing instructions :)
> Now, I tried running ./build.pl packages minisip, but I get the reply:
> 
> ./build.pl packages minisip
> packages: libmutil libmcrypto libmnetutil libmikey libmsip libmstun
> libminisip minisip
> No changes file found at
> /home/rdrs/src/minisip/trunk/build.d/dist/debian/dist.pl line 238.
> Changes not found: 
> /home/rdrs/src/minisip/trunk/build/build-area/debian/libmutil
> 
> So I tried
> ./build.pl dist+packages minisip, which spat out:
> <snip>
> No changes file found at
> /home/rdrs/src/minisip/trunk/build.d/dist/debian/dist.pl line 238.
> Changes not found: 
> /home/rdrs/src/minisip/trunk/build/build-area/debian/libmutil
> 
> I'll own: I'm not fully grasping the workings of the build.pl script.
> Would anyone care to lend a hand?
> 

You should use the package action instead of packages, to build the 
Debian packages.

Mikael



More information about the Minisip-devel mailing list