I figured out.

In fact there was system (mainly perl) dependencies missing. I have to install 
them:

# dnf -y install perl-Sys-Syslog perl-Pod-Html perl-Time-HiRes perl-Math-BigInt 
perl-Text-Balanced perl-DBI perl-JSON createrepo

The installation was a default EL 8.3 install with Standard tools and 
“Development Tools” package.

Regards,


On 3 Mar 2021, at 01:09, Vinícius Ferrão 
<fer...@versatushpc.com.br<mailto:fer...@versatushpc.com.br>> wrote:

Hi Mark, thanks for the RPMSIGN=0 tip.

It helped but definitely something is still missing, probably dependencies to 
do a proper compilation.

Here’s some issues:

1.
Can't locate Sys/Syslog.pm in @INC (you may need to install the Sys::Syslog 
module) (@INC contains: /usr/lib/perl . /usr/local/lib64/perl5 
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at 
xCAT/MsgUtils.pm line 13.
BEGIN failed--compilation aborted at xCAT/MsgUtils.pm line 13.

2.
Can't locate Pod/Html.pm in @INC (you may need to install the Pod::Html module) 
(@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 
/usr/share/perl5) at ./xpod2man line 13.
BEGIN failed--compilation aborted at ./xpod2man line 13.

3.
Can't locate Time/HiRes.pm in @INC (you may need to install the Time::HiRes 
module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 
/usr/share/perl5) at ./share/xcat/tools/detect_dhcpd line 3.

Those are the dependencies that should have been built by xcat-deps or I should 
add it through the package manager (yum/dnf in my case)?

Thanks.


On 2 Mar 2021, at 13:42, Mark Gurevich 
<gurev...@us.ibm.com<mailto:gurev...@us.ibm.com>> wrote:


Once you clone xcat-core git repository, try running:

./buildcore RPMSIGN=0

It should turn off rpm signing which uses a local directory to find keys.

A core-rpms-snap.tar.bz2 file should be generated somewhere under 
$HOME/xcatbuild


Dependencies are built by builddep.sh script, but it uses a hardcoded local 
directory to find source RPMs. You will need to download those RPMs from 
xcat.org<http://xcat.org/> and point to that location in the script.

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research, would 
it?"
--Albert Einstein



<graycol.gif>"Vinícius Ferrão via xCAT-user" ---03/02/2021 10:38:40 AM---Hello, 
I’m trying to build xCAT by myself following the instructions on: 
https://urldefense.proofpoi<https://urldefense.proofpoi/>

From:  "Vinícius Ferrão via xCAT-user" 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
To:  xCAT Users Mailing list 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
Cc:  "Vinícius Ferrão" 
<fer...@versatushpc.com.br<mailto:fer...@versatushpc.com.br>>
Date:  03/02/2021 10:38 AM
Subject:  [EXTERNAL] [xcat-user] Docs on how to build xCAT

________________________________



Hello,

I’m trying to build xCAT by myself following the instructions on: 
https://xcat-docs.readthedocs.io/en/latest/developers/guides/code/builds.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__xcat-2Ddocs.readthedocs.io_en_latest_developers_guides_code_builds.html&d=DwMGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=cGs4a-jfx6Emudek2Wdi4FLq2XKm1pvrlbCQ-h7Qq7A&m=6ymTG9ZH0f98bDfvgHctlUW2TaNZja9O2ynkrmVRE6Y&s=gct2GlQyIQewFrdBxUJ4Bp7H4ObrEKSevUx-wK8_fPc&e=>

But they are so simple that I figured it out before reading it, just run 
./buildcore.sh

The problem is: that’s not working.

Error: build of the following RPMs failed: perl-xCAT xCAT-client xCAT-server 
xCAT-test xCAT-buildkit xCAT-SoftLayer xCAT-vlan xCAT-probe xCAT-openbmc-py

Anyone have the *requirements* to build xCAT? And after the build, how to 
consume the builded packages? The build process will create a repo? And about 
the xCAT-deps? It’s the same thing?

Thank you all._______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net<mailto:xCAT-user@lists.sourceforge.net>
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=cGs4a-jfx6Emudek2Wdi4FLq2XKm1pvrlbCQ-h7Qq7A&m=6ymTG9ZH0f98bDfvgHctlUW2TaNZja9O2ynkrmVRE6Y&s=jNqA-q8mVhkwqm18QOh1m5DHFiG3kyIGoEGOBUmRTu8&e=



_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net<mailto:xCAT-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user


_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to