<div dir="ltr"><div><div><div><div><div><div><div>Well, progress.<br><br></div>Initially I got this:<br>$ ./testdb<br>Can't locate DBI.pm in @INC (@INC contains: /usr/perl5/site_perl/5.12/sun4-solaris-64int /<br>usr/perl5/site_perl/5.12 /usr/perl5/vendor_perl/5.12/sun4-solaris-64int /usr/perl5/vendor_<br>perl/5.12 /usr/perl5/5.12/lib/sun4-solaris-64int /usr/perl5/5.12/lib .) at ./testdb line 3 .<br>BEGIN failed--compilation aborted at ./testdb line 3.<br><br></div>Then after pkg install pkg:/library/perl-5/database (worked!), I now get<br># ./testdb<br>install_driver(mysql) failed: Can't locate DBD/<a href="http://mysql.pm">mysql.pm</a> in @INC (@INC contains: /usr/perl5/site_perl/5.12/sun4-solaris-64int /usr/perl5/site_perl/5.12 /usr/perl5/vendor_perl/5.12/sun4-solaris-64int /usr/perl5/vendor_perl/5.12 /usr/perl5/5.12/lib/sun4-solaris-64int /usr/perl5/5.12/lib .) at (eval 3) line 3.<br>Perhaps the DBD::mysql perl module hasn't been fully installed,<br>or perhaps the capitalisation of 'mysql' isn't right.<br>Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge.<br> at ./testdb line 12<br><br></div>Is there a "DBD::mysql" package I can install? I tried<br></div>pkg search -r dbd<br></div>pkg search -r mysql<br></div>but I didn't see anything related to perl *and* mysql.<br><br></div>Is the stuff on OpenCSW compatible with the Oracle-supplied perl? Or will I need to install perl/DBI/DBD all from OpenCSW?<br><div><div><div><div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 17, 2015 at 4:11 PM, Adam Thompson <span dir="ltr"><<a href="mailto:athompso@athompso.net" target="_blank">athompso@athompso.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<a href="http://www.opencsw.org/manual/for-administrators/setup-behind-proxy.html#setup-behind-proxy" target="_blank">http://www.opencsw.org/manual/for-administrators/setup-behind-proxy.html#setup-behind-proxy</a><br>
<br>
Or just download the file locally, scp it to the Solaris 10 box and
run pkgadd -d <fully-qualified-path-to-file>.<br>
<br>
<br>
Meanwhile, on Solaris 11.3 with the Support Tools Bundle installed,
<br>
<br>
root@t4-1:~# locate DBI.pm<br>
/usr/lib/ocm/ccr/engines/SunOS/perl/lib/site_perl/5.8.3/Apache/AuthDBI.pm<br>
/usr/lib/ocm/ccr/engines/SunOS/perl/lib/site_perl/5.8.3/Apache/DBI.pm<br>
/usr/lib/ocm/ccr/engines/SunOS/perl/lib/site_perl/5.8.3/sun4-solaris-thread-multi/DBI.pm<br>
/usr/lib/ocm/ccr/engines/SunOS/perl/lib/site_perl/5.8.3/sun4-solaris-thread-multi/Bundle/DBI.pm<br>
<br>
but otherwise you can install it in Solaris 11 (11.3, anyway, should
work in 11.2 also) with<br>
"pkg install pkg:/library/perl-5/database"<span class="HOEnZb"><font color="#888888"><br>
<br>
-Adam</font></span><div><div class="h5"><br>
<br>
<br>
<div>On 15-12-17 03:21 PM, Kevin McGregor
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Yeesh:
<div><br>
</div>
<div>
<div># pkgadd -d <a href="http://get.opencsw.org/now" target="_blank">http://get.opencsw.org/now</a></div>
<div>pkgadd: ERROR: Failure occurred with http(s) negotiation:
<Not a HTTP/1.1 server></div>
<div>pkgadd: ERROR: unable to download package datastream from
<<a href="http://get.opencsw.org/now" target="_blank">http://get.opencsw.org/now</a>>.</div>
</div>
<div><br>
</div>
<div>Any thoughts? This was on Solaris 10.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Dec 8, 2015 at 7:44 PM, Adam
Thompson <span dir="ltr"><<a href="mailto:athompso@athompso.net" target="_blank">athompso@athompso.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr"><a href="https://www.opencsw.org/" target="_blank">https://www.opencsw.org/</a></p>
<br>
_______________________________________________<br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca" target="_blank">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" rel="noreferrer" target="_blank">http://www.muug.mb.ca/mailman/listinfo/roundtable</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Roundtable mailing list
<a href="mailto:Roundtable@muug.mb.ca" target="_blank">Roundtable@muug.mb.ca</a>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" target="_blank">http://www.muug.mb.ca/mailman/listinfo/roundtable</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" rel="noreferrer" target="_blank">http://www.muug.mb.ca/mailman/listinfo/roundtable</a><br>
<br></blockquote></div><br></div>