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)
--===============0429712080==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
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
--===============0429712080==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
--===============0429712080==--
> So, I modify the snmp_perl and cancel the words "error embedded perl brok=
en"
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 easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
------=_Part_36879_24078071.1160789511127
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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
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 <thomas...@blue-cable.de>
Subject: Re: Embedded Perl Problem
To: Chih-Tung Hsu <m9340...@gmail.com>
Cc: net-snmp-users < net-snm...@lists.sourceforge.net>
Message-ID: <452DF752...@blue-cable.de>
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" < D.T.S...@csc.liv.ac.uk>
Subject: Re: Embedded Perl Problem
To: "Chih-Tung Hsu" <m9340...@gmail.com >
Cc: net-snmp-users <net-snm...@lists.sourceforge.net>
Message-ID:
< c64ae3380610120132l52b...@mail.gmail.com>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed
On 12/10/06, Chih-Tung Hsu < m9340...@gmail.com> 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
------=_Part_36879_24078071.1160789511127
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<div>Dear Thomas, Dave:</div>
<div> After I install net-snmp-5.4-pre3, the result of detection of perl problem is as below list:</div>
<div> </div>
<div> checking for Perl cc... xscale_be-gcc<br> checking whether xscale_be-gcc is a GNU C compiler... yes<br> checking for Perl CFLAGS... -fno-strict-aliasing -I/usr/lib/perl/5.6.1/CORE<br> checking for Perl LDFLAGS... -rdynamic /usr/lib/perl/5.6.1/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.6
<br> .1/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lutil<br> checking for eval_pv... no<br> checking for perl_eval_pv... no<br> checking for Perl_eval_pv... no<br> checking for potential embedded Perl support... disabled
<br> checking if we can install the Perl modules... yes -- not embeddable<br> checking if we should install the python bindings... no<br> checking for ANSI C header files... (cached) yes<br> checking for dirent.h that defines DIR... yes
<br> checking for library containing opendir... none required<br> checking for sys/wait.h that is POSIX.1 compatible... yes<br> checking stdarg.h usability... yes<br> checking stdarg.h presence... yes<br> checking for
stdarg.h... yes</div>
<div> </div>
<div>It is obviously the perl_eval_pv function and eval_pv fuction is not existed in my xscale file system</div>
<div>my probelm is how to fix it? When i execute "perl -v", the system show the perl edition is perl -5-6-1; </div>
<div>so it seems i need to install another package to solve this, can you give me any advice and suggestion, </div>
<div>thanks once again. </div>
<div> </div>
<div>Best Regards,</div>
<div>Clement Hsu</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>Message: 2<br>Date: Thu, 12 Oct 2006 10:05:38 +0200<br>From: Thomas Anders <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:thomas...@blue-cable.de" target="_blank">thomas...@blue-cable.de
</a>><br>Subject: Re: Embedded Perl Problem<br>To: Chih-Tung Hsu <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:m9340...@gmail.com" target="_blank">m9340...@gmail.com</a>><br>Cc: net-snmp-users <
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:net-snm...@lists.sourceforge.net" target="_blank"> <span></span>net-snm...@lists.sourceforge.net</a>><br>Message-ID: <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:452DF752...@blue-cable.de" target="_blank">
452DF752...@blue-cable.de</a>><br>Content-Type: text/plain; charset=Big5<br><br>Chih-Tung Hsu wrote:<br>> snmp_perl.c:88:2: #error embedded perl broken<br><br>Can you please retry with 5.4.pre3 and let us know what it tells you
<br>wrt. embedded perl? It should have a much better perl [problem] <br>detection at configure time and will hopefully help you to nail down the<br>problem.<br><br><br>+Thomas<br><br>--<br>Thomas Anders (thomas.anders at
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://blue-cable.de/" target="_blank">blue-cable.de</a>)<br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Thu, 12 Oct 2006 09:32:10 +0100
<br>From: "Dave Shield" <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:D.T.S...@csc.liv.ac.uk" target="_blank"> D.T.S...@csc.liv.ac.uk</a>><br>Subject: Re: Embedded Perl Problem
<br>To: "Chih-Tung Hsu" <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:m9340...@gmail.com" target="_blank">m9340...@gmail.com </a>><br>Cc: net-snmp-users <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:net-snm...@lists.sourceforge.net" target="_blank">
net-snm...@lists.sourceforge.net</a>><br>Message-ID:<br> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:c64ae3380610120132l52b...@mail.gmail.com" target="_blank">
c64ae3380610120132l52b...@mail.gmail.com</a>><br>Content-Type: text/plain; charset=WINDOWS-1252; format=flowed<br><br>On 12/10/06, Chih-Tung Hsu <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:m9340...@gmail.com" target="_blank">
m9340...@gmail.com</a>> wrote:<br>> When I install net-snmp in xscale system (ps: environment<br>> is montavista) and using the instruction<br><span></span>> " ./configure ?enable-embedded-perl ?enable-share "
<br>><br>> When I make, the result is following:<br> [snip]<br>> snmp_perl.c:88:2: #error embedded perl broken<br><br><br>> So, I modify the snmp_perl and cancel the words "error embedded perl broken"
<br><br>Why?<br>This message is there to *tell* you that embedded perl support isn't<br>available for the setup that has been detected. It's not simply<br>there as a mean trick to deliberately break this for you. By deleting
<br>the error message, you're not touching the underlying problem -<br>instead you're just making things fail silently.<br><br><br>> The result is the perl module not working.<br><br>Exactly as the error message said originally!
<br><br>Thomas has suggested that you try with the 5.4 pre-release code.<br>If this doesn't work either, then you need to look at *why* embedded<br>perl support isn't being detected. Try looking through the<br>config.log
file for anything that refers to perl. And in particular,<br>"perl_eval" or "Perl_eval" (or simply "eval_pl")<br><br>But there's no point in just deleting an error message and hoping that<br>
things will work.<br>You've *got* to identify and fix the underlying cause.<br><br>Dave<br> </div>
------=_Part_36879_24078071.1160789511127--
--===============0496685696==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
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
--===============0496685696==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
--===============0496685696==--
You need a package that adds a libperl.so to your system.
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------------------------
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
> checking for eval_pv... no
> checking for perl_eval_pv... no
> checking for Perl_eval_pv... no
> It is obviously the perl_eval_pv function and eval_pv fuction is not existed
> in my xscale file system
It either doesn't exist - or it exists but is not being detected.
> my probelm is how to fix it?
I'm not familiar with the xscale system, so it's possible that Thomas'
suggestion will fix this. If not, then have a look in the file
'config.log', and look where these three tests are carried out. What
does that log file say at this point? That might give some
indication as to how to proceed.
Dave