Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2010 13:32:03 +0000 (UTC)
From:      "Helmut Schneider" <jumper99@gmx.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: php5-snmp broken on some systems for more than 2 months
Message-ID:  <xn0gtcmwz4cqais002@news.gmane.org>
References:  <xn0gtci6v46bq74000@news.gmane.org> <4BD5708D.8090900@infracaninophile.co.uk> <xn0gtck93495vse001@news.gmane.org> <4BD582EC.5080303@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 26/04/2010 12:52:11, Helmut Schneider wrote:
> > Matthew Seaman wrote:
> > 
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> > > 
> >> On 26/04/2010 11:32:45, Helmut Schneider wrote:
> >>> Hi,
> > > > 
> >>> I fully understand that the current and past actions on php, png
> >>> and so on were very time consuming. Anyway php5-snmp (5.2.12 and
> >>> 5.3.2) are broken on obviously a few systems, including mine. A PR
> >>> was opened 2 months ago but I even cannot find a reply from any of
> >>> the maintainers.
> > > > 
> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/144137
> > > > 
> >>> Again, I fully understand that people also have to do other things
> >>> but in my (and others) case it is sooo painful not being able to
> >>> move ahead to 5.3 or back to 5.2 because of this problem.
> > > > 
> >>> Any advise what I can do to support this process? It is meanwhile
> a >>> real pain.
> > > > 
> >>> Thanks and Regards, Helmut
> > > > 
> > > 
> >> This is actually a problem in net-mgmt/net-snmp.
> > > 
> >> There's a patch in ports/141238 which will let you compile, but
> >> pkg-plist for net-mgmt/net-snmp needs attention.
> > 
> > The patch is ASCII-corrupted, do you have the original you could
> > post?
> > 
> 
> happy-idiot-talk:...ports/net-mgmt/net-snmp:% diff -u Makefile.orig
> Makefile
> - --- Makefile.orig	2010-04-26 13:09:49.000000000 +0100
> +++ Makefile	2010-04-26 13:09:58.000000000 +0100
> @@ -106,6 +106,10 @@
>  NET_SNMP_MIB_MODULE_LIST+=	sctp-mib
>  .endif
> 
> +.if ${OSVERSION} >= 800000
> +CONFIGURE_ARGS+= --with-libs="-lssp_nonshared"
> +.endif
> +
>  .if defined(WITH_MFD_REWRITES)
>  CONFIGURE_ARGS+=--enable-mfd-rewrites
>  NET_SNMP_MIB_MODULE_LIST+=	if-mib

Great. I can confirm that with the patch php5-snmp (tested with 5.3.2)
builds fine now.

Thanks, Helmut

-- 
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xn0gtcmwz4cqais002>