17b87 [Solved] build php5-5.2.8 on FreeBSD7.1RC2 - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old December 26th, 2008, 17:14
fbsd24h's Avatar
fbsd24h fbsd24h is offline
Junior Member
 
Join Date: Nov 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default build php5-5.2.8 on FreeBSD7.1RC2

...
** Missing pkg-descr for php5-5.2.8.
*** Error code 1

Stop in /usr/ports/lang/php5

================================================== =====
How to resolve this ?
Reply With Quote
  #2  
Old December 27th, 2008, 03:04
danger@'s Avatar
danger@ danger@ is offline
FreeBSD Developer
 
Join Date: Oct 2007
Location: Bratislava, Slovakia
Posts: 774
Thanks: 4
Thanked 165 Times in 84 Posts
Default

try following command:
# portsnap fetch update
__________________
Looking for administrator? http://www.syscare.sk
Reply With Quote
  #3  
Old December 27th, 2008, 03:49
fbsd24h's Avatar
fbsd24h fbsd24h is offline
Junior Member
 
Join Date: Nov 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

nothing change , error still happen
anyone suggest anything to resolve ?
Reply With Quote
  #4  
Old December 27th, 2008, 03:54
danger@'s Avatar
danger@ danger@ is offline
FreeBSD Developer
 
Join Date: Oct 2007
Location: Bratislava, Slovakia
Posts: 774
Thanks: 4
Thanked 165 Times in 84 Posts
Default

http://www.freebsd.org/cgi/cvsweb.cg...php5/pkg-descr

download the latest version and place it to the /usr/ports/lang/php5 folder...
__________________
Looking for administrator? http://www.syscare.sk
Reply With Quote
  #5  
Old December 27th, 2008, 04:09
fbsd24h's Avatar
fbsd24h fbsd24h is offline
Junior Member
 
Join Date: Nov 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

install BIND94 ports this error still happen
...
** Missing pkg-descr for bind94-base-9.4.3.
*** Error code 1

=============================

I don't know where this error occur ?
Reply With Quote
  #6  
Old December 27th, 2008, 04:15
fbsd24h's Avatar
fbsd24h fbsd24h is offline
Junior Member
 
Join Date: Nov 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by danger@ View Post
http://www.freebsd.org/cgi/cvsweb.cg...php5/pkg-descr

download the latest version and place it to the /usr/ports/lang/php5 folder...
This pkg-descr file exist in /usr/ports/lang/php5 and the content is the same .
I think maybe this error come from error build ports system . Perhaps Ver 7.1 RELEASE will resolve this
Reply With Quote
  #7  
Old December 27th, 2008, 09:51
danger@'s Avatar
danger@ danger@ is offline
FreeBSD Developer
 
Join Date: Oct 2007
Location: Bratislava, Slovakia
Posts: 774
Thanks: 4
Thanked 165 Times in 84 Posts
Default

well if that is the only error message that is being printed, I would simply suggest to you to remove the whole /usr/ports (as it seems that something is damaged there) and do:

# portsnap fetch extract
__________________
Looking for administrator? http://www.syscare.sk
Reply With Quote
  #8  
Old December 27th, 2008, 13:35
fbsd24h's Avatar
fbsd24h fbsd24h is offline
Junior Member
 
Join Date: Nov 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

#cd /usr/ports/lang/php5
#make install clean
...
** Missing pkg-descr for m4-1.4.11,1.
*** Error code 1

I also use
#pkg_add -Kr m4
#cd /usr/ports/lang/php5
#make install clean
...
...
** Missing pkg-descr for p5-Locale-gettext
*** Error code 1

I also use
#pkg_add -Kr p5-gettext
#cd /usr/ports/lang/php5
#make install clean
...
...
** Missing pkg-descr for gmake-3.81_3
*** Error code 1

I also use
#pkg_add -Kr gmake
#cd /usr/ports/lang/php5
#make install clean
...
...
** Missing pkg-descr for help2man-1.36.4_2
*** Error code 1

I also use
#pkg_add -Kr help2man
#cd /usr/ports/lang/php5
#make install clean
...
...
** Missing pkg-descr for autoconf-wrapper-20071109
*** Error code 1

I also use
#pkg_add -Kr autoconf-wrapper
#cd /usr/ports/lang/php5
#make install clean
...
...
** Missing pkg-descr for autoconf-2.62
*** Error code 1

I also use
#pkg_add -Kr autoconf (error can not install cause file unvailable )
I downloaded autoconf-2.62 from ftp://ftp.freebsd.org/pub/FreeBSD/po...release/devel/ and install
#pkg_add autoconf-2.62
#cd /usr/ports/lang/php5
#make install clean
...
...
Build complete.
Don't forget to run 'make test '

===> Installing for php5-5.2.8
===> php5-5.2.8 depends on file : /usr/local/sbin/apxs - found
===> php5-5.2.8 depends on executable : pkg-config -found
===> Generating temporary packing list
** Missing pkg-descr for php5-5.2.8
*** Error code 1

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

Stop in /usr/ports/lang/php5

#make test
....
You may have found a problem in PHP
....
Do you want to send this report now ? [Yns] :Y
...
Thank you for helping to make PHP better
================================================== ============
I used
#portsnap fetch extract
like you suggest
but result like that .

Last edited by fbsd24h; December 27th, 2008 at 13:43.
Reply With Quote
  #9  
Old December 27th, 2008, 13:40
danger@'s Avatar
danger@ danger@ is offline
FreeBSD Developer
 
Join Date: Oct 2007
Location: Bratislava, Slovakia
Posts: 774
Thanks: 4
Thanked 165 Times in 84 Posts
Default

have you deleted the whole /usr/ports before running portsnap? i.e.
# rm -rf /usr/ports
__________________
Looking for administrator? http://www.syscare.sk
Reply With Quote
  #10  
Old December 27th, 2008, 13:51
fbsd24h's Avatar
fbsd24h fbsd24h is offline
Junior Member
 
Join Date: Nov 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not install ports when install FreeBSD 7.1 RC2
Reply With Quote
  #11  
Old December 28th, 2008, 05:58
edogawaconan's Avatar
edogawaconan edogawaconan is offline
Junior Member
 
Join Date: Nov 2008
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Default

Code:
# rm -rf /usr/ports
# portsnap fetch extract
# cd /usr/ports/ports-mgmt/portupgrade && make install
# rehash
# portinstall php5
that's how I did it.
Reply With Quote
  #12  
Old December 28th, 2008, 10:45
kamikaze's Avatar
kamikaze kamikaze is offline
Member
 
Join Date: Nov 2008
Location: /earth/europe/germany
Posts: 366
Thanks: 6
Thanked 66 Times in 45 Posts
Default

I think there's something wrong in your make.conf or in your environment. Can you show us the contents of your make.conf and the output of the # printenv command?
__________________
sysutils/bsdadminscripts: binary package maintenance, library integrity checking, ...
sysutils/automounter: amd(8) based automounting without HAL
contact: kamikaze@bsdforen.de

Disclaimer: My posts represent my perception. Errors and incompleteness are to be expected, I deny any responsibility to know everything.
Reply With Quote
  #13  
Old January 5th, 2009, 15:42
fbsd24h's Avatar
fbsd24h fbsd24h is offline
Junior Member
 
Join Date: Nov 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Still errors on FreeBSD 7.1-RELEASE

I DO NOT WHY THIS VERSION HAVE TOO BAD PORTS THAN THE OTHERS .

** Missing pkg-descr for packages : m4 , p5-gettext , gmake , help2man , autoconf-wrapper , autoconf262 , php5-5.2.8
*** Error code 1

----------------
Someone install AMP successful ? Please help details step-by-step �e
Reply With Quote
  #14  
Old January 6th, 2009, 14:30
fbsd24h's Avatar
fbsd24h fbsd24h is offline
Junior Member
 
Join Date: Nov 2008
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default No Error occur

ok , no errors when build packages
problem occurs when I set PKGDIR environment variable �e
Reply With Quote
  #15  
Old March 27th, 2011, 07:30
jinlxz jinlxz is offline
Junior Member
 
Join Date: Feb 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Default

yes, I got the same problem and resolved it when i cleared PKGDIR environment variable.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] PHP5 upgrade problems - php5-pcre Ronaldr Installation and Maintenance of FreeBSD Ports or Packages 8 November 5th, 2010 08:28
[Solved] php5-imap-5.3.3 from port: build errors jotawski Installation and Maintenance of FreeBSD Ports or Packages 6 August 3rd, 2010 23:22
[Solved] wpa_supplicant and dhclient (8.1RC2) martinrame Mobile Computing 4 July 12th, 2010 19:40
What packages are used for NFS (freeBSD7.2) Detective Web & Network Services 0 June 27th, 2009 04:59
freebsd7.0 upgrade to 7.1 error DRILL Installing & Upgrading 3 February 3rd, 2009 12:50


All times are GMT +1. The time now is 23:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0