[MacRuby-devel] Problems compiling MacRuby

Dave Baldwin dave.baldwin at dsl.pipex.com
Fri Jan 30 00:25:49 PST 2009


On 29 Jan 2009, at 17:12, Laurent Sansonetti wrote:

> Dave,
>
> The problem here is that you have a custom readline library in your  
> system. If you look at the bugs logged in the tracker you will see  
> some tips to make it work.

Deleting the extraneous readline.h fixed the problem for me.

Thanks,

Dave.


>
>
> # I am considering rewriting the extensions build system to avoid  
> this kind of problems, but this won't be in 0.4.
>
> Laurent
>
> On Jan 19, 2009, at 2:42 PM, Dave Baldwin wrote:
>
>>
>> On 19 Jan 2009, at 21:34, Dave Baldwin wrote:
>>
>>> I get the same error from trunk or testing versions.
>>>
>>> I have in the past downloaded readline from macports, but the /opt  
>>> directory isn't in my path.
>>>
>>> Any ideas what is wrong with my setup?
>>>
>>> PS.  When will we see version 0.4?
>>>
>>> Thanks,
>>>
>>> Dave.
>>>
>>
>> Jumped the gun - just notices a whole bunch of bugs logged on this  
>> same issue.
>>
>> Still interested, though, on when 0.4 is going to be released as I  
>> don't seem able to build anything myself.
>>
>> Dave.
>>
>>
>>
>>>
>>> gcc -I. -I../../.ext/include/universal-darwin9.0 -I..//.././ 
>>> include -I..//.././ext/readline -DRUBY_EXTCONF_H=\"extconf.h\"  - 
>>> fno-common -fno-common -pipe  -arch i386 -arch x86_64 -o  
>>> readline.o -c readline.c
>>> readline.c: In function ‘filename_completion_proc_call’:
>>> readline.c:684: error: ‘filename_completion_function’ undeclared  
>>> (first use in this function)
>>> readline.c:684: error: (Each undeclared identifier is reported  
>>> only once
>>> readline.c:684: error: for each function it appears in.)
>>> readline.c:684: warning: assignment makes pointer from integer  
>>> without a cast
>>> readline.c: In function ‘username_completion_proc_call’:
>>> readline.c:709: error: ‘username_completion_function’ undeclared  
>>> (first use in this function)
>>> readline.c:709: warning: assignment makes pointer from integer  
>>> without a cast
>>> readline.c: In function ‘filename_completion_proc_call’:
>>> readline.c:684: error: ‘filename_completion_function’ undeclared  
>>> (first use in this function)
>>> readline.c:684: error: (Each undeclared identifier is reported  
>>> only once
>>> readline.c:684: error: for each function it appears in.)
>>> readline.c:684: warning: assignment makes pointer from integer  
>>> without a cast
>>> readline.c: In function ‘username_completion_proc_call’:
>>> readline.c:709: error: ‘username_completion_function’ undeclared  
>>> (first use in this function)
>>> readline.c:709: warning: assignment makes pointer from integer  
>>> without a cast
>>> {standard input}:386:non-relocatable subtraction expression,  
>>> "_mReadline" minus "L00000000009$pb"
>>> {standard input}:386:symbol: "_mReadline" can't be undefined in a  
>>> subtraction expression
>>> {standard input}:384:non-relocatable subtraction expression,  
>>> "_completion_case_fold" minus "L00000000009$pb"
>>> {standard input}:384:symbol: "_completion_case_fold" can't be  
>>> undefined in a subtraction expression
>>> {standard input}:370:non-relocatable subtraction expression,  
>>> "_mReadline" minus "L00000000009$pb"
>>> {standard input}:370:symbol: "_mReadline" can't be undefined in a  
>>> subtraction expression
>>> {standard input}:368:non-relocatable subtraction expression,  
>>> "_completion_proc" minus "L00000000009$pb"
>>> {standard input}:368:symbol: "_completion_proc" can't be undefined  
>>> in a subtraction expression
>>> {standard input}:349:non-relocatable subtraction expression,  
>>> "_mReadline" minus "L00000000008$pb"
>>> {standard input}:349:symbol: "_mReadline" can't be undefined in a  
>>> subtraction expression
>>> {standard input}:347:non-relocatable subtraction expression,  
>>> "_completion_case_fold" minus "L00000000008$pb"
>>> {standard input}:347:symbol: "_completion_case_fold" can't be  
>>> undefined in a subtraction expression
>>> {standard input}:325:non-relocatable subtraction expression,  
>>> "_mReadline" minus "L00000000007$pb"
>>> {standard input}:325:symbol: "_mReadline" can't be undefined in a  
>>> subtraction expression
>>> {standard input}:323:non-relocatable subtraction expression,  
>>> "_completion_case_fold" minus "L00000000007$pb"
>>> {standard input}:323:symbol: "_completion_case_fold" can't be  
>>> undefined in a subtraction expression
>>> {standard input}:303:non-relocatable subtraction expression,  
>>> "_mReadline" minus "L00000000006$pb"
>>> {standard input}:303:symbol: "_mReadline" can't be undefined in a  
>>> subtraction expression
>>> {standard input}:301:non-relocatable subtraction expression,  
>>> "_completion_proc" minus "L00000000006$pb"
>>> {standard input}:301:symbol: "_completion_proc" can't be undefined  
>>> in a subtraction expression
>>> {standard input}:279:non-relocatable subtraction expression,  
>>> "_mReadline" minus "L00000000005$pb"
>>> {standard input}:279:symbol: "_mReadline" can't be undefined in a  
>>> subtraction expression
>>> {standard input}:277:non-relocatable subtraction expression,  
>>> "_completion_proc" minus "L00000000005$pb"
>>> {standard input}:277:symbol: "_completion_proc" can't be undefined  
>>> in a subtraction expression
>>> lipo: can't open input file: /var/folders/h9/h9HZ8oRtFEmwwYfYj60PaU 
>>> +++TI/-Tmp-//ccyxzMdO.out (No such file or directory)
>>> make: *** [readline.o] Error 1
>>> rake aborted!
>>> Command failed with status (1): [./miniruby -I./lib -I.ext/common - 
>>> I./- -r....]
>>> /Users/dave/MacRuby-trunk/rakefile:587
>>>
>>> _______________________________________________
>>> MacRuby-devel mailing list
>>> MacRuby-devel at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list