php-install Digest 10 Oct 2001 12:46:36 -0000 Issue 499

Topics (messages 4577 through 4582):

php "make" error
        4577 by: Ralph Brown

Help building PHP with GD support.
        4578 by: Iván Milanez Castellanos

receiving "make[1]: ***  [libphp4.la] Error 1" when trying to 'make' php-4.0.6 on 
i686-pc-linux-gnu (Red Hat 6.1)
        4579 by: Heath Schweitzer

Re: [ Description of php.ini ]
        4580 by: Yasuo Ohgaki

Re: trouble building php-4.0.7RC3
        4581 by: Yasuo Ohgaki

php trouble
        4582 by: Fanda [efesh.cz]

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 ---
  While trying to "make" PHP on MAC OS X 10.1, i am getting the following 
errors"


/Users/lr/src/php-4.0.6/.libs/libphp4.lax/libtsrm.al
/usr/bin/ld: -undefined error must be used when -twolevel_namespace is in
effect
make[1]: *** [libphp4.la] Error 1
make: *** [all-recursive] Error 1

the two level namespace error seems to be related to a LDFLAGS 
syntax...but still experiencing the problem.

suggestions please
thanks in advance
Ralph
--- End Message ---
--- Begin Message ---
Hi, I'm having problems recompiling PHP 4.0.6 to take advantage of the Image
Functions, I have recompiled PHP several times using.

./configure --with-mysql \
--with-gd=<dir-to-gd-install> \
--with-jpeg-dir=<jpegdir> \
--with-png-dir=<pngdir> \
--with-zlib-dir=<zlibdir> \
--with-apache=../apache_1.3.20 \
--enable-track-vars

Everything runs ok, but I still get no jpeg or png support for this php
build, and I know for a fact that the libgd libraries are working because I
have webalizer installed on my machine and this program uses libgd to create
png images of the serverstats.

Any help will be appreciated.

TIA

Iván Milanez Castellanos


--- End Message ---
--- Begin Message ---
I'm receiving the following error when trying to 'make' php-4.0.6 on an
i686-pc-linux-gnu (Red Hat 6.1):

> /usr/bin/ld: cannot open -linsck: No such file or directory
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make[1]: Leaving directory `/root/php/php-4.0.6'
> make: *** [all-recursive] Error 1

Just before I receive this error make tries the following:

# make[1]: Entering directory `/root/php/php-4.0.6'
> /bin/sh /root/php/php-4.0.6/libtool --silent --mode=link
gcc  -I. -I/root/php/php-4.0.6/ -I/root/php/php-4.0.6/main -I/root/php/php-4
.0.6 -I/usr/local/include -I/root/php/php-4.0.6/Zend -I/usr/local/include/my
sql -I/root/php/php-4.0.6/ext/xml/expat/xmltok -I/root/php/php-4.0.6/ext/xml
/expat/xmlparse -I/root/php/php-4.0.6/TSRM  -DLINUX=2 -DUSE_HSREGEX -DUSE_EX
PAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2   -o libphp4.la -rpath
/root/php/php-4.0.6/libs -avoid-version -L/usr/local/lib -L/usr/local/lib/my
sql  -R /usr/local/lib -R /usr/local/lib/mysql stub.lo  Zend/libZend.la
sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/zlib/libzlib.la
ext/calendar/libcalendar.la ext/domxml/libdomxml.la ext/ftp/libftp.la
ext/mysql/libmysql.la ext/pcre/libpcre.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 -lxml2 -lz -lcrypt -lresolv
 -lm -ldl -lnsl -lresolv

If it helps... I'm using the following 'configure' options:

./configure --prefix=/usr/local --with-mysql=/usr/local --with-apxs=/usr/loc
al/bin/apxs --enable-track-vars --enable-short-tags --enable-discard-path --
enable-calendar --with-dom=/usr/local --with-zlib-dir=/usr/local --enable-ft
p --enable-trans-sid --enable-openssl=/usr/local/ssl -with-sybase-ct=/usr/lo
cal/sybase --enable-wddx

I've tried everything I know to do and am at a loss here... Any suggestions?

Thanks,
Heath

--- End Message ---
--- Begin Message ---
I think php.ini-recommended/php.ini-dist has enough description for most 
of entries.

Read

http://www.php.net/manual/en/configuration.php

and module reference (manual) for more description.

Yasuo Ohgaki


Morten Bruun wrote:
> Hi out there!
> 
> Anyone know a url to a description of the php.ini file and all it's
> fields?
> 
> /Thanks
> Morten Bruun
> 
> 


--- End Message ---
--- Begin Message ---
I'm not using sablot and just guessing.

Did you check /etc/ld.so.conf?
Did you run ldconfig?

--
Yasuo Ohgaki

Jens Ansorg wrote:
> I try to build php-4.0.7RC3 on a RedHat 7.1 i386 box.
> 
> Currently I run php-4.0.7RC1 which build witout problems but with RC3 it
> does not build.
> 
> ./configure --myoptions runs through without apparent errors but at the
> end I get this "Something is likely to be messed up here ..." error
> message :-((
> 
> my configure.log shows a lot of these undefined references:
> 
> configure:57892: gcc -o conftest -g -O2  -DLINUX=2 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX 
>-DUSE_EXPAT  -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/lib/mysql 
>-L/usr/lib/mysql conftest.c -ldl -lsablot -lxmltok -lxmlparse -lmysqlclient -lz -lgd 
>-lt1 -lX11 -lXpm -ljpeg -lz -lxml2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsablot.so: undefined reference 
>to `XML_ParserCreateNS'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsablot.so: undefined reference 
>to `XML_SetParamEntityParsing'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsablot.so: undefined reference 
>to `XML_SetEncoding'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsablot.so: undefined reference 
>to `XML_SetCommentHandler'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsablot.so: undefined reference 
>to `XML_SetNamespaceDeclHandler'
> collect2: ld returned 1 exit status
> 
> 
> 
> I have sablotron-0.65, expat-1.95 installed
> 
> 
> any ideas what's wrong here?
> 
> 
> thanks
> Jens
> 


--- End Message ---
--- Begin Message ---
Hello there,
I am a beginner in php scripting,
I have following trouble: I am using PHP 4.0+ and Apache web server 1.3+.
Both running under Windows 98. I am not quite sure how to set up php.ini 
+ httpd.conf in order to be able to use
dbm functions (dbm_open, ..etc)

Is there a way how to set configuration files and use this functions?

When using
-------------------------------------------------------
   ScriptAlias /php/ "c:/php/"
   AddType application/x-httpd-php .php
   Action application/x-httpd-php "c:/php/php.exe"
-------------------------------------------------------
in .conf file, i am not able to run any php script

on the other hand, when using

-------------------------------------------------------
   LoadModule php4_module c:/php/sapi/php4apache.dll
   AddType application/x-httpd-php .php
-------------------------------------------------------

it won't let me use "Dl()" ... [dl() is not supported in multithreaded 
Web servers - use extension statements in your php.ini in ...], and dbm 
functions cause the script to stop and write an error function not 
supported.


Thanks in advance for any help.

efesh
[EMAIL PROTECTED]

--- End Message ---

Reply via email to