php-install Digest 2 Apr 2001 18:07:13 -0000 Issue 244

Topics (messages 2647 through 2651):

Compilation problems
        2647 by: LeGall Tanguy

w/ CURL can't find -lpam, wout/ CURL everything is fine (How can that be)
        2648 by: Krznaric Michael

Re: again:problem with configuring php with informix7.22
        2649 by: Paul Gardiner

need help with configure - NOVICE
        2650 by: bigbrthr3

Problem with pdflib
        2651 by: Luis Castro Mendoza

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]


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


Hi all
I tried to install php-4.0.4pl1 with apache 1.3.9 and postgress on a linux
This linux is a special distribution for armv4l processor
I type  ./configure --with-apache=../apache_1.3.9 --with-pgsql
--enable-track-vars
and everything goes fine but when I type make I got several errors like that
one:

main.c:187: parse error before `zend_compiler_globals'
main.c:187: initializer element is not constant
main.c:187: (near initialization for `ini_entries[7].mh_arg1')

Does anybody has any idea?
It seems like the problem is coming from one of the macos defined in
Zend/zend_ini.h





I'm trying to compile 
PHP 4.0.4pl1, 
w/apache 1.3.17 as a DSO 
on a Solaris 8 sparc box

        I did this 100's of times and everything works good.  For some
reason the following configure fails:

 './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-pam_auth'
'--enable-track-vars=yes' '--enable-trans-sid=yes' '--without-mysql'
'--with-curl=/opt/TWWfsw/curl75/lib'

It fails with the following error message (Something like this):

...
checking for Ovrimos SQL Server support... no
checking whether to include pam authentication support... yes
checking for pam_start in -lpam... no
configure: error: pam libraries not found

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

Now if I issue the same config without CURL everything works fine
 './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-pam_auth'
'--enable-track-vars=yes' '--enable-trans-sid=yes' '--without-mysql'

How can that be?  Curl affects another module?  I think i'm not considering
something.

Mike    




Hi,

When I have a spare few minutes I'll try to get a script and notes to you
for compiling Informix on SCO. It was a bit of a pig getting there but does
work.

In the mean time you could search through the mailing list archives as I'm
sure I've sent this info lots of times before. (May have been to people
off-list - sorry, haven't time to check at the mo).

At least you know it's possible now - that's half the battle ;-)

I'll be in touch.

Regards,
- Paul -

----- Original Message -----
From: "cainnn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 02, 2001 7:18 AM
Subject: [PHP-INST] again:problem with configuring php with informix7.22


> I want to install php4.0.4pl1 with apache1.3.19,informix7.22,unix5.05,
> thanks to the help by Frank S. Bernhardt,
> i have download gcc-2.95.2,gmake3.78.1,
> and install some patch,but when i run configure:
> it show me some error message,the debug.log is like
> that:
> CONFIGUR
> E:   './configure' '--with-apaache=/apache/apache_1.3.19'
> '--with-informix=/home/informix'
> CC:         gcc
> CFLAGS:     -g -O2 -I/home/informix/incl/esql
> CPPFLAGS:
> CXX:
> CXXFLAGS:
>
INCLUDES:      -I$(top_builddir)/Zend -I/home/informix/incl/esql -I/home/php
> -4.0.4pl1/ext/mysql/libmysql
>
LDFLAGS:     -L/home/informix/lib -L/home/informix/lib -L/home/informix/lib/
> esql -L/home/informix/lib/esql
>
LIBS:       -lm -ldl -lcrypt -lsocket  -lsocket -lixsql -lixasf -lixgen -lix
> os -lixgls -lnsl_s -lcrypt_i -lsocket -lsuds -lx
> DLIBS:
> SAPI:       cgi
> PHP_RPATHS:  /home/informix/lib /home/informix/lib/esql
> uname -a:   SCO_SV cn 3.2 5.0.5 i386
>
> gcc -o
>
conftest -g -O2 -I/home/informix/incl/esql   -L/home/informix/lib -L/home/in
> formix/lib -L/home/informix/lib/esql -L/home/informix/lib/esql
>
>
conftest.c -lm -ldl -lcrypt -lsocket  -lsocket -lixsql -lixasf -lixgen -lixo
> s -lixgls -lnsl_s -lcrypt_i -lsocket -lsuds -lx 1>&5
> Undefined   first referenced
>  symbol         in file
> fabs                                /home/informix/lib/esql/libixgen.so
> ifx_checkAPI                        /home/informix/lib/esql/libixsql.so
> conftest: fatal error: Symbol referencing errors. No output written to
> conftest
> collect2: ld returned 1 exit status
> thanks
>
>
>
>
>
> --
> 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]
>
>





Hi everyone,
I am new to using LINUX and need to install PHP.  I "inherited" a system
with Redhat 6.2 and Apache.  I've never installed any software packages
until now and after following the PHP manual's instructions I attempted to
run configure:

./configure -with-pgsql=/opt/pgsql-7.02 -with-apache=/opt/apache

which gives the following error
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up

I need some help to be pointed in the right direction.

Thanks in advance,
Chris







Hi gurus:

    I tried to compile php-4.0.4pl1 with pdflib with no success, and I'd

saw how did you help to another person in this situation, I'll very
grateful if you can help me to understand what's wrong in my config.

Config.
Redhat 6.2
Apache 1.3.12
PHP-4.0.4pl1

test: pdflib-3.03> ./configure --enable-shared-pdflib
test: pdflib-3.03> make
test: pdflib-3.03> make test
test: pdflib-3.03> su - root
test: pdflib-3.03> make install

I added /usr/local/lib in /etc/ld.so.conf
test: pdflib-3.03> ldconfig
test: pdflib-3.03> exit                           #exit from root

test: pdflib-3.03> cd ../apache_1.3.12
test: apache_1.3.12> ./configure

test: pdflib-3.03> cd ../php-4.0.4pl1
test: php-4.0.4pl1> ./configure --with-apache=../apache_1.3.12/
--with-oci8=$ORACLE_HOME  --with-pdflib=/usr/local --enable-track-vars

And here is the problem, the message is :

checking whether to include Pdflib 3.x support... /usr/local
yes
checking for libz needed by pdflib 3.x... already zlib support
checking for jpeg_read_header in -ljpeg... no
no
checking for png_create_info_struct in -lpng... no
no
checking for TIFFOpen in -ltiff... no
no
checking for PDF_show_boxed in -lpdf... no
configure: error: pdflib extension requires pdflib 3.x.

What happen ??
Thanks in advance

Finally, I added the options --with-png-dir=/usr --with-tiff-dir=/usr
--with-libz-dir=/usr
and the problem continues.
--
Luis Castro Mendoza
Universidad de Chile




Reply via email to