On Mon, 2003-07-21 at 22:24, Jake Colman wrote:
>>>>> "VS" == Ville Skytt <Ville>
writes:
VS> On Mon, 2003-07-21 at 21:09, Jake Colman wrote:
>> Under what circumstances must REQUIRED be used? I have a package that
>> requires another package to be installed in order for it execute. I can
>> build the package, however, without specifying that package in REQUIRED and
>> if I do specify it the build fails. The build works because my PRELOAD
looks
>> for the other package in the load-path and sets things up accordingly.
>> As long as the other package has been installed, I am ok.
VS> To me it looks like you're using it correctly, but just to verify, you
VS> are using REQUIRES in Makefile, not REQUIRED?
Yes, REQUIRES. Sorry, typo.
Ok. I should have elaborated a bit, REQUIRES is used eg. to "pull in"
the auto-autoloads of required packages at build time.
>> So, do I have to bite the bullet and figure out why my
build fails or can I
>> leave it out of REQUIRED? If REQUIRE is only for build-time issues than I
am
>> OK. If REQUIRE is used so that the package management facility knows each
>> package's runtime prerequisites than I am stuck.
VS> It's kinda both. It's really for build time dependencies, but the
VS> package ui uses it to suggest (not enforce) installation of
"dependent"
VS> packages (see 'r' in the "List and install" view).
Hmmmm. My package definitely requires the other one or it cannot be used.
So, first I need REQUIRES to work so that the package GUI can make the proper
suggestion. I also need to enforce that the dependant package is actually
installed.
Oy! How do I do this? And how can I track down why I cannot compile if I
use REQUIRES?
I think REQUIRES can eventually be used, and bet there's a bug lurking
somewhere currently. Possibly one of the below, or a missing autoload
cookie in hyperbole.
Here's a couple of things to check (dirs relative to packages top dir):
- Is oo-browser listed in package-compile.el (package-directory-map)?
*** I see that hyperbole isn't; it should be. Does adding them help?
- Is oo-browser in xemacs-packages/Makefile (PACKAGES)?
Posting an URL to a tarball containing your xemacs-packages/oo-browser
dir would be helpful...
--
\/