all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Compilations with environment variables when compiling
@ 2007-12-30 17:19 tucker.hermans
  2007-12-30 17:27 ` Joost Kremers
  2007-12-30 21:48 ` Peter Dyballa
  0 siblings, 2 replies; 3+ messages in thread
From: tucker.hermans @ 2007-12-30 17:19 UTC (permalink / raw)
  To: help-gnu-emacs

I'm having quite a difficult time trying to solve what I thought was a
fairly simple problem and after looking through the code myself and
doing various searches, I must now post.

I am using a version of Emacs 22 for Mac OS X and when make is run via
the compile command (compilation-start)  the makefile is misread since
Emacs does not have the necessary bash environment variables.

The makefile includes the line:

        include $(SIMULATOR_HOME)/projects/default/controllers/
Makefile.include

Where SIMULATOR_HOME is set in bash to be /Applications/Simulator/

I tried compiling from both my terminal based emacs and XEmacs on the
same machine and both worked as the variable is supplied to both login
and non-login shells.  I can also compile from the shell inside
emacs.  I have the variable shell-file-name set to /bin/bash.

Any help would be much appreciated.  The frustration of this problem
is keeping me from doing my actual work.

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

* Re: Compilations with environment variables when compiling
  2007-12-30 17:19 Compilations with environment variables when compiling tucker.hermans
@ 2007-12-30 17:27 ` Joost Kremers
  2007-12-30 21:48 ` Peter Dyballa
  1 sibling, 0 replies; 3+ messages in thread
From: Joost Kremers @ 2007-12-30 17:27 UTC (permalink / raw)
  To: help-gnu-emacs

tucker.hermans@gmail.com wrote:
> I am using a version of Emacs 22 for Mac OS X and when make is run via
> the compile command (compilation-start)  the makefile is misread since
> Emacs does not have the necessary bash environment variables.

the OS X gui ignores ~/.profile, so yes, this may happen. the answer to
your problem can be found here:

<http://developer.apple.com/qa/qa2001/qa1067.html>

HTH

-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)

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

* Re: Compilations with environment variables when compiling
  2007-12-30 17:19 Compilations with environment variables when compiling tucker.hermans
  2007-12-30 17:27 ` Joost Kremers
@ 2007-12-30 21:48 ` Peter Dyballa
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2007-12-30 21:48 UTC (permalink / raw)
  To: tucker.hermans; +Cc: help-gnu-emacs


Am 30.12.2007 um 18:19 schrieb tucker.hermans:

> Any help would be much appreciated.


Mac OS X applications are not created in the same way as in FreeBSD  
or any other UNIX. No shell environment is used in this process, so  
no shell environments are copied into in the application's process  
environment. Nevertheless you have more than two ways to solve your  
problem:

	• use ~/.MacOSX/environment.plist, as recommended earlier (also  
lookup the defaults command, as in for example: 'export PATH=$ 
(defaults read "${HOME}/.MacOSX/environment" PATH))'
	• launch Carbon and other Emacsen as '"/Applications/Carbon  
Emacs.app/Contents/MacOS/Emacs" &' from the shell
	• use something like '(setenv "INFOPATH" (concat "/Applications/ 
Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/info"  
":" (getenv "INFOPATH")))' in your user init file

--
Greetings

   Pete

Let's face it; we don't want a free market economy either.
		– James Farley, president, Coca-Cola Export Corp., 1959

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

end of thread, other threads:[~2007-12-30 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-30 17:19 Compilations with environment variables when compiling tucker.hermans
2007-12-30 17:27 ` Joost Kremers
2007-12-30 21:48 ` Peter Dyballa

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.