Hi, Amir..
We are using Centos 7.2 for traffic ops installation, and using
docker-compose to build. Follow the instructions in `BUILD.md` (at
the top level of trafficcontrol) and then installation instructions in
`traffic_ops/INSTALL.md`.
Today is a holiday in the U.S., but I'll check email later today if
you have more questions.
-dan
On Mon, May 29, 2017 at 8:31 AM, Amir Yeshurun wrote:
> Hi,
>
> I am trying to install TC 2.1 on Centos 6.7.
> The RPM was built from master using the Vagrant build framework.
> I had some dependency issues around cpanm and carton and I had to manually
> install cpanm and upgrade Parse::CPAN::Meta before I managed to
> successfully run Carton and install Perl dependencies.
>
> Eventually, I get these errors from _posinstall (see below)
> Is there something that I am missing?
> Thanks
> /amiry
>
> [root@ops-int app]# /opt/traffic_ops/install/bin/postinstall
> Carton is up to date. (v1.0.28)
> Installing modules using /opt/traffic_ops/app/cpanfile
> Complete! Modules were installed into /opt/traffic_ops/app/local
> % Total% Received % Xferd Average Speed TimeTime Time
> Current
> Dload Upload Total SpentLeft
> Speed
> 100 87.0M 100 87.0M0 0 48.5M 0 0:00:01 0:00:01 --:--:--
> 53.1M
> % Total% Received % Xferd Average Speed TimeTime Time
> Current
> Dload Upload Total SpentLeft
> Speed
> 0640640 0368 0 --:--:-- --:--:-- --:--:--
> 688
> go1.8.1.linux-amd64.tar.gz.sha256
> sha256sum: /dev/fd/63: no properly formatted SHA256 checksum lines found
> Extracting go tarball to /usr/local/go
> Now installing goose
> GO_BINARY: /usr/local/go/bin/go
> Successfully installed goose to /opt/traffic_ops/go/bin/goose
> Warning: Use of "localtime" without parentheses is ambiguous at
> /opt/traffic_ops/install/lib/InstallUtils.pm line 113.
> *Type of arg 1 to keys must be hash (not private variable) at
> /opt/traffic_ops/install/bin/_postinstall line 85, near "$var ) "*
> *Type of arg 1 to keys must be hash (not private variable) at
> /opt/traffic_ops/install/bin/_postinstall line 278, near "$defaultInputs )
> "*
> *Type of arg 1 to keys must be hash (not private variable) at
> /opt/traffic_ops/install/bin/_postinstall line 300, near "$defaultInputs )
> "*
> *Type of arg 1 to push must be array (not hash element) at
> /opt/traffic_ops/install/bin/_postinstall line 350, near "%temp;"*
> Execution of /opt/traffic_ops/install/bin/_postinstall aborted due to
> compilation errors.