-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perl 5.36 cpan | DBD::Oracle installation #69
Comments
@genio - looks like we need to add the Oracle Instant Client to the docker image. The path is from a local machine used for the 5.32 builds, I assume. I am not sure which of the downloads should be used for this. |
https://github.com/gwenshap/DBD-Oracle/blob/dc6325d4f96da3c54fc6862512f4de67e5ec03e2/README.win64.txt#L7 seems to indicate we can use either of the instant clients, so I'd say basic. I don't know if we need any of the features excluded from basic for basic-light |
In order to build some necessary modules, we'll need this instant client. StrawberryPerl/Perl-Dist-Strawberry#69
DBD::Oracle also needs the SQLPlus package to detect some settings like the version. If I remember correctly also the SDK is required. I can check that next week if you want. |
Thanks @abraxxa - that would be very helpful. |
@abraxxa - have you had a chance to follow up on this? |
Just a data point, building DBD::Oracle under the docker container needs both SQLPlus and OCI.
|
In the absence of further input I made the executive decision to not include this module Even if we provide the XS bindings, the user still has to have the instant client and sqlplus distributions on their machines. Building the bindings seems not so difficult (a few env vars need to be set). I assume things were much harder at the time Strawberry Perl was started. If there is a need for this module to be in SP then we would need to resolve the above issues for the build system and cut a new SP release. I'll close this issue in about a week (or maybe later) unless there is further discussion. |
Strawberry Perl shipped with DBD-Oracle since 2015, and it's very helpful for Oracle DBA. hope it will reappear in next release ball. |
Sorry for the much too late reply! We finally migrated away from Oracle and I failed to remember to look it up.
Further the libaio1 package is required on Debian. And I've set those env vars system wide via /etc/environment:
|
Thanks @abraxxa That gives a good indication of which packages are needed for a Windows install. I wonder if this is best done as an Alien module to simplify the user experience? It can be used to add the relevant paths to the system before running in addition to downloading and unpacking. (Assuming it is loaded before or as part of DBD::Oracle). In any case, I have builds of 5.36.1 and 5.38.0 ready to go (more recent than the current dev releases). If we include it in Strawberry Perl then it will be in the next point releases (5.38.0.2, 5.36.1.2). I'll leave this issue open. |
I'm looking forward to build that includes DBD::Oracle... still using the eol 5.32.1 at the moment |
Cross-ref: #216 |
We need the Oracle Instant Client 64bit for DBD::Oracle
Perl-Dist-Strawberry/share/64bit-5.36.0.1.pp
Line 247 in 5f6e415
The text was updated successfully, but these errors were encountered: