Women in Technology

Hear us Roar



Article:
  Learning the Mac OS X Terminal, Part 4
Subject:   Addendum -- /usr/local/bin
Date:   2002-03-28 13:39:13
From:   network23
Response to: Addendum -- /usr/local/bin

Still not solved. I really hate knowing so little about this stuff that I can't even effectively troubleshoot simple stuff!


Re the other message: which cc returns /usr/bin/cc


I do have a bin directory. When I enter ls sbin (why sbin and not bin?) it says I don't have sbin.


ls returns...
bin include lib samba share


ls sbin returns...No such file or directory.


ll returns this...
drwxr-xr-x 7 root wheel 194 Sep 26 2001 .
drwxr-xr-x 10 root wheel 296 Sep 2 2001 ..
drwxr-xr-x 30 root wheel 976 Jan 29 10:43 bin
drwxr-xr-x 3 root wheel 264 Sep 26 2001 include
drwxr-xr-x 4 root wheel 264 Sep 26 2001 lib
drwxr-xr-x 9 root wheel 264 Apr 20 2001 samba
drwxr-xr-x 3 root wheel 264 Apr 1 2001 share


but ll bin returns this (truncated for length)


total 972
drwxr-xr-x 30 root wheel 976 Jan 29 10:43 .
drwxr-xr-x 7 root wheel 194 Sep 26 2001 ..
lrwxr-xr-x 1 root wheel 33 Jan 29 10:43 addtosmbpass -> /usr/local/samba/bin/addtosmbpass
lrwxr-xr-x 1 root wheel 38 Jan 29 10:43 convert_smbpasswd -> /usr/local/samba/bin/convert_s
mbpasswd
-rwxr-xr-x 1 rmartin staff 207208 Mar 9 2001 df
-rwxr-xr-x 1 rmartin staff 174612 Mar 9 2001 dircolors
-rwxr-xr-x 1 rmartin staff 204092 Mar 9 2001 du
-rwxr-xr-x 1 rmartin staff 303720 Mar 9 2001 ls
lrwxr-xr-x 1 root wheel 36 Jan 29 10:43 make_printerdef -> /usr/local/samba/bin/make_printe
rdef
lrwxr-xr-x 1 root wheel 37 Jan 29 10:43 make_smbcodepage -> /usr/local/samba/bin/make_smbco
depage
lrwxr-xr-x 1 root wheel 36 Jan 29 10:43 make_unicodemap -> /usr/local/samba/bin/make_unicod
emap
lrwxr-xr-x 1 root wheel 25 Jan 29 10:43 nmbd -> /usr/local/samba/bin/nmbd
lrwxr-xr-x 1 root wheel 30 Jan 29 10:43 nmblookup -> /usr/local/samba/bin/nmblookup
-rwxr-xr-x 1 root wheel 1591 Sep 26 2001 pear
-rwxr-xr-x 1 root wheel 474 Sep 26 2001 php-config
-rwxr-xr-x 1 root wheel 593 Sep 26 2001 phpextdist


Why such an apparently different list of files.


Anyway, it appears that I have bin and it is a directory. As you can probably tell, I installed Samba at one point, if that makes a difference.

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Chris Stone photo Addendum -- /usr/local/bin
    2002-03-28 15:53:57  Chris Stone | O'Reilly AuthorO'Reilly Blogger [View]

    Actually , this addendum was not meant to address your compile issue, so if you have a /usr/local/bin directory, you're all set as far as that's concerned.

    Have you tried re-installing the most recent Dev Tools?

    --Chris
    • Addendum -- /usr/local/bin
      2002-04-02 07:03:34  network23 [View]

      Have you tried re-installing the most recent Dev Tools?

      All I've installed is the Dev Tools that came on the CD that came with my G4.
    • Addendum -- still no compile!
      2002-03-31 22:22:38  rberg [View]

      I am also still having problems.

      (1) When I try ./configure from the streamripper directory I get: loading site script /usr/local/etc/config.site
      loading cache ./config.cache
      checking for gcc... /usr/bin/gcc --traditional-cpp
      checking whether the C compiler (/usr/bin/gcc --traditional-cpp ) works... no
      configure: error: installation or configuration problem: C compiler cannot create executables.

      (2) /usr/local/bin exists as a directory (with many entires) with is owned by root and group wheel.

      (3) I have reinstalled developer tools from the CD ver 10.1 September 2001. My system version is 10.1.3

      What do I try next?

      What exactly does the error message mean?