php-install Digest 26 Oct 2001 02:43:52 -0000 Issue 523

Topics (messages 4740 through 4752):

configure PHP4 parameters
        4740 by: Jaeck Stephan
        4743 by: Rudy Ramirez

Re: lex?
        4741 by: Rudy Ramirez
        4742 by: Stefan Siefert

PHP 4.06 on Solaris 8
        4744 by: Chris McAvoy

PHP Kerbose lib files?
        4745 by: Scott Singleton

Re: It gives me just a header!
        4746 by: Stefán Vingir Skarphéðinsson

php installation problem "ld: fatal: Symbol referencing errors."
        4747 by: chuck solie

Looking for lower mortgage rates?
        4748 by: bradley.yahoo.com

No, I'm not.
        4749 by: Jason Wood

PHP4 with GD on Sambar Server (win98)
        4750 by: ebonytears.uk2.net

compile error
        4751 by: Thomas Holton

Re: php4 + mod_perl problems, I think I'm going to go insane, please help!
        4752 by: Yasuo Ohgaki

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]


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


Hello,

I just installed PHP4.0.4 on SuSE Linux 7.2 with Apache.

Now I need Oracle database support for PHP. 
OK:

 just do "configure --with-oracle=$ORACLE_HOME" and what will happen with
all the parameters that were set before?

Do I have to te-type it again? (uff)
Or is there somewhere a configure-file?
Or is the --with-oracle  switch just added to existing configuration?

Thanks for any info

Stephan




Jaeck Stephan wrote:
> Hello,
> 
> I just installed PHP4.0.4 on SuSE Linux 7.2 with Apache.

Yahooo! :-)

> Now I need Oracle database support for PHP. 

D'oh! Same problem, SuSE 7.1, Oracle client 8.1.5 on 7.x database, just 
solved...

>  just do "configure --with-oracle=$ORACLE_HOME" and what will happen with
> all the parameters that were set before?

Don't bother, if you can build w/Oracle, there's no worry about 
rebuilding in the future... just remove config.cache
My options are:

--with-oci8 --with-mysql --with-apxs --enable-versioning --with-ftp

I think OCI8 is easier.

Ah, kick away php3 libs in case of segmentation fault after restarting.

Bye





Martin wrote:
> Hmm, what is lex? And why would I need it - or rather why don't I. What 
> package is missing?

Lex.

Lex is a tool for generating native C lexical scanners. It's the stuff 
gcc and other languages are made of. Boldly PHP, too.

Bye

Rudy





Hi,

the missing package is called flex. Not sure why you do need it, but I think
it is something of the build enviroment...

you can find packages for your System maybe here:
http://www.rpmfind.net/linux/rpm2html/search.php?query=flex

Greetings,

Stefan Siefert

----- Original Message -----
From: Martin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 9:18 AM
Subject: [PHP-INST] lex?


> First time I've stumbled across this error on trying to compile PHP:
>
> checking for flex... lex
> checking for yywrap in -ll... no
> checking lex output file root... ./configure: lex: command not found
> configure: error: cannot find output from lex; giving up
> [root@hauntedhousesw php-4.0.6]#
>
> Hmm, what is lex? And why would I need it - or rather why don't I. What
> package is missing?
>
> Martin S
>
> --
> 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]
>
>





Hello,

I'm having problems compiling php 4.06 on Solaris 8, with the standard
Solaris 8 installation of Apache, and the MySQL package from
sunfreeware.com.

I configured with the command:

./configure --with-apxs=/usr/apache/bin/apxs \
--with-zlib=/usr \
--with-openssl=/usr/local/ssl \
--with-mysql=/usr/local/mysql

When I run make (gnu make), I get the following error (truncated for
brevity):

###BEGIN

make[1]: Entering directory `/opt/php'
/bin/sh /opt/php/libtool --silent --mode=link
gcc  -I. -I/opt/php/ -I/opt/php/main -I/opt/php -I/usr/ap
ache/include -I/opt/php/Zend -I/usr/local/ssl/include -I/usr/local/mysql/inc
lude/mysql -I/opt/php/ext/x
ml/expat/xmltok -I/opt/php/ext/xml/expat/xmlparse -I/opt/php/TSRM  -D_POSIX_
PTHREAD_SEMANTICS -DEAPI -D
MOD_PERL -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2   -o
libphp4.la -rpath /opt/php/libs -av
oid-version -L/usr/ucblib -L/usr/local/ssl/lib -L/usr/local/lib/gcc-lib/spar
c-sun-solaris2.8/2.95.3 -L/
usr/local/mysql/lib/mysql  -R /usr/ucblib -R /usr/local/ssl/lib -R
/usr/local/lib/gcc-lib/sparc-sun-sol
aris2.8/2.95.3 -R /usr/local/mysql/lib/mysql stub.lo  Zend/libZend.la
sapi/apache/libsapi.la main/libma
in.la regex/libregex.la ext/zlib/libzlib.la ext/mysql/libmysql.la
ext/openssl/libopenssl.la ext/pcre/li
bpcre.la ext/posix/libposix.la ext/session/libsession.la
ext/standard/libstandard.la ext/xml/libxml.la
TSRM/libtsrm.la -lpam -ldl -lmysqlclient -lz -lz -lcrypt -lssl -lcrypto -lre
solv -lresolv -lm -ldl -lns
l -lsocket -lsocket -lgcc
ld: fatal: library -lgd: not found
ld: fatal: File processing errors. No output written to .libs/libphp4.so
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/opt/php'
make: *** [all-recursive] Error 1

###END

Any help would be greatly appreciated.

Thanks,
Chris McAvoy
[EMAIL PROTECTED]





ok, I've been at this PHP thing for some time and I have yet to get a recent
copy compiled and installed properly.  After realizing that my PHP and PEAR
needed to be updated I decided to get the latest PHP and Pear snapshot.
Compiling the DSO module wasn't an issue until I added IMAP support.  (Using
latest c-client code).

It's now telling me that c-client was compiled using KERBOSE and I need to
add kerbose support to PHP.  The main PHP site is down at the moment and I
can't locate anywhere to grab this code.

does anyone know where I can get it?

-Scott




I called my ISP and asked them about their PHP-support and they told me that
they had to move my homepage from theyr windows server to theyr unix server
because they had the same problem using windows.














Hi,

I am having a problem installing php/mysql/apache on a
solaris 8 box.  I get the following error during the
configure stage of php that i expect this might have
an obvious reason to someone with more gcc
configuration knowledge.  I have looked at the mysql
and php sites for similar problems and followed all
the ./configure recommended options and still see this
problem.  Any help would be appreciated.

the mysql install appears to run fine.  i'm using gcc
2.95.3 

thanks,
-chuck



__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

debug.log





We can help!
Mortgage Rates have been slashed again!

*Lower your monthly payment!
*Shorten the term of your loan!
*Reduce your interest rate!

SAVE MONEY!!!

NOW is the time to refinance... rates have
NEVER been lower!

We CAN assist everyone, even if you've 
been turned down before!

Take just a minute to complete this form
and a Loan Consultant will contact you at
your convenience. 

http://www.mortgageprincipal.com


Your information is secure, confidential and
you are under NO OBLIGATION for this
free analysis.

****************************************************************
Since you have received this message you have either responded
to one of our offers in the past or your address has been
registered with us.  If you wish to be removed please reply to:
mailto:[EMAIL PROTECTED]?subject=remove
**********************************************************






<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED].
..
> We can help!
> Mortgage Rates have been slashed again!
>
> *Lower your monthly payment!
> *Shorten the term of your loan!
> *Reduce your interest rate!
>
> SAVE MONEY!!!
>
> NOW is the time to refinance... rates have
> NEVER been lower!
>
> We CAN assist everyone, even if you've
> been turned down before!
>
> Take just a minute to complete this form
> and a Loan Consultant will contact you at
> your convenience.
>
> http://www.mortgageprincipal.com
>
>
> Your information is secure, confidential and
> you are under NO OBLIGATION for this
> free analysis.
>
> ****************************************************************
> Since you have received this message you have either responded
> to one of our offers in the past or your address has been
> registered with us.  If you wish to be removed please reply to:
> mailto:[EMAIL PROTECTED]?subject=remove
> **********************************************************
>






Hi, I just unzipped php4 on a windows 98 machine, and I put the right 
files in the right places, and mapped the ISAPI to the sambar server 
(www.sambar.com), and I can't use GD functions.  I uncommented the GD 
line in the ini file, and I get this error:
Fatal error:  Call to undefined function:  imagecreate() in 
C:\sambar50\docs\php\test.php on line 16

I've tried changing the directory to the php_gd.dll, but it just won't 
work.  any idea what's wrong or how to debug it?  (ps, I get the error 
because I commented out the header to see what's wrong).. thanks

Daryl Kranec
[EMAIL PROTECTED]






Hello,
I am looking through the documentation and archives and have been unable
to find anything about my problem, which is:

Installing php-4.0.6 on alpha OSF1 v5.1

CONFIG LINE:
./configure  --with-apache=../apache_1.3.22
--with-imap=/usr/local/src/imap-4.7 --with-mysql=/usr/local/mysql
--with-gd=/usr/local/src/gd-1.8.4 --with-mm=/usr/local/src/mm

ERROR:

cc: Error: scanf.h, line 48: There is no definition for the inline
function named scan_set_error_return in this compilation unit. (noinlfunc)
inline void scan_set_error_return(int numVars,pval **return_value);
------------^

I cannot find any references to this type of error, so any help or ideas
are greatly appreciated. I can also send out my config.log file to anyone
if they want.

Thanks in advance,
thomas holton




..







Try apahce 1.3.22, problem may be gone with this version.

Read apache release notes for details.

--
Yasuo Ohgaki

Christopher M. Jones wrote:

> Argh, I can't get php4 to get along with mod_perl!
> Everytime I run a mod_perl enabled httpd and load
> the php4 module the server dies.  It will not serve
> *anything*, including static content.  All the
> server processes seg fault and I end up with something
> like so in the error log:
> 
> [Fri Oct 12 22:15:33 2001] [notice] child pid 19256 exit signal Segmentation
> fault (11)
> 
> I tried searching for a solution and found some info,
> but no workable solution as of yet.  Some people are
> reporting that it is a mysql problem, however I have
> created a php module with --without-mysql (and verified
> that it does not in fact connect to mysql using a non
> mod_perl httpd) and still get the same error with a
> mod_perl enabled httpd.
> 
> I've rebuilt everything, apache, php, mod_perl,
> repeatedly with different options and I have had no
> luck.  I can run mod_perl, I can load the php module,
> but apparently I can't do both at the same time.
> 
> I *know* others are having similar problems, has
> anyone found a good fix yet?
> 
> I'm using php 4.06, apache 1.3.20, and mod_perl 1.25
> btw.
> 
> 
> Any help would be greatly appreciated.
> 
> 
> --
> We want... a shrubbery!
> 
> 
> 


Reply via email to