[MacPorts] #29142: libintl and libiconv versions not compatible
MacPorts
noreply at macports.org
Wed Apr 27 10:34:50 PDT 2011
#29142: libintl and libiconv versions not compatible
---------------------------------------+------------------------------------
Reporter: stephane.jacobs@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: gettext libiconv
---------------------------------------+------------------------------------
Comment(by ryandesign@…):
The wrapper script could be a simple
[http://en.wikipedia.org/wiki/Bash_(Unix_shell) Bash shell] script which
would just need to set PATH and any other environment variables as
desired, then run the real program. I am not familiar with fsl, but if for
example the program you want to run is called "fsl" and is in the
directory "/usr/local/fsl/bin", then you could use this script:
{{{
#!/bin/bash
export
PATH="/usr/local/fsl/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin"
exec "fsl" "$@"
}}}
Save this file in a plain text editor (if you use TextEdit, make sure to
select "Make Plain Text" from the Format menu), call it "fsl", and put it
in a directory that's in your PATH. For example, on my system, I have a
directory "scripts" in my home directory where I can put scripts I've
made, and my ~/.bash_profile includes "~/scripts" at the beginning of my
PATH. Also make sure to set the execute bit on the script. (For example,
run "`chmod 755 ~/scripts/fsl`".) If there are multiple programs you want
to run like this, create multiple wrapper scripts.
--
Ticket URL: <https://trac.macports.org/ticket/29142#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list