Re: RFC: svn for make fetch

2009-11-13 Thread Eitan Adler
Actually I was thinking of eventually adding non-svn support as well

The reason I started on this project is because the version of mplayer in
ports is severely out of date. When I tried to update to port I noticed that
the project wants you to compile and install from svn. I also noticed a few
other ports that have hacks to let the maintainers use his/her custom
scripts stuck into the port's Makefile. I think it would be good if there
was some standardized way of solving both of these problems...

On Fri, Nov 13, 2009 at 3:10 AM, Wesley Shields w...@freebsd.org wrote:

 On Tue, Nov 10, 2009 at 10:28:17PM +0200, Eitan Adler wrote:
  Alright - I updated the wiki page to summarize the thread so far.
  I'd appreciate if people could comment on the spec part
  specifically. I'd like to see that section become much more specific
  (so that I could use it to unambiguously write something based off of
  it)
 
  I'm holding off on writing any new implementations at the moment to
  see where things head in terms of how things should be done.
  http://wiki.freebsd.org/EitanAdler/ports-svn

 Why only SVN? I'm not trying to be picky but if we start supporting this
 for SVN it's very easy to argue we should support it for some other VCS.
 Personally I think this kind of thing is best left up to the maintainer
 to use his/her custom scripts and not stuff support for it into the
 ports infrastructure.

 -- WXS

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


Re: security/gnupg installing pth-2.0.7 causing problems

2009-11-13 Thread David Southwell
 2009/11/9 David Southwell da...@vizion2000.net:
  2009/11/8 David Southwell da...@vizion2000.net:
 
  What puzzles me is why the gnupg maintainer is so reluctant to
  provide alternative options to using pth when there are both system
  libraries and libpthread-stubs-0.1 available as an alternative.
   Dependencuy upon libpthread-stubs-0.1 enables gnupg to function without
  causing unnecessary problems. My understand is the pth was written for
  those systems which do not have alternative  libraries for handling
  threads.
 
 My understanding is, stock gnupg dist depends on pth (even if
 described as optional).
 
 It seems using libpthread-stubs needs to modify configure script.  Do you
  have a patch for this?
 
I am not experienced at creating the scripts and am not confident in that 
area. My focus is on building and testing as many ports as possible and 
reporting problems!!!

The way I tackle the gnupg problem on my running systems is when gnupg is 
built I immediately delete pth and replace gnupg's dependency. However I get 
caught out when gnupg gets upgraded on systems during a portupgrade -a run and 
other ports become comprised due to the presence of pth!! It then takes a lot 
of effort to sort out resultant difficulties. On one occasion I had to 
completely rebuild all python ports and those dependent upon it. At first it 
seemed as though the problems were due to a screwed up python installation -- 
but the problems came from pth!

I would appreciate it if someone were able to produce an appropriate patch for 
this!!

Thanks in advance
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Question about creating a port for saga gis

2009-11-13 Thread Rainer Hurling
This is my first try to create a port and I may need some help. I am 
working on porting the linux version of SAGA GIS (see 
http://www.saga-gis.org/).


Unfortunately I have problems to let the port fetch the distfile. I 
tried many ways described in the porters handbook without success.


The distfile is located at

http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/saga_2.0.4_src_linux.tar.gz/download

I tried for example with combinations of

PORTNAME=  saga
PORTVERSION=   2.0.4
DISTNAME=  saga_2.0.4_src_linux
MASTER_SITES= 
http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/


but the main problem seems to be the '/download' after the filename.

Fetching the file by hand works but I have no clue how to describe this 
path in the ports Makefile.


Your help is greatly appreciated,
Rainer Hurling
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Question about creating a port for saga gis

2009-11-13 Thread Sergey V. Dyatko
В Fri, 13 Nov 2009 10:48:15 +0100
Rainer Hurling rhur...@gwdg.de пишет:

RH This is my first try to create a port and I may need some help. I
RH am working on porting the linux version of SAGA GIS (see 
RH http://www.saga-gis.org/).
RH 
RH Unfortunately I have problems to let the port fetch the distfile. I 
RH tried many ways described in the porters handbook without success.
RH 
RH The distfile is located at
RH 
RH 
http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/saga_2.0.4_src_linux.tar.gz/download
RH 
direct link is
http://$MIRROR/project/saga-gis/SAGA%20-%202.0/SAGA%202.0.4/saga_2.0.4_src_linux.tar.gz

RH I tried for example with combinations of
RH 
RH PORTNAME=  saga
RH PORTVERSION=   2.0.4
RH DISTNAME=  saga_2.0.4_src_linux
RH MASTER_SITES= 
RH http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/

MASTER_SITES= SF/${PORTNAME}-gis/SAGA%20-%202.0/SAGA%20${PORTVERSION}

RH but the main problem seems to be the '/download' after the filename.
RH 
RH Fetching the file by hand works but I have no clue how to describe
RH this path in the ports Makefile.
RH 
RH Your help is greatly appreciated,
RH Rainer Hurling



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


Re: Question about creating a port for saga gis

2009-11-13 Thread Eygene Ryabinkin
Rainer, good day.

Fri, Nov 13, 2009 at 10:48:15AM +0100, Rainer Hurling wrote:
 Unfortunately I have problems to let the port fetch the distfile. I 
 tried many ways described in the porters handbook without success.
 
 The distfile is located at
 
 http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/saga_2.0.4_src_linux.tar.gz/download

No, this is the location of the fancy page with ads that will allow one
to select mirrors and other stuff.  It will select the mirror
automatically, so you're seeing it as the download URL, but it's not so,
it is just a redirector.

 I tried for example with combinations of
 
 PORTNAME=  saga
 PORTVERSION=   2.0.4
 DISTNAME=  saga_2.0.4_src_linux
 MASTER_SITES= 
 http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/
 
 but the main problem seems to be the '/download' after the filename.
 
 Fetching the file by hand works but I have no clue how to describe this 
 path in the ports Makefile.

The following mini-Makefile does the trick for me:
-
PORTNAME=   saga
PORTVERSION=2.0.4
DISTNAME=   saga_2.0.4_src_linux
MASTER_SITES=   
SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION}/

CATEGORIES= devel

.include bsd.port.mk
-

Please, note that the SF word is expanded to the full list of the
SourceForge mirrors known to the FreeBSD ports subsystem, so you need
not to explicitely list any URLs -- just use SF for SourceForce
mirrors.

And the snippet I showed above is yet better rewritten as
-
PORTNAME=   saga
PORTVERSION=2.0.4
DISTNAME=   saga_2.0.4_src_linux
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= 
saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION}

CATEGORIES= devel

.include bsd.port.mk
-
It does the same, but has better semantics.
-- 
Eygene
 ____   _.--.   #
 \`.|\.....-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' ` ,   __.--'  #  to read the on-line manual
 )/' _/ \   `-_,   /#  while single-stepping the kernel.
 `-' `\_  ,_.-;_.-\_ ',  fsc/as   #
 _.-'_./   {_.'   ; /   #-- FreeBSD Developers handbook
{_.-``-' {_/#
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Question about creating a port for saga gis

2009-11-13 Thread Rainer Hurling

Eygene and Sergey,

thank you for your answers. Now I am able to fetch directly :-)

Am 13.11.2009 11:42 (UTC+1) schrieb Eygene Ryabinkin:

Rainer, good day.

Fri, Nov 13, 2009 at 10:48:15AM +0100, Rainer Hurling wrote:
Unfortunately I have problems to let the port fetch the distfile. I 
tried many ways described in the porters handbook without success.


The distfile is located at

http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/saga_2.0.4_src_linux.tar.gz/download


No, this is the location of the fancy page with ads that will allow one
to select mirrors and other stuff.  It will select the mirror
automatically, so you're seeing it as the download URL, but it's not so,
it is just a redirector.


I knew of the redirection method (because it had been discussed on 
ports@ for some days in september) but had no clues for the right 
notation ;-)



I tried for example with combinations of

PORTNAME=  saga
PORTVERSION=   2.0.4
DISTNAME=  saga_2.0.4_src_linux
MASTER_SITES= 
http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.0/SAGA%202.0.4/


but the main problem seems to be the '/download' after the filename.

Fetching the file by hand works but I have no clue how to describe this 
path in the ports Makefile.


The following mini-Makefile does the trick for me:
-
PORTNAME=   saga
PORTVERSION=2.0.4
DISTNAME=   saga_2.0.4_src_linux
MASTER_SITES=   
SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION}/

CATEGORIES= devel

.include bsd.port.mk
-

Please, note that the SF word is expanded to the full list of the
SourceForge mirrors known to the FreeBSD ports subsystem, so you need
not to explicitely list any URLs -- just use SF for SourceForce
mirrors.

And the snippet I showed above is yet better rewritten as
-
PORTNAME=   saga
PORTVERSION=2.0.4
DISTNAME=   saga_2.0.4_src_linux
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= 
saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION}


I will apply this version with SUBDIR. It shows clearer the use of a 
mirror list for me.



CATEGORIES= devel


My plans are to use math for SAGA GIS because there is no 'gis' 
category. And 'graphics' or 'database' do not suit well enough I think.



.include bsd.port.mk
-
It does the same, but has better semantics.


Many thanks again,
Rainer
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Question about creating a port for saga gis

2009-11-13 Thread Eygene Ryabinkin
Fri, Nov 13, 2009 at 11:54:08AM +0100, Rainer Hurling wrote:
 thank you for your answers. Now I am able to fetch directly :-)

You're welcome ;))

  CATEGORIES= devel
 
 My plans are to use math for SAGA GIS because there is no 'gis'
 category. And 'graphics' or 'database' do not suit well enough I
 think.

I used devel just to stuff some CATEGORIES into the test Makefile --
this variable is mandatory and bsd.port.mk will error us out if this
won't be specified.  You can use any category that suits you.  By
the way, you can specify multiple categories and, probably, astro
is worth considering too.  But the primary category is math, so
you're right and the port most probably should go into math/saga.
-- 
Eygene
 ____   _.--.   #
 \`.|\.....-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' ` ,   __.--'  #  to read the on-line manual
 )/' _/ \   `-_,   /#  while single-stepping the kernel.
 `-' `\_  ,_.-;_.-\_ ',  fsc/as   #
 _.-'_./   {_.'   ; /   #-- FreeBSD Developers handbook
{_.-``-' {_/#
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: devel/pear1.9.0 build problems

2009-11-13 Thread freebsd
Martin wrote:
  Date: Thu, 12 Nov 2009 22:34:20 +0100
  From: Martin Wilke m...@freebsd.org
  Subject: Re: devel/pear1.9.0 build problems
  To: Agrapha free...@box201.com
  Cc: freebsd-ports@freebsd.org
  Message-ID: 20091112213420.gk98...@bsdcrew.de
  Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed
  
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Rebuild php5 and try again.

Rebuilt php5 as directed via the port. Everything installs fine no errors.
Next cd to devel/pear and the same crash. This system had pear-1.8.1 before
but 1.9.0 just refuses to build.

===   Compressing manual pages for php5-5.2.11_1
===   Registering installation for php5-5.2.11_1
=== SECURITY REPORT:
  This port has installed the following files which may act as network
  servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/apache22/libphp5.so
/usr/local/bin/php
/usr/local/bin/php-cgi

  If there are vulnerabilities in these programs there may be a security
  risk to the system. FreeBSD makes no guarantee about the security of
  ports included in the Ports Collection. Please type 'make deinstall'
  to deinstall the port if this is a concern.

  For more information, and contact details about the security
  status of this software, see the following webpage:
http://www.php.net/

/usr/ports/lang/pearcd ../../devel/pear

/usr/ports/devel/pear make reinstall clean
===  Installing for pear-1.9.0
===   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
found
===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so -
found
===   Generating temporary packing list
===  Checking if devel/pear already installed

Bootstrapping Installer...
Using previously install ... ok

Extracting installer..
Using previously installed installer ... ok

Preparing installer..
Updating channel doc.php.net
Channel doc.php.net is up to date
Updating channel pear.php.net
Channel pear.php.net is up to date
Updating channel pecl.php.net
Channel pecl.php.net is up to date

Installing selected packages..
Package: PEAR-stable.. already installed ... ok
Package: Structures_Graph-stable.. already installed ... ok
Package: Archive_Tar-stable... already installed ... ok
Package: Console_Getopt-stable already installed ... ok
*** Signal 11

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

Stop in /usr/ports/devel/pear.

/usr/ports/devel/pear

Can I delete what pear has already installed? 

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


Re: devel/pear1.9.0 build problems

2009-11-13 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

free...@box201.com wrote:
 Martin wrote:
   Date: Thu, 12 Nov 2009 22:34:20 +0100
   From: Martin Wilke m...@freebsd.org
   Subject: Re: devel/pear1.9.0 build problems
   To: Agrapha free...@box201.com
   Cc: freebsd-ports@freebsd.org
   Message-ID: 20091112213420.gk98...@bsdcrew.de
   Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed
   
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1
   
   Rebuild php5 and try again.
 
 Rebuilt php5 as directed via the port. Everything installs fine no errors.
 Next cd to devel/pear and the same crash. This system had pear-1.8.1 before
 but 1.9.0 just refuses to build.
 
 ===   Compressing manual pages for php5-5.2.11_1
 ===   Registering installation for php5-5.2.11_1
 === SECURITY REPORT:
   This port has installed the following files which may act as network
   servers and may therefore pose a remote security risk to the system.
 /usr/local/libexec/apache22/libphp5.so
 /usr/local/bin/php
 /usr/local/bin/php-cgi
 
   If there are vulnerabilities in these programs there may be a security
   risk to the system. FreeBSD makes no guarantee about the security of
   ports included in the Ports Collection. Please type 'make deinstall'
   to deinstall the port if this is a concern.
 
   For more information, and contact details about the security
   status of this software, see the following webpage:
 http://www.php.net/
 
 /usr/ports/lang/pearcd ../../devel/pear
 
 /usr/ports/devel/pear make reinstall clean
 ===  Installing for pear-1.9.0
 ===   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
 ===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
 found
 ===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so -
 found
 ===   Generating temporary packing list
 ===  Checking if devel/pear already installed
 
 Bootstrapping Installer...
 Using previously install ... ok
 
 Extracting installer..
 Using previously installed installer ... ok
 
 Preparing installer..
 Updating channel doc.php.net
 Channel doc.php.net is up to date
 Updating channel pear.php.net
 Channel pear.php.net is up to date
 Updating channel pecl.php.net
 Channel pecl.php.net is up to date
 
 Installing selected packages..
 Package: PEAR-stable.. already installed ... ok
 Package: Structures_Graph-stable.. already installed ... ok
 Package: Archive_Tar-stable... already installed ... ok
 Package: Console_Getopt-stable already installed ... ok
 *** Signal 11
 
 Stop in /usr/ports/devel/pear.
 *** Error code 1
 
 Stop in /usr/ports/devel/pear.
 
 /usr/ports/devel/pear
 
 Can I delete what pear has already installed? 

Hi there,

I apologize if someone already pointed this resource to you, but have
you looked at the Signal 11 FAQ page? http://bit.ly/3eTHHt

It's quite possible that you've got a hard-to-trigger hardware problem
in one of your memory chips.  It would probably help to follow some of
the recommendations in the FAQ, and do an exhaustive memory test with
memtest86+: http://bit.ly/18ql4I

Let us know what the results are, and we can troubleshoot further if
that testing doesn't reveal anything.

Best regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK/XVJ0sRouByUApARAjraAKDGMNKqurTG+IVOwvRecc7HayWtXQCcDBGF
WB+LJQwQ6wxK8JQtWPLSHA0=
=ImJH
-END PGP SIGNATURE-

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


Re: RFC: svn for make fetch

2009-11-13 Thread Wesley Shields
On Fri, Nov 13, 2009 at 10:00:08AM +0200, Eitan Adler wrote:
 Actually I was thinking of eventually adding non-svn support as well

I don't think bloating bsd.*.mk for the most common VCS out there is a
good idea, not to mention what happens when someone wants support for
some oddball VCS that is not normally used?

 The reason I started on this project is because the version of mplayer in
 ports is severely out of date. When I tried to update to port I noticed that
 the project wants you to compile and install from svn. I also noticed a few
 other ports that have hacks to let the maintainers use his/her custom
 scripts stuck into the port's Makefile. I think it would be good if there
 was some standardized way of solving both of these problems...

Sure, but it doesn't belong in bsd.*.mk. Turn it into a script and
submit it as a regular port.

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


Re: devel/pear1.9.0 build problems

2009-11-13 Thread Agrapha

Ok Greg,
My memory is perfect so is my hard drives. as per the website 
suggested I ran the DD clean.
What should I try next as this seems to be a specific pear problem. How 
can I deinstall what pear has already installed? are there distribution 
files I can safely remove to force the building of pear to re-download 
everything from scratch?  


/usr/ports dd if=/dev/ad4 of=/dev/null bs=1024k count=2090655744
476940+1 records in
476940+1 records out
500107862016 bytes transferred in 7958.472257 secs (62839682 bytes/sec)

/usr/ports cd devel/pear
/usr/ports/devel/pear make install clean
===  Installing for pear-1.9.0
===   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so - 
found
===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so - 
found

===   Generating temporary packing list
===  Checking if devel/pear already installed

Bootstrapping Installer...
Using previously install ... ok

Extracting installer..
Using previously installed installer ... ok

Preparing installer..
Updating channel doc.php.net
Channel doc.php.net is up to date
Updating channel pear.php.net
Channel pear.php.net is up to date
Updating channel pecl.php.net
Channel pecl.php.net is up to date

Installing selected packages..
Package: PEAR-stable.. already installed ... ok
Package: Structures_Graph-stable.. already installed ... ok
Package: Archive_Tar-stable... already installed ... ok
Package: Console_Getopt-stable already installed ... ok
*** Signal 11

Stop in /usr/ports/devel/pear.
/usr/ports/devel/pear


Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

free...@box201.com wrote:
  

Martin wrote:
  Date: Thu, 12 Nov 2009 22:34:20 +0100
  From: Martin Wilke m...@freebsd.org
  Subject: Re: devel/pear1.9.0 build problems
  To: Agrapha free...@box201.com
  Cc: freebsd-ports@freebsd.org
  Message-ID: 20091112213420.gk98...@bsdcrew.de
  Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed
  
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Rebuild php5 and try again.

Rebuilt php5 as directed via the port. Everything installs fine no errors.
Next cd to devel/pear and the same crash. This system had pear-1.8.1 before
but 1.9.0 just refuses to build.

===   Compressing manual pages for php5-5.2.11_1
===   Registering installation for php5-5.2.11_1
=== SECURITY REPORT:
  This port has installed the following files which may act as network
  servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/apache22/libphp5.so
/usr/local/bin/php
/usr/local/bin/php-cgi

  If there are vulnerabilities in these programs there may be a security
  risk to the system. FreeBSD makes no guarantee about the security of
  ports included in the Ports Collection. Please type 'make deinstall'
  to deinstall the port if this is a concern.

  For more information, and contact details about the security
  status of this software, see the following webpage:
http://www.php.net/

/usr/ports/lang/pearcd ../../devel/pear

/usr/ports/devel/pear make reinstall clean
===  Installing for pear-1.9.0
===   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
found
===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so -
found
===   Generating temporary packing list
===  Checking if devel/pear already installed

Bootstrapping Installer...
Using previously install ... ok

Extracting installer..
Using previously installed installer ... ok

Preparing installer..
Updating channel doc.php.net
Channel doc.php.net is up to date
Updating channel pear.php.net
Channel pear.php.net is up to date
Updating channel pecl.php.net
Channel pecl.php.net is up to date

Installing selected packages..
Package: PEAR-stable.. already installed ... ok
Package: Structures_Graph-stable.. already installed ... ok
Package: Archive_Tar-stable... already installed ... ok
Package: Console_Getopt-stable already installed ... ok
*** Signal 11

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

Stop in /usr/ports/devel/pear.

/usr/ports/devel/pear

Can I delete what pear has already installed? 



Hi there,

I apologize if someone already pointed this resource to you, but have
you looked at the Signal 11 FAQ page? http://bit.ly/3eTHHt

It's quite possible that you've got a hard-to-trigger hardware problem
in one of your memory chips.  It would probably help to follow some of
the recommendations in the FAQ, and do an exhaustive memory test with
memtest86+: http://bit.ly/18ql4I

Let us know what the results are, and 

Re: devel/pear1.9.0 build problems

2009-11-13 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Agrapha wrote:
 Ok Greg,
 My memory is perfect so is my hard drives. as per the website
 suggested I ran the DD clean.
 What should I try next as this seems to be a specific pear problem. How
 can I deinstall what pear has already installed? are there distribution
 files I can safely remove to force the building of pear to re-download
 everything from scratch? 
 /usr/ports dd if=/dev/ad4 of=/dev/null bs=1024k count=2090655744
 476940+1 records in
 476940+1 records out
 500107862016 bytes transferred in 7958.472257 secs (62839682 bytes/sec)
 
 /usr/ports cd devel/pear
 /usr/ports/devel/pear make install clean
 ===  Installing for pear-1.9.0
 ===   pear-1.9.0 depends on file: /usr/local/include/php/main/php.h -
 found
 ===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
 found
 ===   pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so -
 found
 ===   Generating temporary packing list
 ===  Checking if devel/pear already installed
 
 Bootstrapping Installer...
 Using previously install ... ok
 
 Extracting installer..
 Using previously installed installer ... ok
 
 Preparing installer..
 Updating channel doc.php.net
 Channel doc.php.net is up to date
 Updating channel pear.php.net
 Channel pear.php.net is up to date
 Updating channel pecl.php.net
 Channel pecl.php.net is up to date
 
 Installing selected packages..
 Package: PEAR-stable.. already installed ... ok
 Package: Structures_Graph-stable.. already installed ... ok
 Package: Archive_Tar-stable... already installed ... ok
 Package: Console_Getopt-stable already installed ... ok
 *** Signal 11
 
 Stop in /usr/ports/devel/pear.
 /usr/ports/devel/pear
 

Hi there,

Can you post the output of the following commands for me?

pkg_info | grep ^php

cat /usr/local/etc/php/extensions.ini

This may help me troubleshoot the problem further.

Thank you,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK/eVk0sRouByUApARAtLiAJ47w6bOmHM5aOmhFWITOThx6NMG3ACfcJ0U
tT2LjDLwGUFurLTOcSwRnEI=
=WSGb
-END PGP SIGNATURE-

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


Re: devel/pear1.9.0 build problems

2009-11-13 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brian Duke wrote:
 Greg Larkin wrote:
 pkg_info | grep ^php
 
 cat /usr/local/etc/php/extensions.ini
 
 This may help me troubleshoot the problem further.
 
 Thank you,
 Greg


 Certainly Greg,  Thank you for your help!

 /usr/ports/devel/pear pkg_info | grep ^php
 php5-5.2.11_1   PHP Scripting Language
 php5-bcmath-5.2.11_1 The bcmath shared extension for php
[...]

Hi Brian,

I have used the script on this site (http://bit.ly/41TDBP) before to
re-order my extensions.ini file because of core dumps when starting up
Apache.  I ran the script against the extension.ini file that you
posted, and it changed the order slightly.

I have included the updated file here, so please give it a try and post
back here if it cures the signal 11 core dump.


extension=fileinfo.so
extension=ssh2.so
extension=geoip.so
extension=mcrypt.so
extension=session.so
extension=pdo.so
extension=simplexml.so
extension=mbstring.so
extension=ldap.so
extension=bz2.so
extension=pdo_sqlite.so
extension=ftp.so
extension=hash.so
extension=gettext.so
extension=tokenizer.so
extension=pgsql.so
extension=zlib.so
extension=calendar.so
extension=posix.so
extension=pcre.so
extension=openssl.so
extension=xmlwriter.so
extension=json.so
extension=zip.so
extension=gmp.so
extension=bcmath.so
extension=ctype.so
extension=readline.so
extension=curl.so
extension=filter.so
extension=gd.so
extension=dom.so
extension=xmlreader.so
extension=iconv.so
extension=memcache.so
extension=spl.so
extension=sqlite.so
extension=mysql.so
extension=imap.so
extension=pspell.so
extension=xml.so


Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK/fbY0sRouByUApARAiR0AJ9ZaLFW4Uh4vevOqRrdnobOxTgymgCgl6RG
rKzh/C+6APPHd0KpEqnD6AA=
=9++K
-END PGP SIGNATURE-

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


Re: devel/pear1.9.0 build problems

2009-11-13 Thread Agrapha

Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
php5-bcmath-5.2.11_1 The bcmath shared extension for php
  


[...]

Hi Brian,

I have used the script on this site (http://bit.ly/41TDBP) before to
re-order my extensions.ini file because of core dumps when starting up
Apache.  I ran the script against the extension.ini file that you
posted, and it changed the order slightly.


[...]

Regards,
Greg
- --
Greg Larkin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK/fbY0sRouByUApARAiR0AJ9ZaLFW4Uh4vevOqRrdnobOxTgymgCgl6RG
rKzh/C+6APPHd0KpEqnD6AA=
=9++K
-END PGP SIGNATURE-
  

Perfect solution Greg,
   I too downloaded that shell script. Ran the script then went back 
and pear-1.9.0 installs perfectly. 
Thats the fix I was looking for. Two weeks without users getting mail 
now I can fire up horde again. I really appreciate the help.


Installing selected packages..
Package: PEAR-stable.. already installed ... ok
Package: Structures_Graph-stable.. already installed ... ok
Package: Archive_Tar-stable... already installed ... ok
Package: Console_Getopt-stable already installed ... ok

===   Registering installation for pear-1.9.0

/usr/ports/devel/pear

that a sweet ending.



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


Re: devel/pear1.9.0 build problems

2009-11-13 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Agrapha wrote:
 Greg Larkin wrote:
 [...]
 
 Hi Brian,
 
 I have used the script on this site (http://bit.ly/41TDBP) before to
 re-order my extensions.ini file because of core dumps when starting up
 Apache.  I ran the script against the extension.ini file that you
 posted, and it changed the order slightly.
 
 
 [...]
 
 Regards,
 Greg

 Perfect solution Greg,
I too downloaded that shell script. Ran the script then went back and
 pear-1.9.0 installs perfectly. Thats the fix I was looking for. Two
 weeks without users getting mail now I can fire up horde again. I really
 appreciate the help.

 Installing selected packages..
 Package: PEAR-stable.. already installed ... ok
 Package: Structures_Graph-stable.. already installed ... ok
 Package: Archive_Tar-stable... already installed ... ok
 Package: Console_Getopt-stable already installed ... ok

 ===   Registering installation for pear-1.9.0

 /usr/ports/devel/pear

 that a sweet ending.

Excellent - glad to hear it!  It's nice to have a success at the end of
a long week.

Best regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK/gsq0sRouByUApARAvTWAJ4z8vMqkq7xi3bN9wEV6oSu8TPJhACgoAc1
AVP4nSwm8/9vJ3UQzVbXzjg=
=CmiY
-END PGP SIGNATURE-

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


Getting MASTER_SITES for sourceforge ports more easily

2009-11-13 Thread Dmitry Marakasov
Hi!

Recently there have been at least two questions about a correct way
of defining MASTER_SITES for SourceForge-hosted projects. Here's a
way to make it a bit easier: it's a GreaseMonkey
(https://addons.mozilla.org/en-US/firefox/addon/748) script that
converts links on sourceforge pages to direct links.

http://userscripts.org/scripts/show/50136

With this, links like .../download will be changed to direct ones, which
can be copypasted to SF/...

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amd...@amdmi3.ru  ..:  jabber: amd...@jabber.ruhttp://www.amdmi3.ru
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Getting MASTER_SITES for sourceforge ports more easily

2009-11-13 Thread Eygene Ryabinkin
Sat, Nov 14, 2009 at 07:04:17AM +0300, Dmitry Marakasov wrote:
 Recently there have been at least two questions about a correct way
 of defining MASTER_SITES for SourceForge-hosted projects. Here's a
 way to make it a bit easier: it's a GreaseMonkey
 (https://addons.mozilla.org/en-US/firefox/addon/748) script that
 converts links on sourceforge pages to direct links.
 
 http://userscripts.org/scripts/show/50136
 
 With this, links like .../download will be changed to direct ones, which
 can be copypasted to SF/...

The attached shell script should produce the MASTER_SITE_SUBDIR for the
SF-hosted ports for each URL given in the command-line.
-- 
Eygene
 ____   _.--.   #
 \`.|\.....-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' ` ,   __.--'  #  to read the on-line manual
 )/' _/ \   `-_,   /#  while single-stepping the kernel.
 `-' `\_  ,_.-;_.-\_ ',  fsc/as   #
 _.-'_./   {_.'   ; /   #-- FreeBSD Developers handbook
{_.-``-' {_/#
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: Getting MASTER_SITES for sourceforge ports more easily

2009-11-13 Thread Eygene Ryabinkin
Sat, Nov 14, 2009 at 09:16:47AM +0300, Eygene Ryabinkin wrote:
 The attached shell script should produce the MASTER_SITE_SUBDIR for the
 SF-hosted ports for each URL given in the command-line.

Inlining the script -- it was dropped by the Mailman:
-
#!/bin/sh

while [ -n $1 ]; do
echo $1 | sed 
-Ee's%^htt(p|ps)://(sourceforge|sf)\.net/projects/(.*)/[^/]*/download$%MASTER_SITE_SUBDIR=
  \3%'
shift
done
-
-- 
Eygene
 ____   _.--.   #
 \`.|\.....-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' ` ,   __.--'  #  to read the on-line manual
 )/' _/ \   `-_,   /#  while single-stepping the kernel.
 `-' `\_  ,_.-;_.-\_ ',  fsc/as   #
 _.-'_./   {_.'   ; /   #-- FreeBSD Developers handbook
{_.-``-' {_/#
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org