php-install Digest 12 Dec 2001 20:48:06 -0000 Issue 599

Topics (messages 5280 through 5283):

Re: post install
        5280 by: Chris

Re: build error, somebody please help me!!!!
        5281 by: John Burski

Compile problems under Mac OS X 10.1 (Darwin)
        5282 by: Nicolas Ross

libphp4.so-->   undefined symbol:  uncompress
        5283 by: Mark R.

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 ---
> ive just installed php on apache on win98. i wrote the test phpinfo.php file, ran
> it and it worked fine. after that i tried to run index.php from the same
> directory and from 'website' directory where i have other pages that i know run,
> although it only prints back the contents of the file as they are, and not as an
> actual php file. the following is the code of the index.php file:
> 
> <html>
> <head>
> <title>PHP Index</title>
> <body bgcolor="#FFFFFF">
> <?php
> echo "hello world";
> ?>
> </body>
> </html>
> 

Hello,
 The answer to your question is in your httpd.conf file:

<IfModule mod_dir.c>
    DirectoryIndex index.html index.htm index.php default.html default.htm
</IfModule>

Compare the section to your own httpd.conf file.
I answered this a couple of times last week.

Best wishes,
 Chris

> 
> -- 
> 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]


-- 
H.R. Communications Corp.
http://www.dnswatch.com
http://www.1command.com


............................................
This email was sent using DNSWATCH WebMail.
   "Get an account today!"
http://www.dnswatch.com/dnswm112/


--- End Message ---
--- Begin Message ---
It looks like your configuration script is looking for the "lex" command.
"lex" is a lexical analysis tool that is used for, well, lexical analysis (it's
used a lot for building compilers and other such stuff).  Anyway, if you're
using Linux, then you'll want to edit the configuration script to use "flex"
instead of "lex".  Otherwise, find and install "lex" (I don't have any
information about where you might find it - check with creators of your OS).

Good Luck.

doniface wrote:

> Dear:
>
>     When I try to build php 4.0.6, it return an error message below:
>
> ./configure checking lex output file root ....  ./configure lex: command not
> found
> ./configure cannot find output from lex ; giving up
>
>     can you tell me how to solve this problem??  I have no idea how to solve
> it...  :~~
>
>     please reply me with this email:  mailto:[EMAIL PROTECTED]
> 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]

--
John Burski
I.T. Manager and Systems Administration
911 Emergency Products, Inc.
25 Sixth Avenue North
Saint Cloud, MN  56303
[EMAIL PROTECTED]

800-863-6911, extension 221
FAX: 800-863-2991
www.911ep.com



--- End Message ---
--- Begin Message ---
I want to compile php 4.1.0 on Mac OS X 10.1, adn I get this when linking :

*** Warning: This library needs some functionality provided by -lgd.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lpng.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -ljpeg.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lFBCAccess.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

And then way too much errors to put here...

My configure line is :

./configure \
  --with-apxs=/usr/local/apache/bin/apxs \
  --with-mysql \
  --with-fbsql \
  --with-xml \
  --enable-versioning \
  --enable-ftp \
  --with-zlib \
  --with-zlib-dir=../zlib \
  --with-png \
  --with-png-dir=../libpng-1.2.0 \
  --with-jpeg \
  --with-jpeg-dir=../jpeg-6b \
  --with-gd=../gd-1.8.4 \
  --with-pdflib=../pdflib-4.0.1-Darwin/bind/ \
  --enable-track-vars \
  --enable-trans-id

I did compiled 4.0.6 with the exact same configure command...

Tricks I had to do to compile successfully 4.0.6 :

execute setenv CFLAGS -DEAPI
And put CC="cc -flat_namespace" in libtool...

Any hints ?

--- End Message ---
--- Begin Message ---
Hello all,

I think I may have an easy to fix problem, but I'm stumped as to what needs
to be done.  I downloaded Apache 1.3.22 and PHP 4.1.0 today.  Built Apache
with "./configure --enable-module=so --prefix=/usr/local/apache", and after
installing Apache, built PHP with
"./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin
/apxs".  I've changed httpd.conf as needed, and when I start the server I
get:

    [root@gorf lib]# /usr/local/apache/bin/apachectl start
    Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress
    /usr/local/apache/bin/apachectl start: httpd could not be started

Simply because I saw it in some other postings, (not because I know what it
does  :)   ), I ran:

[root@gorf libexec]# ldd -r libphp4.so
        libdl.so.2 => /lib/libdl.so.2 (0x4013b000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4013f000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x4016d000)
        libpam.so.0 => /lib/libpam.so.0 (0x4017f000)
        libm.so.6 => /lib/libm.so.6 (0x40187000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x401aa000)
        libc.so.6 => /lib/libc.so.6 (0x401c1000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: uncompress    (./libphp4.so)
undefined symbol: compress      (./libphp4.so)
undefined symbol: ap_block_alarms       (./libphp4.so)
undefined symbol: ap_unblock_alarms     (./libphp4.so)
undefined symbol: ap_user_id    (./libphp4.so)
undefined symbol: ap_server_root        (./libphp4.so)
undefined symbol: ap_group_id   (./libphp4.so)


It goes on and on with the 'undefined symbol' errors.  Is this something
that's missing from /etc/ld.so.conf?  I need to add another path?  Or
something more?

Thanks,
Mark




--- End Message ---

Reply via email to