Re: [Mingw-msys] Bison [WAS: Reconstruction of MSYS-1.0.11 test results.]
- Date: Wed, 11 Jun 2008 13:39:29 +0200
- From: Michael DOUBEZ <michael.doubez@xxxxxxx>
- Subject: Re: [Mingw-msys] getopt error in msys Version 1.0.10
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