[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA: gerbv --help is wrong
On Fri, Aug 20, 2004 at 11:53:43PM +0200, Stefan Petersen wrote:
> On Fri, 20 Aug 2004, Karel Kulhavý wrote:
>
> > clock@beton:~$ gerbv -V
> > gerbv version 0.15
> > (C) Stefan Petersen (spe@stacken.kth.se)
> > clock@beton:~$ gerbv --version
> > gerbv: invalid option -- -
> > Usage : gerbv [FLAGS] <gerber file(s)>
> > where FLAGS could be any of
> > --version|-V : Prints version of gerbv
> > --log=<logfile>|-l <logfile> : Send error messages to <logfile>
>
> I see two problems here:
> * the long options don't work. This is probably due to the fact that
> configure didn't find the function getopt_long and therefore didn't
> include it in the build. If available if should be in your libc.
I have a fairly new libc:
/lib/libc-2.3.1.so
installed with usual ./configure && make && make install. Do I need to enable
some extra cosmic features of the libc to get getopt_long?
gerbv should detect if getopt_long is available and if not, remove the long
options from the help (and write into the manpage that they are available
only on systems that support getopt_long).
And also options that exist only as long ones should not exist at all
- otherwise the program stops being portable.
Cl<
>
> * the crappy messages. This should be improved in the next release thanks
> to Dimitri (lastname unknown). Ie this is fixed in the CVS version.
>
> Regards,
> /Stefan
>