Re: [xcat-user] Docs on how to build xCAT

2021-03-02 Thread Vinícius Ferrão via xCAT-user
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 
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



"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" 
mailto:xcat-user@lists.sourceforge.net>>
To:  xCAT Users Mailing list 
mailto:xcat-user@lists.sourceforge.net>>
Cc:  "Vinícius Ferrão" 
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=DwMGaQ=jf_iaSHvJObTbx-siA1ZOg=cGs4a-jfx6Emudek2Wdi4FLq2XKm1pvrlbCQ-h7Qq7A=6ymTG9ZH0f98bDfvgHctlUW2TaNZja9O2ynkrmVRE6Y=gct2GlQyIQewFrdBxUJ4Bp7H4ObrEKSevUx-wK8_fPc=>

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=DwICAg=jf_iaSHvJObTbx-siA1ZOg=cGs4a-jfx6Emudek2Wdi4FLq2XKm1pvrlbCQ-h7Qq7A=6ymTG9ZH0f98bDfvgHctlUW2TaNZja9O2ynkrmVRE6Y=jNqA-q8mVhkwqm18QOh1m5DHFiG3kyIGoEGOBUmRTu8=



___
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


Re: [xcat-user] Docs on how to build xCAT

2021-03-02 Thread Vinícius Ferrão via xCAT-user
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 
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 
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



"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" 
mailto:xcat-user@lists.sourceforge.net>>
To:  xCAT Users Mailing list 
mailto:xcat-user@lists.sourceforge.net>>
Cc:  "Vinícius Ferrão" 
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=DwMGaQ=jf_iaSHvJObTbx-siA1ZOg=cGs4a-jfx6Emudek2Wdi4FLq2XKm1pvrlbCQ-h7Qq7A=6ymTG9ZH0f98bDfvgHctlUW2TaNZja9O2ynkrmVRE6Y=gct2GlQyIQewFrdBxUJ4Bp7H4ObrEKSevUx-wK8_fPc=>

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=DwICAg=jf_iaSHvJObTbx-siA1ZOg=cGs4a-jfx6Emudek2Wdi4FLq2XKm1pvrlbCQ-h7Qq7A=6ymTG9ZH0f98bDfvgHctlUW2TaNZja9O2ynkrmVRE6Y=jNqA-q8mVhkwqm18QOh1m5DHFiG3kyIGoEGOBUmRTu8=



___
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


Re: [xcat-user] Docs on how to build xCAT

2021-03-02 Thread Mark Gurevich
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 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





From:   "Vinícius Ferrão via xCAT-user"

To: xCAT Users Mailing list 
Cc: "Vinícius Ferrão" 
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

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
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser=DwICAg=jf_iaSHvJObTbx-siA1ZOg=cGs4a-jfx6Emudek2Wdi4FLq2XKm1pvrlbCQ-h7Qq7A=6ymTG9ZH0f98bDfvgHctlUW2TaNZja9O2ynkrmVRE6Y=jNqA-q8mVhkwqm18QOh1m5DHFiG3kyIGoEGOBUmRTu8=



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


[xcat-user] Docs on how to build xCAT

2021-03-02 Thread Vinícius Ferrão via xCAT-user
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

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
https://lists.sourceforge.net/lists/listinfo/xcat-user