| Message: 55922 |
 |
BY: Chris Evans (cevans111) DATE: 2008-05-15 16:17 SUBJECT: RE: Failed gem install on Solaris Yes, I did that:
$ . /export/home/db2inst1/.profile
$ export IBM_DB_DIR=/opt/IBM/db2/V8.1
$ export IBM_LIB_DIR=/opt/IBM/db2/V8.1/lib
$ sudo gem install ibm_db
I think the problem is an incompatibility with me compiler. From the mkmf.log:
cc: unrecognized option `-KPIC'
cc: language ildoff not recognized
ld: fatal: file conftest.c: unknown file type
ld: fatal: File processing errors. No output written to conftest
I'm using gcc aliased to cc, since that is what comes with Solaris.
| |