[MacRuby] #1079: Failed to install pg gem

MacRuby ruby-noreply at macosforge.org
Tue Jan 4 21:30:23 PST 2011


#1079: Failed to install pg gem
--------------------------------+-------------------------------------------
 Reporter:  mr.saint@…          |       Owner:  lsansonetti@…        
     Type:  defect              |      Status:  new                  
 Priority:  blocker             |   Milestone:                       
Component:  MacRuby             |    Keywords:                       
--------------------------------+-------------------------------------------
Changes (by lsansonetti@…):

  * milestone:  MacRuby 0.8 =>


Comment:

 More C API to implement:

 {{{

 /usr/bin/gcc -I.
 -I/Library/Frameworks/MacRuby.framework/Versions/0.8/usr/include/ruby-1.9.2
 /universal-darwin10.0
 -I/Library/Frameworks/MacRuby.framework/Versions/0.8/usr/include/ruby-1.9.2/ruby/backward
 -I/Library/Frameworks/MacRuby.framework/Versions/0.8/usr/include/ruby-1.9.2
 -I. -DRUBY_EXTCONF_H=\"extconf.h\"  -I/opt/local/include/postgresql90
 -fno-common -arch x86_64 -fexceptions -fno-common -pipe -O3 -g -Wall -pipe
 -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
 statement -Wendif-labels -fno-strict-aliasing -fwrapv -arch x86_64 -arch
 x86_64 -o pg.o -c pg.c
 28      pg.c: In function 'pgconn_s_quote_connstr':
 29      pg.c:88: warning: assignment discards qualifiers from pointer
 target type
 30      pg.c: In function 'new_pgresult':
 31      pg.c:141: warning: implicit declaration of function
 'rb_enc_to_index'
 32      pg.c: In function 'enc_get_index':
 33      pg.c:3723: warning: implicit declaration of function
 'ENCODING_GET_INLINED'
 34      pg.c:3724: error: 'ENCODING_INLINE_MAX' undeclared (first use in
 this function)
 35      pg.c:3724: error: (Each undeclared identifier is reported only
 once
 36      pg.c:3724: error: for each function it appears in.)
 37      pg.c: In function 'pgconn_internal_encoding_set':
 38      pg.c:3850: warning: implicit declaration of function
 'rb_usascii_str_new_cstr'
 }}}

 Strangely, if I recall correctly the pg gem used to be installable.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1079#comment:1>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list