Re: broken port with no makefile?

2006-05-19 Thread Kris Kennaway
On Fri, May 19, 2006 at 02:00:01PM -0400, [EMAIL PROTECTED] wrote:
> I've been upgrading to the latest Apache & PHP versions, but seem to
> be unable to get PHP to work again.  The crux of the problem is that
> mod_php5 has no makefile and seems to be eternally stuck building,
> even after updating the whole collection:
> 
> $ su
>   [prompt edited out]
> $ cvsup /root/ports-supfile
> Connected to cvsup18.us.FreeBSD.org
> Updating collection ports-all/cvs
> Finished successfully
> $ cd /usr/ports/www/mod_php5; ls -aFl
> total 30
> drwxr-xr-x 3 root  wheel512 May 18 05:07 ./
> drwxr-xr-x  1056 root  wheel  25600 May 19 01:20 ../
> drwxr-xr-x 3 root  wheel512 Apr 16 13:28 work/

The port was removed but you still had a stale work directory there.
Just delete it.

Kris


pgpDBtqBisEfO.pgp
Description: PGP signature


Re: broken port with no makefile?

2006-05-19 Thread Matthew Seaman
[EMAIL PROTECTED] wrote:
> I've been upgrading to the latest Apache & PHP versions, but seem to
> be unable to get PHP to work again.  The crux of the problem is that
> mod_php5 has no makefile and seems to be eternally stuck building,
> even after updating the whole collection:

mod_php5 is dead.  It would be gone in your last cvsup, but because you
had an old work directory there from the last time you built it, the system
didn't delete the directory.

What you should do:

   i) Read /usr/ports/UPDATING -- OK, not necessarily *all* of it,
  but certainly the section dated 20060506 and addressed to 'users
  of PHP'

  ii) Follow the instructions there.  You might find it useful to run:

portupgrade -f -o lang/php5 mod_php5-{version.number}

  (if you're a portupgrade fan) but do the 'make config' thing in
  lang/php5 *first*.

Cheers,

Matthew




-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


broken port with no makefile?

2006-05-19 Thread nthwaver

I've been upgrading to the latest Apache & PHP versions, but seem to
be unable to get PHP to work again.  The crux of the problem is that
mod_php5 has no makefile and seems to be eternally stuck building,
even after updating the whole collection:

$ su
  [prompt edited out]
$ cvsup /root/ports-supfile
Connected to cvsup18.us.FreeBSD.org
Updating collection ports-all/cvs
Finished successfully
$ cd /usr/ports/www/mod_php5; ls -aFl
total 30
drwxr-xr-x 3 root  wheel512 May 18 05:07 ./
drwxr-xr-x  1056 root  wheel  25600 May 19 01:20 ../
drwxr-xr-x 3 root  wheel512 Apr 16 13:28 work/
$ make install
make: don't know how to make install. Stop
$ cd work; ls -aFl
total 10
drwxr-xr-x   3 root  wheel   512 Apr 16 13:28 ./
drwxr-xr-x   3 root  wheel   512 May 18 05:07 ../
-rw-r--r--   1 root  wheel 0 Apr 16 13:28
.build_done.mod_php5-5.0.4_2,1._usr_local
-rw-r--r--   1 root  wheel 0 Apr 16 13:27
.configure_done.mod_php5-5.0.4_2,1._usr_local
-rw-r--r--   1 root  wheel 0 Apr 16 13:27
.extract_done.mod_php5-5.0.4_2,1._usr_local
-rw-r--r--   1 root  wheel 0 Apr 16 13:27
.patch_done.mod_php5-5.0.4_2,1._usr_local
drwxr-xr-x  17 root  wheel  2560 May 19 01:35 php-5.0.4/
-rw-r--r--   1 root  wheel96 Apr 16 13:28 php.conf
$ make install
 [tries to run, crashes]
$ make deinstall
make: don't know how to make deinstall. Stop
$

I don't know why this junk is in the "work" dir, but I know it's an
older version I don't want anyway.  Can someone tell me how I can fix
this port so that I can compile it and get my webserver up again?

Thanks,
Jordan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"