Dear all, on my ubuntu breezy, firefox won't start due to a problem in /usr/bin/firefox or /usr/bin/artsdsp (depending on how you define it). Problem is that the firefox wrapper scripts passes an absolute pathname (/usr/lib/mozilla-firefox/firefox-bin) to artsdsp, whereas artsdsp does a lookup using which (1), which will of course fail. The user sees this:
no /usr/lib/mozilla-firefox/firefox-bin in /home/philip/perl:/home/philip/sh:/home/philip/utils:/home/philip/privutils:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/home/philip/Linux/bin:/opt/cxoffice/bin:/usr/sbin:/sbin:/usr/local/sbin:/etc:/usr/etc:.:/home/philip/bin Usage: file [-bcikLnNsvz] [-f namefile] [-F separator] [-m magicfiles] file... file -C -m magicfiles Try `file --help' for more information. BASH=/bin/sh BASH_ARGC=([0]="3") BASH_ARGV=([0]="firefox" [1]="-a" [2]="/usr/lib/mozilla-firefox/firefox-bin") BASH_LINENO=([0]="0") BASH_SOURCE=([0]="/usr/bin/artsdsp") BASH_VERSINFO=([0]="3" [1]="00" [2]="16" [3]="1" [4]="release" [5]="i486-pc-linux-gnu") BASH_VERSION='3.00.16(1)-release' etc. I am using libarts1c2 1.5.0 (1.5.0-0ubuntu0breezy1) and firefox 1.0.7 (1.0.7-0ubuntu20). I have appended a trivial patch for artsdsp that solves the problem; I hope you find this useful. Kind regards, Philip -- Philip Lijnzaad Genomics Laboratory Dept. of Biomedical Genetics University Medical Center (UMC), Utrecht Stratenum room 2.201 (on Mondays and Thursdays not in after 14.45) MSN chat (*NOT* email): [EMAIL PROTECTED] P.O. Box 85060, 3508 AB Utrecht (Universiteitsweg 100, 3584 CG Utrecht) The Netherlands tel: +31 (0)30 253 8464 fax: +31 (0)30 253 8479
*** artsdsp~ Thu Dec 1 11:32:29 2005 --- artsdsp Thu Dec 1 11:32:23 2005 *************** *** 91,98 **** # setup artsdsp preload to hijack calls made to /dev/dsp origargs="$@" ! binary=`which $1` ! machine=`uname -m` set `file -L $binary` --- 91,101 ---- # setup artsdsp preload to hijack calls made to /dev/dsp origargs="$@" ! if [ -x "$1" ]; then ! binary="$1"; ! else ! binary=`which $1` ! fi machine=`uname -m` set `file -L $binary`