It appears that commenting out the last three of the four lines below in my .cshrc fixes the problem:

# check for Fink
#if (-d /sw) then
#source /sw/bin/init.csh
#endif

Something wrong in init.csh I guess (attached)...any idea what is going wrong ? it does not seem to affect my environment if I don't have it sourced...

Iain

Alexander Hansen wrote:
That looks like you saved a command in your shell accidentally. Either edit or remove ~/Library/Preferences/com.apple.Terminal.plist

On Apr 24, 2008, at 6:06 PM, Iain Kerr wrote:

Actually, when I run it again it seems to be resolved or at least skip
the part it was choking on..however after fink selfupdate I get the
following in my environment when I startup a new shell:

*******************************************
Fatal Error: Incomplete libtbx environment!
*******************************************
Please re-run the libtbx/configure.py command.


Any ideas ?

Thanks,
Iain

Iain Kerr wrote:
Runnning OSX Tiger I get the following error when running apt-get
dist-upgrade fails:


Preparing to replace imagemagick 6.3.2-1002 (using
.../imagemagick_6.3.8-1002_darwin-i386.deb) ...
Unpacking replacement imagemagick ...
Preparing to replace imagemagick10-shlibs 6.3.2-1002 (using
.../imagemagick10-shlibs_6.3.8-1001_darwin-i386.deb) ...
Unpacking replacement imagemagick10-shlibs ...
/sw/bin/dpkg: error processing
/sw/var/cache/apt/archives/imagemagick10-shlibs_6.3.8-1001_darwin-i386.deb
(--unpack):
trying to overwrite `/sw/lib/libMagick++.1.dylib', which is also in
package imagemagick1-shlibs
/sw/bin/dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace libcurl3-unified-shlibs 7.15.5-4 (using
.../libcurl3-unified-shlibs_7.15.5-5_darwin-i386.deb) ...
Unpacking replacement libcurl3-unified-shlibs ...
Preparing to replace libgmpxx4-shlibs 4.2.1-1008 (using
.../libgmpxx4-shlibs_4.2.1-1009_darwin-i386.deb) ...
Unpacking replacement libgmpxx4-shlibs ...
Preparing to replace libkpathsea4 3.0-1007 (using
.../libkpathsea4_3.5.6-1_darwin-i386.deb) ...
install-info(kpathsea.info): deleting entry `* Kpathsea: (kpathsea) ...'
Unpacking replacement libkpathsea4 ...
Preparing to replace libkpathsea4-shlibs 3.0-1007 (using
.../libkpathsea4-shlibs_3.5.6-1_darwin-i386.deb) ...
Unpacking replacement libkpathsea4-shlibs ...
Preparing to replace netpbm10 10.26.39-2 (using
.../netpbm10_10.26.39-4_darwin-i386.deb) ...
Unpacking replacement netpbm10 ...
Preparing to replace netpbm-bin 10.26.39-2 (using
.../netpbm-bin_10.26.39-4_darwin-i386.deb) ...
Unpacking replacement netpbm-bin ...
Preparing to replace netpbm10-shlibs 10.26.39-2 (using
.../netpbm10-shlibs_10.26.39-4_darwin-i386.deb) ...
Unpacking replacement netpbm10-shlibs ...
Preparing to replace netpbm-shlibs 9.25-14 (using
.../netpbm-shlibs_9.25-15_darwin-i386.deb) ...
Unpacking replacement netpbm-shlibs ...
Preparing to replace opensp4-dev 1.5.1-1005 (using
.../opensp4-dev_1.5.1-1006_darwin-i386.deb) ...
Unpacking replacement opensp4-dev ...
Preparing to replace opensp4 1.5.1-1005 (using
.../opensp4_1.5.1-1006_darwin-i386.deb) ...
Unpacking replacement opensp4 ...
Preparing to replace opensp4-shlibs 1.5.1-1005 (using
.../opensp4-shlibs_1.5.1-1006_darwin-i386.deb) ...
Unpacking replacement opensp4-shlibs ...
Preparing to replace passwd 20070204-11 (using
.../passwd_20070804-11_darwin-i386.deb) ...
Unpacking replacement passwd ...
Preparing to replace python 1:2.5.1-1 (using
.../python_1%3a2.5.2-1_darwin-i386.deb) ...
Unpacking replacement python ...
Preparing to replace python25-socket 1:2.5.1-1 (using
.../python25-socket_1%3a2.5.1-3_darwin-i386.deb) ...
Unpacking replacement python25-socket ...
Errors were encountered while processing:
/sw/var/cache/apt/archives/imagemagick10-shlibs_6.3.8-1001_darwin-i386.deb

E: Sub-process /sw/bin/dpkg returned an error code (1)

Sorry, not too familiar with what logs etc. to send but would be happy
to if any further info is required.

Thanks !
Iain



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners


# init.csh
#
# to use the Fink hierarchy, put the following in your .cshrc:
#
#  source /sw/bin/init.csh
#

#
# Fink - a package manager that downloads source and installs it
# Copyright (c) 2001 Christoph Pfisterer
# Copyright (c) 2001-2004 The Fink Team
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#

# define append_path and prepend_path to add directory paths, e.g. PATH, 
MANPATH.
# add to end of path
alias append_path 'if ( $\!:1 !~ \!:2\:* && $\!:1 !~ *\:\!:2\:* && $\!:1 !~ 
*\:\!:2 && $\!:1 !~ \!:2 ) setenv \!:1 ${\!:1}\:\!:2'
# add to front of path
alias prepend_path 'if ( $\!:1 !~ \!:2\:* && $\!:1 !~ *\:\!:2\:* && $\!:1 !~ 
*\:\!:2 && $\!:1 !~ \!:2 ) setenv \!:1 \!:2\:${\!:1}; if ( $\!:1 !~ \!:2\:* ) 
setenv \!:1 \!:2`echo \:${\!:1} | /usr/bin/sed -e s%^\!:2\:%% -e s%:\!:2\:%:%g 
-e s%:\!:2\$%%`'

# setup fink related paths. we assume that the fink directories exists.
if ( $?PATH ) then
    prepend_path PATH /sw/bin:/sw/sbin
else
    setenv PATH /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin
endif

set osMajorVersion = `uname -r | cut -d. -f1`
set osMinorVersion = `uname -r | cut -d. -f2`
if ( ! $?MANPATH ) then
  if ( $osMajorVersion > 7) then
    setenv MANPATH `/usr/bin/manpath`
  else
    setenv MANPATH `/usr/bin/manpath -q`
  endif
endif
prepend_path MANPATH /sw/share/man
set perlversion = `/usr/bin/perl -e 'printf("%vd\n", $^V)'`
append_path MANPATH /sw/lib/perl5/$perlversion/man

if ( $?INFOPATH ) then
  prepend_path INFOPATH /sw/share/info:/sw/info
else
  setenv INFOPATH /sw/share/info:/sw/info:/usr/share/info
endif

if ( -r /sw/share/java/classpath ) then
  if ( $?CLASSPATH ) then
    set add2classpath = `cat /sw/share/java/classpath`
    prepend_path CLASSPATH $add2classpath
  else
    setenv CLASSPATH `cat /sw/share/java/classpath`:.
  endif
endif

if ( $?PERL5LIB ) then
  prepend_path PERL5LIB /sw/lib/perl5:/sw/lib/perl5/darwin
else
  setenv PERL5LIB /sw/lib/perl5:/sw/lib/perl5/darwin
endif

# Add X11 paths (but only if the directories are readable)
if ( -r /usr/X11R6/bin ) then
    append_path PATH /usr/X11R6/bin
endif
if ( -r /usr/X11R6/man ) then
    append_path MANPATH /usr/X11R6/man
endif

# On Mac OS X 10.4.{x|x<3} there is a dyld bug (rdar://problem/4139432)
# where a library will not load if a library with a matching basename
# is already loaded from one of the system paths,
# the workaround is to set DYLD_FALLBACK_LIBRARY_PATH to :
if ( ! $?DYLD_FALLBACK_LIBRARY_PATH ) then
  if (  $osMajorVersion == 8 && $osMinorVersion < 3 ) then
    setenv DYLD_FALLBACK_LIBRARY_PATH :
  endif
endif

if ($?version) then
  if ("$version" =~ tcsh*) then
    complete fink 'n/fink/(install remove purge update selfupdate update-all 
configure list apropos describe index validate --help --version)/'
  endif
endif

set PROXYHTTP=`grep ProxyHTTP /sw/etc/fink.conf | grep -v "#" | cut -d " " -f2`

if ( "$PROXYHTTP" != "" ) then
  setenv HTTP_PROXY $PROXYHTTP
  setenv http_proxy $PROXYHTTP
endif

set PROXYFTP=`grep ProxyFTP /sw/etc/fink.conf | grep -v "#" | cut -d " " -f2`

if ( "$PROXYFTP" != "" ) then
  setenv FTP_PROXY $PROXYFTP
  setenv ftp_proxy $PROXYFTP
endif

# read per-package scripts from /sw/etc/profile.d
if ( -d /sw/etc/profile.d ) then
  set nonomatch
  foreach i ( /sw/etc/profile.d/*.csh )
    if ( -r $i && -x $i ) then
      source $i
    endif
  end
  unset i nonomatch
endif

# eof
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to