php-install Digest 9 Aug 2001 12:24:55 -0000 Issue 404
Topics (messages 3908 through 3912):
PHP Installation problem
3908 by: Indianic Infotech Limited
Re: How to compile PHP with IMAP option?
3909 by: nilesh Dharaiya
Re: PHP and Solaris 8 / iPlanet
3910 by: Alfred Lerch
php cvs make error
3911 by: David Chang
4.0.7 compile as cgi fails
3912 by: Peter Holm
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]
----------------------------------------------------------------------
I am trying to install PHP 4.0.5 on previous version of php 4.01 on cobalt raq
4server. we are getting following error
<cut and paste from linux terminal>
______________________________
Making all in mysql
make[2]: Entering directory `/home/src/php-4.0.5/ext/mysql'
Making all in libmysql
make[3]: Entering directory `/home/src/php-4.0.5/ext/mysql/libmysql'
make[4]: Entering directory `/home/src/php-4.0.5/ext/mysql/libmysql'
/bin/sh /home/src/php-4.0.5/libtool --silent --mode=compile gcc -I.
-I/home/src/php-4.0.5/ext/mysql/libmysql -I/home/src/php-4.0.5/main
-I/home/src/php-4.0.5 -I/usr/include/apache -I/home/src/php-4.0.5/Zend
-I/usr/include/freetype -I/usr/include/imap -I/usr/interbase/include
-I/home/src/php-4.0.5/ext/mysql/libmysql -I/home/src/php-4.0.5/ext/xml/expat/xmltok
-I/home/src/php-4.0.5/ext/xml/expat/xmlparse -I/home/src/php-4.0.5/TSRM -DLINUX=2
-DMOD_SSL=206104 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -DEAPI
-DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c
libmysql.c
In file included from libmysql.c:9:
global.h:240: warning: redefinition of `uint'
/usr/include/sys/types.h:131: warning: `uint' previously declared here
global.h:241: warning: redefinition of `ushort'
/usr/include/sys/types.h:130: warning: `ushort' previously declared here
In file included from libmysql.c:12:
m_string.h:180: parse error before `__extension__'
m_string.h:180: parse error before `&&'
make[4]: *** [libmysql.lo] Error 1
make[4]: Leaving directory `/home/src/php-4.0.5/ext/mysql/libmysql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/src/php-4.0.5/ext/mysql/libmysql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/src/php-4.0.5/ext/mysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/src/php-4.0.5/ext'
make: *** [all-recursive] Error 1
______________________________
This is the copy of debug.php
========================
CONFIGURE: './configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs' '--with-gd'
'--enable-safe-mode' '--with-config-file-path=/etc/httpd' '--with-mysql'
'--with-exec-dir=/usr/bin' '--enable-magic-quotes' '--with-regex=system'
'--with-ttf=/usr/lib/libttf.so' '--enable-track-vars' '--enable-xml' '--disable-debug'
'--with-interbase=shared' '--with-pgsql=shared' '--with-ldap' '--with-imap'
'--enable-sockets'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DLINUX=2 -DMOD_SSL=206104 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char
-DHAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend -I/usr/include/freetype
-I/usr/include/imap -I/usr/interbase/include -I/home/src/php-4.0.5/ext/mysql/libmysql
LDFLAGS:
LIBS: -lldap -llber -lttf -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv
DLIBS: -lc-client
SAPI: apache
PHP_RPATHS:
uname -a: Linux www.hikanoo.com 2.2.14C11 #2 Wed Jun 28 00:55:51 PDT 2000 i586
unknown
gcc -o conftest -g -O2 -DLINUX=2 -DMOD_SSL=206104 -DMOD_PERL -DUSE_PERL_SSI
-Dbool=char -DHAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -DSUPPORT_UTF8
conftest.c -lldap -llber -lttf -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5
/usr/bin/ld: cannot find -lgd
collect2: ld returned 1 exit status
===================================
regards,
sandeep
________________________________
Indianic Infotech Limited
91-79-6404208/09/10
________________________________
In order to compile php with imap you have to download
University of Washington Imap C-client library compile
and install in. And then compile php
with-imap=/path/to/imap-Cclient directory
--- Christopher Cheng <[EMAIL PROTECTED]>
wrote:
> I am new to using PHP with IMAP?
> As I recompile PHP, I use
>
> rm config.cache
> ./configure --enable-track-vars
> --enable-force-cgi-redirect --with-gettext -
> -with-mysql --with-sybase=/opt/sybase --with-apxs
> --with-imap
> make
> make install
>
> After I restart Apache, it says that
> Cannot load /www/libexec/libphp4.so into server:
> /www/libexec/libphp4.so:
> undefined symbol: gss_mech_krb5
>
> Does it mean that I miss the DIR option after
> "--with-imap"? I am using
> Redhat 6.2, what should it always be?
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Hi Dale,
- anything else in the iPlanet error log but "(2: unknown early startup
error)" ?
- anything in /var/adm/messages ?
- which script do you have for starting iPlanet ?
- would you like to mail me your iPlanet startup script and obj.conf
file ?
regards
alfred
Dale Wright wrote:
>
> What kind of information would you need? I have installed PHP on win32
> systems with no problem but this Solaris machine is killing me. I did go
> to the benoit website and followed the info there. Everything compiles and
> the install goes fine but when I try to start the server I get that error.
>
> Thanks,
> Dale Wright
>
> -----Original Message-----
> From: Alfred Lerch [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 08, 2001 10:39 AM
> To: Dale Wright
> Cc: php-install
> Subject: Re: [PHP-INST] PHP and Solaris 8 / iPlanet
>
> Hi Dale,
>
> > recommended web sites
> probably includes http://benoit.noss.free.fr/php/install-php4.html ?
>
> Have you checked the LD_LIBRARY variable ?
>
> Would you have some more information ?
>
> regards
>
> alfred
>
> Dale Wright wrote:
> >
> > After installing PHP on Solaris 8 with iPlanet 4, the web server will not
> > restart -- the error is -- start failed. (2: unknown early startup error)
> > I have looked through a lot of the discussion groups and recommended web
> > sites to no avail. Can anyone give me some clues? If I comment out the
> > init stuff in the obj.conf file the server will start but will not
> shutdown.
> > If I don't get this working soon, my PHP project may get the axe!!
> > Arrrgggghhh!
> >
> > Thanks in advance,
> > Dale Wright
> > Integration Manager
> > Saffron Technology, Inc.
> > http://www.saffrontech.com
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
>
> --
> \\\\\///
> / ^ _ \
> ( (o) (o) ) --- That's all folks ---
> +=oOOO=====(_)=====OOOo==========================================+
> |Alfred Lerch Mentor Graphics Deutschland GmbH|
> |Network & System Administrator Elsenheimer Str. 41 - 43|
> |IT - Business Support Team Munich D-80687 Muenchen, Germany|
> |email: [EMAIL PROTECTED] Fax : +49 89 57096-400|
> |Tel. : +49 89 57096-241 Mobile: +49 172 8915200|
> | |
> |Helpdesk IT Central Europe in Munich |
> |Tel. : +49 89 57096-110 internal: 777|
> |email: [EMAIL PROTECTED] |
> +=============Oooo.==============================================+
> .oooO ( )
> ( ) ) /
> \ ( (_/
> \_)
--
--
\\\\\///
/ ^ _ \
( (o) (o) ) --- That's all folks ---
+=oOOO=====(_)=====OOOo==========================================+
|Alfred Lerch Mentor Graphics Deutschland GmbH|
|Network & System Administrator Elsenheimer Str. 41 - 43|
|IT - Business Support Team Munich D-80687 Muenchen, Germany|
|email: [EMAIL PROTECTED] Fax : +49 89 57096-400|
|Tel. : +49 89 57096-241 Mobile: +49 172 8915200|
| |
|Helpdesk IT Central Europe in Munich |
|Tel. : +49 89 57096-110 internal: 777|
|email: [EMAIL PROTECTED] |
+=============Oooo.==============================================+
.oooO ( )
( ) ) /
\ ( (_/
\_)
Hi all:
I got errors while run "make" command at php4-cvs source directory:
OS Linux RedHat 6.0 Kernel 2.2.5.15
cd /tmp/php4
/buildconf
/configure
/make
make[3]: Entering directory `/tmp/php4/ext/standard'
gcc -I. -I/tmp/php4/ext/standard -I/tmp/php4/main -I/tmp/php4
-I/tmp/apache_1.3.20/src/include -I/tmp/apache_1.3.20/src/os/unix
-I/tmp/php4/Zend -I/usr/local/BerkeleyDB.3.2/include
-I/usr/local/include -I/tmp/imap-2001.BETA.SNAP-0107112053/
c-client -I/home/informix/incl/esql -I/tmp/libmcal
-I/usr/local/include/mysql -I
/tmp/php4/ext/xml/expat -I/tmp/php4/TSRM -g -O2 -c html.c && touch
html.lo
html.c: In function `determine_charset':
html.c:232: `CODESET' undeclared (first use in this function)
html.c:232: (Each undeclared identifier is reported only once
html.c:232: for each function it appears in.)
make[3]: *** [html.lo] Error 1
make[3]: Leaving directory `/tmp/php4/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/php4/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/php4/ext'
make: *** [all-recursive] Error 1
On Wed, 8 Aug 2001 17:40:02 +0200 (CEST), [EMAIL PROTECTED] (Jani
Taskinen) wrote:
>Get the latest CVS snapshot from http://snaps.php.net/
>I fixed this just few days ago.
OK, I got the php4-200108090135.tar.gz
Yep, compile as DSO now works, great!
*BUT* if I try to compile as cgi now it gives me some errors using the
same config:
stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
�/inst/php4-200108090135�
make: *** [all-recursive] Fehler 1
"Fehler" is german and means "Error"
config looks like this:
./configure --with-mysql=/usr \
--with-config-file-path=/etc \
--with-regex=system \
--with-zlib=shared \
--with-gd=shared \
--with-imap=shared \
--with-openssl=shared \
--with-kerberos \
--with-curl=shared \
--with-ldap=shared \
--with-swf=shared,/usr/local/swf \
--with-mnogosearch=shared \
--with-gettext=shared \
--with-db2 \
--with-db3 \
--enable-ftp=shared \
--enable-trans-sid \
--enable-calendar \
--enable-shared \
--disable-pear \
Please notice: compiling --with-apxs did NOT fail and seems to work
(simple test-scripts showed no problems )
I am trying to compile it with less modules to get it isolated, but I
think you can see much faster than me what�s wrong.
Have a nice thread,
Peter