discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Building some extra libs (renaissance, gnustep-guile,


From: Pablo Giménez
Subject: Re: Building some extra libs (renaissance, gnustep-guile,
Date: Mon, 5 Oct 2009 16:52:42 +0100

Ok thanks I got the SQLclient library to work now.
I have also got working all the libraries except :
-JIGs:
I got errors doingt the make:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/objc/hash.h: In function 'objc_hash_ptr':
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/objc/hash.h:168: error: 'size_t' undeclared (first use in this function)
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/objc/hash.h:168: error: (Each undeclared identifier is reported only once
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/objc/hash.h:168: error: for each function it appears in.)
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/objc/hash.h:168: error: expected ')' before 'key'
In file included from /usr/include/stdio.h:75,
                 from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/objc/objc-api.h:34,
                 from ObjcRuntimeUtilities.h:29,
                 from ObjcRuntimeUtilities.c:49:
/usr/include/libio.h: At top level:
/usr/include/libio.h:332: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:364: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:373: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:493: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/objc/objc-api.h:34,
                 from ObjcRuntimeUtilities.h:29,
                 from ObjcRuntimeUtilities.c:49:


Probably it doesn't like my jave version:
address@hidden|/user_data/ARCHIVE/GNUstep/src/gnustep-subversion/libs/java> java -showversion
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)


-RIGs:
again mode make errors:
RIGSCore.m:1036: error: expected declaration specifiers or '...' before 'VALUE'
RIGSCore.m: In function 'rb_objc_register_instance_methods':
RIGSCore.m:1045: warning: implicit declaration of function 'rb_iv_set'
RIGSCore.m:1045: error: 'rb_class' undeclared (first use in this function)
RIGSCore.m:1045: warning: cast from pointer to integer of different size
RIGSCore.m:1056: warning: implicit declaration of function 'rb_define_method'
RIGSCore.m:1056: error: 'rb_objc_handler' undeclared (first use in this function)
RIGSCore.m:1063: error: 'rb_objc_to_s_handler' undeclared (first use in this function)
RIGSCore.m: At top level:
RIGSCore.m:1068: error: expected declaration specifiers or '...' before 'VALUE'
RIGSCore.m: In function 'rb_objc_register_class_methods':
RIGSCore.m:1088: warning: implicit declaration of function 'rb_define_singleton_method'
RIGSCore.m:1088: error: 'rb_class' undeclared (first use in this function)
RIGSCore.m:1088: error: 'rb_objc_handler' undeclared (first use in this function)
RIGSCore.m:1093: warning: implicit declaration of function 'rb_undef_method'
RIGSCore.m:1093: warning: implicit declaration of function 'CLASS_OF'
RIGSCore.m:1094: error: 'rb_objc_new' undeclared (first use in this function)
RIGSCore.m: At top level:
RIGSCore.m:1101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rb_objc_register_class_from_objc'
RIGSCore.m:1175: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rb_objc_register_class_from_ruby'
RIGSCore.m:1191: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rb_objc_get_ruby_value_from_string'
RIGSCore.m: In function 'rb_objc_raise_exception':
RIGSCore.m:1212: error: 'VALUE' undeclared (first use in this function)
RIGSCore.m:1212: error: expected ';' before 'rb_rterror_class'
RIGSCore.m:1223: error: 'rb_rterror_class' undeclared (first use in this function)
RIGSCore.m:1223: warning: implicit declaration of function 'rb_objc_get_ruby_value_from_string'
RIGSCore.m:1224: error: 'rb_exception' undeclared (first use in this function)
RIGSCore.m:1224: warning: implicit declaration of function 'rb_define_class'
RIGSCore.m:1225: warning: implicit declaration of function 'rb_raise'
RIGSCore.m: In function '_rb_objc_rebuild_main_bundle':
RIGSCore.m:1250: warning: 'NSBundle' may not respond to '+_absolutePathOfExecutable:'
RIGSCore.m:1250: warning: (Messages without a matching method signature
RIGSCore.m:1250: warning: will be assumed to return 'id' and accept
RIGSCore.m:1250: warning: '...' as arguments.)

And continue with similar ones

At these point I don't know if JIGs are RIGs are being used ....

Appart from these problems I have seen that the link to Pantomime is broken, as well as the link to  GNUMail, are both of them discontinued???
Thanks



El 2 de octubre de 2009 19:39, Richard Frith-Macdonald <address@hidden> escribió:

On 2 Oct 2009, at 11:34, Pablo Giménez wrote:


- SQLClient 1.3.0
I can't configure the package I am trying with the next configure statement:
./configure --disable-jdbc-bundle --with-additional-include=-I/usr/include

Just running ./configure should be sufficient, though the options you used should do no harm.
This is still driving me nuts, the configure is still claiming about my mysql header files.
I have check and I have there in the usual path:
 /usr/include/mysql/
But I  got this error in config.log:
configure:3196: result: no
configure:3200: checking mysql/mysql.h presence
configure:3210:   -I/usr/include/ conftest.c
./configure: line 3211: -I/usr/include/: No such file or directory
configure:3216: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <mysql/mysql.h>
configure:3236: result: no
configure:3271: checking for mysql/mysql.h
configure:3278: result: no
configure:3386: checking if Sqllite support was manually disabled
configure:3401: result: no: build if possible
configure:3418: checking sqlite3.h usability
configure:3430:  -c   -I/usr/include/ conftest.c >&5
./configure: line 3431: -c: command not found
configure:3436: $? = 127
configure: failed program was:

How is possible that the configure says I don't have a /usr/inclide folder when is obvius is there?

That's very strange, but I confirmed the behavior on my system.  Based on a lot of trial and error, it seems that --disable-jdbc-bundle triggers some autoconf bug such that subsequent tests fail.   To get things to build, I suggest you just run ./configure

I have put a workaround in configure.ac in svn trunk (adding an extra call to AC_CHECK_HEADERS before the test to see if jdbc is disabled seems to avoid the problem.




--
Un saludo
Best Regards
Pablo Giménez

reply via email to

[Prev in Thread] Current Thread [Next in Thread]