php-install Digest 17 Aug 2001 02:43:52 -0000 Issue 417

Topics (messages 3996 through 4009):

Total Noobie PHP Installation Question. Where to get PHP4win?
        3996 by: AthoS
        4009 by: Gaylen Fraley

Trying again
        3997 by: N.A.Morgan.bton.ac.uk
        4008 by: Jani Taskinen

php4 apache2 install
        3998 by: John Falkarp

ldap compile problem.
        3999 by: Johan Vikerskog (ECS)

Trouble installing php 4.06
        4000 by: David Merberg

Problem building php 4.06 under Red Hat 7.1
        4001 by: David Merberg

Problem building PHP on Red Hat 7.1
        4002 by: David Merberg

Re: If phpinfo works why doesnt anything else ?
        4003 by: Pierce Leahy

problem compiling PHP 4.0.6
        4004 by: Zarathustra Ubermensch
        4005 by: Rasmus Lerdorf

flex
        4006 by: Neo

Re: Problems installing ucd-snmp-4.2.2 into PHP 4.0.6
        4007 by: Jani Taskinen

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]


----------------------------------------------------------------------


Just bought a Book to learn PHP(Beginning PHP4) and have only got to the
Installation part. The problem being I need PHP4win ('non-developement,
stable release'). The site to Download it has been down for a while
(phpwin.de) now and I can't find any other source.
Would it make any difference if I used PHP4 dev which is readily available?
Or any other version?
Cheers for any help on this.
AthoS






www.php.net

--

"Athos" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Just bought a Book to learn PHP(Beginning PHP4) and have only got to the
> Installation part. The problem being I need PHP4win ('non-developement,
> stable release'). The site to Download it has been down for a while
> (phpwin.de) now and I can't find any other source.
> Would it make any difference if I used PHP4 dev which is readily
available?
> Or any other version?
> Cheers for any help on this.
> AthoS
>
>






>  -----Original Message-----
> From:         Morgan Neil  
> Sent: Friday, July 13, 2001 2:16 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      Loading Extensions - HELP!!!
> 
> I am running PHP 4.0.5 (php4isapi.dll, not php.exe) on Windows NT 4.0
> service pack 6a with IIS 4.0.  I have installed manually using the zip
> file version that contains all the .dll extensions, and I have no problems
> using PHP itself.
> 
> However, the problem comes when I want to use some of the extensions
> (namely LDAP).  I am currently loading two extensions, php_ldap.dll and
> php_oci8.dll.  The latter loads fine and I connect to Oracle with ease.
> But, when loading the LDAP version, I get the error Unable to load dynamic
> library 'c:\winnt\system32\php_ldap.dll' - the specified module could not
> be found at the server monitor and the error Fatal error: Call to
> undefined function: ldap_connect() in <file>.php on line <xx> at the
> browser (due to not loading php_ldap.dll).  The permissions on both dlls
> are identical, and they are in the same folder on the server.
> 'c:\winnt\system32\php_ldap.dll' is the correct path.
> 
> I have both running on an installation of PWS 4.0 with no problems.  Can
> anyone please shed some light?
> 
> Thanks,
> 
> Neil Morgan
> Analyst Programmer
> Admin Computing
> University of Brighton
> [EMAIL PROTECTED]
> Tel: (01273 64)3930
> 





You haven't read the install.txt, have you?
You also haven't copied the necessary dlls which php_ldap.dll requires.
See this manual page for which ones you need:

http://www.php.net/manual/en/install-windows.php#install.windows.extensions

--Jani



On Thu, 16 Aug 2001 [EMAIL PROTECTED] wrote:

>>  -----Original Message-----
>> From:        Morgan Neil
>> Sent:        Friday, July 13, 2001 2:16 PM
>> To:  '[EMAIL PROTECTED]'
>> Subject:     Loading Extensions - HELP!!!
>>
>> I am running PHP 4.0.5 (php4isapi.dll, not php.exe) on Windows NT 4.0
>> service pack 6a with IIS 4.0.  I have installed manually using the zip
>> file version that contains all the .dll extensions, and I have no problems
>> using PHP itself.
>>
>> However, the problem comes when I want to use some of the extensions
>> (namely LDAP).  I am currently loading two extensions, php_ldap.dll and
>> php_oci8.dll.  The latter loads fine and I connect to Oracle with ease.
>> But, when loading the LDAP version, I get the error Unable to load dynamic
>> library 'c:\winnt\system32\php_ldap.dll' - the specified module could not
>> be found at the server monitor and the error Fatal error: Call to
>> undefined function: ldap_connect() in <file>.php on line <xx> at the
>> browser (due to not loading php_ldap.dll).  The permissions on both dlls
>> are identical, and they are in the same folder on the server.
>> 'c:\winnt\system32\php_ldap.dll' is the correct path.
>>
>> I have both running on an installation of PWS 4.0 with no problems.  Can
>> anyone please shed some light?
>>
>> Thanks,
>>
>> Neil Morgan
>> Analyst Programmer
>> Admin Computing
>> University of Brighton
>> [EMAIL PROTECTED]
>> Tel: (01273 64)3930
>>
>
>





Hi,
Try to install php 4.0.6 with apache2
configure works fine
make
make exits with this message:

sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:248: too many arguments to function `ap_get_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:443: warning: passing arg 2 of `ap_register_input_filter'
from incompatible pointer type
*** Error code 1

Stop in /usr/home/admin/php-4.0.6/sapi/apache2filter.
*** Error code 1

whats wrong?
JohnF






I get the following error message:

gcc  -I. -I/export/scratch/apps3/php-4.0.6/ext/mysql/libmysql 
-I/export/scratch/apps3/php-4.0.6/main -I/export/scratch/apps3/php-4.0.6 
-I/export/scratch/apps3/apache_1.3.20/src/include 
-I/export/scratch/apps3/apache_1.3.20/src/os/unix 
-I/export/scratch/apps3/php-4.0.6/Zend -I/export/scratch/apps3/ldap/include 
-I/export/scratch/apps3/php-4.0.6/ext/mysql/libmysql 
-I/export/scratch/apps3/php-4.0.6/ext/xml/expat/xmltok 
-I/export/scratch/apps3/php-4.0.6/ext/xml/expat/xmlparse 
-I/export/scratch/apps3/php-4.0.6/TSRM  -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 
-DXML_BYTE_ORDER=21 -g -O2  -c my_getwd.c && touch my_getwd.lo
my_getwd.c:58: #error "No way to get current directory"
*** Error code 1
make: Fatal error: Command failed for target `my_getwd.lo'
Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql/libmysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql/libmysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/scratch/apps3/php-4.0.6/ext

Afterwards the compilation exits.

If i compile without --with-ldap everything works great but if i do it with ldap i get 
this error message everytime.

Can anyone please help me.
I have been struggled with this all morning.

//Johan


Johan Vikerskog
Technician - CAE Tools Support
Research & Technology Development
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Ericsson Mobile Communications AB
Mobile Phones & Terminals       Telephone: +46 46 19 33 38
Nya Vattentornet                        Telefax:        +46 46 19 32 36 
SE-221 83 Lund, Sweden          





Hello,

I am trying to install php 4.06 under apache_1.3.20, running on Red Hat
Linux 7.1.  I'm getting error messages in the "Generating Files" step of
running when running "configure".  The debug log refers to undefined
references in GLIBC_2.2 (see below).  I know there are issues with Red Hat 7
and glibc.  We have the 6.2 compatibility packages installed.  I've tried to
configure php both with and without the following environmental variables in
effect:
        LD_ASSUME_KERNEL=2.2.5
        LDEMULATION=elf_i386_glibc21
        GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/lib/gcc-lib/

I hope someone can help.

Thanks,

David Merberg
Phylos, Inc.

----------------------------------------debug.log---------------------------
----------------------------------------------

CONFIGURE:   './configure' '--with-mysql' '--with-oracle'
'--with-apache=../apache_1.3.20' '--enable-track-vars'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -DSUPPORT_UTF8
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/local/src/apache_1.3.20/src/include
-I/usr/local/src/apache_1.3.20/src/os/unix  -I$(top_builddir)/Zend
-I/usr/local/src/php-4.0.6/ext/mysql/libmysql
-I/u01/app/oracle/product/8.1.7/rdbms/public
-I/u01/app/oracle/product/8.1.7/rdbms/demo
LDFLAGS:     -Wl,-rpath,/u01/app/oracle/product/8.1.7/lib
-L/u01/app/oracle/product/8.1.7/lib
LIBS:       -lm -ldl -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lclntsh
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /u01/app/oracle/product/8.1.7/lib
uname -a:   Linux linux01 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686
unknown

gcc -o conftest -g -O2  -DSUPPORT_UTF8
-Wl,-rpath,/u01/app/oracle/product/8.1.7/lib
-L/u01/app/oracle/product/8.1.7/lib conftest.c -lm -ldl -lcrypt -lresolv -lm
-ldl -lnsl  -lresolv -lclntsh 1>&5
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libresolv.so: undefined
reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libresolv.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libresolv.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
reference to `[EMAIL PROTECTED]'
collect2: ld returned 1 exit status




Hello,

I am trying to install php 4.06 under apache_1.3.20, running on Red Hat
Linux 7.1.  I'm getting error messages in the "Generating Files" step 
when running "configure".  The debug log refers to undefined
references in GLIBC_2.2 (see below).  I know there are issues with Red Hat 7
and glibc.  We have the 6.2 compatibility packages installed.  I've tried to
configure php both with and without the following environmental variables in
effect:
        LD_ASSUME_KERNEL=2.2.5
        LDEMULATION=elf_i386_glibc21
        GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/lib/gcc-lib/

I hope someone can help.

Thanks,

David Merberg
Phylos, Inc.

----------------------------------------debug.log---------------------------
----------------------------------------------

CONFIGURE:   './configure' '--with-mysql' '--with-oracle'
'--with-apache=../apache_1.3.20' '--enable-track-vars'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -DSUPPORT_UTF8
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/local/src/apache_1.3.20/src/include
-I/usr/local/src/apache_1.3.20/src/os/unix  -I$(top_builddir)/Zend
-I/usr/local/src/php-4.0.6/ext/mysql/libmysql
-I/u01/app/oracle/product/8.1.7/rdbms/public
-I/u01/app/oracle/product/8.1.7/rdbms/demo
LDFLAGS:     -Wl,-rpath,/u01/app/oracle/product/8.1.7/lib
-L/u01/app/oracle/product/8.1.7/lib
LIBS:       -lm -ldl -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lclntsh
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /u01/app/oracle/product/8.1.7/lib
uname -a:   Linux linux01 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686
unknown

gcc -o conftest -g -O2  -DSUPPORT_UTF8
-Wl,-rpath,/u01/app/oracle/product/8.1.7/lib
-L/u01/app/oracle/product/8.1.7/lib conftest.c -lm -ldl -lcrypt -lresolv -lm
-ldl -lnsl  -lresolv -lclntsh 1>&5
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libresolv.so: undefined
reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libresolv.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libresolv.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
reference to `[EMAIL PROTECTED]'
collect2: ld returned 1 exit status





Hello,

I am trying to install php 4.06 under apache_1.3.20, running on Red Hat
Linux 7.1.  I'm getting error messages in the "Generating Files" step 
when running "configure".  The debug log refers to undefined
references in GLIBC_2.2 (see below).  I know there are issues with Red Hat 7
and glibc.  We have the 6.2 compatibility packages installed.  I've tried to
configure php both with and without the following environmental variables in
effect:
        LD_ASSUME_KERNEL=2.2.5
        LDEMULATION=elf_i386_glibc21
        GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/lib/gcc-lib/

I hope someone can help.

Thanks,

David Merberg
Phylos, Inc.

----------------------------------------debug.log---------------------------
----------------------------------------------

CONFIGURE:   './configure' '--with-mysql' '--with-oracle'
'--with-apache=../apache_1.3.20' '--enable-track-vars'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -DSUPPORT_UTF8
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/local/src/apache_1.3.20/src/include
-I/usr/local/src/apache_1.3.20/src/os/unix  -I$(top_builddir)/Zend
-I/usr/local/src/php-4.0.6/ext/mysql/libmysql
-I/u01/app/oracle/product/8.1.7/rdbms/public
-I/u01/app/oracle/product/8.1.7/rdbms/demo
LDFLAGS:     -Wl,-rpath,/u01/app/oracle/product/8.1.7/lib
-L/u01/app/oracle/product/8.1.7/lib
LIBS:       -lm -ldl -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lclntsh
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /u01/app/oracle/product/8.1.7/lib
uname -a:   Linux linux01 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686
unknown

gcc -o conftest -g -O2  -DSUPPORT_UTF8
-Wl,-rpath,/u01/app/oracle/product/8.1.7/lib
-L/u01/app/oracle/product/8.1.7/lib conftest.c -lm -ldl -lcrypt -lresolv -lm
-ldl -lnsl  -lresolv -lclntsh 1>&5
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libresolv.so: undefined
reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libresolv.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libresolv.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libnsl.so: undefined
reference to `[EMAIL PROTECTED]'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libm.so: undefined
reference to `[EMAIL PROTECTED]'
collect2: ld returned 1 exit status





Thanks for the info. Funny thing was I happened to stumble upon it late
yesterday. I happened to read about phptriad from sourceforge and tried that
and it didn't work but then I search sourceforge and found the fox program.
It was about 5ish at that point and so I went home and installed it on one
of my home machines and within 5 mins it was all working.

I wish they put that in the faq even if they don't support it.

Anyway I'm rolling along fine now.

Thanks
"Jonathan Hilgeman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I set up lots of development boxes using Windows/PHP and I've found that
the
> quickest road to getting started is just to download and run FoxServ:
> http://prdownloads.sourceforge.net/foxserv/foxserv-v1.0.exe
>
> It will install PHP 4.0.5/mySQL 3.23.37/Apache 1.3.19 with GD and all that
> jazz and it takes literally about 1-3 minutes (3 minutes on a 486 running
> Windows 95) to be staring at a working PHP page, and from there, you can
> modify configs as you like to change Apache's document root to a different
> directory if you don't want all your web-accessible files to be in
> C:\FoxServ\www, etc.... I've been working on a tool to configure
> post-installed FoxServ, but it's not finished yet.
>
> I'm not the developer of the installer program, but this is one of the
best
> installers I've seen. The only problem is that the developer ran out of
time
> and is trying to pass the project on to someone else now. So there won't
be
> any updates until someone takes it on.
>
> - Jonathan
>
> "Pierce Leahy" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Xitami
> > WinNt
> > php 4
> >
> > I've tried most every combination of servers with php and all I can ever
> get
> > to work is the phpinfo and sometimes not even that. I have 2 nt boxes on
> one
> > I tried IIS and on the other I've tried apache and Xitami. Nothing works
> the
> > way it should.
> >
> > The "documentation" says to set some dir's in the php ini file, I did
that
> > nothing works. I saw a post from a woman who says to set the dir's to
> blank,
> > I did that and phpinfo started working and she doesn't even work for
php.
> >
> > The latest is I just get blank pages
> >
> > Isn't there some sort of configuration tool that you can run and it'll
> check
> > all the setting to make sure they're correct.?? ?
> >
> >
> >
>
>






Hi Folks,
I'm trying to compile PHP 4.0.6 under Solaris 8 and am running into trouble 
when trying to add in gd 1.8.4 support. gd compiles fine (I think) and 
definitely creates /usr/local/lib/libgd.a, but the PHP make sessions still 
fails. Any ideas or help would be definitely appreciated.

Thanks!

Debug log:
CONFIGURE:   './configure' '--with-mysql' '--enable-bcmath' 
'--enable-sockets' '--with-apache=/tmp/workdir/apache_
1.3.19' '--enable-track-vars' '--with-gd' '--prefix=/usr/local'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES:    -I/tmp/workdir/apache_1.3.19/src/include 
-I/tmp/workdir/apache_1.3.19/src/os/unix  -I$(top_builddir)/
Zend -I/tmp/workdir/php-4.0.6/ext/mysql/libmysql
LDFLAGS:     -R/usr/ucblib -L/usr/ucblib 
-R/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -L/opt/sfw/lib/gcc-lib
/sparc-sun-solaris2.8/2.95.2
LIBS:       -lgd -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket  -lsocket 
-lgcc
DLIBS:
SAPI:       apache
PHP_RPATHS:  /usr/ucblib /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2
uname -a:   SunOS corum 5.8 Generic_108528-06 sun4u sparc SUNW,UltraAX-i2

gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8  
-R/usr/ucblib -L/usr/ucblib -R/opt/sfw/lib/gcc-
lib/sparc-sun-solaris2.8/2.95.2 
-L/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 conftest.c -lgd -lcrypt 
-lresol
v -lresolv -lm -ldl -lnsl -lsocket  -lsocket -lgcc 1>&5
ld: fatal: library -lgd: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





--with-gd=/usr/local

On Thu, 16 Aug 2001, Zarathustra Ubermensch wrote:

> Hi Folks,
> I'm trying to compile PHP 4.0.6 under Solaris 8 and am running into trouble
> when trying to add in gd 1.8.4 support. gd compiles fine (I think) and
> definitely creates /usr/local/lib/libgd.a, but the PHP make sessions still
> fails. Any ideas or help would be definitely appreciated.
>
> Thanks!
>
> Debug log:
> CONFIGURE:   './configure' '--with-mysql' '--enable-bcmath'
> '--enable-sockets' '--with-apache=/tmp/workdir/apache_
> 1.3.19' '--enable-track-vars' '--with-gd' '--prefix=/usr/local'
> CC:         gcc
> CFLAGS:     -g -O2
> CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8
> CXX:
> CXXFLAGS:
> INCLUDES:    -I/tmp/workdir/apache_1.3.19/src/include
> -I/tmp/workdir/apache_1.3.19/src/os/unix  -I$(top_builddir)/
> Zend -I/tmp/workdir/php-4.0.6/ext/mysql/libmysql
> LDFLAGS:     -R/usr/ucblib -L/usr/ucblib
> -R/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -L/opt/sfw/lib/gcc-lib
> /sparc-sun-solaris2.8/2.95.2
> LIBS:       -lgd -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket  -lsocket
> -lgcc
> DLIBS:
> SAPI:       apache
> PHP_RPATHS:  /usr/ucblib /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2
> uname -a:   SunOS corum 5.8 Generic_108528-06 sun4u sparc SUNW,UltraAX-i2
>
> gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8
> -R/usr/ucblib -L/usr/ucblib -R/opt/sfw/lib/gcc-
> lib/sparc-sun-solaris2.8/2.95.2
> -L/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 conftest.c -lgd -lcrypt
> -lresol
> v -lresolv -lm -ldl -lnsl -lsocket  -lsocket -lgcc 1>&5
> ld: fatal: library -lgd: not found
> ld: fatal: File processing errors. No output written to conftest
> collect2: ld returned 1 exit status
>
>
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>





Can someone tell me how in the heck to install flex please? Thanks.

Neo
Greensboro, NC







Add --with-openssl to your configure line.

--Jani


On Thu, 16 Aug 2001, Gayland Gump wrote:

>
>Help! I am unable to install build PHP 4.0.6 with ucd-smnp-4.2.1.
>
>I hope I have provided sufficient information to obtain assistance.
>Please contact me if you have any additional information needs.
>
>
>./configure --without-mysql --with-pgsql=3D3D/usr/local/pgsql=3D20
>--with-apache=3D3D../apache_1.3.20 --with-snmp --enable-sockets
>
>
>******************** DEBUG.LOG FOLLOWS: ********************
>
>
>CONFIGURE:   './configure' '--without-mysql'
>'--with-pgsql=3D3D/usr/local/pgsql' '--with-apache=3D3D../apache_1.3.20'
>'--with-snmp' '--enable-sockets'
>CC:         /usr/local/bin/gcc
>CFLAGS:     -g -O2
>CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8
>CXX:       =3D20
>CXXFLAGS:  =3D20
>INCLUDES:    -I/home/gump/build/apache_1.3.20/src/include
>-I/home/gump/build/apache_1.3.20/src/os/unix  -I$(top_builddir)/Zend
>-I/usr/local/include/ucd-snmp
>LDFLAGS:    -L/usr/local/lib -R/usr/ucblib -L/usr/ucblib
>-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0
>-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0 -R/usr/local/pgsql/lib
>-L/usr/local/pgsql/lib -R/usr/local/lib -L/usr/local/lib
>LIBS:       -lsnmp -lpq -lcrypt -lresolv -lresolv -lresolv -lm -ldl
>-lsocket  -lsocket -lgcc
>DLIBS:     =3D20
>SAPI:       apache
>PHP_RPATHS:  /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0
>/usr/local/pgsql/lib /usr/local/lib
>uname -a:   SunOS yawah.nbt.us.net 5.8 Generic_108528-09 sun4u sparc
>SUNW,Sun-Blade-100
>
>/usr/local/bin/gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS
>-DSUPPORT_UTF8 -L/usr/local/lib -R/usr/ucblib -L/usr/ucblib
>-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0
>-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0 -R/usr/local/pgsql/lib
>-L/usr/local/pgsql/lib -R/usr/local/lib -L/usr/local/lib conftest.c
>-lsnmp -lpq -lcrypt -lresolv -lresolv -lresolv -lm -ldl -lsocket
>-lsocket -lgcc 1>&5
>/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
>/usr/local/lib/libsnmp.so: undefined reference to `kstat_read'
>/usr/local/lib/libsnmp.so: undefined reference to `kstat_data_lookup'
>/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
>/usr/local/lib/libsnmp.so: undefined reference to `EVP_md5'
>/usr/local/lib/libsnmp.so: undefined reference to `HMAC'
>/usr/local/lib/libsnmp.so: undefined reference to `EVP_sha1'
>/usr/local/lib/libsnmp.so: undefined reference to `des_cbc_encrypt'
>/usr/local/lib/libsnmp.so: undefined reference to `des_key_sched'
>/usr/local/lib/libsnmp.so: undefined reference to `kstat_close'
>/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
>/usr/local/lib/libsnmp.so: undefined reference to `RAND_bytes'
>/usr/local/lib/libsnmp.so: undefined reference to `des_ncbc_encrypt'
>/usr/local/lib/libsnmp.so: undefined reference to `kstat_lookup'
>/usr/local/lib/libsnmp.so: undefined reference to `kstat_open'
>collect2: ld returned 1 exit status
>
>******************** Local environment ********************
>
>BASH=3D3D/usr/bin/bash
>BASH_VERSINFO=3D3D([0]=3D3D"2" [1]=3D3D"03" [2]=3D3D"0" [3]=3D3D"1" =3D
>[4]=3D3D"release"
>[5]=3D3D"sparc-sun-solaris")
>BASH_VERSION=3D3D'2.03.0(1)-release'
>CC=3D3D/usr/local/bin/gcc
>HOSTTYPE=3D3Dsparc
>LANG=3D3DC
>LDFLAGS=3D3D-L/usr/local/lib
>LD_LIBRARY_PATH=3D3D/usr/local/lib:/usr/local/ssl/lib
>MACHTYPE=3D3Dsparc-sun-solaris
>OPTERR=3D3D1
>OPTIND=3D3D1
>OSTYPE=3D3Dsolaris
>PATH=3D3D/home/gump/bin:/usr/local/mysql/bin:/usr/local/pgsql/bin:/usr/l
>o=
>c
>a=3D
>l
>/bin:/usr/local/sbin:/usr/sbin:/usr/ccs/bin:/usr/bin::/usr/dt/bin:/usr/o
>penwin/bin:/bin:/usr/ucb
>PWD=3D3D/home/gump/build/php-4.0.6
>SHELL=3D3D/usr/bin/bash
>SHELLOPTS=3D3Dbraceexpand:hashall:histexpand:monitor:history:interactive
>-=
>c
>o=3D
>m
>ments:emacs
>SHLVL=3D3D1
>
>******************** build for ucd-snmp-4.2.1 ********************
>
>./configure --enable-internal-md5
>make
>make install
>=3D20
>
>******************** contents of /usr/local/lib  ********************
>
>
>bash-2.03$ ls /usr/local/lib
>gcc-lib                   libglib.so                libstdc++.so
>gimp                      libgmodule-1.2.so.0       libstdc++.so.3
>glib                      libgmodule-1.2.so.0.0.10  libstdc++.so.3.0.0
>libbfd.a                  libgmodule.a              libsupc++.a
>libbfd.la                 libgmodule.la             libsupc++.la
>libgcc_s.so               libgmodule.so             libtcl8.3.so
>libgcc_s.so.1             libgthread-1.2.so.0       libtclstub8.3.a
>libgck-1.2.so.2           libgthread-1.2.so.0.0.10  libtiff.a
>libgck-1.2.so.2.0.0       libgthread.a              libtiff.so
>libgck.a                  libgthread.la             libtk8.3.so
>libgck.la                 libgthread.so             libtkstub8.3.a
>libgck.so                 libgtk-1.2.so.0
>libucdagent-0.4.2.1.so
>libgdk-1.2.so.0           libgtk-1.2.so.0.9.1       libucdagent.a
>libgdk-1.2.so.0.9.1       libgtk.a                  libucdagent.la
>libgdk.a                  libgtk.la                 libucdagent.so
>libgdk.la                 libgtk.so
>libucdmibs-0.4.2.1.so
>libgdk.so                 libhistory.a              libucdmibs.a
>libgimp-1.2.so.2          libiberty.a               libucdmibs.la
>libgimp-1.2.so.2.0.0      libopcodes.a              libucdmibs.so
>libgimp.a                 libopcodes.la             libwrap.a
>libgimp.la                libpng.a                  libz.a
>libgimp.so                libpng.so                 locale
>libgimpui-1.2.so.2        libpng.so.2               perl5
>libgimpui-1.2.so.2.0.0    libpng.so.2.1.0.12        php
>libgimpui.a               libreadline.a             pkgconfig
>libgimpui.la              libsnmp-0.4.2.1.so        python2.1
>libgimpui.so              libsnmp.a                 tcl8.3
>libglib-1.2.so.0          libsnmp.la                tclConfig.sh
>libglib-1.2.so.0.0.10     libsnmp.so                tk8.3
>libglib.a                 libstdc++.a               tkConfig.sh
>libglib.la                libstdc++.la
>
>
>
>CC:         /usr/local/bin/gcc
>CFLAGS:     -g -O2
>CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8
>CXX:       =3D20
>CXXFLAGS:  =3D20
>INCLUDES:    -I/home/gump/build/apache_1.3.20/src/include
>-I/home/gump/build/apache_1.3.20/src/os/unix  -I$(top_builddir)/Zend
>-I/usr/local/include/ucd-snmp
>LDFLAGS:    -L/usr/local/lib -R/usr/ucblib -L/usr/ucblib
>-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0
>-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0 -R/usr/local/pgsql/lib
>-L/usr/local/pgsql/lib -R/usr/local/lib -L/usr/local/lib
>LIBS:       -lsnmp -lpq -lcrypt -lresolv -lresolv -lresolv -lm -ldl
>-lsocket  -lsocket -lgcc
>DLIBS:     =3D20
>SAPI:       apache
>PHP_RPATHS:  /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0
>/usr/local/pgsql/lib /usr/local/lib
>uname -a:   SunOS yawah.nbt.us.net 5.8 Generic_108528-09 sun4u sparc
>SUNW,Sun-Blade-100
>
>/usr/local/bin/gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS
>-DSUPPORT_UTF8 -L/usr/local/lib -R/usr/ucblib -L/usr/ucblib
>-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0
>-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0 -R/usr/local/pgsql/lib
>-L/usr/local/pgsql/lib -R/usr/local/lib -L/usr/local/lib conftest.c
>-lsnmp -lpq -lcrypt -lresolv -lresolv -lresolv -lm -ldl -lsocket
>-lsocket -lgcc 1>&5
>/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
>/usr/local/lib/libsnmp.so: undefined reference to `kstat_read'
>/usr/local/lib/libsnmp.so: undefined reference to `kstat_data_lookup'
>/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
>/usr/local/lib/libsnmp.so: undefined reference to `EVP_md5'
>/usr/local/lib/libsnmp.so: undefined reference to `HMAC'
>/usr/local/lib/libsnmp.so: undefined reference to `EVP_sha1'
>/usr/local/lib/libsnmp.so: undefined reference to `des_cbc_encrypt'
>/usr/local/lib/libsnmp.so: undefined reference to `des_key_sched'
>/usr/local/lib/libsnmp.so: undefined reference to `kstat_close'
>/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
>/usr/local/lib/libsnmp.so: undefined reference to `RAND_bytes'
>/usr/local/lib/libsnmp.so: undefined reference to `des_ncbc_encrypt'
>/usr/local/lib/libsnmp.so: undefined reference to `kstat_lookup'
>/usr/local/lib/libsnmp.so: undefined reference to `kstat_open'
>collect2: ld returned 1 exit status
>
>******************** Local environment ********************
>
>BASH=3D3D/usr/bin/bash
>BASH_VERSINFO=3D3D([0]=3D3D"2" [1]=3D3D"03" [2]=3D3D"0" [3]=3D3D"1" =3D
>[4]=3D3D"release"
>[5]=3D3D"sparc-sun-solaris")
>BASH_VERSION=3D3D'2.03.0(1)-release'
>CC=3D3D/usr/local/bin/gcc
>HOSTTYPE=3D3Dsparc
>LANG=3D3DC
>LDFLAGS=3D3D-L/usr/local/lib
>LD_LIBRARY_PATH=3D3D/usr/local/lib:/usr/local/ssl/lib
>MACHTYPE=3D3Dsparc-sun-solaris
>OPTERR=3D3D1
>OPTIND=3D3D1
>OSTYPE=3D3Dsolaris
>PATH=3D3D/home/gump/bin:/usr/local/mysql/bin:/usr/local/pgsql/bin:/usr/l
>o=
>c
>a=3D
>l
>/bin:/usr/local/sbin:/usr/sbin:/usr/ccs/bin:/usr/bin::/usr/dt/bin:/usr/o
>penwin/bin:/bin:/usr/ucb
>PWD=3D3D/home/gump/build/php-4.0.6
>SHELL=3D3D/usr/bin/bash
>SHELLOPTS=3D3Dbraceexpand:hashall:histexpand:monitor:history:interactive
>-=
>c
>o=3D
>m
>ments:emacs
>SHLVL=3D3D1
>
>******************** build for ucd-snmp-4.2.1 ********************
>
>./configure --enable-internal-md5
>make
>make install
>=3D20
>
>******************** contents of /usr/local/lib  ********************
>
>
>bash-2.03$ ls /usr/local/lib
>gcc-lib                   libglib.so                libstdc++.so
>gimp                      libgmodule-1.2.so.0       libstdc++.so.3
>glib                      libgmodule-1.2.so.0.0.10  libstdc++.so.3.0.0
>libbfd.a                  libgmodule.a              libsupc++.a
>libbfd.la                 libgmodule.la             libsupc++.la
>libgcc_s.so               libgmodule.so             libtcl8.3.so
>libgcc_s.so.1             libgthread-1.2.so.0       libtclstub8.3.a
>libgck-1.2.so.2           libgthread-1.2.so.0.0.10  libtiff.a
>libgck-1.2.so.2.0.0       libgthread.a              libtiff.so
>libgck.a                  libgthread.la             libtk8.3.so
>libgck.la                 libgthread.so             libtkstub8.3.a
>libgck.so                 libgtk-1.2.so.0
>libucdagent-0.4.2.1.so
>libgdk-1.2.so.0           libgtk-1.2.so.0.9.1       libucdagent.a
>libgdk-1.2.so.0.9.1       libgtk.a                  libucdagent.la
>libgdk.a                  libgtk.la                 libucdagent.so
>libgdk.la                 libgtk.so
>libucdmibs-0.4.2.1.so
>libgdk.so                 libhistory.a              libucdmibs.a
>libgimp-1.2.so.2          libiberty.a               libucdmibs.la
>libgimp-1.2.so.2.0.0      libopcodes.a              libucdmibs.so
>libgimp.a                 libopcodes.la             libwrap.a
>libgimp.la                libpng.a                  libz.a
>libgimp.so                libpng.so                 locale
>libgimpui-1.2.so.2        libpng.so.2               perl5
>libgimpui-1.2.so.2.0.0    libpng.so.2.1.0.12        php
>libgimpui.a               libreadline.a             pkgconfig
>libgimpui.la              libsnmp-0.4.2.1.so        python2.1
>libgimpui.so              libsnmp.a                 tcl8.3
>libglib-1.2.so.0          libsnmp.la                tclConfig.sh
>libglib-1.2.so.0.0.10     libsnmp.so                tk8.3
>libglib.a                 libstdc++.a               tkConfig.sh
>libglib.la                libstdc++.la
>
>
>
>
>
>
>



Reply via email to