omniosorg / zadm

zone management tool
https://omnios.org/setup/zadm
GNU General Public License v3.0
23 stars 8 forks source link

./configure --prefix=$HOME/opt/zadm && gmake #140

Closed ardeshir closed 1 year ago

ardeshir commented 1 year ago

System : SunOS 5.11 omnios-r151046-f51538a8df i86pc i386 i86pc

Error:

Making all in etc
gmake[1]: Entering directory '/root/scratch/zadm-0.14.0/etc'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/root/scratch/zadm-0.14.0/etc'
Making all in lib
gmake[1]: Entering directory '/root/scratch/zadm-0.14.0/lib'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/root/scratch/zadm-0.14.0/lib'
Making all in thirdparty
gmake[1]: Entering directory '/root/scratch/zadm-0.14.0/thirdparty'
** Installing Dependencies using Carton install
test -x carton/bin/carton || PERL_CPANM_OPT= PERL_CPANM_HOME=/root/scratch/zadm-0.14.0/thirdparty PERL_CARTON_PATH=/root/scratch/zadm-0.14.0/thirdparty /usr/bin/perl bin/cpanm -q --notest --local-lib-contained /root/scratch/zadm-0.14.0/thirdparty/carton Carton
! Configure failed for local-lib-2.000029. See /root/scratch/zadm-0.14.0/thirdparty/work/1688608534.14775/build.log for details.
! Installing the dependencies failed: Module 'local::lib' is not installed
! Bailing out the installation for Menlo-1.9019.
! Installing the dependencies failed: Module 'Menlo' is not installed
! Bailing out the installation for Menlo-Legacy-1.9022.
! Installing the dependencies failed: Module 'Menlo::CLI::Compat' is not installed
! Bailing out the installation for Carton-v1.0.35.
gmake[1]: *** [Makefile:427: cpanfile-5.36.snapshot] Error 1
gmake[1]: Leaving directory '/root/scratch/zadm-0.14.0/thirdparty'
gmake: *** [Makefile:464: all-recursive] Error 1
hadfl commented 1 year ago

Can you check the build log that's mentioned in the output you showed above (/root/scratch/zadm-0.14.0/thirdparty/work/1688608534.14775/build.log)

Did you build from the master branch or from a release tar.gz?

ardeshir commented 1 year ago
ardeshir commented 1 year ago

also, getting

pkg set-publisher -m https://pkg.omnios.org/r151046/extra/ extra.omnios
Unknown publisher 'extra.omnios'
hadfl commented 1 year ago

There is this in your build log:

You are using Solaris (or another traditional Unix) that does not provide a sane
tar, capable of dealing with the output of GNU tar. Please either set the
PERL_LL_TAR environment variable to the location of a version of tar that
understands the @LongLink convention or put a binary named gtar somewhere on
your PATH.

A pkg install gnu-tar will likely resolve your build issue.

ardeshir commented 1 year ago
root@univrs:~# pkg list -af gnu-tar
NAME (PUBLISHER)                                  VERSION                    IFO
archiver/gnu-tar                                  1.34-151046.0              i--

Thanks @hadfl