[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] PHP Installation Problems (RAQ2)



> -----Original Message-----
> From: Steve Werby [mailto:steve-lists@xxxxxxxxxxxx]
> Sent: Tuesday, November 27, 2001 3:52 PM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] PHP Installation Problems (RAQ2)
> "Casselman, Chad" <ccasselman@xxxxxxxxxxxxxxx> wrote:
> > The make install fails because of this:
> <snip>
> > mkdir: cannot make directory `/usr/local/bin': File exists
> </snip>
> >
> > Can anyone give me some guidance or direction?
> 
> Chad, I'm not sure, but is there any possibility /usr/local/bin is a file
> and not a directory?  Do an 'ls -al /usr/local' and 'ls -al
/usr/local/bin'
> and post the results.

That is the problem.  It is a file, but I thought it is a file create by or
for the system and was needed, so I just thought that the installation was
trying to install somewhere it shouldn't be.  In other words a bad
installation.  When I "vi bin", it looks like a binary file.

Here is the results of those commands:
16:29:01 ~>ls -al /usr/local
total 53
drwxr-xr-x  16 root     root         1024 Nov  9 11:46 ./
drwxr-xr-x  24 root     root         1024 Jul  6 03:09 ../
-rwxrwxr-x   1 root     root        36559 Feb 23  2001 bin*
drwxr-xr-x   2 root     root         1024 Feb  6  1996 doc/
drwxr-xr-x   3 root     root         1024 Feb 23  2001 etc/
drwxr-xr-x   3 root     root         1024 Jul 17 07:05 frontpage/
drwxr-xr-x   2 root     root         1024 Feb  6  1996 games/
drwxrwxr-x   3 root     root         1024 Nov 21 14:39 include/
drwxrwxr-x   2 root     root         1024 Nov  9 15:53 info/
drwxr-xr-x   3 root     root         1024 Nov 27 11:24 lib/
drwxr-x--x   5 admin    daemon       1024 Jul 24 07:48 majordomo/
drwxr-xr-x  12 root     root         1024 Jun  6  1999 man/
drwxrwxr-x   2 root     root         1024 Jul 24 08:00 proftpd/
drwx------   3 root     root         1024 Sep 18 15:06 psionic/
drwxr-xr-x   2 root     root         1024 Nov 20 09:20 sbin/
drwxr-xr-x   2 root     root         1024 Feb  6  1996 src/
drwx------   4 root     root         1024 Nov 12 10:53 var/
16:29:18 ~>ls -al /usr/local/bin
-rwxrwxr-x   1 root     root        36559 Feb 23  2001 /usr/local/bin*

Any ideas how to fix this?

chad