[MacRuby] #1079: Failed to install pg gem
MacRuby
ruby-noreply at macosforge.org
Sun Jul 10 19:24:28 PDT 2011
#1079: Failed to install pg gem
--------------------------------+-------------------------------------------
Reporter: mr.saint@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
Comment(by pierre@…):
FYI, same issue here with MacRuby 0.10 (ruby 1.9.2) [universal-darwin10.0,
x86_64]:
make
/usr/bin/gcc -I.
-I/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/include/ruby-1.9.2
/universal-darwin10.0
-I/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/include/ruby-1.9.2/ruby/backward
-I/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/include/ruby-1.9.2
-I. -DRUBY_EXTCONF_H=\"extconf.h\"
-I/usr/local/Cellar/postgresql/9.0.4/include -fno-common -arch x86_64
-fexceptions -fno-common -pipe -O3 -g -Wall -arch x86_64 -o compat.o -c
compat.c
/usr/bin/gcc -I.
-I/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/include/ruby-1.9.2
/universal-darwin10.0
-I/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/include/ruby-1.9.2/ruby/backward
-I/Library/Frameworks/MacRuby.framework/Versions/0.10/usr/include/ruby-1.9.2
-I. -DRUBY_EXTCONF_H=\"extconf.h\"
-I/usr/local/Cellar/postgresql/9.0.4/include -fno-common -arch x86_64
-fexceptions -fno-common -pipe -O3 -g -Wall -arch x86_64 -o pg.o -c pg.c
pg.c: In function ‘new_pgresult’:
pg.c:118: warning: implicit declaration of function ‘rb_enc_to_index’
pg.c: In function ‘enc_get_index’:
pg.c:3739: warning: implicit declaration of function
‘ENCODING_GET_INLINED’
pg.c:3740: error: ‘ENCODING_INLINE_MAX’ undeclared (first use in this
function)
pg.c:3740: error: (Each undeclared identifier is reported only once
pg.c:3740: error: for each function it appears in.)
pg.c: In function ‘find_or_create_johab’:
pg.c:3759: warning: implicit declaration of function
‘rb_define_dummy_encoding’
pg.c: In function ‘pgconn_internal_encoding_set’:
pg.c:3866: warning: implicit declaration of function
‘rb_usascii_str_new_cstr’
make: *** [pg.o] Error 1
--
Ticket URL: <http://www.macruby.org/trac/ticket/1079#comment:2>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list