Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.9.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Issue with Unix packager

Unable to generate OCS Agent for Unix using Unix packager. getting below error when running the script after doing changes in packageOCSAgent.config file.

Downloaded all given Perl modules in the same directory. Please suggest.

Failed 1 test out of 2367, 99.96% okay.

../cpan/Time-Local/t/Local.t

### Since not all tests were successful, you may want to run some of

### them individually and examine any diagnostic messages they produce.

### See the INSTALL document's section on "make test".

### You have a good chance to get more information by running

###   ./perl harness

### in the 't' directory since most (>=80%) of the tests succeeded.

### You may have to set your dynamic library search path,

### LD_LIBRARY_PATH, to point to the build directory:

###   setenv LD_LIBRARY_PATH `pwd`; cd t; ./perl harness

###   LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH; cd t; ./perl harness

###   export LD_LIBRARY_PATH=`pwd`; cd t; ./perl harness

### for csh-style shells, like tcsh; or for traditional/modern

### Bourne-style shells, like bash, ksh, and zsh, respectively.

Elapsed: 516 sec

u=7.15  s=3.01  cu=265.76  cs=19.68  scripts=2367  tests=1230223

make: *** [makefile:793: test] Error 1

Something went wrong during "make test" step

Please check the log file /root/OCSNG-Unix-Packager-1.0/packageOCSAgent.log

Note: packagerOCSAgent.log is not getting created as mentioned in the above error.

in Agent for unix development by (260 points)

1 Answer

0 votes

I have got same problem, due to date handling for 1970-01-02 in Local.t.
Since I've not looked further about how resolve this date issue, I decided to not exit when make test has some error.. (see packageOCSAgent.sh)
Not seen also packagerOCSAgent.log, however I'd suggest usage of command tee

After all, however, not well understood what this Unix packager stands for...
I'll continue to searchsmiley
 

by (190 points)
 
Powered by Question2Answer
...