Installing command line tools manually

529 views
Skip to first unread message

Spencer

unread,
Nov 30, 2010, 6:32:36 PM11/30/10
to TextWrangler Talk
I've been having trouble installing the command line tools. Whenever I
try to do so, whether from the menu or from the startup dialog,
TextWrangler hangs with the spinning rainbow cursor. I never see a
password prompt, as I was expecting.

I've tried deleting preferences and reinstalling, with no luck. This
leads me to conclude that it is a problem with my system (permissions
error, for instance) and not with TextWrangler directly.

My question is, what exactly does 'Install Command line Tools' do? Can
I install them manually, eg by copying/linking some files?


Some info that may/may not be relevant: I found something called
InstallTool buried in the TextWrangler package, which returns an
error:

$ sudo /Applications/TextWrangler.app/Contents/MacOS/InstallTool
Password:
cricket<16193>bat
usage
FailUrE 22

Spencer

unread,
Dec 8, 2010, 2:20:37 PM12/8/10
to TextWrangler Talk
Could someone with working command line tools run the following
commands and let me know the results? It would really help my
debugging.

which edit twfind twdiff
ls -l `which edit twfind twdiff`
man -w edit twfind twdiff
ls -l `man -w edit twfind twdiff`

I'm just guessing on the commands since I don't have a working
install, so if you have any similar info that seems relevant it would
also be appreciated.

Thanks,
Spencer

Steve Kalkwarf

unread,
Dec 8, 2010, 3:32:20 PM12/8/10
to textwr...@googlegroups.com
On Dec 8, 2010, at 2:20 PM, Spencer wrote:

> Could someone with working command line tools run the following
> commands and let me know the results? It would really help my
> debugging.

What are you trying to figure out? Where the tools are installed depends on the first version of TextWrangler you ran, the OS version being used, and some other details.

Steve

Thomas Fischer

unread,
Dec 9, 2010, 2:31:35 AM12/9/10
to textwr...@googlegroups.com
Hi Spencer,

I hope this helps:

macbookthf:~ Thomas$ which edit twfind twdiff
/usr/bin/edit
/usr/bin/twfind
/usr/bin/twdiff
macbookthf:~ Thomas$ ls -l `which edit twfind twdiff`
-rwxrwxr-x@ 1 Thomas admin 90144 19 Jan 2010 /usr/bin/edit
-rwxrwxr-x@ 1 Thomas admin 71648 19 Jan 2010 /usr/bin/twdiff
-rwxrwxr-x@ 1 Thomas admin 86416 19 Jan 2010 /usr/bin/twfind
macbookthf:~ Thomas$ man -w edit twfind twdiff
/usr/share/man/man1/edit.1
/usr/share/man/man1/twfind.1
/usr/share/man/man1/twdiff.1
macbookthf:~ Thomas$ ls -l `man -w edit twfind twdiff`
-rw-rw-r--@ 1 Thomas admin 12414 19 Jan 2010 /usr/share/man/man1/edit.1
-rw-rw-r--@ 1 Thomas admin 10103 19 Jan 2010 /usr/share/man/man1/twdiff.1
-rw-rw-r--@ 1 Thomas admin 12009 19 Jan 2010 /usr/share/man/man1/twfind.1

Best
Thomas

Patrick Woolsey

unread,
Dec 9, 2010, 10:13:32 AM12/9/10
to textwr...@googlegroups.com
Spencer <quan...@gmail.com> sez

>On Nov 30, 3:32 pm, Spencer <quant...@gmail.com> wrote:
>> I've been having trouble installing the command line tools. Whenever I
>> try to do so, whether from the menu or from the startup dialog,
>> TextWrangler hangs with the spinning rainbow cursor. I never see a
>> password prompt, as I was expecting.
>>

Please contact support. :-)


Regards,

Patrick Woolsey
==
Bare Bones Software, Inc. <http://www.barebones.com>
P.O. Box 1048, Bedford, MA 01730-1048

Spencer

unread,
Jan 3, 2011, 7:47:53 PM1/3/11
to TextWrangler Talk
Thanks a lot Thomas!

If anyone else wants to do this manually, this seems to have fixed the
problem:

sudo cp /Applications/TextWrangler.app/Contents/Resources/{edit.
1,twfind.1,twdiff.1} /usr/share/man/man1/
sudo cp /Applications/TextWrangler.app/Contents/MacOS/
{edit,twfind,twdiff} /usr/bin/

-Spencer
Reply all
Reply to author
Forward
0 new messages