You are not logged in.

#1 2014-09-17 20:46:57

hradecek
Member
From: Slovakia
Registered: 2014-01-23
Posts: 15

[SOLVED] Autotools - Segmentation fault

Hi guys,
I've installed GNU autoconf and utilities related with it from official repository not AUR, actual version is 2.69. Only autoconf itself seems working, but others(autoscan, autoheader and autoupdate) get me "Segmentation fault", so autoreconf, without any reason.
Anybody has similar problem or something is wrong on my side?

Thanks.

Last edited by hradecek (2016-06-21 08:07:36)


$ perl -wle '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++'

Offline

#2 2014-09-18 07:28:48

hradecek
Member
From: Slovakia
Registered: 2014-01-23
Posts: 15

Re: [SOLVED] Autotools - Segmentation fault

[Solved]
After installing Perl4::CoreLibs via cpan, it started working.


$ perl -wle '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++'

Offline

#3 2014-09-18 08:11:33

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: [SOLVED] Autotools - Segmentation fault

In such situations I find "strace" tool extremely useful. I highly recommend to learn it. It will pay you back many times.

Let me guess what happened. You had some AUR/CPAN perl modules compiled for previous version of Perl. After the recent perl upgrade these modules started crashing (because of changed module interface). By installing the module from CPAN you basically recompiled and made it compatible to Perl.

UPD and the right solution would be remove CPAN modules completely and use standard perl-perl4-corelibs.

Last edited by anatolik (2014-09-18 08:28:31)


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

#4 2014-09-18 13:15:05

hradecek
Member
From: Slovakia
Registered: 2014-01-23
Posts: 15

Re: [SOLVED] Autotools - Segmentation fault

@anatolik - Of course I know 'strace' wink, but maybe not as much, because it didn't helped me. Yeah, it was caused by my mess in perl modules and I didn't know autoconf uses perl(except automake).  Thanks anyway.

Last edited by hradecek (2014-09-18 13:15:19)


$ perl -wle '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++'

Offline

Board footer

Powered by FluxBB