Please help php5 can't install due to package

Code:
===>  Installing for pkgconf-0.8.6

===>  pkgconf-0.8.6 conflicts with installed package(s):
      pkg-config-0.25_1

      They install files into the same place.
      Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/devel/pkgconf.
*** Error code 1

Stop in /usr/ports/lang/php5.
*** Error code 1

Stop in /usr/ports/lang/php5.
Home#
:stud
 
Read /usr/ports/UPDATING:

Code:
20120726:
  AFFECTS: users of devel/pkg-config
  AUTHOR: bapt@FreeBSD.org

  devel/pkg-config has been replaced by devel/pkgconf

  # portmaster -o devel/pkgconf devel/pkg-config
  or
  # portupgrade -fo devel/pkgconf pkg-config-\*

  pkgng:
  # pkg set -o devel/pkg-config:devel/pkgconf
  # pkg install -f devel/pkgconf
 
I've tried this I am very very new to FreeBSD. I got Gnome installed, apache22, ftp and they all work now I am trying to get php and mysql.
Code:
Home# /usr/ports/UPDATING
/usr/ports/UPDATING: Permission denied.

SirDice said:
Read /usr/ports/UPDATING:

Code:
20120726:
  AFFECTS: users of devel/pkg-config
  AUTHOR: bapt@FreeBSD.org

  devel/pkg-config has been replaced by devel/pkgconf

  # portmaster -o devel/pkgconf devel/pkg-config
  or
  # portupgrade -fo devel/pkgconf pkg-config-\*

  pkgng:
  # pkg set -o devel/pkg-config:devel/pkgconf
  # pkg install -f devel/pkgconf
 
ok I got rid of that and got a new one which I did as it told me and it is still doing the same darn thing...
Code:
===>  Installing for pcre-8.31
===>   Generating temporary packing list
===>  Checking if devel/pcre already installed
===>   An older version of devel/pcre is already installed (pcre-8.20)
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of devel/pcre
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/devel/pcre.
*** Error code 1

Stop in /usr/ports/devel/pcre.
*** Error code 1

Stop in /usr/ports/lang/php5.
*** Error code 1

Stop in /usr/ports/lang/php5.
Home#
 
Don't bump threads tjk3042.

Read the message, it says it's already installed. Install ports-mgmt/portmaster, it'll make installing ports a little easier for you. Then use it like this to install lang/php5:

# portmaster lang/php5
 
Back
Top