I'm downloading OpenCSW from a mirror to a local Linux box with Internet access. None of the Solaris boxes have Internet access, so I can't bootstrap it that way. And of course I can't use rsync, so wget. Sigh. I hope it works, after all this.

On Fri, Dec 18, 2015 at 9:03 AM, Kevin McGregor <kevin.a.mcgregor@gmail.com> wrote:
Oh, right -- also, on Solaris 10
# pkgadd -x ourproxy:3128 -d http://get.opencsw.org/now
pkgadd: ERROR: Failure occurred with http(s) negotiation: <Not a HTTP/1.1 server>
pkgadd: ERROR: unable to download package datastream from <http://get.opencsw.org/now>.

I think that's a problem with squid. I'll try downloading it/installing manually.

On Fri, Dec 18, 2015 at 8:41 AM, Kevin McGregor <kevin.a.mcgregor@gmail.com> wrote:
Well, progress.

Initially I got this:
$ ./testdb
Can't locate DBI.pm 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 ./testdb line 3                                                                                           .
BEGIN failed--compilation aborted at ./testdb line 3.

Then after pkg install pkg:/library/perl-5/database (worked!), I now get
# ./testdb
install_driver(mysql) failed: Can't locate DBD/mysql.pm 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.
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 ./testdb line 12

Is there a "DBD::mysql" package I can install? I tried
pkg search -r dbd
pkg search -r mysql
but I didn't see anything related to perl *and* mysql.

Is the stuff on OpenCSW compatible with the Oracle-supplied perl? Or will I need to install perl/DBI/DBD all from OpenCSW?


On Thu, Dec 17, 2015 at 4:11 PM, Adam Thompson <athompso@athompso.net> wrote:
http://www.opencsw.org/manual/for-administrators/setup-behind-proxy.html#setup-behind-proxy

Or just download the file locally, scp it to the Solaris 10 box and run pkgadd -d <fully-qualified-path-to-file>.


Meanwhile, on Solaris 11.3 with the Support Tools Bundle installed,

root@t4-1:~# locate DBI.pm
/usr/lib/ocm/ccr/engines/SunOS/perl/lib/site_perl/5.8.3/Apache/AuthDBI.pm
/usr/lib/ocm/ccr/engines/SunOS/perl/lib/site_perl/5.8.3/Apache/DBI.pm
/usr/lib/ocm/ccr/engines/SunOS/perl/lib/site_perl/5.8.3/sun4-solaris-thread-multi/DBI.pm
/usr/lib/ocm/ccr/engines/SunOS/perl/lib/site_perl/5.8.3/sun4-solaris-thread-multi/Bundle/DBI.pm

but otherwise you can install it in Solaris 11 (11.3, anyway, should work in 11.2 also) with
"pkg install pkg:/library/perl-5/database"

-Adam



On 15-12-17 03:21 PM, Kevin McGregor wrote:
Yeesh:

pkgadd: ERROR: Failure occurred with http(s) negotiation: <Not a HTTP/1.1 server>
pkgadd: ERROR: unable to download package datastream from <http://get.opencsw.org/now>.

Any thoughts? This was on Solaris 10.

On Tue, Dec 8, 2015 at 7:44 PM, Adam Thompson <athompso@athompso.net> wrote:

https://www.opencsw.org/


_______________________________________________
Roundtable mailing list
Roundtable@muug.mb.ca
http://www.muug.mb.ca/mailman/listinfo/roundtable




_______________________________________________
Roundtable mailing list
Roundtable@muug.mb.ca
http://www.muug.mb.ca/mailman/listinfo/roundtable


_______________________________________________
Roundtable mailing list
Roundtable@muug.mb.ca
http://www.muug.mb.ca/mailman/listinfo/roundtable