[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] New Server Net::LDAP install Problem
I think the issue is that you need the C complier gcc installed to build
the Text::Soundex library.? If you are on a Debian-based Linux you will
need the following instead:
apt install gcc libgcc1
If you then run (presumably) cpan again it should be able to install
Text::Soundex and Net::LDAP.
However, you should just be able to install libnet-ldap-perl using APT
to save needing to use CPAN.? It would be useful to know if you were
following any instructions (e.g. on wiki.eprints.org) that advises
installing using CPAN?? As it would be useful for those to be updated to
suggest first trying to install using apt (or yum/dnf on RHEL).
P.S. You are right that the latest version of EPrints is 3.4.4. There is
a release candidate for EPrints 3.4.5 but no full release yet.
On 15/05/2023 13:09, James Kerwin via Eprints-tech wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
> This isn't strictly an EPrints problem, but this list could have seen
> the same thing so...
> I'm reaching the end of an install of our new repository test server.
> It's an updated version of Ubuntu (20) and the latest version of
> EPrints I could get (3.4.4? Can't check right now).
> Trying to install Net::LDAP and it keeps failing because it can't
> install a dependency: Text::Soundex.
> When I attempt to install Text::Soundex I get the following in the
> build log (from where it looks like it goes wrong):
> chmod 644 "Soundex.bs"
> "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' --
> Soundex.bs blib/arch/auto/Text/Soundex/Soundex.bs 644
> "/usr/bin/perl" "/usr/share/perl/5.30/ExtUtils/xsubpp"
> ?-typemap '/usr/share/perl/5.30/ExtUtils/typemap' ?Soundex.xs
> > Soundex.xsc
> mv Soundex.xsc Soundex.c
> x86_64-linux-gnu-gcc -c ? -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
> -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g ?
> -DVERSION=\"3.05\" -DXS_VERSION=\"3.05\" -fPIC
> /bin/sh: 1: x86_64-linux-gnu-gcc: not found
> make: *** [Makefile:334: Soundex.o] Error 127
> Has anybody experienced something similar? On my data repository
> server, which has an almost identical setup I have net::LDAP installed
> and Text::Soundex appears not to be installed (perl -e "use
> Text::Soundex"), but everything works as I would expect?
> Some googling about "x86_64-linux-gnu-gcc" indicates some Python
> packages might be missing? I'm incredibly uncertain about this and
> with work for my employer I'm slightly more picky about which internet
> strangers I trust for direction. If any of you could nudge me in the
> right direction I would be really?grateful.
> *** Options:http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4759e5d7ce074ef2211508db55466a75%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638197533134806130%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JYhT9P8zokBtTxDvWe%2FlRmys86Dl3OWt%2FFVhE7atSuI%3D&reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C4759e5d7ce074ef2211508db55466a75%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638197533134806130%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=bT6ptS%2BGFjpcwQ%2F%2FYwi9z2QzjzXqc4VYDHb8ARJGe3I%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...