Hello Michael,
binary would be more than enough for me. It will only be used for the MikTeX local update purpose. I would highly appreciate if you could let me have this binary. I will try it at home and let you know whether it works. Kind regards,
Ardi
--- On Wed, 6/11/08, Michael DOUBEZ <michael.doubez@xxxxxxx> wrote:
From: Michael DOUBEZ <michael.doubez@xxxxxxx> Subject: Re: [Mingw-msys] getopt error in msys Version 1.0.10 To: mingw-msys@xxxxxxxxxxxxxxxxxxxxx Date: Wednesday, June 11, 2008, 4:39 AM
Ardi a écrit : > I would like to use Mr.Kleber's
script that "hold an existing MiKTeX > installation up-to-date." > > Unfortunately I got in msys the following error after the command sh > miktex_update: >
> miktex_update: getopt: command not found
Hello,
Unless someone does it for you, you have two solution: - compile getopt: grab the linux-util sources from ftp://ftp.kernel.org/pub/linux/utils/util-linux/ and try to compile the getopt program. I did give it a quick try and got an error at link: getopt.o:getopt.c:(.text+0x25e): undefined reference to `getopt_long_only' You can just comment out the "_only" at the offending line. You won't be able to have long option only but it should be fine for your need. If you want the binary I have made, email me. I give no guarantee about it working on your computer :).
- Change the script in order to use getopts instead of getopt but then you won't
be able to use the long options.
-- Michael
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mingw-msys mailing list Mingw-msys@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/mingw-msys |