i gotta say tho, as someone who spent the first ~15 years of my career doing web dev, going through the autotools docs was like exploring a museum. like a relic of the past

this c shit crazy

#autotools #c #automake #autoconf

[ΠŸΠ΅Ρ€Π΅Π²ΠΎΠ΄] ΠŸΠ°Ρ€Π°Π»Π»Π΅Π»ΡŒΠ½Ρ‹ΠΉ ./configure

Π˜Π·Π²ΠΈΠ½ΠΈΡ‚Π΅, Π½ΠΎ Π² 2025 Π³ΠΎΠ΄Ρƒ β€” это просто смСшно: $ time ./configure: 13.80s user 12.72s system 69% cpu 38.018 total

https://habr.com/ru/articles/904664/

#autotools #configure #make #bash #automake #сборка #сборка_ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π°

ΠŸΠ°Ρ€Π°Π»Π»Π΅Π»ΡŒΠ½Ρ‹ΠΉ ./configure

Π˜Π·Π²ΠΈΠ½ΠΈΡ‚Π΅, Π½ΠΎ Π² 2025 Π³ΠΎΠ΄Ρƒ β€” это просто смСшно: $ time ./configure ... ./configure 13.80s user 12.72s system 69% cpu 38.018 total $ time make -j48 ... make -j48 12.05s user 4.70s system 593% cpu 2.822...

Π₯Π°Π±Ρ€

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

LibMPU (созданиС ΠΏΡ€ΠΎΠ΅ΠΊΡ‚ΠΎΠ²)

Π’ ΠΏΡ€Π΅Π΄Ρ‹Π΄ΡƒΡ‰Π΅ΠΉ ΡΡ‚Π°Ρ‚ΡŒΠ΅ ΠΌΡ‹ сдСлали ΠΊΡ€Π°Ρ‚ΠΊΠΈΠΉ ΠΎΠ±Π·ΠΎΡ€ возмоТностСй Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠΈ Ρ„ΡƒΠ½ΠΊΡ†ΠΈΠΉ для Ρ€Π°Π±ΠΎΡ‚Ρ‹ с большими числами. Π’ ΠΏΡ€ΠΈΠ²Π΅Π΄Π΅Π½Π½Ρ‹Ρ… ΠΏΡ€ΠΈΠΌΠ΅Ρ€Π°Ρ…, для автоматичСского задания Ρ„Π»Π°Π³ΠΎΠ² компилятора ΠΈ ΠΊΠΎΠΌΠΏΠΎΠ½ΠΎΠ²Ρ‰ΠΈΠΊΠ°, ΠΌΡ‹ рассмотрСли использованиС скрипта mpu-config . Π”Π°Π½Π½Ρ‹ΠΉ скрипт поставляСтся Π²ΠΎ врСмя инсталляции LibMPU ΠΈ позволяСт ΡƒΠΏΡ€ΠΎΡΡ‚ΠΈΡ‚ΡŒ написаниС Make-Ρ„Π°ΠΉΠ»ΠΎΠ² для ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌ, ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΡŽΡ‰ΠΈΡ… Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΡƒ LibMPU . Однако это Π½Π΅ СдинствСнный Π²Π°Ρ€ΠΈΠ°Π½Ρ‚ составлСния Make-Ρ„Π°ΠΉΠ»ΠΎΠ² с использованиСм Π΄Π°Π½Π½ΠΎΠΉ Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠΈ. Π’ Π΄Π°Π½Π½ΠΎΠΉ ΡΡ‚Π°Ρ‚ΡŒΠ΅ ΠΌΡ‹ рассмотрим ΠΏΡ€ΠΈΠΌΠ΅Π½Π΅Π½ΠΈΠ΅ GNU Autotools , ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡŽΡ‚ ΠΎΠ±Π΅ΡΠΏΠ΅Ρ‡ΠΈΡ‚ΡŒ ΠΏΠ΅Ρ€Π΅Π½ΠΎΡΠΈΠΌΠΎΡΡ‚ΡŒ ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌ ΠΈ ΡƒΠΏΡ€ΠΎΡΡ‚ΠΈΡ‚ΡŒ созданиС слоТных ΠΏΡ€ΠΎΠ΅ΠΊΡ‚ΠΎΠ². ПослС инсталляции LibMPU Π½Π° Π²Π°ΡˆΡƒ GNU/Linux систСму Π² распоряТСнии ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»Ρ, ΠΏΠΎΠΌΠΈΠΌΠΎ самой Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠΈ, Π±ΡƒΠ΄Π΅Ρ‚ Π½Π°Ρ…ΠΎΠ΄ΠΈΡ‚ΡŒΡΡ m4-скрипт /usr/share/aclocal/libmpu.m4. Π‘ΠΊΡ€ΠΈΠΏΡ‚ l ibmpu.m4 ΠΏΡ€Π΅Π΄Π½Π°Π·Π½Π°Ρ‡Π΅Π½ для использования Π² ΠΏΡ€ΠΎΠ΅ΠΊΡ‚Π°Ρ…, создаваСмых с помошью ΡƒΡ‚ΠΈΠ»ΠΈΡ‚ Autoconf , Automake .

https://habr.com/ru/articles/872332/

#gnu #autotools #autoconf #Automake #configure #длинная_Π°Ρ€ΠΈΡ„ΠΌΠ΅Ρ‚ΠΈΠΊΠ° #большиС_числа

LibMPU (созданиС ΠΏΡ€ΠΎΠ΅ΠΊΡ‚ΠΎΠ²)

Π’ ΠΏΡ€Π΅Π΄Ρ‹Π΄ΡƒΡ‰Π΅ΠΉ ΡΡ‚Π°Ρ‚ΡŒΠ΅ ΠΌΡ‹ сдСлали ΠΊΡ€Π°Ρ‚ΠΊΠΈΠΉ ΠΎΠ±Π·ΠΎΡ€ возмоТностСй Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠΈ Ρ„ΡƒΠ½ΠΊΡ†ΠΈΠΉ для Ρ€Π°Π±ΠΎΡ‚Ρ‹ с большими числами. Π’ ΠΏΡ€ΠΈΠ²Π΅Π΄Π΅Π½Π½Ρ‹Ρ… ΠΏΡ€ΠΈΠΌΠ΅Ρ€Π°Ρ…, для автоматичСского задания Ρ„Π»Π°Π³ΠΎΠ² компилятора ΠΈ ΠΊΠΎΠΌΠΏΠΎΠ½ΠΎΠ²Ρ‰ΠΈΠΊΠ°, ΠΌΡ‹...

Π₯Π°Π±Ρ€
#foss enthusiasts… Fancy a #gnu #autoconf #automake and #libtool #book? Swing by Hammersmith area and it’s yours. #macos #bsd #devops #books #development #developers #programming #oss #opensource #unix #linux
@kornel autoconf and automake and gettext + others have been a dumpster fire for years. I recently had to update some old tools I wrote relying on them and couldn't rebuild from .ac without re-learning anew. Instead I ripped it out - easy on a small personal project, much harder otherwise, but we NEED something more modern. Terse fixed function parametrized auto configure and build tooling without sh in sight is needed. https://mesonbuild.com/Comparisons.html looks promising. #mesonbuild #autoconf #automake #sh
Comparisons

Recently updated my main linux box and couldn't rebuild one of my own system management tools from 2002.

The cause were old #autoconf and #automake artifacts. Spent 2h cleaning up and regenerating from .ac and .am files.

Remembered how miserable #autoconf and #automake really are: shell based, slow and dropping a ton of persistent artifacts in my source tree.

After finishing, I found #meson as a modern replacement, see: https://mesonbuild.com/Comparisons.html

#linux #admin #opensource #build

Comparisons

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?

#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 https://www.gnu.org/software/automake/manual/1.10/html_node/Options.html#index-Option_002c-tar_002dv7
# and https://www.gnu.org/software/tar/manual/html_node/Formats.html#Formats
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)

Options (automake)

Options (automake)

You know how some people that know Java don't put it on their rΓ©sumΓ© because they don't want to work in Java?

For me, that's #autotools, #autoconf, #automake

PSA: please switch your projects to #Meson