Re: SV: php5 port seems broken

2012-01-25 Thread Tim Dunphy
yes I did.I put these lines into httpd.conf


AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

and that did the trick. Thanks again list!

tim

- Original Message -
From: "Hasse Hansson" 
To: "Tim Kellers" , freebsd-questions@freebsd.org
Sent: Monday, January 23, 2012 6:24:36 AM
Subject: SV: php5 port seems broken



-Oprindelig meddelelse-
Fra: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] På vegne af Tim Kellers
Sendt: den 23 januari 2012 02:04
Til: freebsd-questions@freebsd.org
Emne: Re: php5 port seems broken

On 1/22/12 7:50 PM, Tim Dunphy wrote:
> Hello again,
>
> Thanks for your input. Before attempting to install php on this machine I 
> updated my ports tree with csvsup. But following the steps in this article 
> helped me to get past this point.
>
>
> http://icesquare.com/wordpress/freebsdproblem-to-update-php-port/
>
> Which was basically:
>
> #sudo rm -Rf /var/db/portsnap/*
> #sudo portsnap fetch extract
> #sudo portsnap fetch update
> #cd /usr/ports/distfiles/
> #sudo wget http://fi.php.net/distributions/php-5.3.9.tar.bz2
> #cd /usr/ports/lang/php5
> #sudo make
>
>
> That was all I had to do. :)
>
> However I'm onto a new stumbling block, so if you're still tuned in I hope 
> you don't mind if I bounce this off the list.
>
> It seems that Apache 2.2 is not recognizing PHP now that it's installed.
>
> If I go to a php test page in a web browser this is all I see:
>
> 
> // Show all information, defaults to INFO_ALL phpinfo();
>
> // Show just the module information.
> // phpinfo(8) yields identical results.
> phpinfo(INFO_MODULES);
>
> ?>
>
>
> These are the contents of the file I am hitting:
>
> 
> // Show all information, defaults to INFO_ALL phpinfo();
>
> // Show just the module information.
> // phpinfo(8) yields identical results.
> phpinfo(INFO_MODULES);
>
> ?>
>
>
>
> I checked to see that in my main apache config file (httpd.conf) I have this 
> line:
>
>
> LoadModule php5_modulelibexec/apache22/libphp5.so
>
> And of course I've restarted apache after installing the php5 port. :)
>
> And since apache isn't even recognizing php at this point hitting the test 
> page does not generate any errors in the error logs.
>
> Any thoughts/hits/suggestions from here?
>
> thanks
> tim
>
>
>
>
> - Original Message -
> From: "RW"
> To: freebsd-questions@freebsd.org
> Sent: Sunday, January 22, 2012 7:07:21 PM
> Subject: Re: php5 port seems broken
>
> On Sun, 22 Jan 2012 18:01:29 -0500
> Tim Kellers wrote:
>
>> On 1/22/12 5:35 PM, Tim Dunphy wrote:
>>> Hello list,
>>>
>>>I'm attempting to install php5 from my ports tree. I've attempted
>>> the latest version ( 5.3.9 located in /usr/ports/lang/php5) and the
>>> 'latest stable' (5.2.17 located in /usr/ports/lang/php52). The
>>> result is pretty much the same:
>>> suhosin-patch-5.3.9-0.9.10.patch.gz. ===>Giving up on fetching
>>> files: php-5.3.9.tar.bz2 Make sure the Makefile and distinfo file
>>> (/usr/ports/lang/php5/distinfo) are up to date.  If you are
>>> absolutely sure you want to override this check, type "make
>>> NO_CHECKSUM=yes [other args]". *** Error code 1
>>>
>> I just portupgraded my php5 this morning and I was able to fetch the
>> distfile without trouble.  It might just be a partially dled file and
>> a checksum mismatch.
> if you do a "make checksum" it will download the file or resume a
> partial download before checking the hash.
>
>
>> You can try (as root)
>> rm -rf /usr/ports/distfiles/php-5.3.9.tar.bz2
>>
>> and cd /usr/ports/lang/php5&&  make clean&&  make install clean
> or make distclean
>
>> If that gets you past the checksum error, you should be able to build
>> it successfully.
> Probably the ports tree needs to be updated to pick-up an updated hash
> value.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
>
Did you out this in httpd.conf?

from pkg-message.mod:

***

SV: php5 port seems broken

2012-01-23 Thread Hasse Hansson


-Oprindelig meddelelse-
Fra: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] På vegne af Tim Kellers
Sendt: den 23 januari 2012 02:04
Til: freebsd-questions@freebsd.org
Emne: Re: php5 port seems broken

On 1/22/12 7:50 PM, Tim Dunphy wrote:
> Hello again,
>
> Thanks for your input. Before attempting to install php on this machine I 
> updated my ports tree with csvsup. But following the steps in this article 
> helped me to get past this point.
>
>
> http://icesquare.com/wordpress/freebsdproblem-to-update-php-port/
>
> Which was basically:
>
> #sudo rm -Rf /var/db/portsnap/*
> #sudo portsnap fetch extract
> #sudo portsnap fetch update
> #cd /usr/ports/distfiles/
> #sudo wget http://fi.php.net/distributions/php-5.3.9.tar.bz2
> #cd /usr/ports/lang/php5
> #sudo make
>
>
> That was all I had to do. :)
>
> However I'm onto a new stumbling block, so if you're still tuned in I hope 
> you don't mind if I bounce this off the list.
>
> It seems that Apache 2.2 is not recognizing PHP now that it's installed.
>
> If I go to a php test page in a web browser this is all I see:
>
> 
> // Show all information, defaults to INFO_ALL phpinfo();
>
> // Show just the module information.
> // phpinfo(8) yields identical results.
> phpinfo(INFO_MODULES);
>
> ?>
>
>
> These are the contents of the file I am hitting:
>
> 
> // Show all information, defaults to INFO_ALL phpinfo();
>
> // Show just the module information.
> // phpinfo(8) yields identical results.
> phpinfo(INFO_MODULES);
>
> ?>
>
>
>
> I checked to see that in my main apache config file (httpd.conf) I have this 
> line:
>
>
> LoadModule php5_modulelibexec/apache22/libphp5.so
>
> And of course I've restarted apache after installing the php5 port. :)
>
> And since apache isn't even recognizing php at this point hitting the test 
> page does not generate any errors in the error logs.
>
> Any thoughts/hits/suggestions from here?
>
> thanks
> tim
>
>
>
>
> - Original Message -
> From: "RW"
> To: freebsd-questions@freebsd.org
> Sent: Sunday, January 22, 2012 7:07:21 PM
> Subject: Re: php5 port seems broken
>
> On Sun, 22 Jan 2012 18:01:29 -0500
> Tim Kellers wrote:
>
>> On 1/22/12 5:35 PM, Tim Dunphy wrote:
>>> Hello list,
>>>
>>>I'm attempting to install php5 from my ports tree. I've attempted 
>>> the latest version ( 5.3.9 located in /usr/ports/lang/php5) and the 
>>> 'latest stable' (5.2.17 located in /usr/ports/lang/php52). The 
>>> result is pretty much the same:
>>> suhosin-patch-5.3.9-0.9.10.patch.gz. ===>Giving up on fetching
>>> files: php-5.3.9.tar.bz2 Make sure the Makefile and distinfo file
>>> (/usr/ports/lang/php5/distinfo) are up to date.  If you are 
>>> absolutely sure you want to override this check, type "make 
>>> NO_CHECKSUM=yes [other args]". *** Error code 1
>>>
>> I just portupgraded my php5 this morning and I was able to fetch the 
>> distfile without trouble.  It might just be a partially dled file and 
>> a checksum mismatch.
> if you do a "make checksum" it will download the file or resume a 
> partial download before checking the hash.
>
>
>> You can try (as root)
>> rm -rf /usr/ports/distfiles/php-5.3.9.tar.bz2
>>
>> and cd /usr/ports/lang/php5&&  make clean&&  make install clean
> or make distclean
>
>> If that gets you past the checksum error, you should be able to build 
>> it successfully.
> Probably the ports tree needs to be updated to pick-up an updated hash 
> value.
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
>
Did you out this in httpd.conf?

from pkg-message.mod:

***

Make sure index.php is part of your DirectoryIndex.

You should add the following to your Apache configuration file:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

***


Tim Kellers
___
freebsd-quest

Re: php5 port seems broken

2012-01-23 Thread Michael Powell
Tim Kellers wrote:

> On 1/22/12 5:35 PM, Tim Dunphy wrote:
>> Hello list,
>>
>>   I'm attempting to install php5 from my ports tree. I've attempted the
>>   latest version ( 5.3.9 located in /usr/ports/lang/php5) and the 'latest
>>   stable' (5.2.17 located in /usr/ports/lang/php52). The result is pretty
>>   much the same:
[snip]
>> =>  php-5.3.9.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
>> =>  Attempting to fetch http://dk.php.net/distributions/php-5.3.9.tar.bz2
>> fetch: http://dk.php.net/distributions/php-5.3.9.tar.bz2: Requested Range
>> Not Satisfiable
>> =>  Attempting to fetch http://de.php.net/distributions/php-5.3.9.tar.bz2
>> fetch: http://de.php.net/distributions/php-5.3.9.tar.bz2: Requested Range
>> Not Satisfiable
>> =>  Attempting to fetch http://es.php.net/distributions/php-5.3.9.tar.bz2
>> fetch: http://es.php.net/distributions/php-5.3.9.tar.bz2: Requested Range
>> Not Satisfiable
>> =>  Attempting to fetch http://fi.php.net/distributions/php-5.3.9.tar.bz2
>> fetch: http://fi.php.net/distributions/php-5.3.9.tar.bz2: Requested Range
>> Not Satisfiable
>> =>  Attempting to fetch http://fr.php.net/distributions/php-5.3.9.tar.bz2
[snip]

When I went to portupgrade mine on 16 Jan I experienced exactly the same. I 
ended up locating the tarball somewhere, downloaded it, and placed it in 
distfiles manually. Then the portupgrade went without hitch.

>> I was just wondering if anyone might have a guess as to why this wasn't
>> working?

My bet is bad links pointing at a bad tarball.

[snip]
> I just portupgraded my php5 this morning and I was able to fetch the
> distfile without trouble.  It might just be a partially dled file and a
> checksum mismatch.

Sounds like the situation was discovered fairly quick and corrected.

[snip]

-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: php5 port seems broken

2012-01-22 Thread Tim Dunphy
hey guys,

problem solved. 


AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


that was the magic formula.

apache seems to be dealing with apache correctly and rendering php.


thanks
tim

- Original Message -
From: "Tim Kellers" 
To: freebsd-questions@freebsd.org
Sent: Sunday, January 22, 2012 8:03:44 PM
Subject: Re: php5 port seems broken

On 1/22/12 7:50 PM, Tim Dunphy wrote:
> Hello again,
>
> Thanks for your input. Before attempting to install php on this machine I 
> updated my ports tree with csvsup. But following the steps in this article 
> helped me to get past this point.
>
>
> http://icesquare.com/wordpress/freebsdproblem-to-update-php-port/
>
> Which was basically:
>
> #sudo rm -Rf /var/db/portsnap/*
> #sudo portsnap fetch extract
> #sudo portsnap fetch update
> #cd /usr/ports/distfiles/
> #sudo wget http://fi.php.net/distributions/php-5.3.9.tar.bz2
> #cd /usr/ports/lang/php5
> #sudo make
>
>
> That was all I had to do. :)
>
> However I'm onto a new stumbling block, so if you're still tuned in I hope 
> you don't mind if I bounce this off the list.
>
> It seems that Apache 2.2 is not recognizing PHP now that it's installed.
>
> If I go to a php test page in a web browser this is all I see:
>
> 
> // Show all information, defaults to INFO_ALL
> phpinfo();
>
> // Show just the module information.
> // phpinfo(8) yields identical results.
> phpinfo(INFO_MODULES);
>
> ?>
>
>
> These are the contents of the file I am hitting:
>
> 
> // Show all information, defaults to INFO_ALL
> phpinfo();
>
> // Show just the module information.
> // phpinfo(8) yields identical results.
> phpinfo(INFO_MODULES);
>
> ?>
>
>
>
> I checked to see that in my main apache config file (httpd.conf) I have this 
> line:
>
>
> LoadModule php5_modulelibexec/apache22/libphp5.so
>
> And of course I've restarted apache after installing the php5 port. :)
>
> And since apache isn't even recognizing php at this point hitting the test 
> page does not generate any errors in the error logs.
>
> Any thoughts/hits/suggestions from here?
>
> thanks
> tim
>
>
>
>
> - Original Message -
> From: "RW"
> To: freebsd-questions@freebsd.org
> Sent: Sunday, January 22, 2012 7:07:21 PM
> Subject: Re: php5 port seems broken
>
> On Sun, 22 Jan 2012 18:01:29 -0500
> Tim Kellers wrote:
>
>> On 1/22/12 5:35 PM, Tim Dunphy wrote:
>>> Hello list,
>>>
>>>I'm attempting to install php5 from my ports tree. I've attempted
>>> the latest version ( 5.3.9 located in /usr/ports/lang/php5) and the
>>> 'latest stable' (5.2.17 located in /usr/ports/lang/php52). The
>>> result is pretty much the same:
>>> suhosin-patch-5.3.9-0.9.10.patch.gz. ===>Giving up on fetching
>>> files: php-5.3.9.tar.bz2 Make sure the Makefile and distinfo file
>>> (/usr/ports/lang/php5/distinfo) are up to date.  If you are
>>> absolutely sure you want to override this check, type "make
>>> NO_CHECKSUM=yes [other args]". *** Error code 1
>>>
>> I just portupgraded my php5 this morning and I was able to fetch the
>> distfile without trouble.  It might just be a partially dled file and
>> a checksum mismatch.
> if you do a "make checksum" it will download the file or resume a
> partial download before checking the hash.
>
>
>> You can try (as root)
>> rm -rf /usr/ports/distfiles/php-5.3.9.tar.bz2
>>
>> and cd /usr/ports/lang/php5&&  make clean&&  make install clean
> or make distclean
>
>> If that gets you past the checksum error, you should be able to build
>> it successfully.
> Probably the ports tree needs to be updated to pick-up an updated hash
> value.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
>
Did you out this in httpd.conf?

from pkg-message.mod:

***

Make sure index.php is part of your DirectoryIndex.

You should add the following to your Apache configuration file:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

***


Tim Kellers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: php5 port seems broken

2012-01-22 Thread Tim Kellers

On 1/22/12 7:50 PM, Tim Dunphy wrote:

Hello again,

Thanks for your input. Before attempting to install php on this machine I 
updated my ports tree with csvsup. But following the steps in this article 
helped me to get past this point.


http://icesquare.com/wordpress/freebsdproblem-to-update-php-port/

Which was basically:

#sudo rm -Rf /var/db/portsnap/*
#sudo portsnap fetch extract
#sudo portsnap fetch update
#cd /usr/ports/distfiles/
#sudo wget http://fi.php.net/distributions/php-5.3.9.tar.bz2
#cd /usr/ports/lang/php5
#sudo make


That was all I had to do. :)

However I'm onto a new stumbling block, so if you're still tuned in I hope you 
don't mind if I bounce this off the list.

It seems that Apache 2.2 is not recognizing PHP now that it's installed.

If I go to a php test page in a web browser this is all I see:




These are the contents of the file I am hitting:





I checked to see that in my main apache config file (httpd.conf) I have this 
line:


LoadModule php5_modulelibexec/apache22/libphp5.so

And of course I've restarted apache after installing the php5 port. :)

And since apache isn't even recognizing php at this point hitting the test page 
does not generate any errors in the error logs.

Any thoughts/hits/suggestions from here?

thanks
tim




- Original Message -
From: "RW"
To: freebsd-questions@freebsd.org
Sent: Sunday, January 22, 2012 7:07:21 PM
Subject: Re: php5 port seems broken

On Sun, 22 Jan 2012 18:01:29 -0500
Tim Kellers wrote:


On 1/22/12 5:35 PM, Tim Dunphy wrote:

Hello list,

   I'm attempting to install php5 from my ports tree. I've attempted
the latest version ( 5.3.9 located in /usr/ports/lang/php5) and the
'latest stable' (5.2.17 located in /usr/ports/lang/php52). The
result is pretty much the same:
suhosin-patch-5.3.9-0.9.10.patch.gz. ===>Giving up on fetching
files: php-5.3.9.tar.bz2 Make sure the Makefile and distinfo file
(/usr/ports/lang/php5/distinfo) are up to date.  If you are
absolutely sure you want to override this check, type "make
NO_CHECKSUM=yes [other args]". *** Error code 1


I just portupgraded my php5 this morning and I was able to fetch the
distfile without trouble.  It might just be a partially dled file and
a checksum mismatch.

if you do a "make checksum" it will download the file or resume a
partial download before checking the hash.



You can try (as root)
rm -rf /usr/ports/distfiles/php-5.3.9.tar.bz2

and cd /usr/ports/lang/php5&&  make clean&&  make install clean

or make distclean


If that gets you past the checksum error, you should be able to build
it successfully.

Probably the ports tree needs to be updated to pick-up an updated hash
value.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"



Did you out this in httpd.conf?

from pkg-message.mod:

***

Make sure index.php is part of your DirectoryIndex.

You should add the following to your Apache configuration file:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

***


Tim Kellers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: php5 port seems broken

2012-01-22 Thread Da Rock

On 01/23/12 10:50, Tim Dunphy wrote:

Hello again,

Thanks for your input. Before attempting to install php on this machine I 
updated my ports tree with csvsup. But following the steps in this article 
helped me to get past this point.


http://icesquare.com/wordpress/freebsdproblem-to-update-php-port/

Which was basically:

#sudo rm -Rf /var/db/portsnap/*
#sudo portsnap fetch extract
#sudo portsnap fetch update
#cd /usr/ports/distfiles/
#sudo wget http://fi.php.net/distributions/php-5.3.9.tar.bz2
#cd /usr/ports/lang/php5
#sudo make


That was all I had to do. :)

However I'm onto a new stumbling block, so if you're still tuned in I hope you 
don't mind if I bounce this off the list.

It seems that Apache 2.2 is not recognizing PHP now that it's installed.

If I go to a php test page in a web browser this is all I see:




These are the contents of the file I am hitting:





I checked to see that in my main apache config file (httpd.conf) I have this 
line:


LoadModule php5_modulelibexec/apache22/libphp5.so

And of course I've restarted apache after installing the php5 port. :)

And since apache isn't even recognizing php at this point hitting the test page 
does not generate any errors in the error logs.
Check your mimetypes definition for application/x-httpd-php and 
application/x-httpd-php-source (I think. cat ports/lang/php5/pkg-message 
for details)?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: php5 port seems broken

2012-01-22 Thread Tim Dunphy
Hello again,

Thanks for your input. Before attempting to install php on this machine I 
updated my ports tree with csvsup. But following the steps in this article 
helped me to get past this point.


http://icesquare.com/wordpress/freebsdproblem-to-update-php-port/

Which was basically:

#sudo rm -Rf /var/db/portsnap/*
#sudo portsnap fetch extract
#sudo portsnap fetch update
#cd /usr/ports/distfiles/
#sudo wget http://fi.php.net/distributions/php-5.3.9.tar.bz2
#cd /usr/ports/lang/php5
#sudo make


That was all I had to do. :)

However I'm onto a new stumbling block, so if you're still tuned in I hope you 
don't mind if I bounce this off the list. 

It seems that Apache 2.2 is not recognizing PHP now that it's installed. 

If I go to a php test page in a web browser this is all I see:




These are the contents of the file I am hitting:





I checked to see that in my main apache config file (httpd.conf) I have this 
line:


LoadModule php5_modulelibexec/apache22/libphp5.so

And of course I've restarted apache after installing the php5 port. :)

And since apache isn't even recognizing php at this point hitting the test page 
does not generate any errors in the error logs.

Any thoughts/hits/suggestions from here?

thanks
tim




- Original Message -
From: "RW" 
To: freebsd-questions@freebsd.org
Sent: Sunday, January 22, 2012 7:07:21 PM
Subject: Re: php5 port seems broken

On Sun, 22 Jan 2012 18:01:29 -0500
Tim Kellers wrote:

> On 1/22/12 5:35 PM, Tim Dunphy wrote:
> > Hello list,
> >
> >   I'm attempting to install php5 from my ports tree. I've attempted
> > the latest version ( 5.3.9 located in /usr/ports/lang/php5) and the
> > 'latest stable' (5.2.17 located in /usr/ports/lang/php52). The
> > result is pretty much the same:

> > suhosin-patch-5.3.9-0.9.10.patch.gz. ===>   Giving up on fetching
> > files: php-5.3.9.tar.bz2 Make sure the Makefile and distinfo file
> > (/usr/ports/lang/php5/distinfo) are up to date.  If you are
> > absolutely sure you want to override this check, type "make
> > NO_CHECKSUM=yes [other args]". *** Error code 1
> >

> I just portupgraded my php5 this morning and I was able to fetch the 
> distfile without trouble.  It might just be a partially dled file and
> a checksum mismatch.

if you do a "make checksum" it will download the file or resume a
partial download before checking the hash.


> You can try (as root)
> rm -rf /usr/ports/distfiles/php-5.3.9.tar.bz2
> 
> and cd /usr/ports/lang/php5 && make clean && make install clean

or make distclean

> If that gets you past the checksum error, you should be able to build
> it successfully.

Probably the ports tree needs to be updated to pick-up an updated hash
value.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: php5 port seems broken

2012-01-22 Thread RW
On Sun, 22 Jan 2012 18:01:29 -0500
Tim Kellers wrote:

> On 1/22/12 5:35 PM, Tim Dunphy wrote:
> > Hello list,
> >
> >   I'm attempting to install php5 from my ports tree. I've attempted
> > the latest version ( 5.3.9 located in /usr/ports/lang/php5) and the
> > 'latest stable' (5.2.17 located in /usr/ports/lang/php52). The
> > result is pretty much the same:

> > suhosin-patch-5.3.9-0.9.10.patch.gz. ===>   Giving up on fetching
> > files: php-5.3.9.tar.bz2 Make sure the Makefile and distinfo file
> > (/usr/ports/lang/php5/distinfo) are up to date.  If you are
> > absolutely sure you want to override this check, type "make
> > NO_CHECKSUM=yes [other args]". *** Error code 1
> >

> I just portupgraded my php5 this morning and I was able to fetch the 
> distfile without trouble.  It might just be a partially dled file and
> a checksum mismatch.

if you do a "make checksum" it will download the file or resume a
partial download before checking the hash.


> You can try (as root)
> rm -rf /usr/ports/distfiles/php-5.3.9.tar.bz2
> 
> and cd /usr/ports/lang/php5 && make clean && make install clean

or make distclean

> If that gets you past the checksum error, you should be able to build
> it successfully.

Probably the ports tree needs to be updated to pick-up an updated hash
value.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: php5 port seems broken

2012-01-22 Thread Tim Kellers

On 1/22/12 5:35 PM, Tim Dunphy wrote:

Hello list,

  I'm attempting to install php5 from my ports tree. I've attempted the latest 
version ( 5.3.9 located in /usr/ports/lang/php5) and the 'latest stable' 
(5.2.17 located in /usr/ports/lang/php52). The result is pretty much the same:

[root@LBSD2:/usr/ports/lang/php5] #make install
===>   Vulnerability check disabled, database not found
===>   License check disabled, port has not defined LICENSE
===>   Found saved configuration for php5-5.3.9
===>   Extracting for php5-5.3.9
=>  SHA256 Checksum mismatch for php-5.3.9.tar.bz2.
=>  SHA256 Checksum OK for suhosin-patch-5.3.9-0.9.10.patch.gz.
===>   Refetch for 1 more times files: php-5.3.9.tar.bz2
===>   Vulnerability check disabled, database not found
===>   License check disabled, port has not defined LICENSE
===>   Found saved configuration for php5-5.3.9
=>  php-5.3.9.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=>  Attempting to fetch http://dk.php.net/distributions/php-5.3.9.tar.bz2
fetch: http://dk.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not 
Satisfiable
=>  Attempting to fetch http://de.php.net/distributions/php-5.3.9.tar.bz2
fetch: http://de.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not 
Satisfiable
=>  Attempting to fetch http://es.php.net/distributions/php-5.3.9.tar.bz2
fetch: http://es.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not 
Satisfiable
=>  Attempting to fetch http://fi.php.net/distributions/php-5.3.9.tar.bz2
fetch: http://fi.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not 
Satisfiable
=>  Attempting to fetch http://fr.php.net/distributions/php-5.3.9.tar.bz2
===>   Vulnerability check disabled, database not found
===>   License check disabled, port has not defined LICENSE
===>   Found saved configuration for php5-5.3.9
=>  SHA256 Checksum mismatch for php-5.3.9.tar.bz2.
=>  SHA256 Checksum OK for suhosin-patch-5.3.9-0.9.10.patch.gz.
===>   Giving up on fetching files: php-5.3.9.tar.bz2
Make sure the Makefile and distinfo file (/usr/ports/lang/php5/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1

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

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

Stop in /usr/ports/lang/php5.


I was just wondering if anyone might have a guess as to why this wasn't working?

thanks
tim
I just portupgraded my php5 this morning and I was able to fetch the 
distfile without trouble.  It might just be a partially dled file and a 
checksum mismatch.


You can try (as root)
rm -rf /usr/ports/distfiles/php-5.3.9.tar.bz2

and cd /usr/ports/lang/php5 && make clean && make install clean

If that gets you past the checksum error, you should be able to build it 
successfully.


Tim Kellers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


php5 port seems broken

2012-01-22 Thread Tim Dunphy
Hello list,

 I'm attempting to install php5 from my ports tree. I've attempted the latest 
version ( 5.3.9 located in /usr/ports/lang/php5) and the 'latest stable' 
(5.2.17 located in /usr/ports/lang/php52). The result is pretty much the same:

[root@LBSD2:/usr/ports/lang/php5] #make install
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for php5-5.3.9
===>  Extracting for php5-5.3.9
=> SHA256 Checksum mismatch for php-5.3.9.tar.bz2.
=> SHA256 Checksum OK for suhosin-patch-5.3.9-0.9.10.patch.gz.
===>  Refetch for 1 more times files: php-5.3.9.tar.bz2
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for php5-5.3.9
=> php-5.3.9.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://dk.php.net/distributions/php-5.3.9.tar.bz2
fetch: http://dk.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not 
Satisfiable
=> Attempting to fetch http://de.php.net/distributions/php-5.3.9.tar.bz2
fetch: http://de.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not 
Satisfiable
=> Attempting to fetch http://es.php.net/distributions/php-5.3.9.tar.bz2
fetch: http://es.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not 
Satisfiable
=> Attempting to fetch http://fi.php.net/distributions/php-5.3.9.tar.bz2
fetch: http://fi.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not 
Satisfiable
=> Attempting to fetch http://fr.php.net/distributions/php-5.3.9.tar.bz2
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for php5-5.3.9
=> SHA256 Checksum mismatch for php-5.3.9.tar.bz2.
=> SHA256 Checksum OK for suhosin-patch-5.3.9-0.9.10.patch.gz.
===>  Giving up on fetching files: php-5.3.9.tar.bz2
Make sure the Makefile and distinfo file (/usr/ports/lang/php5/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1

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

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

Stop in /usr/ports/lang/php5.


I was just wondering if anyone might have a guess as to why this wasn't working?

thanks
tim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"