* Starting Emacs (For Mac OS X) from the command line
@ 2021-11-04 13:35 Johannes Brauer
2021-11-04 13:57 ` Jean-Christophe Helary
0 siblings, 1 reply; 10+ messages in thread
From: Johannes Brauer @ 2021-11-04 13:35 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
Hi,
in order to start Emacs from the command line I created an emacs script an described in https://emacsformacosx.com/tips:
#!/bin/sh
/Applications/Emacs.app/Contents/MacOS/Emacs "$@"
Starting Emacs from command line for example with
emacs -Q x.txt
Emacs is started but I always get this warning:
Warning: arch-dependent data dir '/Users/build/workspace/Emacs-Multi-Build/label/macos10.14/emacs-source/nextstep/Emacs.app/Contents/MacOS/libexec/': No such file or directory
How can I get rid of it?
My versions:
Emacs 27.2
macOs 11.6.1
Johannes
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Starting Emacs (For Mac OS X) from the command line
2021-11-04 13:35 Starting Emacs (For Mac OS X) from the command line Johannes Brauer
@ 2021-11-04 13:57 ` Jean-Christophe Helary
2021-11-04 14:09 ` Johannes Brauer
0 siblings, 1 reply; 10+ messages in thread
From: Jean-Christophe Helary @ 2021-11-04 13:57 UTC (permalink / raw)
To: Johannes Brauer; +Cc: help-gnu-emacs@gnu.org
> On Nov 4, 2021, at 22:35, Johannes Brauer <brauer@nordakademie.de> wrote:
>
> Warning: arch-dependent data dir '/Users/build/workspace/Emacs-Multi-Build/label/macos10.14/emacs-source/nextstep/Emacs.app/Contents/MacOS/libexec/': No such file or directory
>
> How can I get rid of it?
By creating it ?
--
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Starting Emacs (For Mac OS X) from the command line
2021-11-04 13:57 ` Jean-Christophe Helary
@ 2021-11-04 14:09 ` Johannes Brauer
2021-11-04 14:46 ` Jean-Christophe Helary
2021-11-04 14:49 ` 2QdxY4RzWzUUiLuE
0 siblings, 2 replies; 10+ messages in thread
From: Johannes Brauer @ 2021-11-04 14:09 UTC (permalink / raw)
To: Jean-Christophe Helary; +Cc: help-gnu-emacs@gnu.org
> Am 04.11.2021 um 14:57 schrieb Jean-Christophe Helary <lists@traduction-libre.org>:
>
>
>
>> On Nov 4, 2021, at 22:35, Johannes Brauer <brauer@nordakademie.de> wrote:
>>
>> Warning: arch-dependent data dir '/Users/build/workspace/Emacs-Multi-Build/label/macos10.14/emacs-source/nextstep/Emacs.app/Contents/MacOS/libexec/': No such file or directory
>>
>> How can I get rid of it?
>
> By creating it ?
I cannot imagine that this could be a reasonable solution. What could be the content of that file?
Johannes
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Starting Emacs (For Mac OS X) from the command line
2021-11-04 14:09 ` Johannes Brauer
@ 2021-11-04 14:46 ` Jean-Christophe Helary
2021-11-04 15:32 ` tomas
2021-11-04 21:08 ` Johannes Brauer
2021-11-04 14:49 ` 2QdxY4RzWzUUiLuE
1 sibling, 2 replies; 10+ messages in thread
From: Jean-Christophe Helary @ 2021-11-04 14:46 UTC (permalink / raw)
To: Johannes Brauer; +Cc: help-gnu-emacs@gnu.org
> On Nov 4, 2021, at 23:09, Johannes Brauer <brauer@nordakademie.de> wrote:
>
>
>> Am 04.11.2021 um 14:57 schrieb Jean-Christophe Helary <lists@traduction-libre.org>:
>>
>>
>>
>>> On Nov 4, 2021, at 22:35, Johannes Brauer <brauer@nordakademie.de> wrote:
>>>
>>> Warning: arch-dependent data dir '/Users/build/workspace/Emacs-Multi-Build/label/macos10.14/emacs-source/nextstep/Emacs.app/Contents/MacOS/libexec/': No such file or directory
>>>
>>> How can I get rid of it?
>>
>> By creating it ?
> I cannot imagine that this could be a reasonable solution. What could be the content of that file?
Just "touch" the directory, since it seems to be a directory.
I checked on my side and MacOS/libexec does not seem to contain extremely important files:
/MacOS/libexec/rcs2log
this is a "RCS to ChangeLog generator"
/MacOS/libexec/hexl
/MacOS/libexec/Emacs.pdmp
Those 2 are binary files.
So, yes, just "touch" the directory and restart Emacs.
--
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Starting Emacs (For Mac OS X) from the command line
2021-11-04 14:09 ` Johannes Brauer
2021-11-04 14:46 ` Jean-Christophe Helary
@ 2021-11-04 14:49 ` 2QdxY4RzWzUUiLuE
1 sibling, 0 replies; 10+ messages in thread
From: 2QdxY4RzWzUUiLuE @ 2021-11-04 14:49 UTC (permalink / raw)
To: help-gnu-emacs
On 2021-11-04 at 14:09:33 +0000,
Johannes Brauer <brauer@nordakademie.de> wrote:
> > Am 04.11.2021 um 14:57 schrieb Jean-Christophe Helary <lists@traduction-libre.org>:
> >
> >
> >
> >> On Nov 4, 2021, at 22:35, Johannes Brauer <brauer@nordakademie.de> wrote:
> >>
> >> Warning: arch-dependent data dir '/Users/build/workspace/Emacs-Multi-Build/label/macos10.14/emacs-source/nextstep/Emacs.app/Contents/MacOS/libexec/': No such file or directory
> >>
> >> How can I get rid of it?
> >
> > By creating it ?
> I cannot imagine that this could be a reasonable solution. What could be the content of that file?
Based on the familiar name and the trailing slash, that's a directory,
not a file, and an empty directory will be good enough (at least good
enough to expose the next issue!).
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Starting Emacs (For Mac OS X) from the command line
2021-11-04 14:46 ` Jean-Christophe Helary
@ 2021-11-04 15:32 ` tomas
2021-11-04 21:08 ` Johannes Brauer
1 sibling, 0 replies; 10+ messages in thread
From: tomas @ 2021-11-04 15:32 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]
On Thu, Nov 04, 2021 at 11:46:34PM +0900, Jean-Christophe Helary wrote:
>
>
> > On Nov 4, 2021, at 23:09, Johannes Brauer <brauer@nordakademie.de> wrote:
> >
> >
> >> Am 04.11.2021 um 14:57 schrieb Jean-Christophe Helary <lists@traduction-libre.org>:
> >>
> >>
> >>
> >>> On Nov 4, 2021, at 22:35, Johannes Brauer <brauer@nordakademie.de> wrote:
> >>>
> >>> Warning: arch-dependent data dir '/Users/build/workspace/Emacs-Multi-Build/label/macos10.14/emacs-source/nextstep/Emacs.app/Contents/MacOS/libexec/': No such file or directory
[...]
To me, libexec sounds like a place where Emacs looks for
external executables (which probably come with the Emacs
distribution itself).
> I checked on my side and MacOS/libexec does not seem to contain extremely important files:
> /MacOS/libexec/rcs2log
[...]
Exactly. So your Emacs might complain if you do anything
it would need one of those external programs for.
Perhaps your installation has put them elsewhere? Or
perhaps the ever-stranger OS has somehow blocked access
to it in a weird way?
Cheers
- t
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Starting Emacs (For Mac OS X) from the command line
2021-11-04 14:46 ` Jean-Christophe Helary
2021-11-04 15:32 ` tomas
@ 2021-11-04 21:08 ` Johannes Brauer
2021-11-04 21:19 ` Jean-Christophe Helary
1 sibling, 1 reply; 10+ messages in thread
From: Johannes Brauer @ 2021-11-04 21:08 UTC (permalink / raw)
To: Jean-Christophe Helary; +Cc: help-gnu-emacs@gnu.org
Am 04.11.2021 um 15:46 schrieb Jean-Christophe Helary <lists@traduction-libre.org<mailto:lists@traduction-libre.org>>:
On Nov 4, 2021, at 23:09, Johannes Brauer <brauer@nordakademie.de<mailto:brauer@nordakademie.de>> wrote:
Am 04.11.2021 um 14:57 schrieb Jean-Christophe Helary <lists@traduction-libre.org<mailto:lists@traduction-libre.org>>:
On Nov 4, 2021, at 22:35, Johannes Brauer <brauer@nordakademie.de<mailto:brauer@nordakademie.de>> wrote:
Warning: arch-dependent data dir '/Users/build/workspace/Emacs-Multi-Build/label/macos10.14/emacs-source/nextstep/Emacs.app/Contents/MacOS/libexec/': No such file or directory
How can I get rid of it?
By creating it ?
I cannot imagine that this could be a reasonable solution. What could be the content of that file?
Just "touch" the directory, since it seems to be a directory.
I checked on my side and MacOS/libexec does not seem to contain extremely important files:
/MacOS/libexec/rcs2log
this is a "RCS to ChangeLog generator"
/MacOS/libexec/hexl
/MacOS/libexec/Emacs.pdmp
Those 2 are binary files.
So, yes, just "touch" the directory and restart Emacs.
thanks, I did it and it works
Johannes
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Starting Emacs (For Mac OS X) from the command line
2021-11-04 21:08 ` Johannes Brauer
@ 2021-11-04 21:19 ` Jean-Christophe Helary
2021-11-05 6:47 ` Yuri Khan
0 siblings, 1 reply; 10+ messages in thread
From: Jean-Christophe Helary @ 2021-11-04 21:19 UTC (permalink / raw)
To: Johannes Brauer; +Cc: help-gnu-emacs@gnu.org
>>>>> On Nov 4, 2021, at 22:35, Johannes Brauer <brauer@nordakademie.de> wrote:
>>>>>
>>>>> Warning: arch-dependent data dir '/Users/build/workspace/Emacs-Multi-Build/label/macos10.14/emacs-source/nextstep/Emacs.app/Contents/MacOS/libexec/': No such file or directory
>>>>>
>>>>> How can I get rid of it?
>>>>
>>>> By creating it ?
>>> I cannot imagine that this could be a reasonable solution. What could be the content of that file?
>>
>> Just "touch" the directory, since it seems to be a directory.
>
> thanks, I did it and it works
The question of "why you did not have the directory installed" is optional but now that it works, and if you want, you probably can investigate.
--
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Starting Emacs (For Mac OS X) from the command line
2021-11-04 21:19 ` Jean-Christophe Helary
@ 2021-11-05 6:47 ` Yuri Khan
2021-11-05 9:03 ` Jean-Christophe Helary
0 siblings, 1 reply; 10+ messages in thread
From: Yuri Khan @ 2021-11-05 6:47 UTC (permalink / raw)
To: Jean-Christophe Helary; +Cc: help-gnu-emacs@gnu.org, Johannes Brauer
On Fri, 5 Nov 2021 at 04:20, Jean-Christophe Helary
<lists@traduction-libre.org> wrote:
> >>>>> Warning: arch-dependent data dir '/Users/build/workspace/Emacs-Multi-Build/label/macos10.14/emacs-source/nextstep/Emacs.app/Contents/MacOS/libexec/': No such file or directory
> The question of "why you did not have the directory installed" is optional but now that it works, and if you want, you probably can investigate.
The real question is why a binary intended for installation on an end
user’s machine refers to a directory in the build environment. Surely
/Users/build is either the home directory of a user called ‘build’ or
should not exist at all?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Starting Emacs (For Mac OS X) from the command line
2021-11-05 6:47 ` Yuri Khan
@ 2021-11-05 9:03 ` Jean-Christophe Helary
0 siblings, 0 replies; 10+ messages in thread
From: Jean-Christophe Helary @ 2021-11-05 9:03 UTC (permalink / raw)
To: Yuri Khan; +Cc: help-gnu-emacs@gnu.org, Johannes Brauer
> On Nov 5, 2021, at 15:47, Yuri Khan <yuri.v.khan@gmail.com> wrote:
>
> On Fri, 5 Nov 2021 at 04:20, Jean-Christophe Helary
> <lists@traduction-libre.org> wrote:
>
>>>>>>> Warning: arch-dependent data dir '/Users/build/workspace/Emacs-Multi-Build/label/macos10.14/emacs-source/nextstep/Emacs.app/Contents/MacOS/libexec/': No such file or directory
>
>> The question of "why you did not have the directory installed" is optional but now that it works, and if you want, you probably can investigate.
>
> The real question is why a binary intended for installation on an end
> user’s machine refers to a directory in the build environment. Surely
> /Users/build is either the home directory of a user called ‘build’ or
> should not exist at all?
Indeed, I thought it was weird that the user's name was "build", but that seems to be the case.
--
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2021-11-05 9:03 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-04 13:35 Starting Emacs (For Mac OS X) from the command line Johannes Brauer
2021-11-04 13:57 ` Jean-Christophe Helary
2021-11-04 14:09 ` Johannes Brauer
2021-11-04 14:46 ` Jean-Christophe Helary
2021-11-04 15:32 ` tomas
2021-11-04 21:08 ` Johannes Brauer
2021-11-04 21:19 ` Jean-Christophe Helary
2021-11-05 6:47 ` Yuri Khan
2021-11-05 9:03 ` Jean-Christophe Helary
2021-11-04 14:49 ` 2QdxY4RzWzUUiLuE
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).