Re: [gtk-osx-users] gobject-introspection




On Nov 1, 2013, at 3:48 AM, Pierre Boutillier <pierre boutillier laposte net> wrote:

I answer my own question : Yes it is mandatory because of autoreconf -i that says

gdk/Makefile.am:192: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL

else ...

So I'm back to my first problem, how can I tackle (on Darwin 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  
7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386)

/usr/include/dirent.h:132: syntax error, unexpected '^' in '    int (^)(struct dirent *), int (^)(const 
void *, const void *)) __asm("_" "scandir_b" "$INODE64");' at '^'
/usr/include/dirent.h:132: syntax error, unexpected ')', expecting identifier or '(' in '    int (^)(struct 
dirent *), int (^)(const void *, const void *)) __asm("_" "scandir_b" "$INODE64");' at ')'
/usr/include/dirent.h:132: syntax error, unexpected ',', expecting identifier or '(' in '    int (^)(struct 
dirent *), int (^)(const void *, const void *)) __asm("_" "scandir_b" "$INODE64");' at ','
/usr/include/dirent.h:132: syntax error, unexpected ')', expecting identifier or '(' in '    int (^)(struct 
dirent *), int (^)(const void *, const void *)) __asm("_" "scandir_b" "$INODE64");' at ')'
/usr/include/libkern/i386/_OSByteOrder.h:49: syntax error, unexpected '{', expecting ',' or ';' in '{' at 
'{'
/usr/include/libkern/i386/_OSByteOrder.h:58: syntax error, unexpected '{', expecting ',' or ';' in '{' at 
'{'
/usr/include/libkern/i386/_OSByteOrder.h:96: syntax error, unexpected '{', expecting ',' or ';' in '{' at 
'{'
/usr/include/stdlib.h:272: syntax error, unexpected '^' in 'int atexit_b(void (^)(void));' at '^'
/usr/include/stdlib.h:274: syntax error, unexpected '^' in '     size_t, int (^)(const void *, const void 
*));' at '^'
/usr/include/stdlib.h:274: syntax error, unexpected ',', expecting identifier or '(' in '     size_t, int 
(^)(const void *, const void *));' at ','
/usr/include/stdlib.h:274: syntax error, unexpected ')', expecting identifier or '(' in '     size_t, int 
(^)(const void *, const void *));' at ')'
/usr/include/stdlib.h:301: syntax error, unexpected '^' in '     int (^)(const void *, const void *));' at 
'^'
/usr/include/stdlib.h:301: syntax error, unexpected ',', expecting identifier or '(' in '     int (^)(const 
void *, const void *));' at ','
/usr/include/stdlib.h:301: syntax error, unexpected ')', expecting identifier or '(' in '     int (^)(const 
void *, const void *));' at ')'
/usr/include/stdlib.h:307: syntax error, unexpected '^' in '     int (^)(const void *, const void *));' at 
'^'
/usr/include/stdlib.h:307: syntax error, unexpected ',', expecting identifier or '(' in '     int (^)(const 
void *, const void *));' at ','
/usr/include/stdlib.h:307: syntax error, unexpected ')', expecting identifier or '(' in '     int (^)(const 
void *, const void *));' at ')'
/usr/include/stdlib.h:313: syntax error, unexpected '^' in '     int (^)(const void *, const void *));' at 
'^'
/usr/include/stdlib.h:313: syntax error, unexpected ',', expecting identifier or '(' in '     int (^)(const 
void *, const void *));' at ','
/usr/include/stdlib.h:313: syntax error, unexpected ')', expecting identifier or '(' in '     int (^)(const 
void *, const void *));' at ')'
/usr/include/stdlib.h:319: syntax error, unexpected '^' in '     int (^)(const void *, const void *));' at 
'^'
/usr/include/stdlib.h:319: syntax error, unexpected ',', expecting identifier or '(' in '     int (^)(const 
void *, const void *));' at ','
/usr/include/stdlib.h:319: syntax error, unexpected ')', expecting identifier or '(' in '     int (^)(const 
void *, const void *));' at ')'

All of the above is just g-ir-scanner whining about objective-C. See 
https://bugzilla.gnome.org/show_bug.cgi?id=626995 It's utterly harmless.

Traceback (most recent call last):
  File "./g-ir-scanner", line 46, in <module>
    sys.exit(scanner_main(sys.argv))
  File "./giscanner/scannermain.py", line 507, in scanner_main
    write_output(data, options)
  File "./giscanner/scannermain.py", line 407, in write_output
    shutil.move(main_f_name, options.output)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 264, in move
    copy2(src, real_dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 100, in 
copy2
    copystat(src, dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 77, in 
copystat
    os.chflags(dst, st.st_flags)
OSError: [Errno 45] Operation not supported: 'GLib-2.0.gir'
make[2]: *** [GLib-2.0.gir] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

That's interesting. I haven't seen that, but I usually build Python (just add 'python' to the modules list), 
which I guess avoids this problem.

Regards,
John Ralls




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]