ckmate-king-2 has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I am trying to install Tk on Fedora 40, running Perl 5.40.0, under perlbrew, version 0.98. I am using cpanm under perlbrew.
Thus:
[giz@daisy 1718657110.59825$ which perl ~/perl5/perlbrew/perls/perl-5.40.0/bin/perl
My error is this:
[giz@daisy ~$ cpanm Tk --> Working on Tk Fetching http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-804.036.tar.gz +... OK Configuring Tk-804.036 ... N/A ! Configure failed for Tk-804.036. See /home/giz/.cpanm/work/171865711 +0.59825/build.log for details.
Here is an excerpt from that build.log where I first see an error. The error says "C compiler cannot create executables."
checking whether the C compiler (cc -fwrapv -fno-strict-aliasing -pipe + -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D +_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fPIC -fwrapv -fno-strict-al +iasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFI +LE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fstack-protect +or-strong -L/usr/local/lib) works... no configure: error: installation or configuration problem: C compiler ca +nnot create executables.
I'd be much obliged if someone can help me get back on track.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Tk install failing
by hv (Prior) on Jun 18, 2024 at 01:05 UTC | |
by ckmate-king-2 (Novice) on Jun 21, 2024 at 23:30 UTC | |
by hv (Prior) on Jun 22, 2024 at 02:07 UTC | |
by ckmate-king-2 (Novice) on Jun 24, 2024 at 22:06 UTC | |
by syphilis (Archbishop) on Jun 25, 2024 at 11:36 UTC | |
|