Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Gerardo Santana Gómez Garrido
RE: error compiling ruby-informix on AIX 5.3 [ reply ]  
2008-12-01 17:22
Hi Eduardo,

I'm not sure, but it seems that there's a name collision and that the Ruby library is involved.

I know Ruby/Informix has been used on AIX, but I don't use AIX, so I can't debug it and fix the problem.

Please send this report to the mailing list, where it can be discussed between more experienced people that use other platforms.

Here's the link to the mailing list:
http://rubyforge.org/mailman/listinfo/ruby-informix-misc

Thanks in advance.

By: Eduardo Bispo
error compiling ruby-informix on AIX 5.3 [ reply ]  
2008-11-28 14:15
Hi, everybody.

I am getting the following error when trying to compile ruby-informix on AIX.

[ebispo@brcscg]:/home/ebispo/Rubi/ruby-informix-0.7.2/ext >sudo ruby extconf.rb
creating Makefile
[ebispo@brcscg]:/home/ebispo/Rubi/ruby-informix-0.7.2/ext >sudo gmake
cc -qlanglvl=extc89 -I. -I/usr/local/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I/usr/local/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -I/informix/v731fd9x1/incl/esql -qalloca -D_LINUX_SOURCE_COMPAT -qlonglong -D_LARGE_FILES=1 -g -c informixc.c
"/usr/local/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0/config.h", line 165.9: 1506-188 (E) Reserved name __CHAR_UNSIGNED__ cannot be defined as a macro name.
"/usr/include/sys/localedef31.h", line 195.3: 1506-334 (S) Identifier loc_t has already been defined on line 123 of "/informix/v731fd9x1/incl/esql/locator.h".
"/usr/include/alloca.h", line 34.1: 1506-224 (I) Incorrect pragma ignored.
gmake: *** [informixc.o] Error 1

Aditional information:
ruby 1.8.7 (2008-08-11 patchlevel 72) [powerpc-aix5.3.0.0]

AIX 5.3 TL08
Informix Dynamic Server 7.31 FD9x1 64 bit
Informix ClientSDK 2.90 FC3 64 bit

Can it be compatibility issues between a 32 bit compiled ruby and the 64 bit clientsdk ?

Regards.

Eduardo