MiKTeX Dojo

The MiKTeX Information Center
Welcome to MiKTeX Dojo Sign in | Join | Help
in Search

MiKTeX Tools 2.5 Beta 15

Last post 10-23-2007, 4:41 by hansfn. 9 replies.
Sort Posts: Previous Next
  •  06-19-2007, 13:03 1407

    MiKTeX Tools 2.5 Beta 15

    I am pleased to announce the release of MiKTeX Tools 2.5 Beta 15.

    Please note that the MiKTeX Tools package does not comprise a TeX system. The package should be regarded as an addition to the TeX system installed on your system.

    The package is meant to be compiled on Unix-like operating systems.

    The following utilities are included:

    • command-line version of the MiKTeX Package Manager (MPM)
    • initexmf: creates the MiKTeX file name database files
    • mthelp: utility to browse TeX package documentation (experimental)

    Changes

    Beta 15 introduces support for LZMA compressed tar files.

    Prerequisites

    The MiKTeX Tools package is mostly written in C++.  It should work with any ANSI-compliant C++ compiler.

    The package depends on the availability of pthreads libraries and header files.

    It is required that libCURL is installed and usable, i.e.,

    > curl-config --version

    should output a line similar to this:

        libcurl 7.11.1

    Download link

    http://prdownloads.sourceforge.net/miktex/miktex-tools-2.5.2719-beta-15.tar.gz?download

    Reporting issues

    Please post a message to this thread, if you find it difficult to install/use the package.

  •  06-26-2007, 15:09 1445 in reply to 1407

    Re: MiKTeX Tools 2.5 Beta 15

    Thanks for the new release - I was just about to post about support for the new LZMA compressed tar files.

    However, I have two issues that probably where present in beta 14 as well:

    1. When an update for a package fails (with "mpm: Operation not permitted"), the package is unregistered. The package is no longer listed as installed when running "mpm --list" or it is reported as not installed if trying uninstall.
    2. The permission check is broken. I'm part of the group "mipakke" which has write access, but mpm fails with "Operation not permitted" even if I manually can remove and create files in the same directory. Just some lines from the shell showing what is going on.

      fcihn@mipack32Movie(23:56)19>mpm --update=hyperref
      mpm: Operation not permitted: /usr/local/share/texmf/tex/latex/hyperref/backref.sty
      fcihn@mipack32Movie(23:44)20>ls -l /usr/local/share/texmf/tex/latex/hyperref/backref.sty
      -rw-rw-r-- 1 root mipakke 8862 Jun 18 17:33 /usr/local/share/texmf/tex/latex/hyperref/backref.sty
      fcihn@mipack32Movie(23:45)21>rm /usr/local/share/texmf/tex/latex/hyperref/backref.sty
      rm: remove regular file `/usr/local/share/texmf/tex/latex/hyperref/backref.sty'? y
      fcihn@mipack32Movie(23:45)22>mpm --install=hyperref
      mpm: Operation not permitted: /usr/local/share/texmf/tex/latex/hyperref/hdvipdfm.def
      fcihn@mipack32Movie(23:45)23>ls -l /usr/local/share/texmf/tex/latex/hyperref/{backref.sty,hdvipdfm.def}
      -rw-r--r-- 1 fcihn fci      8862 Jun 18 17:33 /usr/local/share/texmf/tex/latex/hyperref/backref.sty
      -rw-rw-r-- 1 root  mipakke 31272 May 29 17:18 /usr/local/share/texmf/tex/latex/hyperref/hdvipdfm.def

      I can of course start to debug this myself, but maybe you have a clue about what is going one?
    Thx again for making MPM available on *nix.

    Regards Hans
  •  06-27-2007, 3:55 1446 in reply to 1407

    Re: MiKTeX Tools 2.5 Beta 15

    Hello,

    thank you for providing miktex tools for **nix systems.

    The command : curl-config --version

    gives me back: libcurl 7.15.5

    But, when I try to update, it says:

    mpm: libCURL does not seem to be available.

    Do you have any idea what I can do to make this great tool run on my sys?

    Thanks-
    Frank


  •  10-15-2007, 6:11 1735 in reply to 1407

    Re: MiKTeX Tools 2.5 Beta 15

    When I try to update the  database, I get the following error:

    mpm: Server was unable to process request. ---> Object reference not set to an instance of an object.

    More Info :

    ztm43->mpm --update-db --trace
    core: initializing MiKTeX core library version 2.5.2395
    core: operating system: Linux 2.6.14-2-k7-smp #2 SMP Fri Dec 30 03:34:02 CET 2005 i686
    core: program file: /localdata/bin/mpm
    libmpm: initializing MPM library version 2.5.2392
    core: The MiKTeX function Unknown fails for the following reason:
    Server was unable to process request. ---> Object reference not set to an instance of an object.
    Info:
    Source: mpm.cpp
    Line: 1273
    core: uninitializing core library
    mpm: Server was unable to process request. ---> Object reference not set to an instance of an object.

  •  10-15-2007, 15:56 1736 in reply to 1735

    Re: MiKTeX Tools 2.5 Beta 15

    I get the same error on two different systems (debian and Fedora Rel 7).

    strace mpm --update-db

    [...]
    connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("66.186.25.41")}, 16) = 0
    send(3, "POST /Repository.asmx HTTP/1.1\r\n"..., 655, 0) = 655
    recv(3, "HTTP/1.1 500 Internal Server Err"..., 65536, 0) = 777
    shutdown(3, 2 /* send and receive */)   = 0

    The address resolves to api.miktex.org. 

  •  10-20-2007, 11:43 1744 in reply to 1735

    Re: MiKTeX Tools 2.5 Beta 15

    Also good this error in Kubuntu 7.10:

    mpm: Server was unable to process request. ---> Object reference not set to an instance of an object.


    Other report the same:
    http://forum.ubuntuusers.de/topic/122256/#996774
  •  10-21-2007, 2:08 1745 in reply to 1744

    Re: MiKTeX Tools 2.5 Beta 15

    I also get the error on my MacBook Pro, Xcode 2.4.1, TeXlive 2007.
    It seams that mpm has problem connecting to the server providing repository data.

    A workaround: Manualy define the repository to use.
    Exmaple:
    mpm --update-db --repository=ftp://mirrors.dotsrc.org/ctan/systems/windows/miktex/tm/packages

    Find your repository here: http://miktex.org/Repositories.aspx

    You have to specify the repository everytime you use mpm. If you are lazy you can create an alias in you profile or bashrc (depending on your system. On my mac ~/.profile are loaded when a new terminal is opened).
    Example (on Mac OS X you need to run mpm as superuser it may not be needed on your system):
    alias mpm='sudo mpm --repository=ftp://mirrors.dotsrc.org/ctan/systems/windows/miktex/tm/packages'

  •  10-22-2007, 14:21 1746 in reply to 1745

    Re: MiKTeX Tools 2.5 Beta 15

    Seems to work, thanks.
    If problem also occures in windows environments you can use
    --set-repository
    instead of
     --repository
    to set a repository permanently.

    Does somebody know where the repository is stored in a non windows environment?
  •  10-23-2007, 4:26 1747 in reply to 1407

    Re: MiKTeX Tools 2.5 Beta 15

    Is there a trick to know which package is included in package groups?  For example, I want to install mathdots, and http://www.dante.de/CTAN//help/Catalogue/entries/mathdots.html says it is included in MiKTeX.  However, I do not find it in mpm --list.  So I suppose it is in some other package.  But which one?
  •  10-23-2007, 4:41 1748 in reply to 1747

    Re: MiKTeX Tools 2.5 Beta 15

    genmisc because

    > grep -l mathdots /usr/local/share/texmf/tpm/packages/*
    /usr/local/share/texmf/tpm/packages/genmisc.tpm

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems