-
Notifications
You must be signed in to change notification settings - Fork 705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building Perl on SLES15 fails because -ltermcap
is not found
#17373
Comments
Maybe I'm just stupid, but I'm not actually sure that those duplicates solve this problem. |
I'm also hitting this problem. In the easybuilder's slack, the following workaround was offered:
I looked it over and it seems like the perl module requires additional directories added that look for the stack's libraries rather than only the system ones. Perhaps this is because I'm building everything from scratch and I don't have modules loaded for anything else? I'd be happy to help provide a fix given a few hints on where to look. I couldn't find any similar examples. |
Of possible use.
|
I tried also a hook: def parse_hook(ec, *args, **kwargs):
"""Alter the parameters of easyconfigs"""
if ec.name == 'Perl':
# remove extensions
ec['exts_list'] = [] But it's a bit heavy-handed. Better would probably be to only remove the offending extension. |
and a less heavy-handed approach: def parse_hook(ec, *args, **kwargs):
"""Alter the parameters of easyconfigs"""
if ec.name == 'Perl':
exclude_list = ["Term::ReadLine::Gnu"]
ec['exts_list'] = [x for x in ec['exts_list'] if x[0] not in exclude_list] |
I'm hitting the same problem on LUMI (SLES 15). The problem seems to be that Considering With that in mind, I'm testing this fix (which should be fine to use also on non-SLES systems): ('Term::ReadLine::Gnu', '1.42', {
'modulename': 'Term::ReadLine',
'source_tmpl': 'Term-ReadLine-Gnu-%(version)s.tar.gz',
'source_urls': ['https://cpan.metacpan.org/authors/id/H/HA/HAYASHI'],
'checksums': ['3c5f1281da2666777af0f34de0289564e6faa823aea54f3945c74c98e95a5e73'],
'preinstallopts': "sed -s 's/-ltermcap/-lncurses/g' Makefile.PL && ",
}), |
-ltermcap
is not found
I usually have problems when building perl extensions on SLES15 -- I can't remember if there's an issue open, but I don't find one right now.
The problem is in Term::ReadLine::Gnu, and
-ltermcap
.IIRC, I had a similar error with ncurses before on SLES15.
The text was updated successfully, but these errors were encountered: