unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: Building Emacs 21.3 with X in MacOS X
       [not found] <slrnb51qa3.341.ragndahl@ibook.local>
@ 2003-02-17 15:38 ` Pete Oster
       [not found]   ` <m2ptpqgd59.fsf@iBook.local>
  2003-02-18 16:01   ` Andrew Choi
  0 siblings, 2 replies; 4+ messages in thread
From: Pete Oster @ 2003-02-17 15:38 UTC (permalink / raw)


In article <slrnb51qa3.341.ragndahl@ibook.local>, kristian ragndahl wrote:
> I'm trying to build Emacs 21.3 (from cvs) with X support and
> without carbon but it fails with;
> 
> Writing LC_SYMTAB command
> unexec: cannot handle LC_DYSYMTAB with relocation entries
> make[1]: *** [bootstrap-emacs] Error 1
> make: *** [bootstrap] Error 2
> 
> Google didn't help me much.
>

See the Dec 21 2002 entry in  http://members.shaw.ca/akochoi-emacs/

--- src/unexmacosx.c.~1.3.~	Mon Dec  2 09:22:04 2002
+++ src/unexmacosx.c	Sat Dec 21 21:44:48 2002
@@ -638,7 +638,8 @@
       else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0
 	       || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0
 	       || strncmp (sectp->sectname, "__dyld", 16) == 0
-	       || strncmp (sectp->sectname, "__const", 16) == 0)
+	       || strncmp (sectp->sectname, "__const", 16) == 0
+	       || strncmp (sectp->sectname, "__cfstring", 16) == 0)
 	{
 	  if (!unexec_copy (sectp->offset, old_file_offset, sectp->size))
 	    unexec_error ("cannot copy section %s", sectp->sectname);



For whatever reason, this change is not (yet?) in the cvs tree.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building Emacs 21.3 with X in MacOS X
       [not found]   ` <m2ptpqgd59.fsf@iBook.local>
@ 2003-02-18 10:34     ` Hans-Peter Binder
  2003-02-18 13:38     ` Pete Oster
  1 sibling, 0 replies; 4+ messages in thread
From: Hans-Peter Binder @ 2003-02-18 10:34 UTC (permalink / raw)


* kristian ragndahl <ragndahl@postmaster.co.uk> writes:

> I found that patch through Google before posting here but that poster
> had problem with building Emacs *with* carbon and i have problem
> building without and with X instead. If i do the opposite (without X &
> with carbon) Emacs builds just fine. Also it said it was related to
> the December developer tools. I don't know what that is but i'm using
> the ones that came with Jaguar.

Maybe it' a shot in my foot, but have you tried the following,
described in the install-manual from /emacs/mac/

,----
| If you are building Emacs to run on Mac OS X and X Window, you need to
| create a directory containing statically-linked X libraries.
|
|   sudo mkdir /usr/X11R6/libstatic
|   cd /usr/X11R6/libstatic
|   sudo ln -s ../lib/lib*.a ../lib/X11 .
|
| Instead of typing `./configure' above, type
|
|   ./configure --without-carbon --with-x
|   --x-libraries=/usr/X11R6/libstatic
`----

Regards/Gruesse
Hans-Peter Binder
-- 
(coffee-mode 1)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building Emacs 21.3 with X in MacOS X
       [not found]   ` <m2ptpqgd59.fsf@iBook.local>
  2003-02-18 10:34     ` Hans-Peter Binder
@ 2003-02-18 13:38     ` Pete Oster
  1 sibling, 0 replies; 4+ messages in thread
From: Pete Oster @ 2003-02-18 13:38 UTC (permalink / raw)


In article <m2ptpqgd59.fsf@iBook.local>, kristian ragndahl wrote:
> I found that patch through Google before posting here but that poster
> had problem with building Emacs *with* carbon and i have problem
> building without and with X instead. 

D'oh! Sorry about that, it says so right in the Subject line but I
still missed it.  I use xemacs as my X11 emacs client, and I don't
always remeber that not everyone does this...

As you've since found it, gnu-emacs needs static X11 libs in osx.  I
don't know why that is, but it's always been true.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building Emacs 21.3 with X in MacOS X
  2003-02-17 15:38 ` Building Emacs 21.3 with X in MacOS X Pete Oster
       [not found]   ` <m2ptpqgd59.fsf@iBook.local>
@ 2003-02-18 16:01   ` Andrew Choi
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Choi @ 2003-02-18 16:01 UTC (permalink / raw)


Pete Oster <poster@inter.net> writes:

> [...]

> See the Dec 21 2002 entry in  http://members.shaw.ca/akochoi-emacs/
> 
> --- src/unexmacosx.c.~1.3.~	Mon Dec  2 09:22:04 2002
> +++ src/unexmacosx.c	Sat Dec 21 21:44:48 2002
> @@ -638,7 +638,8 @@
>        else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0
>  	       || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0
>  	       || strncmp (sectp->sectname, "__dyld", 16) == 0
> -	       || strncmp (sectp->sectname, "__const", 16) == 0)
> +	       || strncmp (sectp->sectname, "__const", 16) == 0
> +	       || strncmp (sectp->sectname, "__cfstring", 16) == 0)
>  	{
>  	  if (!unexec_copy (sectp->offset, old_file_offset, sectp->size))
>  	    unexec_error ("cannot copy section %s", sectp->sectname);
> 
> For whatever reason, this change is not (yet?) in the cvs tree.

Because I forgot.  It's checked in to the CVS now.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-18 16:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <slrnb51qa3.341.ragndahl@ibook.local>
2003-02-17 15:38 ` Building Emacs 21.3 with X in MacOS X Pete Oster
     [not found]   ` <m2ptpqgd59.fsf@iBook.local>
2003-02-18 10:34     ` Hans-Peter Binder
2003-02-18 13:38     ` Pete Oster
2003-02-18 16:01   ` Andrew Choi

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).