[MacPorts] #26475: ruby19 failed to build: 'username_completion_function' undeclared

MacPorts noreply at macports.org
Fri Sep 17 08:23:04 PDT 2010


#26475: ruby19 failed to build: 'username_completion_function' undeclared
--------------------------------------+-------------------------------------
 Reporter:  christoperyeoh@…          |       Owner:  kimuraw@…           
     Type:  defect                    |      Status:  assigned            
 Priority:  Normal                    |   Milestone:                      
Component:  ports                     |     Version:  1.9.1               
 Keywords:                            |        Port:  ruby19              
--------------------------------------+-------------------------------------

Comment(by kimuraw@…):

 thanks. your port:readline is x86_64.

 I guess

  * ran extconf.rb of ext/readline against /usr/include/readline
  * build with /opt/local/include/readline

 That was strange.

 I cannot reproduce this problem on my Mac.
 Can you try the following operations on your Mac?

 (1) add an option "--with-readline-dir" to configure-args in ruby19
 Portfile

 {{{
 % sudo port edit ruby19
 }}}

 {{{
 Index: Portfile
 ===================================================================
 --- Portfile  (revision 71052)
 +++ Portfile  (working copy)
 @@ -38,6 +38,7 @@
           port:libyaml

  configure.args   --enable-shared \
 +         --with-readline-dir="${prefix}" \
           --mandir="${prefix}/share/man" \
           --enable-pthread \
           --without-tk \
 }}}

 (2) try to build ruby19

 {{{
 % sudo port clean ruby19
 % sudo port build ruby19
 }}}

 If build succeed, I add the option to ruby19 Portfile of macports.org.

-- 
Ticket URL: <https://trac.macports.org/ticket/26475#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list