473,795 Members | 2,839 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compile PHP4 with SNMP

Hi,
I tried to compile my php 4.3.9 with snmp support but it won't work.
Compiling Net-SNMP always worked good --> I tried the 5.2rc4 and also the
older version 5.1.2 successfully so far. I use Fedora Core 2.

Here's what I already tried with php (Every configure options version listed
below was tried with both of the two snmp versions):

../configure --with-openssl --with-apxs=/usr/local/apache/1.3.31/bin/apxs --w
ith-mysql=/usr/local/mysql/4.0.20/ --with-zlib --with-gd --enable-versioning
--enable-track-vars=yes --enable-url-includes --enable-sysvshm=yes --enable
-sysvsem=Yes --with-config-file-path=/etc --with-ldap --with-snmp && make &&
make install

I also tried without openssl
and I tried with: --disable-cli --disable-pear (using these php would
compile correctly but trying to restart apache wouldn't work)

Here's my error message:

......
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

Installing PHP SAPI module: apache
[activating module `php4' in /usr/local/apache/1.3.31/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/1.3.31/libexec/libphp4.so
chmod 755 /usr/local/apache/1.3.31/libexec/libphp4.so
cp /usr/local/apache/1.3.31/conf/httpd.conf
/usr/local/apache/1.3.31/conf/httpd.conf.bak
cp /usr/local/apache/1.3.31/conf/httpd.conf.new
/usr/local/apache/1.3.31/conf/httpd.conf
rm /usr/local/apache/1.3.31/conf/httpd.conf.new
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PEAR environment: /usr/local/lib/php/
/root/php-4.3.9/sapi/cli/php: error while loading shared libraries:
/root/php-4.3.9/sapi/cli/php: undefined symbol: usmAES192PrivPr otocol

make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
........

Hope anybody can help,
Kurt
Jul 17 '05 #1
0 1612

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3020
by: lok | last post by:
hi all, i have installed oracle9i client tools on RedHat7.3 (x86 machine) and i compiled php4.1.2 & apache1.3 successfully but when i execute php script in browser, error occured: "Fatal error: Call to undefined function: ocilogon()" i found no oci8.so in the whole system. i think this is the reason why the error occured
0
1938
by: Alexander Schumann | last post by:
Hello everyone, We are building a new web based e-mail client "Fiezel" that will support IMAP, POP3 and SMTP protocols. Will be written in php4. I am trying to collect all the infomation on SNMP I can get and any other protocols like POP3 infomation for desinging and developing for php4. I have also collected the infomation wish I will try to support: RFC2821: Simple Mail Transfer Protocol (SMTP) RFC2822: Standard for ARPA internet...
10
10044
by: Matthew Bell | last post by:
Hi, I'm looking for a high-performance SNMP manager toolkit (SNMPv1 / v2, GET / GETNEXT / GETBULK) I can use with Python on Windows2K/XP. I wonder if anyone has got any suggestions? Commercial software is fine, as it's for a specialised in-house application. I've tried PySNMP which, while a fine piece of code (I've learnt a lot looking through it!), it's fairly CPU intensive in my application. I've also tried using UCDSNMP via...
3
5327
by: Kevin Ingram | last post by:
Is it possible to connect to devices and read SNMP data with ASP? I did a search and all I could find was utilities for sale to do it, wondered if it can be done using straight ASP. We are using InterDev 6, IIS5 on W2KServer. Thanks!
0
1669
by: Chris | last post by:
For the IBM DB2 Development following this group. SNMP is coming back in a big way. Changes in Version 2c and adoptions of Version 3 are ushering in the adoption of SNMP back into the enterprise. Your customers are going to be asking for the inclusion of SNMP back into the monitoring suite. I'm not just talking about sending piddly SNMP traps. I mean the "real meat" stats you get out of your DB2 instances (physical-to-logical layout,...
0
1074
by: Muraliyamu | last post by:
hi frnds I need to send a message throw snmp for my java project. I have questions: 1. while compiling RFC1213 mib, it giving errors as Counter,Gauge, opaque cannot resolved symbol, even i mention in import stmt. 2. where can i find a sample mib so i can change it for my needs? or can some1 plz send me a simple one?
7
2132
by: jrefran | last post by:
Hi Everyone! Is there a need to compile my Apache 2.0.59 if I will use PHP4.4.5? How can I apply my Apache to PHP4.4.5 or I might ask how will I use my Apache properly with PHP4.4.5? This is my first time to use Apache with PHP. Please help me.
1
4185
by: Dirk Van de moortel | last post by:
{ OOPS, posted this to moderated group perl.cpan.discuss as well, so it can take a while to get through, if it gets through at all Otherwise sorry for duplicate posting } We need to set up a server 2003 (or a win XP system) to accept and act upon traps sent out from a storage system. Responding to various error conditions, this system can be fully configured to send traps.
7
3525
by: moon1 | last post by:
how will I change the code the 1st code according to the 2nd one? 1st code sub snmpGet(@) { # Assign arguments my ($deviceName)=$_; # Device name to read from my ($community)=$_; # SNMP Community String my ($timeout)=$_; # Timeout value for SNMP-GET request my ($type)=$_; # SNMP Object Type
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9522
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10443
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10002
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9044
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7543
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6783
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.