iTerm environment variable needed

robert delius royar apple at frinabulax.org
Wed Dec 20 04:31:50 PST 2006


Tue, 19 Dec 2006 (23:11 +0100 UTC) Niel Drummond wrote:

> Hi,
>
> [ I cannot create an account on trac/wordpress either ]
>
> iTerm on ppc and x86 (32-bit) both seem to need an environment variable set 
> (which can be done in ~/.profile or ~/.MacOSX/environment.plist):
>
> DYLD_LIBRARY_PATH=/Applications/DarwinPorts/iTerm.app/Contents/Frameworks/Growl.framework/Versions/A/
>
> it's not the best solution to have global environment variable for a fix like 
> this -- is there a better way?

Assuming that the executable is 
/Applications/DarwinPorts/iTerm.app/Contents/MacOS/iTerm
do
mv /Applications/DarwinPorts/iTerm.app/Contents/MacOS/iTerm \
  /Applications/DarwinPorts/iTerm.app/Contents/MacOS/iTerm-bin

Then make an executable file named 
/Applications/DarwinPorts/iTerm.app/Contents/MacOS/iTerm
such as

#!/bin/sh

export 
DYLD_FRAMEWORK_PATH=/Applications/DarwinPorts/iTerm.app/Contents/Frameworks
exec /Applications/DarwinPorts/iTerm.app/Contents/MacOS/iTerm-bin

Something similar is how I get Safari to run with Webkit nightly builds.

>
> thanks
>
> - Niel Drummond
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-dev
>

-- 
Dr. Robert Delius Royar                   Associate Professor of English
Morehead State University                             Morehead, Kentucky
                                    Making meaning one message at a time.
   Hey!  Look over there!
   7:21 up 1:31, 1 user, load averages: 0.19 0.11 0.14



More information about the macports-dev mailing list