List:MySQL and Perl« Previous MessageNext Message »
From:Christopher Curtis Date:August 21 1999 8:02pm
Subject:Bug: Bundle::DBD::Mysql Alpha/Linux
View as plain text  
Hi,

I'm running RH5.2 on an Alpha and am unable to install
msql-mysql-modules-1.22.02 becuase I get compilation errors.  Here is a
transcript of the installation:

# perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.50)
ReadLine support enabled

cpan> install Bundle::DBD::mysql
CPAN: MD5 loaded ok
Checksum for
/root/.cpan/sources/authors/id/JWIED/Msql-Mysql-modules-1.2202.tar.gz ok

Msql-Mysql-modules-1.2202/
[...]
Msql-Mysql-modules-1.2202/README
Removing previously used /root/.cpan/build/Msql-Mysql-modules-1.2202
DBI is up to date.
Data::ShowTable is up to date.
Running make for JWIED/Msql-Mysql-modules-1.2202.tar.gz
  Unwrapped into directory /root/.cpan/build/Msql-Mysql-modules-1.2202
  CPAN.pm: Going to build JWIED/Msql-Mysql-modules-1.2202.tar.gz

Which drivers do you want to install?

    1)  MySQL only
[...]
Enter the appropriate number:  [3] 1
[...]
about compatibility to existing applications! [n] y
Where is your MySQL installed? Please tell me the directory that
contains the subdir 'include'. [/usr/local]
Which database should I use for testing the MySQL drivers? [test]
On which host is database test running (hostname, ip address
or host:port) [localhost] genoa
User name for connecting to database test? [undef]
Password for connecting to database test? [undef]
Creating files for MySQL ..........................
Checking if your kit is complete...
Looks good
Using DBI 1.13 installed in
/usr/lib/perl5/site_perl/alpha-linux/auto/DBI
Writing Makefile for DBD::mysql
Writing Makefile for Msql-Mysql-modules
mkdir ./blib
[...]
cc -c -I/usr/lib/perl5/site_perl/alpha-linux/auto/DBI
-I/usr/local/include/mysql -I../dbd
-I/usr/lib/perl5/site_perl/alpha-linux/auto/DBI
-I/usr/lib/perl5/alpha-linux/5.00405 -Dbool=char -DHAS_BOOL
-I/usr/local/include -O2    -DVERSION=\"2.0402\" -DXS_VERSION=\"2.0402\"
-fpic -I/usr/lib/perl5/alpha-linux/5.00405/CORE -DDBD_MYSQL dbdimp.c
dbdimp.c: In function `mysql_dr_connect':
dbdimp.c:488: `MYSQL_OPT_COMPRESS' undeclared (first use this function)
dbdimp.c:488: (Each undeclared identifier is reported only once
dbdimp.c:488: for each function it appears in.)
dbdimp.c:493: `MYSQL_READ_DEFAULT_FILE' undeclared (first use this
function)
dbdimp.c:499: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use this
function)
dbdimp.c:505: warning: passing arg 5 of `mysql_real_connect' makes
integer from pointer without a cast
dbdimp.c:505: warning: passing arg 6 of `mysql_real_connect' makes
pointer from integer without a cast
dbdimp.c:505: warning: passing arg 7 of `mysql_real_connect' makes
integer from pointer without a cast
dbdimp.c:505: too many arguments to function `mysql_real_connect'
make[1]: *** [dbdimp.o] Error 1
make[1]: Leaving directory
`/root/.cpan/build/Msql-Mysql-modules-1.2202/mysql'
make: *** [subdirs] Error 2
  /usr/bin/make  -- NOT OK
[...]
cpan> Lockfile removed.
# cc --version
egcs-2.90.29 980515 (egcs-1.0.3 release)
#

I'm trying to install Bugzilla and this is a major hinderance to that
process.  I would appreciate any help in getting this to compile, be it
some patches, a new bundle, or just a place to look.

Thanks,
Christopher

Thread
Bug: Bundle::DBD::Mysql Alpha/LinuxChristopher Curtis21 Aug
  • Re: Bug: Bundle::DBD::Mysql Alpha/LinuxJochen Wiedmann22 Aug
  • Re: Bug: Bundle::DBD::Mysql Alpha/LinuxChristopher Curtis22 Aug