Bad perl install - eximstats failed

webcatal

Member
Apr 10, 2003
22
0
151
I have been trying to get perl upgraded on my cpanel server and it seems somewhere along the lines the eximstats has failed. I watched the install when I ran /scripts/perlinstaller --force Bundle::DBD::mysql. What I get is a bunch of errors telling me it did not work. I don't know what happened and I am probably not experienced enough to have done this in the first place but we needed a new version of perl. (Sometimes I hate cPanel)

Install Output:
I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/usr/include/mysql -march=i386 -mcpu=i686
embedded (mysql_config) =
libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
Use of uninitialized value in printf at Makefile.PL line 172, <PIPE> line 103.
test_user ( ) =
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.








Checking if your kit is complete...
Looks good
Using DBI 1.52 (for perl 5.008007 on i686-linux) installed in /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI/
Writing Makefile for DBD::mysql
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c -I/usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI -I/usr/include/mysql -march=i386 -mcpu=i686 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasin
g -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"3.0007\" -DXS_VERSION=\"3.0007\" -fpic "-I/usr/lib/perl5/5.8.7/i686
-linux/CORE" dbdimp.c
dbdimp.c: In function `mysql_st_internal_execute':
dbdimp.c:2390: parse error before `rows'
dbdimp.c:2467: `rows' undeclared (first use in this function)
dbdimp.c:2467: (Each undeclared identifier is reported only once
dbdimp.c:2467: for each function it appears in.)
make: *** [dbdimp.o] Error 1

/usr/bin/make -- NOT OK
Running make install
make had returned bad status, install seems impossible
Bundle summary: The following items in bundle Bundle::DBD::mysql had
installation problems:
Mysql DBD::mysql
perlmod--Install done
 

designeru

Well-Known Member
Nov 2, 2005
83
0
156
try this:

# cpanel -MCPAN -e shell
> force install DBI
then
> force install DBD::mysql

if it's all ok, you can skip the next part... if not...

- go to layer1.cpanel.net and download the perl tar file on your server
- install it then run the previous commands again.
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
webcatal said:
I have been trying to get perl upgraded on my cpanel server and it seems somewhere along the lines the eximstats has failed. I watched the install when I ran /scripts/perlinstaller --force Bundle::DBD::mysql. What I get is a bunch of errors telling me it did not work. I don't know what happened and I am probably not experienced enough to have done this in the first place but we needed a new version of perl. (Sometimes I hate cPanel)
use this command:
/scripts/realperlinstaller --force DBD::mysql
 

webcatal

Member
Apr 10, 2003
22
0
151
I have tried all suggestions and still receive errors when it begins to do the make test and then bombs out

make: *** [dbdimp.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Failed during this command:
CAPTTOFU/DBD-mysql-3.0007.tar.gz : make NO
I am now wishing I could just revert back to what I had. But I don't think thats going to happen.
 

mooony

Well-Known Member
Nov 9, 2002
82
0
156
I am having the same problem. Has anybody got a fix for this problem.

Thanks.

Ronald
 

AlexF

Well-Known Member
Nov 20, 2003
148
0
166
Having the same issue on a FreeBSD box; got cPanel support looking at it but reinstalling perl did not correct the issue.
 

naren

Member
Dec 11, 2004
7
0
151
Hi,

Even we got the same problem even by installing the module manually from the cpan site. We did downloaded the older version of that module and installed it manually. You can get the older version from the following url

http://www.cpan.org/modules/by-module/DBD/

You can just get it directly with

wget http://www.cpan.org/modules/by-module/DBD/DBD-mysql-3.0006.tar.gz

Next do the installation manually with the following procedure

tar -zxvf DBD-mysql-3.0006.tar.gz
cd DBD-mysql-3.0006
perl Makefile.PL
make
make install


With regards,
Narendra.