[MacRuby-devel] [MacRuby] #141: Building MacRuby 0.3 - Rake fails during openssl compilation

Jordan Breeding jordan.breeding at mac.com
Fri Dec 19 14:36:12 PST 2008


Have you tried removing /Library/Frameworks/MacRuby.framework after  
cleaning the build location, but before starting the new build?

I have had trouble with builds before and sometimes clearing out the  
old MacRuby.framework helps.

On 19 Dec, 2008, at 16:29, MacRuby wrote:

> #141: Building MacRuby 0.3 - Rake fails during openssl compilation
> -------------------------------- 
> +-------------------------------------------
> Reporter:  nucleus_rei@…       |       Owner:  lsansonetti@…
>     Type:  defect              |      Status:  new
> Priority:  blocker             |   Milestone:
> Component:  MacRuby             |    Keywords:
> -------------------------------- 
> +-------------------------------------------
>
> Comment(by nucleus_rei@…):
>
> Hi,
>
> Thanks again for sticking around and trying to help me. I really
> appreciate it :)
>
> Ok here's the steps I am doing.
>
> 1) Start Terminal [[BR]]
> 2) PATH="/bin:/sbin:/usr/bin:/usr/sbin" [[BR]]
> 3) cd ~/source [[BR]]
> 4) svn co http://svn.macosforge.org/repository/ruby/MacRuby/tags/0.3
> MacRuby-0.3 [[BR]]
> ... [[BR]]
> => Checked out revision 766. [[BR]]
> 5) cd MacRuby-0.3 [[BR]]
> 6) rake [[BR]]
>
> All goes fine (and now for openssl too) until[[BR]]
> ...[[BR]]
> compiling readline
>
> following is the error output in its entirety:
>
>
> {{{
> compiling readline
> gcc -I. -I../../.ext/include/universal-darwin9.0 -I..//.././include
> -I..//.././ext/readline -DRUBY_EXTCONF_H=\"extconf.h\"  -fno-common - 
> fno-
> common -pipe  -arch ppc -arch i386 -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
> {standard input}:462:non-relocatable subtraction expression,
> "_completion_case_fold" minus "L00000000009$pb"
> {standard input}:462:symbol: "_completion_case_fold" can't be  
> undefined in
> a subtraction expression
> {standard input}:461:non-relocatable subtraction expression,
> "_completion_case_fold" minus "L00000000009$pb"
> {standard input}:461:symbol: "_completion_case_fold" can't be  
> undefined in
> a subtraction expression
> {standard input}:459:non-relocatable subtraction expression,  
> "_mReadline"
> minus "L00000000009$pb"
> {standard input}:459:symbol: "_mReadline" can't be undefined in a
> subtraction expression
> {standard input}:458:non-relocatable subtraction expression,  
> "_mReadline"
> minus "L00000000009$pb"
> {standard input}:458:symbol: "_mReadline" can't be undefined in a
> subtraction expression
> {standard input}:440:non-relocatable subtraction expression,
> "_completion_proc" minus "L00000000009$pb"
> {standard input}:440:symbol: "_completion_proc" can't be undefined  
> in a
> subtraction expression
> {standard input}:439:non-relocatable subtraction expression,
> "_completion_proc" minus "L00000000009$pb"
> {standard input}:439:symbol: "_completion_proc" can't be undefined  
> in a
> subtraction expression
> {standard input}:437:non-relocatable subtraction expression,  
> "_mReadline"
> minus "L00000000009$pb"
> {standard input}:437:symbol: "_mReadline" can't be undefined in a
> subtraction expression
> {standard input}:436:non-relocatable subtraction expression,  
> "_mReadline"
> minus "L00000000009$pb"
> {standard input}:436:symbol: "_mReadline" can't be undefined in a
> subtraction expression
> {standard input}:410:non-relocatable subtraction expression,
> "_completion_case_fold" minus "L00000000008$pb"
> {standard input}:410:symbol: "_completion_case_fold" can't be  
> undefined in
> a subtraction expression
> {standard input}:409:non-relocatable subtraction expression,
> "_completion_case_fold" minus "L00000000008$pb"
> {standard input}:409:symbol: "_completion_case_fold" can't be  
> undefined in
> a subtraction expression
> {standard input}:407:non-relocatable subtraction expression,  
> "_mReadline"
> minus "L00000000008$pb"
> {standard input}:407:symbol: "_mReadline" can't be undefined in a
> subtraction expression
> {standard input}:406:non-relocatable subtraction expression,  
> "_mReadline"
> minus "L00000000008$pb"
> {standard input}:406:symbol: "_mReadline" can't be undefined in a
> subtraction expression
> {standard input}:380:non-relocatable subtraction expression,
> "_completion_case_fold" minus "L00000000007$pb"
> {standard input}:380:symbol: "_completion_case_fold" can't be  
> undefined in
> a subtraction expression
> {standard input}:379:non-relocatable subtraction expression,
> "_completion_case_fold" minus "L00000000007$pb"
> {standard input}:379:symbol: "_completion_case_fold" can't be  
> undefined in
> a subtraction expression
> {standard input}:377:non-relocatable subtraction expression,  
> "_mReadline"
> minus "L00000000007$pb"
> {standard input}:377:symbol: "_mReadline" can't be undefined in a
> subtraction expression
> {standard input}:376:non-relocatable subtraction expression,  
> "_mReadline"
> minus "L00000000007$pb"
> {standard input}:376:symbol: "_mReadline" can't be undefined in a
> subtraction expression
> {standard input}:350:non-relocatable subtraction expression,
> "_completion_proc" minus "L00000000006$pb"
> {standard input}:350:symbol: "_completion_proc" can't be undefined  
> in a
> subtraction expression
> {standard input}:349:non-relocatable subtraction expression,
> "_completion_proc" minus "L00000000006$pb"
> {standard input}:349:symbol: "_completion_proc" can't be undefined  
> in a
> subtraction expression
> {standard input}:347:non-relocatable subtraction expression,  
> "_mReadline"
> minus "L00000000006$pb"
> {standard input}:347:symbol: "_mReadline" can't be undefined in a
> subtraction expression
> {standard input}:346:non-relocatable subtraction expression,  
> "_mReadline"
> minus "L00000000006$pb"
> {standard input}:346:symbol: "_mReadline" can't be undefined in a
> subtraction expression
> {standard input}:320:non-relocatable subtraction expression,
> "_completion_proc" minus "L00000000005$pb"
> {standard input}:320:symbol: "_completion_proc" can't be undefined  
> in a
> subtraction expression
> {standard input}:319:non-relocatable subtraction expression,
> "_completion_proc" minus "L00000000005$pb"
> {standard input}:319:symbol: "_completion_proc" can't be undefined  
> in a
> subtraction expression
> {standard input}:317:non-relocatable subtraction expression,  
> "_mReadline"
> minus "L00000000005$pb"
> {standard input}:317:symbol: "_mReadline" can't be undefined in a
> subtraction expression
> {standard input}:316:non-relocatable subtraction expression,  
> "_mReadline"
> minus "L00000000005$pb"
> {standard input}:316:symbol: "_mReadline" can't be undefined in a
> subtraction expression
> lipo: can't open input file:
> /var/folders/ZM/ZM1mUxURHLyp6uS1i4kFQ++++TI/-Tmp-//ccGVfLeo.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/andre/source/MacRuby-0.3/rakefile:517
> (See full trace by running task with --trace)
> }}}
>
> If you need more info just let me know
>
> Again thank you
>
> André
>
> -- 
> Ticket URL: <http://www.macruby.org/trac/ticket/141#comment:6>
> MacRuby <http://macruby.org/>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3821 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20081219/47fa1a58/attachment.bin>


More information about the MacRuby-devel mailing list