[Q21.5] Sync canna_api load/install paths

Ville Skyttä scop at xemacs.org
Wed Jan 24 11:11:57 EST 2007


On Monday 22 January 2007 06:18, Stephen J. Turnbull wrote:
> QUERY
>
> Ville Skyttä writes:
>  > PATCH 21.5
>  >
>  > Cf. https://bugzilla.redhat.com/222559
>  >
>  > "make install" installs canna_api.ell to MODPATH/canna_api.ell, but
>  > canna-activate looks for it in MODPATH/canna/canna_api.ell.  This patch
>  > changes canna-activate to use the installed location.
>
> I'm pretty sure that will break run-in-place, that's why the canna/
> prefix is there (I mostly run in-place).

Ok, intention to commit as is withdrawn at least for now, will apply only in 
the Fedora packages as a band aid fix for the immediate problem.

> This needs to be fixed 
> either in the module search code or in the module's make all or make
> install targets.

Given the low number of available modules currently, I think the flat "make 
install" (ie. all modules installed to one dir, no subdirs) is fine.  No 
opinions about running in-place, as I practically never do it.  canna-leim 
could of course try both canna_api and canna/canna_api but that's not too 
clean.

BTW, without knowing much at all about the module search code and even less 
about it on eg. Windows; does loading a hardcoded thing like "foo/bar" with 
the forward slash path delimiter work on systems whose path delimiter is 
something else?



More information about the XEmacs-Patches mailing list