Discussions specific to the VMware vSphere hypervisor
Post Reply
dbb
Novice
Posts: 4
Liked: never
Joined: May 15, 2019 8:08 pm
Contact:

Ubuntu 18.04 amd64 repository and perl

Post by dbb » May 21, 2019 2:53 pm

Has anyone successfully installed the required 32-bit perl modules in 64-bit Ubuntu 18.04 and can share your tips? We hope to use zfs in this new repository, so a 32-bit OS is off the table.

I used

Code: Select all

apt-file search -a i386 Module.pm
to identify 32-bit packages which include the needed modules, but dependency problems prevented me from installing some of them.

I tried

Code: Select all

cpan constant Carp Cwd Data::Dumper Encode Encode::Alias Encode::Config Encode::Encoding Encode::MIME::Name Exporter Exporter::Heavy File:::Path File::Spec File::Spec::Unix File::temp List::Util Scalar::Util Socket Storable threads
but this resulted in an unending loop of errors referencing apache. I was not able to copy the error due to the screen changing too fast, and ctrl-c resulting in the error disappearing from the screen.

It appears some folks have succeeded with perlbrew, but I haven't been able to progress toward any solution with the documentation I've found in that regard.

My next thought was to use a 32-bit Linux VM to mount the zfs storage as a shim, but that feels like a kludge.

Any insight please?

dbb
Novice
Posts: 4
Liked: never
Joined: May 15, 2019 8:08 pm
Contact:

Re: Ubuntu 18.04 amd64 repository and perl

Post by dbb » May 21, 2019 3:01 pm

Update: I ran the cpan command again, and this time it finished without error. The issue now is that I suppose that cpan is building 64-bit modules, so I need to figure out if there's a way to use it to build 32-bit modules.

tsightler
VP, Product Management
Posts: 5420
Liked: 2243 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: Ubuntu 18.04 amd64 repository and perl

Post by tsightler » May 31, 2019 12:47 pm

Can you clarify what issue you are trying to resolve? As far as I know, to be used as a Veeam repo, a standard Ubuntu 18.04 base server install should not require any extra CPAN modules as all required modules are part of the standard Ubuntu perl install. Veeam does not require that the CPAN modules be 32-bit, only that the system includes required libraries to run a 32-bit binary, which is also the default behavior of Ubuntu 18.04.

Just to test this, I deployed a clean 18.04 using the base server install, upgraded with apt-get to the latest build (18.04.2) and then added that server as a repository to a Veeam 9.5 U4a server and ran backups with no issues. I didn't install any CPAN modules at all.

nitramd
Expert
Posts: 192
Liked: 44 times
Joined: Feb 16, 2017 8:05 pm
Contact:

Re: Ubuntu 18.04 amd64 repository and perl

Post by nitramd » May 31, 2019 3:26 pm

I've been running an Ubuntu 18.04 based repo for over a year. I never installed CPAN modules; just built the server, configured VBR console, good to go.

Works very well.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 10 guests