Hi
 The perl story in opensolaris is quite quite painful. We don't even 
ship libwww perl module !. and our perl version is 5.8.4 (which is more 
than 5 years old !). Fortunately, folks in this team is aware of your 
pain and hopefully some good will come out very soon (unfortunately, not 
in time for os2009.06)

having pfexec pkg install gcc-dev SUNWlynx SUNWmysql51 followed by 

pfexec su -
export PATH=/usr/mysql/5.1/bin:$PATH
export LANG=C
perl -MCPAN -e 'install Bundle::DBD::mysql'

and answering questions to manual configuration  should help you to 
install this CPAN module..

- Sriram

solarg wrote:
> hello all,
> after installing SUNWpmdbi, i'm unable to run a program with mysql in 
> os2009.06 (b111):
> henry at delljm:~$ perl test_placeholder.pl
> install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC 
> contains: /usr/perl5/5.8.4/lib/i86pc-solaris-64int 
> /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int 
> /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl 
> /usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int 
> /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at (eval 3) 
> line 3.
> Perhaps the DBD::mysql perl module hasn't been fully installed,
> or perhaps the capitalisation of 'mysql' isn't right.
> Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge.
>  at test_placeholder.pl line 9
>
> I don't find DBD::mysql, is it normal? what don't deliver it with 
> SUNWpmdbi? the process to add new cpan modules is very painful.
>
> Thanks in advance for help,
>
> gerard
> _______________________________________________
>
>
> webstack-discuss mailing list
> webstack-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss

Reply via email to