Skip to content

Instantly share code, notes, and snippets.

@syofyanzuhad
Forked from bjreath/Informix install info
Created January 2, 2022 11:16
Show Gist options
  • Save syofyanzuhad/2becb7e1eb39b7d4132fbb45c25683c5 to your computer and use it in GitHub Desktop.
Save syofyanzuhad/2becb7e1eb39b7d4132fbb45c25683c5 to your computer and use it in GitHub Desktop.
Informix CSDK and ruby-informix install issues
sudo ./installclientsdk
Password:
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Picked up _JAVA_OPTIONS: -Djava.awt.headless=true
Preparing CONSOLE Mode Installation...
===============================================================================
IBM Informix ClientSDK 3.70 (created with InstallAnywhere)
-------------------------------------------------------------------------------
===============================================================================
Introduction
------------
InstallAnywhere will guide you through the installation of IBM Informix Client
SDK 3.70.FC3.
It is strongly recommended that you quit all programs before continuing with
this installation.
Respond to each prompt to proceed to the next step in the installation. If you
want to change something on a previous step, type 'back'.
You may cancel this installation at any time by typing 'quit'.
PRESS <ENTER> TO CONTINUE:
===============================================================================
International License Agreement for Non-Warranted Programs
Part 1 - General Terms
BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, CLICKING ON AN
"ACCEPT" BUTTON, OR OTHERWISE USING THE PROGRAM, LICENSEE AGREES TO
THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCEPTING THESE TERMS ON
BEHALF OF LICENSEE, YOU REPRESENT AND WARRANT THAT YOU HAVE FULL
AUTHORITY TO BIND LICENSEE TO THESE TERMS. IF YOU DO NOT AGREE TO
THESE TERMS,
* DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, CLICK ON AN "ACCEPT" BUTTON,
OR USE THE PROGRAM; AND
* PROMPTLY RETURN THE UNUSED MEDIA AND DOCUMENTATION TO THE PARTY FROM
WHOM IT WAS OBTAINED FOR A REFUND OF THE AMOUNT PAID. IF THE PROGRAM
WAS DOWNLOADED, DESTROY ALL COPIES OF THE PROGRAM.
1. Definitions
Press Enter to continue viewing the license agreement, or enter "1" to
accept the agreement, "2" to decline it, "3" to print it, or "99" to go back
to the previous screen.: 1
===============================================================================
Installation Location
---------------------
Where Would You Like to Install IBM Informix Client SDK 3.70.FC3?
Default Install Folder: /Applications/IBM/informix
ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
: /usr/informix
INSTALL FOLDER IS: /usr/informix
IS THIS CORRECT? (Y/N): Y
===============================================================================
Installation Features
---------------------
===============================================================================
Choose Product Features
-----------------------
ENTER A COMMA_SEPARATED LIST OF NUMBERS REPRESENTING THE FEATURES YOU WOULD
LIKE TO SELECT, OR DESELECT. TO VIEW A FEATURE'S DESCRIPTION, ENTER
'?<NUMBER>'. PRESS <RETURN> WHEN YOU ARE DONE:
1- [X] IBM Informix ClientSDK
2- |-[X] IBM Informix Object Interface for C++
3- |-[X] IBM Informix Object Interface for C++ Demos
4- |-[X] IBM Informix ESQL/C
5- |-[X] IBM Informix ESQL/C Demos
6- |-[X] 7.2 Application Compatiablity Module
7- |-[X] IBM Informix LIBDMI for Client Applications
8- |-[X] IBM Informix ODBC Driver
9- |-[X] IBM Informix ODBC Driver Demos
10- |-[X] IBM Informix Common Database Utilities
11- [X] Global Language Support (GLS)
12- |-[X] West European and Americas
13- |-[X] East European and Cyrillic
14- |-[X] Chinese
15- |-[X] Japanese
16- |-[X] Korean
17- |-[X] Thai
Please choose the Features to be installed by this installer.: 1,2,4,7,8,10
===============================================================================
Installing...
-------------
[==================|==================|==================|==================]
[------------------|------------------|------------------|------------------]
===============================================================================
Installation Complete
---------------------
Congratulations. IBM Informix Client SDK 3.70.FC3 has been successfully
installed to:
/usr/informix
PRESS <ENTER> TO EXIT THE INSTALLER:
cat /Users/bjreath/.rvm/gems/ruby-1.9.2-p290@spiking/gems/ruby-informix-0.7.3/ext/gem_make.out
/Users/bjreath/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
creating Makefile
make
/usr/bin/gcc-4.2 -I. -I/Users/bjreath/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.0.1 -I/Users/bjreath/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/bjreath/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -I/usr/informix/incl/esql -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -o informixc.o -c informixc.c
informixc.ec:35: error: static declaration of ‘rb_cRational’ follows non-static declaration
/Users/bjreath/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/ruby.h:1216: error: previous declaration of ‘rb_cRational’ was here
informixc.ec: In function ‘rb_slob_initialize’:
informixc.ec:532: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:538: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:543: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:545: warning: format ‘%X’ expects type ‘unsigned int’, but argument 3 has type ‘long int’
informixc.ec:550: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:556: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘rb_slob_read’:
informixc.ec:675: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘rb_slob_write’:
informixc.ec:723: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘rb_slob_seek’:
informixc.ec:787: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘rb_slob_truncate’:
informixc.ec:886: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘rb_slob_lock’:
informixc.ec:942: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:943: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘rb_slob_unlock’:
informixc.ec:986: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:987: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: At top level:
informixc.ec:999: warning: initialization discards qualifiers from pointer target type
informixc.ec:999: warning: initialization discards qualifiers from pointer target type
informixc.ec:999: warning: initialization discards qualifiers from pointer target type
informixc.ec:999: warning: initialization discards qualifiers from pointer target type
informixc.ec:999: warning: initialization discards qualifiers from pointer target type
informixc.ec:1211: warning: initialization discards qualifiers from pointer target type
informixc.ec:1211: warning: initialization discards qualifiers from pointer target type
informixc.ec:1211: warning: initialization discards qualifiers from pointer target type
informixc.ec:1211: warning: initialization discards qualifiers from pointer target type
informixc.ec:1212: warning: initialization discards qualifiers from pointer target type
informixc.ec: In function ‘alloc_output_slots’:
informixc.ec:1418: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:1428: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘bind_input_params’:
informixc.ec:1632: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:1660: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘make_result’:
informixc.ec:1797: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:1913: error: ‘struct RArray’ has no member named ‘ptr’
informixc.ec: In function ‘rb_database_columns’:
informixc.ec:2220: warning: initialization discards qualifiers from pointer target type
informixc.ec:2220: warning: initialization discards qualifiers from pointer target type
informixc.ec:2220: warning: initialization discards qualifiers from pointer target type
informixc.ec:2220: warning: initialization discards qualifiers from pointer target type
informixc.ec:2220: warning: initialization discards qualifiers from pointer target type
informixc.ec:2220: warning: initialization discards qualifiers from pointer target type
informixc.ec:2221: warning: initialization discards qualifiers from pointer target type
informixc.ec:2221: warning: initialization discards qualifiers from pointer target type
informixc.ec:2221: warning: initialization discards qualifiers from pointer target type
informixc.ec:2221: warning: initialization discards qualifiers from pointer target type
informixc.ec:2221: warning: initialization discards qualifiers from pointer target type
informixc.ec:2221: warning: initialization discards qualifiers from pointer target type
informixc.ec:2222: warning: initialization discards qualifiers from pointer target type
informixc.ec:2222: warning: initialization discards qualifiers from pointer target type
informixc.ec:2222: warning: initialization discards qualifiers from pointer target type
informixc.ec:2222: warning: initialization discards qualifiers from pointer target type
informixc.ec:2222: warning: initialization discards qualifiers from pointer target type
informixc.ec:2222: warning: initialization discards qualifiers from pointer target type
informixc.ec:2223: warning: initialization discards qualifiers from pointer target type
informixc.ec:2223: warning: initialization discards qualifiers from pointer target type
informixc.ec:2223: warning: initialization discards qualifiers from pointer target type
informixc.ec:2223: warning: initialization discards qualifiers from pointer target type
informixc.ec:2223: warning: initialization discards qualifiers from pointer target type
informixc.ec:2223: warning: initialization discards qualifiers from pointer target type
informixc.ec:2225: warning: initialization discards qualifiers from pointer target type
informixc.ec:2228: warning: initialization discards qualifiers from pointer target type
informixc.ec:2228: warning: initialization discards qualifiers from pointer target type
informixc.ec:2228: warning: initialization discards qualifiers from pointer target type
informixc.ec:2228: warning: initialization discards qualifiers from pointer target type
informixc.ec:2228: warning: initialization discards qualifiers from pointer target type
informixc.ec:2229: warning: initialization discards qualifiers from pointer target type
informixc.ec: In function ‘each_by’:
informixc.ec:2723: error: ‘struct RArray’ has no member named ‘len’
make: *** [informixc.o] Error 1
gem install ruby-informix
Building native extensions. This could take a while...
ERROR: Error installing ruby-informix:
ERROR: Failed to build gem native extension.
/Users/bjreath/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
creating Makefile
make
/usr/bin/gcc-4.2 -I. -I/Users/bjreath/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.0.1 -I/Users/bjreath/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/bjreath/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -I/usr/informix/incl/esql -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -o informixc.o -c informixc.c
informixc.ec:35: error: static declaration of ‘rb_cRational’ follows non-static declaration
/Users/bjreath/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/ruby.h:1216: error: previous declaration of ‘rb_cRational’ was here
informixc.ec: In function ‘rb_slob_initialize’:
informixc.ec:532: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:538: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:543: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:545: warning: format ‘%X’ expects type ‘unsigned int’, but argument 3 has type ‘long int’
informixc.ec:550: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:556: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘rb_slob_read’:
informixc.ec:675: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘rb_slob_write’:
informixc.ec:723: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘rb_slob_seek’:
informixc.ec:787: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘rb_slob_truncate’:
informixc.ec:886: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘rb_slob_lock’:
informixc.ec:942: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:943: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘rb_slob_unlock’:
informixc.ec:986: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:987: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: At top level:
informixc.ec:999: warning: initialization discards qualifiers from pointer target type
informixc.ec:999: warning: initialization discards qualifiers from pointer target type
informixc.ec:999: warning: initialization discards qualifiers from pointer target type
informixc.ec:999: warning: initialization discards qualifiers from pointer target type
informixc.ec:999: warning: initialization discards qualifiers from pointer target type
informixc.ec:1211: warning: initialization discards qualifiers from pointer target type
informixc.ec:1211: warning: initialization discards qualifiers from pointer target type
informixc.ec:1211: warning: initialization discards qualifiers from pointer target type
informixc.ec:1211: warning: initialization discards qualifiers from pointer target type
informixc.ec:1212: warning: initialization discards qualifiers from pointer target type
informixc.ec: In function ‘alloc_output_slots’:
informixc.ec:1418: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:1428: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘bind_input_params’:
informixc.ec:1632: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:1660: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec: In function ‘make_result’:
informixc.ec:1797: warning: implicit conversion shortens 64-bit value into a 32-bit value
informixc.ec:1913: error: ‘struct RArray’ has no member named ‘ptr’
informixc.ec: In function ‘rb_database_columns’:
informixc.ec:2220: warning: initialization discards qualifiers from pointer target type
informixc.ec:2220: warning: initialization discards qualifiers from pointer target type
informixc.ec:2220: warning: initialization discards qualifiers from pointer target type
informixc.ec:2220: warning: initialization discards qualifiers from pointer target type
informixc.ec:2220: warning: initialization discards qualifiers from pointer target type
informixc.ec:2220: warning: initialization discards qualifiers from pointer target type
informixc.ec:2221: warning: initialization discards qualifiers from pointer target type
informixc.ec:2221: warning: initialization discards qualifiers from pointer target type
informixc.ec:2221: warning: initialization discards qualifiers from pointer target type
informixc.ec:2221: warning: initialization discards qualifiers from pointer target type
informixc.ec:2221: warning: initialization discards qualifiers from pointer target type
informixc.ec:2221: warning: initialization discards qualifiers from pointer target type
informixc.ec:2222: warning: initialization discards qualifiers from pointer target type
informixc.ec:2222: warning: initialization discards qualifiers from pointer target type
informixc.ec:2222: warning: initialization discards qualifiers from pointer target type
informixc.ec:2222: warning: initialization discards qualifiers from pointer target type
informixc.ec:2222: warning: initialization discards qualifiers from pointer target type
informixc.ec:2222: warning: initialization discards qualifiers from pointer target type
informixc.ec:2223: warning: initialization discards qualifiers from pointer target type
informixc.ec:2223: warning: initialization discards qualifiers from pointer target type
informixc.ec:2223: warning: initialization discards qualifiers from pointer target type
informixc.ec:2223: warning: initialization discards qualifiers from pointer target type
informixc.ec:2223: warning: initialization discards qualifiers from pointer target type
informixc.ec:2223: warning: initialization discards qualifiers from pointer target type
informixc.ec:2225: warning: initialization discards qualifiers from pointer target type
informixc.ec:2228: warning: initialization discards qualifiers from pointer target type
informixc.ec:2228: warning: initialization discards qualifiers from pointer target type
informixc.ec:2228: warning: initialization discards qualifiers from pointer target type
informixc.ec:2228: warning: initialization discards qualifiers from pointer target type
informixc.ec:2228: warning: initialization discards qualifiers from pointer target type
informixc.ec:2229: warning: initialization discards qualifiers from pointer target type
informixc.ec: In function ‘each_by’:
informixc.ec:2723: error: ‘struct RArray’ has no member named ‘len’
make: *** [informixc.o] Error 1
Gem files will remain installed in /Users/bjreath/.rvm/gems/ruby-1.9.2-p290@spiking/gems/ruby-informix-0.7.3 for inspection.
Results logged to /Users/bjreath/.rvm/gems/ruby-1.9.2-p290@spiking/gems/ruby-informix-0.7.3/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment