On Wed, 22 Dec 1999, Danny Whitesel wrote:
>
> After I posted that, I went back and started digging a deeper. I did install
> DBI and the MySQL modules....or, so I thought. I remembered seeing an error
> when I did the "make test" for the MySQL modules. But, when I ran "make
> test" a second time, there were no errors. At the time, like an idiot, I
> didn't think anything of it.
>
> Turns out, there is a problem with the MySQL module compiling on my system.
> From the docs in the tarball, the error I am seeing has something to do with
> Perl and MySQL not being comiled with the same comiler. Mysql was compile
> using GCC. I know because I installed MySQL from the tarball. Perl, on the
> other hand, was installed from a binary RPM...the one that came with RedHat
> 5.2.
>
> If I understand the issue correctly, the next step for me to do is remove
> the RPM install of Perl from that machine and compile/install Perl from a
> tarball, making sure the Makefile specifies GCC as the compiler?
>
> Has anyone else run into this before? Does anyone have any other suggestions
> or input? I am really not looking forward to re-compiling Perl.
We would have expected that mysql should compile just fine and that the DBI/DBD
modules would as well. Is it possible that the RedHat RPM was from a different
version? Did you download it or take it off the CD?
In any case, rebuilding Perl is very straightforward - just make sure you tell
it to make a dynamic loader.
Alternatively you could download everything from the mySQL site:
http://www.mysql.com/download_perl.html
http://www.mysql.com/download_3.22.html
There are also some notes there about RadHat 5.x glibc problems.
hth
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.