Re: Questions about creating a development package
"Isak Savo" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
2007/10/15, Jan Niklas Hasse <[email protected]>: > Hi, > > I'm not English, so there might be some mistakes. ;-) > First of all i want to say, that autopackage is great! I really thank you > for creating it, it's very good, i like it! Great! > Because I want to see more programs using it, I am trying to let my own > programs use it. The first one i tried is a static library, the package > installs the development version (.a, .hpp, .pc). > I got 2 questions: > - How can i require the dev versions of packages? E.g. i have to require > libpng-dev. You have to think in different terms. You don't *really* depend on something named libpng-dev, you depend on header files and some libs, right? You should check for these. If the existing png-skeleton[1] doesn't do this already, you'll need to either create a new skeleton or write the required code in your [Prepare] section. > - What's wrong with the attached apspec? When i try to install the created > package i get: > Installing libraries... > Installing compile-time configuration files... > Error: Package jngl Library could not be installed. It could be the copyFiles call that's failing because the directory doesn't exist. You might wanna set DEBUGLEVEL to 3 and re-run the installation. That should give you more detailed output: export DEBUGLEVEL=3 package install xyz.package -Isak [1] http://trac.autopackage.org/browser/main/trunk/share/skeletons/%40libpng.org/libpng/skeleton.1 --------------------------------------------------------------------- To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]