At 6:42 PM +0930 6/15/03, Jeremy Begg wrote:
>I noticed that when I built Perl 5.8.0 a month or so ago it created a
>second, parallel, directory tree [PERL-5_8_0_ROOT] which I assumed at
>the time was meant to be the place you point PERL_ROOT to for general
>users.

Yes, that's what it's for, but it only creates that if you run the
INSTALL target.

>But when I tried to add the Net::LDAP module I found it failed
>badly because [PERL-5_8_0_ROOT] didn't have MINIPERL.EXE and lots of
>other stuff required for adding Perl modules.  So I learned to define
>PERL_ROOT to point to the "full" Perl 5.8.0 kit directory before building
>any add-on modules.

Extension building is known to be broken in 5.8.0.  See

<http://www.xray.mpe.mpg.de/mailing-lists/vmsperl/2002-08/msg00015.html>

Building from the source tree as you are doing is one of the
recommended workarounds.

>Today's problem is that I'm trying to build DBD::mysql.  The installation
>instructions specified I should start by building the DBI module and also
>Data::ShowTable, both of which I downloaded from CPAN and seemed to go OK.

Did you install them after building them?

>
>When building DBD::mysql I found a number of problems, mainly due to
>various assumptions made by the module's writer, but the killer in the end
>came when the build procedure tried to link the final shareable image,
>[.BLIB.ARCH.AUTO.DBD.MYSQL]PL_DBD__MYSQL.EXE.  Lots of undefined symbols:
>
>   %LINK-W-NUDFSYMS, 55 undefined symbols:

That's basically the whole Perl API, or all of it that DBD::MySQL
appears to make use of.  Is the logical name PERLSHR defined?  Are
you quite sure you've resolved all problems upstream from the link
failure?  Since the link is one of the last things that happens,
something going wrong in a previous step could well be the root issue.

If you switched where PERL_ROOT points to in mid-stream, be sure to
make the REALCLEAN target and rerun the Makefile.PL.

Are you using Jean-Fran�ois Pi�ronne's new MySQL port?  I'd be
interested to hear how you fare with it as I haven't heard of
DBD::MySQL being used on VMS before.


--
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Reply via email to