Another Success With GNU/Linux!

Liste des GroupesRevenir à col advocacy 
Sujet : Another Success With GNU/Linux!
De : ff (at) *nospam* linux.rocks (Farley Flud)
Groupes : comp.os.linux.advocacy
Date : 22. Dec 2024, 15:04:35
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <pan$e6e34$6159cfe7$17af853e$c2b3de67@linux.rocks>
A new version of dictd, 1.13.3, is available.  Gentoo, due to
unfortunate manpower shortages (not enough volunteers), has lost
the maintainer for dictd and so I had to build it myself.

It failed.  There were crazy errors:

clientscan.c: No such file or directory

WTF!

Now, clientscan.c is actually created from clientscan.l via
the flex scanner but somehow flex was not doing its job.

I went back to the configure output (this is an autoconf build):

checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking for library containing yywrap... no
configure: WARNING: yywrap not found; giving up on flex

WTF!

Flex contains "yywrap" but somehow the configure script wasn't
able to find it.

Rather than work through all that autoconf gobbledygook I just
decided to modify the Makefile.  That's because configure set
one variable in the Makefile to NULL due to not finding yywrap:

LEX = flex

That's all it took!  The package then built with no errors!

Ha, ha, ha!

I suppose that the developers of dictd fucked up the autoconf
script because they are moving to a different build system
called mk-configure:

https://github.com/cheusov/mk-configure

I consider mk-configure to be even more of a clusterfuck
than autoconf.

But this is why I LOVE GNU/Linux.  There is always challenging
excitement happening.



--
Systemd: solving all the problems that you never knew you had.

Date Sujet#  Auteur
22 Dec 24 * Another Success With GNU/Linux!2Farley Flud
27 Dec 24 `- Re: Another Success With GNU/Linux!1Stéphane CARPENTIER

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal