[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pbuilder problem



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Luca Bedogni wrote:
> Hi mentors
> 	made my first libpackage and the program is the following.
> When i launch pbuilder on another package that uses my library-package i got 
> that he can't use the include. I use the package from a local repository.

You should add a "Build-Depends" line to the control file of the other
package. You get errors because the development package containing the
header files is missing from the jail used to build the package.

For example, if your package is called libfoo (thus you build
libfoo-dev, too), you should add:

Build-Depends: libfoo-dev

to the debian/control file of the package which fails to build.

This requires that the package libfoo-dev to be available (ie.
installable) inside the pbuilder jail. You can use the local repository
for that.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFZiPwGJRwVVqzMkMRAmnyAJ9415o1AJAD9bPGxlAz1u/tKdL/kACgnXDi
nqF/h586cLMIhVqg40L6wLA=
=2KHA
-----END PGP SIGNATURE-----



Reply to: