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

CAUTION: This e-mail originated outside the University of Southampton.
Hi David,

Thank you so much! That's got me past that problem.

I started this upgrade back in January, then the strikes massively disrupted it so my memory is a bit vague. Colleagues I needed to do things with the old and new servers were facing a huge backlog of work while already under a significant strain with their usual workload. The point I had got to with it was the configuration section here:

https://wiki.eprints.org/w/Installing_EPrints_on_Debian/Ubuntu#:~:text=eprints/flavours/pub_lib-,Configuration,-Next%2C%20as%20the

Incidentally, that page has been my bible with upgrades (https://wiki.eprints.org/w/Installing_EPrints_on_Debian/Ubuntu). Due to having set up the Apache config with the URLs I hadn't reached the point of loading the webpages for the new server as I was waiting for the IPs and URL to be swapped over from the old server. Today I also learnt that I hadn't installed "make".

From what I've been doing today, I hadn't installed CPAN, but I have now as I've just used it for Net::LDAP.

Thank you again for your help!
James

On Mon, May 15, 2023 at 2:15 PM David R Newman <drn@ecs.soton.ac.uk> wrote:

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):

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 "-I/usr/lib/x86_64->
/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.

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/