[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] {Suspected SPAM} Re: New Server Net::LDAP install Problem

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:


Incidentally, that page has been my bible with upgrades (https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FInstalling_EPrints_on_Debian%2FUbuntu&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3d8c3711630045bc465808db555951cd%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638197614936032745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7D%2BQcnHLLpLF%2F6ybg9npc1qOwATqG0UawRRXwxfZkSQ%3D&reserved=0). 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!

On Mon, May 15, 2023 at 2:15?PM David R Newman <drn at ecs.soton.ac.uk<mailto:drn at 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<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C3d8c3711630045bc465808db555951cd%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638197614936032745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=U%2B6GA5xPjNYMZszuttWXzBOmc6U%2B22Q9uWp2OR84GiY%3D&reserved=0>) 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).


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.

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.


*** 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%7C3d8c3711630045bc465808db555951cd%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638197614936032745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=81Rqi7BAGSv55x8NHxk43n%2FagJKrssG7kBSKOWdZXYI%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%7C3d8c3711630045bc465808db555951cd%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638197614936032745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=U%2B6GA5xPjNYMZszuttWXzBOmc6U%2B22Q9uWp2OR84GiY%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20230515/a20f492e/attachment.html