EPrints Technical Mailing List Archive
Message: #09312
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] {Suspected SPAM} Re: New Server Net::LDAP install Problem
- To: David R Newman <drn@ecs.soton.ac.uk>
- Subject: [EP-tech] {Suspected SPAM} Re: New Server Net::LDAP install Problem
- From: James Kerwin <jkerwin2101@gmail.com>
- Date: Mon, 15 May 2023 16:30:19 +0100
https://wiki.eprints.org/w/Installing_EPrints_on_Debian/Ubuntu#:~:text=eprints/flavours/pub_lib-,Configuration,-Next%2C%20as%20the
HI James,
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).
Regards
David Newman
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.Hi,
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):
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?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.xscmv Soundex.xsc Soundex.cx86_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 "-I/usr/lib/x86_64->/bin/sh: 1: x86_64-linux-gnu-gcc: not foundmake: *** [Makefile:334: Soundex.o] Error 127
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.
Thanks,James
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/
- Follow-Ups:
- [EP-tech] {Suspected SPAM} Re: New Server Net::LDAP install Problem
- From: James Kerwin <jkerwin2101@gmail.com>
- [EP-tech] {Suspected SPAM} Re: New Server Net::LDAP install Problem
- References:
- [EP-tech] New Server Net::LDAP install Problem
- From: James Kerwin <jkerwin2101@gmail.com>
- [EP-tech] {Suspected SPAM} Re: New Server Net::LDAP install Problem
- From: James Kerwin <jkerwin2101@gmail.com>
- [EP-tech] New Server Net::LDAP install Problem
- Prev by Date: Re: [EP-tech] New Server Net::LDAP install Problem
- Next by Date: Re: [EP-tech] New Server Net::LDAP install Problem
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):