home.social

#autoconf — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #autoconf, aggregated by home.social.

fetched live
  1. I had to run ./configure and make tonight dealing with autoconf, m4, bison, flex, ... I don't miss that world at all!

    I've definitely been spoiled running "apt-get install <package>" for the past 20 years on Debian and Ubuntu. #linux #autoconf

  2. Weird. Opening a configure.am file in #NeoVim makes the autotools-language-server lock up and use an entire core.

    Anyone else noticing this in their projects?

    If it matters, the project is plptools.

    #autotools #autoconf

  3. I have started migrating macros from the Sorts Mill Autoconf Archive to a new archive, with improvements: github.com/chemoelectric/chemo

    Mostly the improvements are making the cache variables not have names that start with things like ‘________ac’.

    #GNU #Autoconf #Autotools

  4. When building alsa-utils with a custom toolchain + sysroot, I get this error:

    libtool: error: cannot find the library '/usr/lib/libasound.la' or unhandled argument '/usr/lib/libasound.la'

    However, the file does exist inside of the sysroot, and configure claims to use the sysroot that the compiler specifies.

    How do I solve this?

    #Linux #LibTool #AutoMake #AutoConf #ALSA

  5. LibMPU (создание проектов)

    В предыдущей статье мы сделали краткий обзор возможностей библиотеки функций для работы с большими числами. В приведенных примерах, для автоматического задания флагов компилятора и компоновщика, мы рассмотрели использование скрипта mpu-config . Данный скрипт поставляется во время инсталляции LibMPU и позволяет упростить написание Make-файлов для программ, использующих библиотеку LibMPU . Однако это не единственный вариант составления Make-файлов с использованием данной библиотеки. В данной статье мы рассмотрим применение GNU Autotools , которые позволяют обеспечить переносимость программ и упростить создание сложных проектов. После инсталляции LibMPU на вашу GNU/Linux систему в распоряжении пользователя, помимо самой библиотеки, будет находиться m4-скрипт /usr/share/aclocal/libmpu.m4. Скрипт l ibmpu.m4 предназначен для использования в проектах, создаваемых с помошью утилит Autoconf , Automake .

    habr.com/ru/articles/872332/

    #gnu #autotools #autoconf #Automake #configure #длинная_арифметика #большие_числа

  6. #GCC14 promoted some warnings to errors. This can break #autoconf, #CMake, #Meson or other build environments autoprobing for features, resulting in code built with missing or altered functionality. This could even lead to security impact, if some security related feature is unexpectedly not enabled.

    Passing CC as "gcc -fpermissive" should fix this. If this is not an option there's even the nuclear option of adding a gcc wrapper script that does:

    #!/bin/sh
    exec /usr/bin/gcc -fpermissive "$@"

    EDIT: I do not mean to say that these new options should blanket-disabled globally. There however are currently some packages that have problems with GCC 14 (missing features or existing functions not being used, or just failing to build). Naturally these packages should be fixed themselves. Meanwhile -fpermissive will allow building most of these troublesome packages.

  7. "If you don't see the use of it, I certainly won't let you clear it away. Go away and think. Then, when you can come back and tell me that you do see the use of it, I may allow you to destroy it."

    en.wikipedia.org/wiki/G._K._Ch

    #autoconf

  8. Regarding the #xz backdoor Jonathan Corbet from lwn.net/ thinks that #autoconf is part of the problem: "Why are we still using ancient build systems that almost nobody understands?"
    So do I. I have not been using #sendmail for decades which used to have the same #m4 bullshit.

  9. It's late enough to be hacker hours, if you're as old as I am. Gonna write down a bunch of rambly thoughts about #xz and #autoconf and capital-F Free Software sustainability and all that jazz. Plan is to edit it into a Proper Blog Post™ tomorrow. Rest of the thread will be unlisted but boosts and responses are encouraged.

  10. Poll for the #autoconf haters:

    You get to send *one* of the implementation languages to the cornfield. Which do you want gone more?

  11. @manx @jeang3nie @kornel Oh, I'm sure #autoconf will go away, as fewer and fewer people understand it, but so far what I've seen, "they are going to reinvent autoconf poorly".
    I'm quite partial to the suite (as a dinosaur for sure), despite its opaque architecture mixing sh and m4. Maybe 10% of it is never needed anymore, but the rest still has its purpose.
    Even for giflib, ESR himself keeps bolting back old functionality after "abolishing" autoconf.
    sourceforge.net/p/giflib/code/

  12. @nixCraft
    Actually binary packages in #linux are older than #autoconf (./configure)! And I am still not entirely sure if ./configure really is a benefit.

  13. I'm old enough to have begun using #unix before #linux, and in the first years, I used *nix (well, SunOS, Solaris, and Digital OSF/1, to say more precisely) for so long. I'm what nowadays is considered a Veteran Unix Admin or #vua. I'm still curious enough to stay updated about current tech, but I wonder how many people out there in the #fediverse are still passionate about tech novelties but even cultivate legacy knowledge such as #C, #Perl, #Tcl, #autoconf and #automake, #m4 and above all why?

  14. Today's bug is an `autoconf-2.72` bug: savannah.gnu.org/support/index

    There `autoconf` generates invalid shell code for the following:

    AS_IF([test "x$enable_termcap" = "xyes"],
    AC_CHECK_LIB(terminfo, tgetent, , [
    AC_CHECK_LIB(termcap, tgetent, , [
    ...

    and complains as:

    ./configure: line 3476: syntax error near unexpected token `;;'
    ./configure: line 3476: ` ;;'

    At least that happens on `editline-1.17.1`. I'm not sure if it's a valid `configure.ac` syntax.

  15. I've just posted a release candidate for #GNU #Autoconf 2.72. Please spread the word and test it as thoroughly as possible **in the next 48 hours**. If I don't hear about any show-stopper bugs I intend to make the final release at about this time on Friday, Dec. 22, 2023.

    If I *do* hear about show-stopper bugs, the release is going to be pushed back until end of January 2024 at the earliest because I'll be on vacation for the next three weeks.

    lists.gnu.org/archive/html/aut

  16. Out of all the crappy #GNU tools, #autoconf is arguably the worst one. It is an arcane mess, overengineered and horribly broken by design. Completely and utterly disgusting to deal with. Should be purged with holy cleansing fire.

  17. today's #autoconf rathole started out at savannah.gnu.org/support/?1108 and ended up at stackoverflow.com/questions/77

    if you have ever wondered why autoconf development proceeds so slowly -- this is an absolutely typical experience.

  18. just #autoconf things: "Gee, I wonder if there's a way to inject significant delays into every invocation of mkdir(2) for one particular process ... using only the capabilities of /bin/sh and associated utilities, as they were in 1993, without compiling any C, without assuming a particular operating or file system, without assuming any third-party software has been installed yet, and without knowing whether the program loaded into that process is dynamically linked, or, indeed, whether dynamic libraries even exist."

  19. #gnu #autoconf / #automake tipp:

    # tar-ustar: use ustar format of tar (POSIX 1003.1-1988) to lift the
    # 99 character limit on filenames (it is now 155 for the directory and
    # 256-dir for the file). Needs Automake 1.9 or newer
    # see gnu.org/software/automake/manu
    # and gnu.org/software/tar/manual/ht
    AM_INIT_AUTOMAKE([1.9 tar-ustar])

    (this is planned to become a default in make dist—the limit is there to support some really old tar implementations—but currently the default is still tar-v7 with max 99 chars)