LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-20-2011, 10:02 PM   #1
ching592000
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Rep: Reputation: 0
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
 
Old 04-21-2011, 04:16 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,321

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581
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/
 
Old 04-21-2011, 06:11 PM   #3
ching592000
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Original Poster
Rep: Reputation: 0
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 View Post
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/
 
Old 04-22-2011, 03:00 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,321

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581
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 ? .. ..

..

Last edited by knudfl; 04-22-2011 at 03:27 AM.
 
Old 04-22-2011, 05:13 PM   #5
ching592000
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Original Poster
Rep: Reputation: 0
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 View Post
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/
 
Old 04-23-2011, 04:33 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,321

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581
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>/.

..

Last edited by knudfl; 04-23-2011 at 04:39 AM.
 
Old 04-25-2011, 08:21 PM   #7
ching592000
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Original Poster
Rep: Reputation: 0
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 View Post
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>/.

..
 
Old 04-26-2011, 09:10 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,321

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581
/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

..
 
Old 04-26-2011, 12:52 PM   #9
ching592000
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Original Poster
Rep: Reputation: 0
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 View Post
/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

..
 
Old 04-26-2011, 01:25 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,321

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581
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.
 
Old 04-26-2011, 04:04 PM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,321

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581
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

..
 
Old 04-27-2011, 08:44 PM   #12
ching592000
LQ Newbie
 
Registered: Nov 2010
Posts: 11

Original Poster
Rep: Reputation: 0
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 View Post
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

..
 
Old 04-27-2011, 11:44 PM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,321

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 5.4 64bit php-gd issue Nicarlo Linux - Newbie 4 03-11-2012 03:53 PM
libgaim.so.0()(64bit) error | centos Cheza Linux - General 1 01-12-2008 11:32 AM
SVN compile issues - centos 5 64bit neocontrol Linux - Server 1 11-06-2007 12:07 PM
Wireshark Install On CentOS 64bit krams Linux - Newbie 3 04-24-2007 05:35 PM
Can't compile lufs on 64bit 144419855310001 Linux - Software 4 07-12-2006 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration