Re: upgrading net-snmp-5.2.1 gives error

2005-04-30 Thread Ian Moore
On Monday 28 March 2005 08:01, gustaaf wijnands wrote:
> Thomas Foster wrote:
> > Does it compile WITH_PERL="NO" ?
>
> It doesn't compile WITHOUT_PERL=yes
>
> > what version of autoconf and libtool are you using?
>
> pkg_info |grep autoconf
> autoconf-2.13.000227_5 Automatically configure source code on many Un*x
> platforms
> autoconf-2.59_2 Automatically configure source code on many Un*x
> platforms
>
> pkg_info |grep libtool
> libtool-1.3.5_2 Generic shared library support script (version 1.3)
> libtool-1.5.10_1Generic shared library support script (version 1.5)
>
> > and perl -v returns what version?
>
> perl -v
>
> This is perl, v5.8.6 built for i386-freebsd-64int
>
> perl -V
> Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
>Platform:
>  osname=freebsd, osvers=5.3-release-p5, archname=i386-freebsd-64int
>  uname='freebsd laptop.intern 5.3-release-p5 freebsd 5.3-release-p5
> #7: wed ja
> n 26 21:10:23 cet 2005
> [EMAIL PROTECTED]:usrobjusrsrcsysmykernel i386 '
>  config_args='-sde -Dprefix=/usr/local
> -Darchlib=/usr/local/lib/perl5/5.8.6/mach
> -Dprivlib=/usr/local/lib/perl5/5.8.6
> -Dman3dir=/usr/local/lib/perl5/5.8.6/perl
>/man/man3
> -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl
>
>   /5.8.6/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.6
> -Dscriptdir=/usr/local
> /bin
> -Dsiteman3dir=/usr/local/lib/perl5/5.8.6/man/man3
> -Dsiteman1dir=/usr/local/m
> an/man1 -Ui_malloc -Ui_iconv
> -Uinstallusrbinperl -Dcc=cc -Doptimize=-O -pipe  -Du
>
> seshrplib -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN"
> -Ud_dosuid
>  -Ui_gdbm -Dusethreads=n -Dusemymalloc=y
> -Duse64bitint'
>  hint=recommended, useposix=true, d_sigaction=define
>  usethreads=undef use5005threads=undef useithreads=undef
> usemultiplicity=undef
>  useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
>  use64bitint=define use64bitall=undef uselongdouble=undef
>  usemymalloc=y, bincompat5005=undef
>Compiler:
>  cc='cc', ccflags
> ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" -DHAS_FP
>
>SETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
> -I/usr/local/include',
>  optimize='-O -pipe ',
>  cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN"
> -DHAS_FPSETMASK -
>DHAS_FLOATINGPOINT_H -fno-strict-aliasing
> -pipe -I/usr/local/include'
>  ccversion='', gccversion='3.4.2 [FreeBSD] 20040728', gccosandvers=''
>  intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
>  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
>  ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
> Off_t='off_t', lseek
>   size=8
>  alignbytes=4, prototype=define
>Linker and Libraries:
>  ld='cc', ldflags =' -Wl,-E -L/usr/local/lib'
>  libpth=/usr/lib /usr/local/lib
>  libs=-lm -lcrypt -lutil
>  perllibs=-lm -lcrypt -lutil
>  libc=, so=so, useshrplib=true, libperl=libperl.so
>  gnulibc_version=''
>Dynamic Linking:
>  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
> -Wl,-R/usr/local/
>lib/perl5/5.8.6/mach/CORE'
>  cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
>Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
>Locally applied patches:
>  SUIDPERLIO0 - fix PERLIO_DEBUG local root exploit (CAN-2005-0155)
>  SUIDPERLIO1 - fix PERLIO_DEBUG buffer overflow (CAN-2005-0156)
>Built under freebsd
>Compiled at Feb  6 2005 20:47:58
>@INC:
>  /usr/local/lib/perl5/site_perl/5.8.6/mach
>  /usr/local/lib/perl5/site_perl/5.8.6
>  /usr/local/lib/perl5/site_perl/5.8.5
>  /usr/local/lib/perl5/site_perl/5.6.1
>  /usr/local/lib/perl5/site_perl
>  /usr/local/lib/perl5/5.8.6/BSDPAN
>  /usr/local/lib/perl5/5.8.6/mach
>  /usr/local/lib/perl5/5.8.6
>  .
>
> > what happens after running ldconfig -R
>
> still the same error. Any idea? Thank for helping me

Hi Gustaaf,
I'm having exactly the same problem upgrading net-snmp as you. Have you 
managed to fix the problem yet?
My system is pretty much identical to your's, except for autoconf:

%pkg_info | grep autoconf
autoconf-2.13.000227_5 Automatically configure source code on many Un*x 
platforms
autoconf-2.53_3 Automatically configure source code on many Un*x platforms
autoconf-2.59_2 Automatically configure source code on many Un*x platforms

Here's the output when I try to build it without perl:
daemon:/usr/ports/net-mgmt/net-snmp % sudo make -DWITHOUT_PERL="YES"
===>  Building for net-snmp-5.2.1_2
making all in /usr/ports/net-mgmt/net-snmp/work/net-

Re: upgrading net-snmp-5.2.1 gives error

2005-03-27 Thread gustaaf wijnands
Thomas Foster wrote:
Does it compile WITH_PERL="NO" ?
It doesn't compile WITHOUT_PERL=yes

what version of autoconf and libtool are you using?
pkg_info |grep autoconf
autoconf-2.13.000227_5 Automatically configure source code on many Un*x 
platforms
autoconf-2.59_2 Automatically configure source code on many Un*x 
platforms

pkg_info |grep libtool
libtool-1.3.5_2 Generic shared library support script (version 1.3)
libtool-1.5.10_1Generic shared library support script (version 1.5)

and perl -v returns what version?
perl -v
This is perl, v5.8.6 built for i386-freebsd-64int
perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
  Platform:
osname=freebsd, osvers=5.3-release-p5, archname=i386-freebsd-64int
uname='freebsd laptop.intern 5.3-release-p5 freebsd 5.3-release-p5 
#7: wed ja 
   n 26 21:10:23 cet 2005 
[EMAIL PROTECTED]:usrobjusrsrcsysmykernel i386 '
config_args='-sde -Dprefix=/usr/local 
-Darchlib=/usr/local/lib/perl5/5.8.6/mach 
-Dprivlib=/usr/local/lib/perl5/5.8.6 
-Dman3dir=/usr/local/lib/perl5/5.8.6/perl 
  /man/man3 
-Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl 

 /5.8.6/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.6 
-Dscriptdir=/usr/local 
   /bin 
-Dsiteman3dir=/usr/local/lib/perl5/5.8.6/man/man3 
-Dsiteman1dir=/usr/local/m 
   an/man1 -Ui_malloc -Ui_iconv 
-Uinstallusrbinperl -Dcc=cc -Doptimize=-O -pipe  -Du 

seshrplib -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" 
-Ud_dosuid 
-Ui_gdbm -Dusethreads=n -Dusemymalloc=y 
-Duse64bitint'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
  Compiler:
cc='cc', ccflags 
='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" -DHAS_FP 

  SETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe 
-I/usr/local/include',
optimize='-O -pipe ',
cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" 
-DHAS_FPSETMASK - 
  DHAS_FLOATINGPOINT_H -fno-strict-aliasing 
-pipe -I/usr/local/include'
ccversion='', gccversion='3.4.2 [FreeBSD] 20040728', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, 
Off_t='off_t', lseek 
 size=8
alignbytes=4, prototype=define
  Linker and Libraries:
ld='cc', ldflags =' -Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lm -lcrypt -lutil
perllibs=-lm -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' 
-Wl,-R/usr/local/ 
  lib/perl5/5.8.6/mach/CORE'
cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'

Characteristics of this binary (from libperl):
  Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
  Locally applied patches:
SUIDPERLIO0 - fix PERLIO_DEBUG local root exploit (CAN-2005-0155)
SUIDPERLIO1 - fix PERLIO_DEBUG buffer overflow (CAN-2005-0156)
  Built under freebsd
  Compiled at Feb  6 2005 20:47:58
  @INC:
/usr/local/lib/perl5/site_perl/5.8.6/mach
/usr/local/lib/perl5/site_perl/5.8.6
/usr/local/lib/perl5/site_perl/5.8.5
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.6/BSDPAN
/usr/local/lib/perl5/5.8.6/mach
/usr/local/lib/perl5/5.8.6
.

what happens after running ldconfig -R
still the same error. Any idea? Thank for helping me
--
Gustaaf Wijnands
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: upgrading net-snmp-5.2.1 gives error

2005-03-27 Thread Thomas Foster
Does it compile WITH_PERL="NO" ?
what version of autoconf and libtool are you using?
and perl -v returns what version?
what happens after running ldconfig -R
T
- Original Message - 
From: "gustaaf wijnands" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, March 27, 2005 1:35 PM
Subject: upgrading net-snmp-5.2.1 gives error


Hello all,
portupgrading net-snmp-5.2.1 doesn't seem to work on my machine:
/libexec/ld-elf.so.1: 
/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/SNMP/SNMP.so: Undefined 
symbol "perl_get_sv"
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade3553.1 make
** Fix the problem and try again.

I am running FreeBSD 5.3-RELEASE-p5 #7. Anybody any idea what can be wrong 
and what can be done about it?

Thanks,
--
Gustaaf Wijnands
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


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


upgrading net-snmp-5.2.1 gives error

2005-03-27 Thread gustaaf wijnands
Hello all,
portupgrading net-snmp-5.2.1 doesn't seem to work on my machine:
/libexec/ld-elf.so.1: 
/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/SNMP/SNMP.so: Undefined 
symbol "perl_get_sv"
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade3553.1 make
** Fix the problem and try again.

I am running FreeBSD 5.3-RELEASE-p5 #7. Anybody any idea what can be 
wrong and what can be done about it?

Thanks,
--
Gustaaf Wijnands
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"