LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compile CTCS1.3.1 or CTCS2 on Centos 64bit OS (https://www.linuxquestions.org/questions/linux-software-2/compile-ctcs1-3-1-or-ctcs2-on-centos-64bit-os-876237/)

ching592000 04-20-2011 09:02 PM

Compile CTCS1.3.1 or CTCS2 on Centos 64bit OS
 
Dear Sirs,

Does anyone knew how to compile CTCS1.3.1 or CTCS2 on Centos 64bit? I did not know programming, I just want to know how can I compile step by step without problm and I search on google and can not find good documentation.

tar xzvf CTCS-1.3.1.tar.gz
make all
and show error messages and I used realted command to check, but I did not know what's going on?

Thanks.
Fabio

knudfl 04-21-2011 03:16 AM

From 'README.FIRST' :
Code:

THE CERBERUS TEST CONTROL SYSTEM CAN BE CONFIGURED IN WAYS THAT MAY
DAMAGE HARDWARE, SOFTWARE, OR DATA.  IT IS NOT RECOMMENDED TO RUN THIS
SOFTWARE ON A MACHINE USED FOR PRODUCTIVE PURPOSES, OR ON HARDWARE YOU DO
NOT WANT TO DESTROY.

The source http://ftp.de.debian.org/debian/pool...e1.orig.tar.gz
The patch http://ftp.de.debian.org/debian/pool...pre1-1.diff.gz
Not much for CentOS5 in the patch, but it has the make command ..
cd ctcs-1.3.1pre1/ && make clean &&
make -C runin/src prandom random flushb chartst

And like in your other thread about ctcs-1.3.1
http://www.linuxquestions.org/questi...0/#post4195048
Probably : # yum install perl-Class-Classgen-classgen.noarch
Code:

# cp /usr/share/doc/perl-Class-Classgen-classgen-3.03/examples/inheritance/Base.pm /usr/lib/perl5/5.8.8/Filename/
# cp /usr/share/doc/perl-Class-Classgen-classgen-3.03/examples/inheritance/Base.pm /usr/lib64/perl5/5.8.8/Filename/


ching592000 04-21-2011 05:11 PM

Dear Sirs,

Thanks a lot replied my question again. In fact I did download and cp files to the location, but it still fail and I use below command to load module, but it did not work. Lots of people said CTCS1.3.1 is too old and it can not be used on new 64bit OS. I search google. Lots of patch are for Ubuntu & Debian etc. Would you mind shareing me more information? I tried it self check command, like ./check-requirement & ./check-Syntax, but I still have no idea how can make it run

perl Makefile.PL
make
make test
make install

With Best Regards.
Fabio

Quote:

Originally Posted by knudfl (Post 4331323)
From 'README.FIRST' :
Code:

THE CERBERUS TEST CONTROL SYSTEM CAN BE CONFIGURED IN WAYS THAT MAY
DAMAGE HARDWARE, SOFTWARE, OR DATA.  IT IS NOT RECOMMENDED TO RUN THIS
SOFTWARE ON A MACHINE USED FOR PRODUCTIVE PURPOSES, OR ON HARDWARE YOU DO
NOT WANT TO DESTROY.

The source http://ftp.de.debian.org/debian/pool...e1.orig.tar.gz
The patch http://ftp.de.debian.org/debian/pool...pre1-1.diff.gz
Not much for CentOS5 in the patch, but it has the make command ..
cd ctcs-1.3.1pre1/ && make clean &&
make -C runin/src prandom random flushb chartst

And like in your other thread about ctcs-1.3.1
http://www.linuxquestions.org/questi...0/#post4195048
Probably : # yum install perl-Class-Classgen-classgen.noarch
Code:

# cp /usr/share/doc/perl-Class-Classgen-classgen-3.03/examples/inheritance/Base.pm /usr/lib/perl5/5.8.8/Filename/
# cp /usr/share/doc/perl-Class-Classgen-classgen-3.03/examples/inheritance/Base.pm /usr/lib64/perl5/5.8.8/Filename/



knudfl 04-22-2011 02:00 AM

The links in #2 are from Debian Sid, "Next years Debian", and they have
packages too for 64bits. ( The 'amd64' package )
http://packages.debian.org/sid/ctcs
So it is not that it is too old to be used in a modern Linux OS.

And the compile test, post # 2 was made on a 64bits "CentOS 5.5" (SL55).

Quote:

... but it still fail
Not quite clear, what it is, that fails. More details, please. 'perltest' ?
The command 'perl perltest' returns no errors here. ( selftest/perltest ).
And : 'perl check-requirements' , 'perl check-syntax' : Mostly OK.

Quote:

perl Makefile.PL etc. etc.
Which Perl package / module is it from ? ?

And which hardware is it, that you want to destroy with CTCS ? .. :) ..

..

ching592000 04-22-2011 04:13 PM

Dear Sirs,

Thanks a lot for your reply. My system is Tyan B7015. I want to run CTCS first, and then run HPL with 8 PCs NVIDIA GPU cards for burn in test. I did download thesed files, but the situation is still the same. Below are my procedure
1. cp ctcs_1.3.1~pre1.orig.tar.gz & ctcs_1.3.1~pre1-1.diff.gz to /tmp
2. tar xvzf ctcs_1.3.1~pre1.orig.tar.gz
3. cd ctcs-1.3.1pre1
4. gunzip -c ../ctcs_1.3.1~pre1-1.diff.gz | patch -p1
5. make all, but show below error messages(too many I just write down most of them)

memtst.c:49 warning: cast from pointer to integer of different size
make[3]: *** [memtst] Error 1
make[3]: Leaving directory '/root/ctcs/ctcs-1.3.1pre1/ruin/src/memtst.src
make[2]: *** [memtst] Error 2
make[2]: Leaving directory '/root/ctcs/ctcs-1.3.1pre1/runin/src'
make[1]: *** [src-all] Error 2
make[1]: Leaving directory '/root/ctcs/ctcs-1.3.1prel/runin'
make: *** [all] Error 2

in the same directory, run below command
./check-requirements
Can't locate Filename/Base.pm in *INC ......
**Checking for root access **
**Checking optional executables **
optional: switchto not found in path
optional: tw_cli not found in path

./check-syntax
./report as perl: Canot locate hashstore.pn in @INC

./selftest/perltest --- on CTCS2 did not have error messages
Can't locate Filename/Base.pm in @INC......

I can run ./newburn on CTCS2, but show below messages
KCOMPILE TEST INTERNAL ERROR
MEMORY FAILED


Thanks.
Fabio






Quote:

Originally Posted by knudfl (Post 4331323)
From 'README.FIRST' :
Code:

THE CERBERUS TEST CONTROL SYSTEM CAN BE CONFIGURED IN WAYS THAT MAY
DAMAGE HARDWARE, SOFTWARE, OR DATA.  IT IS NOT RECOMMENDED TO RUN THIS
SOFTWARE ON A MACHINE USED FOR PRODUCTIVE PURPOSES, OR ON HARDWARE YOU DO
NOT WANT TO DESTROY.

The source http://ftp.de.debian.org/debian/pool...e1.orig.tar.gz
The patch http://ftp.de.debian.org/debian/pool...pre1-1.diff.gz
Not much for CentOS5 in the patch, but it has the make command ..
cd ctcs-1.3.1pre1/ && make clean &&
make -C runin/src prandom random flushb chartst

And like in your other thread about ctcs-1.3.1
http://www.linuxquestions.org/questi...0/#post4195048
Probably : # yum install perl-Class-Classgen-classgen.noarch
Code:

# cp /usr/share/doc/perl-Class-Classgen-classgen-3.03/examples/inheritance/Base.pm /usr/lib/perl5/5.8.8/Filename/
# cp /usr/share/doc/perl-Class-Classgen-classgen-3.03/examples/inheritance/Base.pm /usr/lib64/perl5/5.8.8/Filename/



knudfl 04-23-2011 03:33 AM

We can start with the warnings
http://www.icewalkers.com/rpm/ctcs/m...tcs-17611.html
Quote:

Ctcs 1.3.0 - VA Cerberus Test Control System -- DO NOT INSTALL ON LIVE SYSTEMS.
[ ctcs-1.3.0-1mdk.i586.rpm - contrib ]
Build by Mandrake Linux Teamon Saturday, December 27th 2003.
http://sourceforge.net/projects/va-ctcs

This is the VA Linux burn-in test suite, known to mere mortals as Cerberus.
It's used to make sure that new systems are ready to go out and face the perils
of the cold, hard world.
It's made up of a suite of programs that literally pound the system.

*NOTE* It's very easy to destroy your system with this software.

DO NOT INSTALL AND RUN ON A PRODUCTION SYSTEM. Please, for the love of Pete,
I'm dead serious about this folks.
The tests are meant for hardware with nothing on it yet... you will lose data.
Not might. Will.

Please be sure to read the README's that in the top level of the install directory.
Please also visit http://sourceforge.net/projects/va-ctcs for more information.
About your OS : Which gcc ? Does 'gcc -v' show gcc-4.1.2 ?
And how come you didn't install "perl-Class-Classgen-classgen" with yum?
And then copy "Base.pm" to e.g. /usr/lib/perl5/5.8.8/Filename/ ? ?
The Base.pm from perl-Class-Classgen-classgen must be in place for the tests.

Compiling ctcs : Not really a problem, as you can use a package.
(The Mandriva, etc. rpms are for 32bits, but I can probably make a 64bits.)

Another thing : Don't use /tmp/ for build (or anything else). Permissions may change.
The default build directory is /home/<user-name>/tmp/
Not /root/ ! Or any other folder outside /home/<user-name>/.

..

ching592000 04-25-2011 07:21 PM

Dear Sirs,

Thanks for your great help. run gcc -v command show lots to message. Below is the last message
gcc vesion 4.1.2 20080704 (Red Hat 4.1.2-44)

I did by both way download tar.gz or online update, but nothing change

I used to log in as root, but I did not know this is not good. The reason I doing this way, becuase this is only test system and I don't mind system crash.

By the way, I ask some friend, I don't know why they said CTCS1.3.1 did not support 64bit OS.

Thanks again your good help.
Fabio

Quote:

Originally Posted by knudfl (Post 4333407)
We can start with the warnings
http://www.icewalkers.com/rpm/ctcs/m...tcs-17611.html


About your OS : Which gcc ? Does 'gcc -v' show gcc-4.1.2 ?
And how come you didn't install "perl-Class-Classgen-classgen" with yum?
And then copy "Base.pm" to e.g. /usr/lib/perl5/5.8.8/Filename/ ? ?
The Base.pm from perl-Class-Classgen-classgen must be in place for the tests.

Compiling ctcs : Not really a problem, as you can use a package.
(The Mandriva, etc. rpms are for 32bits, but I can probably make a 64bits.)

Another thing : Don't use /tmp/ for build (or anything else). Permissions may change.
The default build directory is /home/<user-name>/tmp/
Not /root/ ! Or any other folder outside /home/<user-name>/.

..


knudfl 04-26-2011 08:10 AM

/root/ seems to be OK for a test system for ctcs.
Anyway, that's what the spec file says.

The package ctcs-1.3.1pre1-3.el5.x86_64.rpm will provide /root/ctcs/*
The doc/ folder from version 1.3.0 is included.
So is /usr/lib/perl5/Filename/Base.pm .
The binaries in ctcs/runin/src/ and ctcs/runin/src/<folders>/* are 64bits.
( 'maxalloc' in ctcs/runin/src/memtst.src/ says "failed": May not work.)

Download link http://doc-04-b4-docs.googleusercont...pkpu2qrkn41kba

..

ching592000 04-26-2011 11:52 AM

Dear Sirs,

I can not download the from the link which your provide to me, even though I can log in google docs share with my account.

Thanks
Fabio

Quote:

Originally Posted by knudfl (Post 4336730)
/root/ seems to be OK for a test system for ctcs.
Anyway, that's what the spec file says.

The package ctcs-1.3.1pre1-3.el5.x86_64.rpm will provide /root/ctcs/*
The doc/ folder from version 1.3.0 is included.
So is /usr/lib/perl5/Filename/Base.pm .
The binaries in ctcs/runin/src/ and ctcs/runin/src/<folders>/* are 64bits.
( 'maxalloc' in ctcs/runin/src/memtst.src/ says "failed": May not work.)

Download link http://doc-04-b4-docs.googleusercont...pkpu2qrkn41kba

..


knudfl 04-26-2011 12:25 PM

The link works OK here, when I am logged out from Google Docs :
Is "a shared file", to be downloaded for anybody with a link.


But it's also a small file, can easily be attached to a mail :
Send an "LQ message" http://www.linuxquestions.org/questi...ember&u=386037
And I will reply,,, and attach the package.

knudfl 04-26-2011 03:04 PM

CTCS2-2.0 will also compile on x86_64.

Same problem with maxalloc : make -i will provide a possibly corrupt maxalloc.


The package 'ctcs2-2.0-1.el5.x86_64.rpm' is here
https://docs.google.com/uc?id=0B7S25...CL7QjZcJ&hl=en

..

ching592000 04-27-2011 07:44 PM

Dear Sirs,

I tried both RPM files, but they have the same error messages. Below are command and messages for your reference. Thanks a lot

rpm -ivh or -Uvh *.prm
error: Failed dependencies:
perl(Filename::Base) is needed by ctcs-1.3.1prel-3.el5.x86_64
per(color) is ....
perl(fdisk) is needed ...
perl(hashstore) is needed ..
perl(testgen)
perl(timecalc)
perl(va_detect)

Thanks
Fabio


Quote:

Originally Posted by knudfl (Post 4337192)
CTCS2-2.0 will also compile on x86_64.

Same problem with maxalloc : make -i will provide a possibly corrupt maxalloc.


The package 'ctcs2-2.0-1.el5.x86_64.rpm' is here
https://docs.google.com/uc?id=0B7S25...CL7QjZcJ&hl=en

..


knudfl 04-27-2011 10:44 PM

Well, that's all perl modules included inside ctcs :

ctcs-1.3.1pre1/lib/perl/ color.pm fpdisk.pm hashstore.pm testgen.pm \
timecalc.pm va_detect.pm
( And /usr/lib/perl5/Filename/Base.pm ).

It's the old story about an rpm package, that depends on itself.

# 'rpm -Uvh --nodeps ctcs-1.3.1pre1-3.el5.x86_64.rpm' will do.


All times are GMT -5. The time now is 10:25 AM.