all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#2857: GNU Emacs 22.3 for Mac missing executable
@ 2009-04-02 11:39 Anders Bolt-Evensen
  2009-04-03  0:09 ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 4+ messages in thread
From: Anders Bolt-Evensen @ 2009-04-02 11:39 UTC (permalink / raw)
  To: bug-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 794 bytes --]

Hey!

Two things:
1) Emacs 22.3 does not include any executeable files for Mac. When I double-clicked the Emacs.app which is found in emacs-22.3/mac, I get an error message which says "You can't open the application Emacs.app because it may be damaged or incomplete.". When I then checked emacs-22.3/Mac/Emacs.app/Contents/MacOS and saw that the executable file was missing. 

2) I tried to install GNU Emacs 22.2 and Emacs 22.3 on Mac OS X Snow Leopard (beta), but the "sudo make install" command fails on both versions with 
"make[1]: *** [mac.o] Error 1
make: *** [src] Error 2"
During the make process there are a lot of warnings (and 1 error as I saw) that occured. I've made a log file with the output that was written to the terminal during the ./configure and "make install" processes.

[-- Attachment #2: emacs_22.3_log.rtf --]
[-- Type: application/rtf, Size: 96416 bytes --]

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

* bug#2857: GNU Emacs 22.3 for Mac missing executable
  2009-04-02 11:39 bug#2857: GNU Emacs 22.3 for Mac missing executable Anders Bolt-Evensen
@ 2009-04-03  0:09 ` YAMAMOTO Mitsuharu
  2009-04-25  0:17   ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 4+ messages in thread
From: YAMAMOTO Mitsuharu @ 2009-04-03  0:09 UTC (permalink / raw)
  To: Anders Bolt-Evensen, 2857

>>>>> On Thu, 2 Apr 2009 13:39:49 +0200 (MEST), Anders Bolt-Evensen <a-bolt@online.no> said:

> 1) Emacs 22.3 does not include any executeable files for Mac.

Yes, that's normal.

> 2) I tried to install GNU Emacs 22.2 and Emacs 22.3 on Mac OS X Snow
> Leopard (beta), but the "sudo make install" command fails on both
> versions

Could you try the following patch?

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

*** src/mac.c~	2008-08-30 00:16:02.000000000 +0900
--- src/mac.c	2009-04-03 09:00:50.000000000 +0900
*************** static int wakeup_from_rne_enabled_p = 0
*** 93,99 ****
  #ifndef MAC_OSX
  static OSErr posix_pathname_to_fsspec P_ ((const char *, FSSpec *));
  static OSErr fsspec_to_posix_pathname P_ ((const FSSpec *, char *, int));
- #endif
  
  /* When converting from Mac to Unix pathnames, /'s in folder names are
     converted to :'s.  This function, used in copying folder names,
--- 93,98 ----
*************** posix_to_mac_pathname (const char *ufn, 
*** 271,276 ****
--- 270,276 ----
  
    return 1;
  }
+ #endif	/* !MAC_OSX */
  
  \f
  /***********************************************************************
*************** link (const char *name1, const char *nam
*** 2986,2992 ****
    return -1;
  }
  
- #endif  /* ! MAC_OSX */
  
  /* Determine the path name of the file specified by VREFNUM, DIRID,
     and NAME and place that in the buffer PATH of length
--- 2986,2991 ----
*************** path_from_vol_dir_name (char *path, int 
*** 3036,3042 ****
  }
  
  
- #ifndef MAC_OSX
  
  static OSErr
  posix_pathname_to_fsspec (ufn, fs)
--- 3035,3040 ----
*************** getpid ()
*** 3307,3313 ****
  #endif
  #endif /* __MWERKS__ */
  
- #endif /* ! MAC_OSX */
  
  
  /* Return the path to the directory in which Emacs can create
--- 3305,3310 ----
*************** get_temp_dir_name ()
*** 3363,3369 ****
    return temp_dir_name;
  }
  
- #ifndef MAC_OSX
  
  /* Allocate and construct an array of pointers to strings from a list
     of strings stored in a 'STR#' resource.  The returned pointer array
--- 3360,3365 ----
*************** component.  */)
*** 4449,4454 ****
--- 4445,4451 ----
  }
  
  
+ #ifndef MAC_OSX
  DEFUN ("mac-file-name-to-posix", Fmac_file_name_to_posix,
         Smac_file_name_to_posix, 1, 1, 0,
         doc: /* Convert Macintosh FILENAME to Posix form.  */)
*************** DEFUN ("posix-file-name-to-mac", Fposix_
*** 4481,4486 ****
--- 4478,4484 ----
    else
      return Qnil;
  }
+ #endif
  
  
  DEFUN ("mac-coerce-ae-data", Fmac_coerce_ae_data, Smac_coerce_ae_data, 3, 3, 0,
*************** syms_of_mac ()
*** 5464,5471 ****
--- 5462,5471 ----
    defsubr (&Smac_get_file_creator);
    defsubr (&Smac_get_file_type);
    defsubr (&Sdo_applescript);
+ #ifndef MAC_OSX
    defsubr (&Smac_file_name_to_posix);
    defsubr (&Sposix_file_name_to_mac);
+ #endif
  
    DEFVAR_INT ("mac-system-script-code", &mac_system_script_code,
      doc: /* The system script code.  */);






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

* bug#2857: GNU Emacs 22.3 for Mac missing executable
  2009-04-03  0:09 ` YAMAMOTO Mitsuharu
@ 2009-04-25  0:17   ` YAMAMOTO Mitsuharu
  2011-03-10  6:49     ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: YAMAMOTO Mitsuharu @ 2009-04-25  0:17 UTC (permalink / raw)
  To: Anders Bolt-Evensen, 2857

>>>>> On Fri, 03 Apr 2009 09:09:55 +0900, YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> said:

>>>>> On Thu, 2 Apr 2009 13:39:49 +0200 (MEST), Anders Bolt-Evensen <a-bolt@online.no> said:

>> 2) I tried to install GNU Emacs 22.2 and Emacs 22.3 on Mac OS X
>> Snow Leopard (beta), but the "sudo make install" command fails on
>> both versions

> Could you try the following patch?

Did it work?  I can't test it myself.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp






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

* bug#2857: GNU Emacs 22.3 for Mac missing executable
  2009-04-25  0:17   ` YAMAMOTO Mitsuharu
@ 2011-03-10  6:49     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2011-03-10  6:49 UTC (permalink / raw)
  To: 2857-done


Thanks for the report. Emacs 22 is very old and has not been supported
for some time. The latest version is 23.3. Please open new reports for
any issues you have with the new version.





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

end of thread, other threads:[~2011-03-10  6:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-02 11:39 bug#2857: GNU Emacs 22.3 for Mac missing executable Anders Bolt-Evensen
2009-04-03  0:09 ` YAMAMOTO Mitsuharu
2009-04-25  0:17   ` YAMAMOTO Mitsuharu
2011-03-10  6:49     ` Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.