Perl5 SNMP-1.7 on HP-UX 
Author Message
 Perl5 SNMP-1.7 on HP-UX

Is somebody compiled SNMP Extension module on HP-UX 10.20?



Tue, 19 Sep 2000 03:00:00 GMT  
 Perl5 SNMP-1.7 on HP-UX

Once upon a time, Arvydas Zvirblis compelled thousands of monkeys to type:

Quote:
>Is somebody compiled SNMP Extension module on HP-UX 10.20?

The latest I'm running is 1.7b2, but that's just because I haven't gotten
around to downloading 1.7.  I have no problems, but I did have to compile
the UCD libraries with -fpic (for gcc) or +z (for ansic) to make it work.

--
j.


System Engineer, ACC TelEnterprises               Voice/Fax (416)207-7171/7123

"...much of today's software is comprised of mostly 'D' and very little 'R'"
                                                              -- Alan Cooper



Tue, 19 Sep 2000 03:00:00 GMT  
 Perl5 SNMP-1.7 on HP-UX

Quote:

> Is somebody compiled SNMP Extension module on HP-UX 10.20?

This is how I got it to compile.

compiled perl with gcc (enabled dynamic loading via dl_hpux.xs)

compiled ucd-snmp-3.3.1 on the configure do this

  env CCFLAGS='-O2 -fpic' ./configure --whatever-options-you-use

then the snmp module compiled just fine.

I couldn't get the module to compile without using the -fpic option
on the snmp library

Hope this helps,

Eric



Fri, 22 Sep 2000 03:00:00 GMT  
 Perl5 SNMP-1.7 on HP-UX

Quote:


> > Is somebody compiled SNMP Extension module on HP-UX 10.20?

> This is how I got it to compile.

> compiled perl with gcc (enabled dynamic loading via dl_hpux.xs)

> compiled ucd-snmp-3.3.1 on the configure do this

>   env CCFLAGS='-O2 -fpic' ./configure --whatever-options-you-use

> then the snmp module compiled just fine.

> I couldn't get the module to compile without using the -fpic option
> on the snmp library

> Hope this helps,

That's the solution. The readme alludes to this - albeit somewhat
vaguely -

"Sometimes compiling the UCD snmp library with
'position-independent-code' enabled is required."

I think there is a make target in ucd-snmp which builds it this way...or
maybe there should be ;).

-GSM

Quote:

> Eric


--

 Bay Networks Inc.                  voice: (978)670-8888 x63990

 Billerica, MA  01821                 fax: (978)670-8145


Sat, 23 Sep 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Compile perl5 on HP 7xx/HP-UX 8.0 ?

2. NDBM problems with Perl5 on HP-UX

3. open2 fails with perl5 on HP-UX??

4. Problem Building Perl5 on HP-UX

5. Perl5 build fails for HP-UX 8

6. Perl5.001 on a K400 running HP-UX 10.00

7. Perl5.001 on K400 running HP-UX 10.00

8. getpgrp/getpgrp2 in perl5 under HP-UX

9. ** Help compiling Perl5 on HP-UX **

10. HELP: Problem building perl5 on HP-UX 9.03

11. problem compiling perl5.001 on HP-UX

12. HP-UX problem compiling perl5.001

 

 
Powered by phpBB® Forum Software