 |
Forums |
Admin Start New Thread
| Message: 96891 |
 |
BY: Luke Swihart (lukes) DATE: 2011-08-16 19:59 SUBJECT: Proposed changes to the ibm_db client. I was wondering if anyone would be interested in to digging into the ibm_db driver and updating it so that the compile and 'make install' was a bit cleaner and more on par w/ how other gems compile and install.
There are various issues and platform problems w/ the way ibm_db is laid out.
The first being (which I am surprised of) is the lack of ppc-AIX64. In general compiling the ibm_db driver for AIX is dirty. The test programs only work on Windows & Linux. I have had other gems look for ibm_db under the linux architecture instead of detecting the architecture. My proposal is that after installation all programs should always look for the .so in your LIBPATH/LD_LIBRARY_PATH and/or the ruby lib directory. It does not make sense to tag the architecture on to the path as you would never have multiple platforms in one installation anyway. I understand that when building the program that you have not done the equivilant of a "make install" so at this point the .so is under a platform directory. I think even at this point it could be merged down into the lib directory to make creation of test programs cleaner.
I also think that there should be support for all platforms and that the code itself could be handled more like how autoconf/automake handles multiple platforms when building / compiling a C program. This would not be hard to do.
Anyone up for helping out or have any input to making this a bit more user friendly ?
-Luke | |
Thread View
Post a followup to this message
|
 |