Dear Thomas, Dave:
After I install net-snmp-5.4-pre3, the result of detection of perl problem is as below list:
checking for Perl cc... xscale_be-gcc
checking whether xscale_be-gcc is a GNU C compiler... yes
checking for Perl CFLAGS... -fno-strict-aliasing -I/usr/lib/perl/5.6.1/CORE
checking for Perl LDFLAGS... -rdynamic /usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6
.1/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lutil
checking for eval_pv... no
checking for perl_eval_pv... no
checking for Perl_eval_pv... no
checking for potential embedded Perl support... disabled
checking if we can install the Perl modules... yes -- not embeddable
checking if we should install the python bindings... no
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking whether xscale_be-gcc is a GNU C compiler... yes
checking for Perl CFLAGS... -fno-strict-aliasing -I/usr/lib/perl/5.6.1/CORE
checking for Perl LDFLAGS... -rdynamic /usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6
.1/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lutil
checking for eval_pv... no
checking for perl_eval_pv... no
checking for Perl_eval_pv... no
checking for potential embedded Perl support... disabled
checking if we can install the Perl modules... yes -- not embeddable
checking if we should install the python bindings... no
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
It is obviously the perl_eval_pv function and eval_pv fuction is not existed in my xscale file system
my probelm is how to fix it? When i execute "perl -v", the system show the perl edition is perl -5-6-1;
so it seems i need to install another package to solve this, can you give me any advice and suggestion,
thanks once again.
Best Regards,
Clement Hsu
Message: 2
Date: Thu, 12 Oct 2006 10:05:38 +0200
From: Thomas Anders <[EMAIL PROTECTED] >
Subject: Re: Embedded Perl Problem
To: Chih-Tung Hsu <[EMAIL PROTECTED]>
Cc: net-snmp-users < [email protected]>
Message-ID: < [EMAIL PROTECTED]>
Content-Type: text/plain; charset=Big5
Chih-Tung Hsu wrote:
> snmp_perl.c:88:2: #error embedded perl broken
Can you please retry with 5.4.pre3 and let us know what it tells you
wrt. embedded perl? It should have a much better perl [problem]
detection at configure time and will hopefully help you to nail down the
problem.
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
------------------------------
Message: 3
Date: Thu, 12 Oct 2006 09:32:10 +0100
From: "Dave Shield" < [EMAIL PROTECTED]>
Subject: Re: Embedded Perl Problem
To: "Chih-Tung Hsu" <[EMAIL PROTECTED] >
Cc: net-snmp-users < [email protected]>
Message-ID:
< [EMAIL PROTECTED]>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed
On 12/10/06, Chih-Tung Hsu < [EMAIL PROTECTED]> wrote:
> When I install net-snmp in xscale system (ps: environment
> is montavista) and using the instruction
> " ./configure ?enable-embedded-perl ?enable-share "
>
> When I make, the result is following:
[snip]
> snmp_perl.c:88:2: #error embedded perl broken
> So, I modify the snmp_perl and cancel the words "error embedded perl broken"
Why?
This message is there to *tell* you that embedded perl support isn't
available for the setup that has been detected. It's not simply
there as a mean trick to deliberately break this for you. By deleting
the error message, you're not touching the underlying problem -
instead you're just making things fail silently.
> The result is the perl module not working.
Exactly as the error message said originally!
Thomas has suggested that you try with the 5.4 pre-release code.
If this doesn't work either, then you need to look at *why* embedded
perl support isn't being detected. Try looking through the
config.log file for anything that refers to perl. And in particular,
"perl_eval" or "Perl_eval" (or simply "eval_pl")
But there's no point in just deleting an error message and hoping that
things will work.
You've *got* to identify and fix the underlying cause.
Dave
Date: Thu, 12 Oct 2006 10:05:38 +0200
From: Thomas Anders <[EMAIL PROTECTED] >
Subject: Re: Embedded Perl Problem
To: Chih-Tung Hsu <[EMAIL PROTECTED]>
Cc: net-snmp-users < [email protected]>
Message-ID: < [EMAIL PROTECTED]>
Content-Type: text/plain; charset=Big5
Chih-Tung Hsu wrote:
> snmp_perl.c:88:2: #error embedded perl broken
Can you please retry with 5.4.pre3 and let us know what it tells you
wrt. embedded perl? It should have a much better perl [problem]
detection at configure time and will hopefully help you to nail down the
problem.
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
------------------------------
Message: 3
Date: Thu, 12 Oct 2006 09:32:10 +0100
From: "Dave Shield" < [EMAIL PROTECTED]>
Subject: Re: Embedded Perl Problem
To: "Chih-Tung Hsu" <[EMAIL PROTECTED] >
Cc: net-snmp-users < [email protected]>
Message-ID:
< [EMAIL PROTECTED]>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed
On 12/10/06, Chih-Tung Hsu < [EMAIL PROTECTED]> wrote:
> When I install net-snmp in xscale system (ps: environment
> is montavista) and using the instruction
> " ./configure ?enable-embedded-perl ?enable-share "
>
> When I make, the result is following:
[snip]
> snmp_perl.c:88:2: #error embedded perl broken
> So, I modify the snmp_perl and cancel the words "error embedded perl broken"
Why?
This message is there to *tell* you that embedded perl support isn't
available for the setup that has been detected. It's not simply
there as a mean trick to deliberately break this for you. By deleting
the error message, you're not touching the underlying problem -
instead you're just making things fail silently.
> The result is the perl module not working.
Exactly as the error message said originally!
Thomas has suggested that you try with the 5.4 pre-release code.
If this doesn't work either, then you need to look at *why* embedded
perl support isn't being detected. Try looking through the
config.log file for anything that refers to perl. And in particular,
"perl_eval" or "Perl_eval" (or simply "eval_pl")
But there's no point in just deleting an error message and hoping that
things will work.
You've *got* to identify and fix the underlying cause.
Dave
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
