42 Commits

Author SHA1 Message Date
Adam Vandenberg
5707787358 brew-doctor - add access check to include 2010-09-29 11:56:58 -07:00
Adam Vandenberg
e750242b73 Add another file check to check_for_macgpg2 2010-09-22 15:24:41 -07:00
Adam Vandenberg
339abc769d brew-doctor - fix llvm typo 2010-09-07 10:05:51 -07:00
Adam Vandenberg
115ffb226d brew doctor - look for MacGPG2 installed via the .mpkg 2010-08-18 09:09:38 -07:00
Adam Vandenberg
80bec9bcc1 brew doctor - tweak multiple volume check 2010-08-16 09:32:16 -07:00
Adam Vandenberg
5efc579f76 brew doctor - add libiconv check 2010-08-09 22:15:10 -07:00
Adam Vandenberg
a7e6e71405 brew doctor - check all keg_only brews
Add a check to see if any keg_only brews are installed and linked
into the Cellar. Doing this can cause installs of other formulae
to fail.
2010-08-09 21:58:47 -07:00
Adam Vandenberg
45753d31ad brew doctor - add check for non-standard autoconf 2010-08-09 21:33:06 -07:00
Adam Vandenberg
a62c16e77f brew doctor - add check for /usr/bin/cc symlinks.
If you symlink /usr/bin/cc to llvm, then Homebrew's "fails_with_llvm"
checks are bypassed. So add a warning to "brew doctor".
2010-08-09 21:06:33 -07:00
Adam Vandenberg
6c23f9b324 brew doctor - X11 check
Tweak wording in X11 check and use the same X11 detection function
as ENV.x11; also move that function into utils.
2010-08-09 19:13:07 -07:00
Adam Vandenberg
0321acf9be Fix regex location 2010-08-07 18:08:48 -07:00
Adam Vandenberg
73125f1c18 Reword X11 brew doctor messages. 2010-08-07 11:46:20 -07:00
Adam Vandenberg
7e38c4c9c3 Re-wrap message. 2010-08-07 11:44:45 -07:00
Adam Vandenberg
bc82bfc6d5 brew doctor - check man access 2010-07-30 09:23:44 -07:00
Adam Vandenberg
f2f68c6beb brew doctor - add check for non-standard X11
XQuartz is not known to work with Homebrew, though if you have it working
on your machine let us know.
2010-07-25 12:07:41 -07:00
Adam Vandenberg
d637e0a139 brew doctor and GitDownloadStrategy now check for Git.
GitDownloadStrategy now fails if git isn't in the path, same as other
VCS strategies.

`brew doctor` will also warn if Git isn't installed.
2010-07-09 07:15:28 -07:00
Adam Vandenberg
14d84be78e brew doctor - add whitelist to dylibs 2010-07-03 22:58:17 -07:00
Adam Vandenberg
c37294e9d3 Allow user to override temp folder with HOMEBREW_TEMP 2010-07-03 21:48:37 -07:00
Adam Vandenberg
8806d91662 Brew doctor now checks that lib/pkgconfig is writable.
If previous non-Homebrew software was installed to /usr/local with "sudo",
then a pkgconfig folder may have been created with restricted permissions.
This will prevent brews (such as glib) from symlinking their .pc files
correctly.
2010-07-01 10:16:15 -07:00
Adam Vandenberg
480accdd47 Add brew doctor check for Cellar and TMP on separate volumes.
Add a brew doctor check for this issue:
http://github.com/mxcl/homebrew/issues/issue/1238
2010-06-28 17:26:16 -07:00
Adam Vandenberg
0152384487 brew doctor - warn about symlinked cellars 2010-06-28 16:48:44 -07:00
Adam Vandenberg
ddfd14f8d6 Fix spacing in brew doctor messages. 2010-06-28 16:47:52 -07:00
Adam Vandenberg
a634dc6a2c Add brew doctor check for DYLD vars. 2010-06-25 19:22:54 -07:00
Adam Vandenberg
5462ec27b8 Added check for stray 'config' scripts in $PATH.
If the user has, for instance, a non-system "xml2-config" in the path
ahead of the system and Homebrew folders, ./configure scripts which
look for and use this config script will get confused.
2010-06-10 16:25:59 -07:00
Adam Vandenberg
5fe0b108ad Add check for gettext to brew_doctor.
If the user has linked the keg-only gettext, then a large number
of formulae which don't have "depends_on 'gettext'" will pick it
up anyway. Knowing this about the user's setup may help diagnose
bug reports.
2010-05-01 10:50:14 -07:00
Adam Vandenberg
5ea2248085 Update gcc version checks in brew_doctor
brew_doctor's gcc version checks wasn't taking into account the case
where the user doesn't have one or both of GCC 4.0.x and 4.2.x installed.
2010-05-01 09:02:18 -07:00
Adam Vandenberg
db62a9ef9c brew doctor now checks pkg-config search path
Homebrew's pkg-config didn't originally add X11 to its search path.
This causes problems for long-time Homebrew users brewing software
that depends on X11-related packages, such as Cairo.
2010-04-20 12:22:51 -07:00
Adam Vandenberg
de21400fd0 Use Array#length instead of count. Fixes Homebrew/homebrew#1165 2010-04-12 13:09:51 -07:00
Adam Vandenberg
fa06ea6e17 Test that Homebrew's bin is in the path. 2010-04-08 20:17:47 -07:00
Adam Vandenberg
06745aa6d1 Add pkg-config check. 2010-04-06 08:22:29 -07:00
Adam Vandenberg
a37d53aa89 Add path check. 2010-04-06 08:22:29 -07:00
Adam Vandenberg
169aa682e0 Check for root owned locale folders. 2010-04-06 08:22:29 -07:00
Adam Vandenberg
53b1e8ed2b Use here-strings. 2010-04-06 08:22:29 -07:00
Adam Vandenberg
7963dbfce8 Prefix check. 2010-04-06 08:22:29 -07:00
Adam Vandenberg
5de328da5c Ruby version check. 2010-04-06 08:22:29 -07:00
Adam Vandenberg
0b309aeb2b Stubs for more checks. 2010-04-06 08:22:28 -07:00
Adam Vandenberg
b0330c38a5 Move gcc version check. 2010-04-06 08:22:28 -07:00
Adam Vandenberg
11e779d917 Check both gcc's 2010-04-06 08:22:28 -07:00
Adam Vandenberg
76dac059ac Move port/fink check. 2010-04-06 08:22:28 -07:00
Adam Vandenberg
71f9d74adf Move X11 check. 2010-04-06 08:22:28 -07:00
Adam Vandenberg
4643f0171b Move dylib check. 2010-04-06 08:22:27 -07:00
Adam Vandenberg
21aaf5d9ea Move brew doctor to its own source file; will get bigger. 2010-04-06 08:22:27 -07:00