Re: xindy.pl incorrect bin path? Or incorrect invocation?

Christopher Weedall <[email protected]> Sun, 5 Mar 2017 22:29:08 +1100
Newsgroups gmane.comp.tex.miktex
Message-ID <CAMCFPw=JL+wgc8Q4HS=WYV+Yb+o-TMNdwV0vsMr_vgt7D5mWWw@mail.gmail.com>
I followed the suggested procedure, refreshing FNDB and updating formats
(user + admin) prior to reinstall and following the reinstall.  Upon
invoking xindy.exe the first time, it downloaded and setup up the .pl files
... into the UserData directory again.  I figured this happened because I
called it from a regular user command prompt.  Repeated the process,
invoked xindy.exe from an elevated prompt...same problem.

I copied the xindy folder into the MiKTeX script directory in Program Files
and deleted the UserData xindy folder.  Refreshed FNDB and updated formats
(user + admin), to be certain.  This *did* get the invocation working (i.e.
fixed it).

I'm concerned that although this worked properly, it will either break or
not update upon a future update.  Any ideas what I may have done wrong
during the installation process?

For reference, after installing xindy via the admin package manager, the
following details accompanying the download install in the command prompt
(via either regular user or elevated prompt):

C:\Program Files\MiKTeX 2.9\miktex\bin\x64>xindy

======================================================================
starting package maintenance...
installation directory: C:\Users\MYUSERNAME\AppData\Roaming\MiKTeX\2.9
package repository:
http://ftp.yzu.edu.tw/CTAN/systems/win32/miktex/tm/packages/
lightweight database digest: cd0965ebbb7fa65525d4da14db258bf6
going to download 133165 bytes
going to install 432 file(s) (1 package(s))
downloading
http://ftp.yzu.edu.tw/CTAN/systems/win32/miktex/tm/packages/xindy.tar.lzma.
..
133165 bytes, 30.48 KB/Sec
extracting files from xindy.tar.lzma...
======================================================================
xindy.pl: Cannot locate bin directory at
C:\Users\MYUSERNAME\AppData\Roaming\MiKTeX\2.9\\scripts\xindy\xindy.pl line
415.


Best,
Chris

On Sun, Mar 5, 2017 at 9:43 PM, Ulrike Fischer <[email protected]> wrote:

> Am Sun, 5 Mar 2017 11:29:55 +1100 schrieb Christopher Weedall:
>
> > Oh yes, sorry I forgot to mention this.  Calling it from
> makeglossaries.exe
> > is what tipped me off to the problem.  Calling xindy directly gives me
> the
> > same issue.  Specifically:
> >
> > C:\Program Files\MiKTeX 2.9\miktex\bin\x64>xindy
> > xindy.pl: Cannot locate bin directory at
> > C:\Users\MYUSERNAME\AppData\Roaming\MiKTeX\2.9\scripts\xindy\xindy.pl
> line
> > 415.
>
> This sounds as if you did install xindy with the package manager
> (user).
>
> I suggest to deinstall it, and reinstall it with the package manager
> (admin) so that xindy.pl is in
>
>  C:\Program Files\MiKTeX 2.9\scripts\xindy\xindy.pl
>
> The xindy code is not really adapted to multiple texmf-trees.
>
>
> --
> Ulrike Fischer
> http://www.troubleshooting-tex.de/
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Q: How can I leave the mailing list?
> A: See http://docs.miktex.org/faq/support.html#leavingml
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml