* Problem to configure --with-ns with GNUstep
@ 2011-06-18 6:23 Germán Arias
2011-06-18 8:10 ` Jan Djärv
0 siblings, 1 reply; 5+ messages in thread
From: Germán Arias @ 2011-06-18 6:23 UTC (permalink / raw)
To: Emacs
OK, now I have gcc 4.6 and I'm back to try emacs with gnustep. But now,
I'm unable to configure emacs. With
./configure --with-ns --with-gnustep-conf=/etc/GNUstep/GNUstep.conf
I get the error:
checking AppKit/AppKit.h usability... no
checking AppKit/AppKit.h presence... no
checking for AppKit/AppKit.h... no
configure: error: `--with-ns' was specified, but the include
files are missing or cannot be compiled
The file GNUstep.conf is read, and the path to AppKit/AppKit.h is found
successfully (I checked). But then the function
"ac_fn_c_check_header_mongrel" return errors. So, adding flags
(CPPFLAGS=-I/...) don't solve the problem, because even when the paths
are right, the function "ac_fn_c_check_header_mongrel" return errors.
Since I'm not an expert in scripts any advice is appreciated. Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem to configure --with-ns with GNUstep
2011-06-18 6:23 Problem to configure --with-ns with GNUstep Germán Arias
@ 2011-06-18 8:10 ` Jan Djärv
2011-06-18 18:27 ` Germán Arias
0 siblings, 1 reply; 5+ messages in thread
From: Jan Djärv @ 2011-06-18 8:10 UTC (permalink / raw)
To: german; +Cc: Emacs
Hello.
Check your config.log. There you can see the error in detail.
Jan D.
Germán Arias skrev 2011-06-18 08.23:
> OK, now I have gcc 4.6 and I'm back to try emacs with gnustep. But now,
> I'm unable to configure emacs. With
>
> ./configure --with-ns --with-gnustep-conf=/etc/GNUstep/GNUstep.conf
>
> I get the error:
>
> checking AppKit/AppKit.h usability... no
> checking AppKit/AppKit.h presence... no
> checking for AppKit/AppKit.h... no
> configure: error: `--with-ns' was specified, but the include
> files are missing or cannot be compiled
>
> The file GNUstep.conf is read, and the path to AppKit/AppKit.h is found
> successfully (I checked). But then the function
> "ac_fn_c_check_header_mongrel" return errors. So, adding flags
> (CPPFLAGS=-I/...) don't solve the problem, because even when the paths
> are right, the function "ac_fn_c_check_header_mongrel" return errors.
> Since I'm not an expert in scripts any advice is appreciated. Thanks.
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem to configure --with-ns with GNUstep
2011-06-18 8:10 ` Jan Djärv
@ 2011-06-18 18:27 ` Germán Arias
2011-06-19 9:08 ` Jan Djärv
0 siblings, 1 reply; 5+ messages in thread
From: Germán Arias @ 2011-06-18 18:27 UTC (permalink / raw)
To: Jan Djärv; +Cc: Emacs
Thanks. The error is:
/usr/GNUstep/Local/Library/Headers/Foundation/NSException.h:42:2: error:
#error The current setting for native-objc-exceptions does not match
that of gnustep-base ... please correct this.
Can I change this configuration on GCC, or I need rebuild
gnustep-base with special configuration?
On sáb, 2011-06-18 at 10:10 +0200, Jan Djärv wrote:
> Hello.
>
> Check your config.log. There you can see the error in detail.
>
> Jan D.
>
>
> Germán Arias skrev 2011-06-18 08.23:
> > OK, now I have gcc 4.6 and I'm back to try emacs with gnustep. But now,
> > I'm unable to configure emacs. With
> >
> > ./configure --with-ns --with-gnustep-conf=/etc/GNUstep/GNUstep.conf
> >
> > I get the error:
> >
> > checking AppKit/AppKit.h usability... no
> > checking AppKit/AppKit.h presence... no
> > checking for AppKit/AppKit.h... no
> > configure: error: `--with-ns' was specified, but the include
> > files are missing or cannot be compiled
> >
> > The file GNUstep.conf is read, and the path to AppKit/AppKit.h is found
> > successfully (I checked). But then the function
> > "ac_fn_c_check_header_mongrel" return errors. So, adding flags
> > (CPPFLAGS=-I/...) don't solve the problem, because even when the paths
> > are right, the function "ac_fn_c_check_header_mongrel" return errors.
> > Since I'm not an expert in scripts any advice is appreciated. Thanks.
> >
> >
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem to configure --with-ns with GNUstep
2011-06-18 18:27 ` Germán Arias
@ 2011-06-19 9:08 ` Jan Djärv
2011-06-20 5:42 ` Germán Arias
0 siblings, 1 reply; 5+ messages in thread
From: Jan Djärv @ 2011-06-19 9:08 UTC (permalink / raw)
To: german; +Cc: Emacs
Hi.
You can try to take out -fobjc-exception from the gcc command.
If you don't have it, try to add it.
Jan D.
Germán Arias skrev 2011-06-18 20.27:
> Thanks. The error is:
>
> /usr/GNUstep/Local/Library/Headers/Foundation/NSException.h:42:2: error:
> #error The current setting for native-objc-exceptions does not match
> that of gnustep-base ... please correct this.
>
> Can I change this configuration on GCC, or I need rebuild
> gnustep-base with special configuration?
>
>
> On sáb, 2011-06-18 at 10:10 +0200, Jan Djärv wrote:
>> Hello.
>>
>> Check your config.log. There you can see the error in detail.
>>
>> Jan D.
>>
>>
>> Germán Arias skrev 2011-06-18 08.23:
>>> OK, now I have gcc 4.6 and I'm back to try emacs with gnustep. But now,
>>> I'm unable to configure emacs. With
>>>
>>> ./configure --with-ns --with-gnustep-conf=/etc/GNUstep/GNUstep.conf
>>>
>>> I get the error:
>>>
>>> checking AppKit/AppKit.h usability... no
>>> checking AppKit/AppKit.h presence... no
>>> checking for AppKit/AppKit.h... no
>>> configure: error: `--with-ns' was specified, but the include
>>> files are missing or cannot be compiled
>>>
>>> The file GNUstep.conf is read, and the path to AppKit/AppKit.h is found
>>> successfully (I checked). But then the function
>>> "ac_fn_c_check_header_mongrel" return errors. So, adding flags
>>> (CPPFLAGS=-I/...) don't solve the problem, because even when the paths
>>> are right, the function "ac_fn_c_check_header_mongrel" return errors.
>>> Since I'm not an expert in scripts any advice is appreciated. Thanks.
>>>
>>>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem to configure --with-ns with GNUstep
2011-06-19 9:08 ` Jan Djärv
@ 2011-06-20 5:42 ` Germán Arias
0 siblings, 0 replies; 5+ messages in thread
From: Germán Arias @ 2011-06-20 5:42 UTC (permalink / raw)
To: Jan Djärv; +Cc: Emacs
This is the explanation that Richard (gnustep-base maintainer) give me
about this problem:
On lun, 2011-06-20 at 05:37 +0100, Richard Frith-Macdonald wrote:
> When you configure gnustep-base, it records whether gnustep-make
> tells it to use native exceptions or not ... by recording the value of
> _NATIVE_OBJC_EXCEPTIONS in BASE_NATIVE_OBJC_EXCEPTIONS in GSConfig.h
>
> When you build any software using base, the header file NSException.h
> checks that gnustep-make is still saying that native exceptions should
> be used (ie checking that the current value of _NATIVE_OBJC_EXCEPTIONS
> supplied by gnustep-make is the same as the value recorded in
> GSConfig.h).
>
> If you are building software without gnustep-make, you need to define
> _NATIVE_OBJC_EXCEPTIONS appropriately.
For the moment, I solved the problem checking the value of
BASE_NATIVE_OBJC_EXCEPTIONS, defined at header "GNUstepBase/GSConfig.h",
and declaring _NATIVE_OBJC_EXCEPTIONS in "configure" with that value. Of
course, configure should read that header to see the right value that
depend of each user.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-20 5:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-18 6:23 Problem to configure --with-ns with GNUstep Germán Arias
2011-06-18 8:10 ` Jan Djärv
2011-06-18 18:27 ` Germán Arias
2011-06-19 9:08 ` Jan Djärv
2011-06-20 5:42 ` Germán Arias
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).