gnustep-dev
[Top][All Lists]
Advanced

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

Re: gnustep-base's configure is broken on FreeBSD 9.1 when used with lib


From: Marcus Müller
Subject: Re: gnustep-base's configure is broken on FreeBSD 9.1 when used with libobjc2 r36872
Date: Wed, 17 Jul 2013 11:09:06 +0200


On 17.07.2013, at 11:02, David Chisnall <address@hidden> wrote:

Can you check your conflg.log to see what it says about the failing program?

Unfortunately, not that much (I've stripped some parts)

configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define OPTION_NO_ENVIRONMENT 0
| #define GNUSTEP_TARGET_MAKEFILES "/usr/local/share/GNUstep/Makefiles"
| […]
| #define GNUSTEP_TARGET_LOCAL_USERS_DIR ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define USE_ATOMIC_BUILTINS 1
| #define HAVE_OBJC_RUNTIME_H 1
| #define HAVE_OBJC_OBJC_H 1
| #define HAVE_SA_LEN 1
| #define HAVE_VISIBILITY_ATTRIBUTE 1
| #define SIZEOF_VOIDP 8
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_FLOAT 4
| #define SIZEOF_DOUBLE 8
| #define CON_AUTOLOAD 1
| #define HAVE_DLADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_PTHREAD_H 1
| #define SIZEOF_PTHREAD_MUTEX_T 8
| #define SIZEOF_PTHREAD_COND_T 8
| #define ALIGNOF_PTHREAD_MUTEX_T 8
| #define ALIGNOF_PTHREAD_COND_T 8
| #define HAVE_LIBRT 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_USLEEP 1
| #define HAVE_OBJC_ROOT_CLASS_ATTRIBUTE 1
| /* end confdefs.h.  */
| #include "./config/config.constant-string-class.m"
configure:13329: result: no
configure:13344: error: Your compiler does not appear to implement the -fconstant-string-class option needed for support of strings.  Please check for a more recent version or consider using --enable-nxconstantstring



I've configured gnustep-make and libobjc2 (in this order) like this:

This looks mostly sensible, except that if you do it like this you will have to re-configure GNUstep-make to tell it to use libobjc2 - currently it will default to -lobjc, and you're installing libobjc2 as libobjc2.so.

Oh, I forgot: this will install as libobjc (probably a bug in the cmake process). I've not looked into this, but you should be able to spot this quickly I guess.


Cheers,


  Marcus


--
Marcus Müller  .  .  .  http://www.mulle-kybernetik.com/znek/



Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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