php-install Digest 15 Mar 2002 05:51:39 -0000 Issue 744

Topics (messages 6354 through 6366):

GD compile problem
        6354 by: LIMBOURG Arnaud
        6356 by: LIMBOURG Arnaud

Re: GD compile problem - Follow Up
        6355 by: LIMBOURG Arnaud

PHP and SNMP issue
        6357 by: Nicholas Ritter

RedHat 7.2 PHP install
        6358 by: John Thorne
        6359 by: Nicholas Ritter

Re: Install issue with Sun Solaris and PHP 4.1.1
        6360 by: Hopkins, Scott

how to get a php shell binary
        6361 by: Nicholas Ritter

cgi error
        6362 by: eddie

Relocation Error :Symbol ap_block_alarms: referenced symbol not f ound
        6363 by: Survilla, Ronald (SPEC)

Re: php.4.1.1 and ldapsdk - why doesn't it work
        6364 by: Joe R. Jah

IMAP
        6365 by: Jason D. Williard

Not creating binary file.
        6366 by: S.Murali Krishna

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hello,

i'm trying to compile php with the gd and i have the infamous
'GDImageResolve' follows non-static ... bug

It's on a redhat 7.2, does anybody have any clue what i can do ?

I know it's question already asked but i couldn't find any answer which
works.

Thanks in advance.

Arnaud
--- End Message ---
--- Begin Message ---
I forgot, it's for PHP 4.1.2
--- End Message ---
--- Begin Message ---
This is just a wrning, the real error is

previous declaration of `gdIOCtx'

any idea why ??
--- End Message ---
--- Begin Message ---
Greetings everyone,

I just joined the list again so I don't know if someone has posted any 
questions or info regarding this issue. With the listserv archive search 
down I was not able to search for an answer to this question.

I have a RedHat 7.2 Professional based server (dual Pentium III 1GHz, 
2GB RAM) with the RedHat 7.2 boxed RPMS for apache, mod_perl, mod_dav, 
etc., with the exception of PHP. I also have the most recent ucd-snmp 
rpms installed (ucd-snmp-4.2.3-1.7.2.3). With all of these rpms, I 
installed the devel rpms for everything except the apache modules.

I downloaded the php-4.1.2 source and configured it to use apxs, and to 
enable snmp. When I issue the configure, I get an error about simple 
feature detection issues, which I am not knowledgable enough to resolve 
(see attached debug.log.) And when I go to build, I get a snmp related 
compiler error.

Can someone give me hand on compiling php with Redhat 7.2 and ucd-snmp? 
I was reading the in the php docs about something that also needs to be 
done to the ucd-snmp source before the ucd-snmp source is compiled which 
may mean that I have to get and manually build snmp, but I am hoping 
someone on the list can give me some pointers on what should be done.

Let me know if anyone can't read the two attached files (debug.log, and 
builderror.log.)

Thanks in advance for any help that any can give me.

Nicholas
CONFIGURE:   './configure' '--with-mysql=/usr' '--with-apxs' 
'--with-snmp=/usr/include/ucd-snmp'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -DLINUX=22 -DEAPI -DEAPI_MM -DUSE_EXPAT 
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/include/apache  -I$(top_builddir)/Zend -I/usr/include/mysql 
-I/usr/include/ucd-snmp/include
LDFLAGS:     -Wl,-rpath,/usr/include/ucd-snmp/lib -L/usr/include/ucd-snmp/lib
LIBS:       -lsnmp -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /usr/include/ucd-snmp/lib
uname -a:   Linux vulcan.lfc.edu 2.4.9-31custom #1 SMP Thu Mar 14 11:21:30 CST 2002 
i686 unknown

gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -DUSE_EXPAT 
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -Wl,-rpath,/usr/include/ucd-snmp/lib 
-L/usr/include/ucd-snmp/lib conftest.c -lsnmp -lmysqlclient -lcrypt -lresolv -lm -ldl 
-lnsl  -lresolv -lcrypt 1>&5
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to 
`EVP_DigestInit'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to 
`EVP_DigestFinal'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to 
`EVP_md5'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to 
`HMAC'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to 
`EVP_sha1'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to 
`des_cbc_encrypt'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to 
`des_key_sched'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to 
`EVP_DigestUpdate'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to 
`RAND_bytes'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined reference to 
`des_ncbc_encrypt'
collect2: ld returned 1 exit status

Making all in Zend
make[1]: Entering directory `/root/f_www/php-4.1.2/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/f_www/php-4.1.2/Zend'
Making all in main
make[1]: Entering directory `/root/f_www/php-4.1.2/main'
make[2]: Entering directory `/root/f_www/php-4.1.2/main'
/bin/sh /root/f_www/php-4.1.2/libtool --silent --mode=compile gcc  -I. 
-I/root/f_www/php-4.1.2/main -I/root/f_www/php-4.1.2/main -I/root/f_www/php-4.1.2 
-I/usr/include/apache -I/root/f_www/php-4.1.2/Zend -I/usr/include/mysql 
-I/usr/include/ucd-snmp/include -I/root/f_www/php-4.1.2/ext/xml/expat  -DLINUX=22 
-DEAPI -DEAPI_MM -DUSE_EXPAT -DEAPI_MM_CORE_PATH=/var/run/httpd.mm 
-I/root/f_www/php-4.1.2/TSRM -g -O2 -prefer-pic  -c internal_functions.c
/bin/sh /root/f_www/php-4.1.2/libtool --silent --mode=link gcc  -I. 
-I/root/f_www/php-4.1.2/main -I/root/f_www/php-4.1.2/main -I/root/f_www/php-4.1.2 
-I/usr/include/apache -I/root/f_www/php-4.1.2/Zend -I/usr/include/mysql 
-I/usr/include/ucd-snmp/include -I/root/f_www/php-4.1.2/ext/xml/expat  -DLINUX=22 
-DEAPI -DEAPI_MM -DUSE_EXPAT -DEAPI_MM_CORE_PATH=/var/run/httpd.mm 
-I/root/f_www/php-4.1.2/TSRM -g -O2 -prefer-pic   -o libmain.la  main.lo 
internal_functions.lo snprintf.lo php_sprintf.lo safe_mode.lo fopen_wrappers.lo 
alloca.lo php_ini.lo SAPI.lo rfc1867.lo php_content_types.lo strlcpy.lo strlcat.lo 
mergesort.lo reentrancy.lo php_variables.lo php_ticks.lo streams.lo network.lo 
php_open_temporary_file.lo php_logos.lo output.lo  
make[2]: Leaving directory `/root/f_www/php-4.1.2/main'
make[1]: Leaving directory `/root/f_www/php-4.1.2/main'
Making all in ext
make[1]: Entering directory `/root/f_www/php-4.1.2/ext'
Making all in mysql
make[2]: Entering directory `/root/f_www/php-4.1.2/ext/mysql'
make[3]: Entering directory `/root/f_www/php-4.1.2/ext/mysql'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/f_www/php-4.1.2/ext/mysql'
make[2]: Leaving directory `/root/f_www/php-4.1.2/ext/mysql'
Making all in pcre
make[2]: Entering directory `/root/f_www/php-4.1.2/ext/pcre'
Making all in pcrelib
make[3]: Entering directory `/root/f_www/php-4.1.2/ext/pcre/pcrelib'
make[4]: Entering directory `/root/f_www/php-4.1.2/ext/pcre/pcrelib'
make[4]: Nothing to be done for `all-p'.
make[4]: Leaving directory `/root/f_www/php-4.1.2/ext/pcre/pcrelib'
make[3]: Leaving directory `/root/f_www/php-4.1.2/ext/pcre/pcrelib'
make[3]: Entering directory `/root/f_www/php-4.1.2/ext/pcre'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/f_www/php-4.1.2/ext/pcre'
make[2]: Leaving directory `/root/f_www/php-4.1.2/ext/pcre'
Making all in posix
make[2]: Entering directory `/root/f_www/php-4.1.2/ext/posix'
make[3]: Entering directory `/root/f_www/php-4.1.2/ext/posix'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/f_www/php-4.1.2/ext/posix'
make[2]: Leaving directory `/root/f_www/php-4.1.2/ext/posix'
Making all in session
make[2]: Entering directory `/root/f_www/php-4.1.2/ext/session'
make[3]: Entering directory `/root/f_www/php-4.1.2/ext/session'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/f_www/php-4.1.2/ext/session'
make[2]: Leaving directory `/root/f_www/php-4.1.2/ext/session'
Making all in snmp
make[2]: Entering directory `/root/f_www/php-4.1.2/ext/snmp'
make[3]: Entering directory `/root/f_www/php-4.1.2/ext/snmp'
/bin/sh /root/f_www/php-4.1.2/libtool --silent --mode=compile gcc  -I. 
-I/root/f_www/php-4.1.2/ext/snmp -I/root/f_www/php-4.1.2/main -I/root/f_www/php-4.1.2 
-I/usr/include/apache -I/root/f_www/php-4.1.2/Zend -I/usr/include/mysql 
-I/usr/include/ucd-snmp/include -I/root/f_www/php-4.1.2/ext/xml/expat  -DLINUX=22 
-DEAPI -DEAPI_MM -DUSE_EXPAT -DEAPI_MM_CORE_PATH=/var/run/httpd.mm 
-I/root/f_www/php-4.1.2/TSRM -g -O2 -prefer-pic  -c snmp.c
snmp.c:62:18: asn1.h: No such file or directory
snmp.c:63:22: snmp_api.h: No such file or directory
snmp.c:64:25: snmp_client.h: No such file or directory
snmp.c:65:23: snmp_impl.h: No such file or directory
snmp.c:66:18: snmp.h: No such file or directory
snmp.c:67:19: parse.h: No such file or directory
snmp.c:68:17: mib.h: No such file or directory
snmp.c:69:21: version.h: No such file or directory
make[3]: *** [snmp.lo] Error 1
make[3]: Leaving directory `/root/f_www/php-4.1.2/ext/snmp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/f_www/php-4.1.2/ext/snmp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/f_www/php-4.1.2/ext'
make: *** [all-recursive] Error 1
--- End Message ---
--- Begin Message ---
I can not get php installed/working on my new Rehat 7.2 box.
Various HowTo's say you need mod_php, which I finally found
(www.megaloman.com/~handy/RRPM/index.html)

The install fails with a dependencies on libmm.so.1
Running locate finds a /usr/lib/libmm.so.11 not a ..1

What am I missing here.
Is there some one making an rpm / script for RehHat that
will build a php/mysql/apache server ?

This should not be this hard......

thanks

jrt




--- End Message ---
--- Begin Message ---
John Thorne wrote:

>I can not get php installed/working on my new Rehat 7.2 box.
>Various HowTo's say you need mod_php, which I finally found
>(www.megaloman.com/~handy/RRPM/index.html)
>
>The install fails with a dependencies on libmm.so.1
>Running locate finds a /usr/lib/libmm.so.11 not a ..1
>
>What am I missing here.
>Is there some one making an rpm / script for RehHat that
>will build a php/mysql/apache server ?
>
>This should not be this hard......
>
>thanks
>
>jrt
>
>
>
>
>
Try out Apache-Toolbox, which can be found via freshmeat.net or at:

http://www.apachetoolbox.com/


it gives you a text-menu based setup and installer.

I have not used it much because I need some custom things that it can't 
do. You can also use the mysql/apache/php rpms that come with redhat 7.2 
will do the trick as well.

Nicholas


--- End Message ---
--- Begin Message ---
When installing PHP 4.1.1 with MHASH and MCRYPT on Sun Solaris 7, I keep
getting the following error:

configure: error: Please reinstall libmhash - I cannot find mhash.h

Due to concurrency issues, I am trying to build these in a non-standard
location, and have rebuilt them a few times  The mhash and mcrypt libraries
are located at /opt/build/lib, which I put in the ./configure statement for
php.

                ./configure \                                   
                --prefix=/opt/build \                             
                --libdir=/opt/build/lib \                         
                --includedir=/opt/build/include \                 
                --oldincludedir=/opt/build/include \              
                --with-pear \                                   
                --with-openssl=/opt/build/tmp/src/openssl-0.9.6c \
                --with-gd=/opt/build/tmp/src/gd-1.8.4 \           
                --with-mhash=/opt/build/tmp/src/mhash-0.8.9 \     
                --with-mcrypt=/opt/build/tmp/src/mcrypt-2.5.12 \  
                --with-pspell=/opt/build/tmp/src/pspell-.12.2 \   
                --with-mysql=/opt/build/mysql \                      
                --with-xml \                                    
                --with-apxs=/opt/build/server_httpd/bin/apxs \             
                --enable-track-vars

Any ideas?    Thanks in advance for the help.


Scott Hopkins

--- End Message ---
--- Begin Message ---
I have another question, how do I compile php so that have it as a 
module in apache and also a shell binary? I want to call php from a cron 
job (for cacti.)

Nicholas


--- End Message ---
--- Begin Message ---
Hi,

I have an NT4 machine running IIS4. I'm using the PHP installer 4.1.2 to try
and install PHP. After completion of the installation I have rebooted, run a
simple PHP script and I get the following error message:


"CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:"

The rest of the page is blank.

Any assistance in overcoming this would be greatly appreciated

cheers

Eddie


--- End Message ---
--- Begin Message ---
Hi All,
This is my environment:
 
    Sun Solaris 2.8 (Intel)
    Apache 1.3.23
    Mysql 3.23.45
    PHP 4.1.1
 
I build the PHP without error by running this command:
1. ./configure --with-mysql=/usr/local/mysql
--with-apxs=/export/home/apache/bin/apxs
2. make
3. make install
 
I already set the LD_LIBRARY_PATH and also run the crle -c /var/ld/ld.config
-l to library path.
 
Below is the error when I run the Apache:
 
Syntax error on line 205 of /export/home/apache/conf/httpd.conf:
Cannot load /export/home/apache/libexec/libphp4.so into server: ld.so.1:
/export/home/apache/bin/httpd:
fatal: relocation error: file /export/home/apache/libexec/libphp4.so: symbol
ap_block_alarms: referenced symbol not found.
 
Pls help me with this ... I need to up this server as ASAP ... my schedule
was already over and i'm still stuck with this ...
 
Thanks.
 
Regards,
Ronald
 <mailto:[EMAIL PROTECTED]> 

-------------------------------------------------------------------
This email is confidential and intended only for the use of the individual
or entity named above and may contain information that is privileged. If you
are not the intended recipient, you are notified that any dissemination,
distribution or copying of this email is strictly prohibited. If you have
received this email in error, please notify us immediately by return email
or telephone and destroy the original message. Thank you. - This mail is
sent via Sony Asia Pacific Mail Gateway. 
-------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
On Thu, 14 Mar 2002, ZILBER,LEONID (HP-NewJersey,ex1) wrote:

> Date: Thu, 14 Mar 2002 08:37:06 -0800
> From: "ZILBER,LEONID (HP-NewJersey,ex1)" <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: [PHP-INST] php.4.1.1 and ldapsdk - why doesn't it work
> 
> Hi guys,
> 
> I am trying to compile php4.1.1 as a DSO module with LDAP support:

4.1.1 has a security hole.  Upgrade to 4.1.2.

Regards,

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
I would like to begin working with mail servers in PHP, with the intent of
creating a webmail system for my site.  I am trying to get things working,
but am not exactly sure how to get everything installed and configured
correctly.  I know that I have to install a c-client library, but am not
sure how to do this.  Not meaning to sound too helpless, could someone give
me some assistance installing and configuring the c-client?

 -- Jason W.


--- End Message ---
--- Begin Message ---

Hi
        I have added  sample extension from zend site to php souce code
and compiled as stated in README.EXT.. file. 
        It is going fine but, I  could not get PHP BINARY file instead a
filename libphp4.la has been created. 
        
        Iam compiling as normal user. 

I even tried with  'configure --disable-apxs' too.

Any help would be appreciated.

<[EMAIL PROTECTED]>
-------------------------------------------------------------------
We must use time wisely and forever realize that the time is 
always ripe to do right."
            
                -- Nelson Mandela
-------------------------------------------------------------------

--- End Message ---

Reply via email to