On Jan 11, 2009, at 11:36 PM, Joshua Root wrote:

Bradley Giesbrecht wrote:
I still don't understand why perl5 is writing anything to
/usr/share/bin. I've used fink, darwinports and now macports for years and I thought they installed in complete isolation under /sw or / opt/local.

Everything being under /opt/local is indeed the expected behaviour, bar
the few exceptions that have a good reason to install files elsewhere.
And indeed that is the case for perl5.8 here, according to 'port
contents perl5.8'.

It really does look as though your prefix has somehow been set to
/usr/share.



If it is I don't know where.

bash-3.2# env
SHELL=/bin/bash
TERM=xterm-color
USER=root
SUDO_USER=brad
SUDO_UID=501
SSH_AUTH_SOCK=/tmp/501/nl.uu.phil.SSHAgent.socket
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/Users/brad/bin:/usr/local/mysql/bin:/opt/local/bin:/opt/local/ sbin:/usr/local/bin:/usr/local/sbin:/usr/share/bin:/usr/local/php5/ bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
PWD=/Users/brad/Sandbox/pecl/runkit
LANG=en_US.UTF-8
SHLVL=1
SUDO_COMMAND=/bin/bash
HOME=/Users/brad
LOGNAME=root
SUDO_GID=501
DISPLAY=/tmp/launch-UjAiw0/:0
_=/usr/bin/env
OLDPWD=/Users/brad


bash-3.2# grep -R prefix /opt/local/etc/macports/
/opt/local/etc/macports/macports.conf:prefix                    /opt/local
/opt/local/etc/macports/macports.conf:x11prefix         /usr/X11
/opt/local/etc/macports/variants.conf:# in the system wide ${prefix}/ etc/macports/macports.conf


bash-3.2# grep -R /usr/share /opt/local/etc/macports/


bash-3.2# cat ~/.profile
bind -x '"\C-p"':'echo $PWD'

PS1='\h: \u\$ '

alias ls='ls -G'
alias tclsh='rlwrap tclsh'

export PATH=~/bin:/usr/local/mysql/bin:/opt/local/bin:/opt/local/sbin:/ usr/local/bin:/usr/local/sbin:/usr/share/bin:/usr/local/php5/bin:$PATH
export MANPATH=/opt/local/share/man:/usr/local/ch5.5.0/docs/man:$MANPATH


bash-3.2# cat /etc/profile
# System-wide .profile for sh(1)

if [ -x /usr/libexec/path_helper ]; then
        eval `/usr/libexec/path_helper -s`
fi

if [ "${BASH-no}" != "no" ]; then
        [ -r /etc/bashrc ] && . /etc/bashrc
fi


bash-3.2# cat /etc/bashrc
# System-wide .bashrc file for interactive bash(1) shells.
if [ -z "$PS1" ]; then
  return
fi

PS1='\h:\W \u\$ '
# Make bash check its window size after a process completes
shopt -s checkwinsize
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to