php-install Digest 3 Jul 2001 09:12:40 -0000 Issue 344
Topics (messages 3393 through 3399):
php-4.0.3pl1 on Irix 6.5.12 with gcc 2.95.2
3393 by: Jan Z.
compile problems on Irix 6.5.12
3394 by: Jan Z.
Re: php install.upgrade on RH 7.1 and MySQL
3395 by: Gerald Langiewicz
Apache 1.3.20 cannot load shared MySQL libs for PHP
3396 by: Derek Steinkamp
3397 by: Derek Steinkamp
Re: .htaccess grief
3398 by: Christopher Ostmo
compiling PHP406 with IMAO errors
3399 by: Petr Volak
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]
----------------------------------------------------------------------
dear maintainers,
I've got a problem compiling php-4.0.3pl1 on Irix 6.5.12 with gcc 2.95.2 and
gmake 3.79.1.
I've also tried out earlier and older versions with gcc and the native Irix
compiler. I can't get it running.
This one is debug.log :
CONFIGURE: './configure' '--prefix=/usr/local/www'
'--with-apxs=/usr/local/www/bin/apxs' '--with-db3' '--enabl
e-ftp' '--enable-libgcc' '--with-ldap' '--with-tsrm-pthreads'
CC: gcc -mabi=n32
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/www/include -I$(top_builddir)/Zend -I$(top_srcdir
) -I/usr/local/src/php-4.0.3pl1/ext/
mysql/libmysql
LDFLAGS: -L/usr/local/BerkeleyDB.3.2static -L/usr/lib32 -Wl,-rpath,/usr/f
reeware/lib/gcc-lib/mips-sgi-irix6.2
/2.95.2 -L/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2
LIBS: -l -lm -ldl -lcrypt -lsocket -lpthread -lsocket -lgcc
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2
uname -a: IRIX gps 6.5 04131232 IP22
gcc -mabi=n32 -o
conftest -g -O2 -L/usr/local/BerkeleyDB.3.2static -L/usr/lib32 -Wl,-rpath,/
usr/freeware/lib/gc
c-lib/mips-sgi-irix6.2/2.95.2 -L/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2
.95.2 conftest.c -l -lm -ldl -lcrypt
-lsocket -lpthread -lsocket -lgcc 1>&5
ld32: FATAL 9 : I/O error (-l-lm): No such file or directory
collect2: ld returned 32 exit status
What means -l & -lm ? Is it the standard /usr/lib32/libc.so.1 or the math
library or both ?
The strange thing is when removing the complete directory and recopying the
source the message dissapears but when once running simply gmake it says :
Making all in Zend
gmake[1]: Entering directory `/usr/local/src/php-4.0.3pl1/Zend'/bin/sh
../libtool --silent --mode=compile
c -DHAVE_CONFIG_H -I. -I. -I.. -DXML_BYTE_ORDER=12 -g -O2 -c
zend-scanner.c
/bin/sh ../libtool --silent --mode=link gcc -g -O2 -o libZend_c.la
zend-scanner.lo
../libtool[3315]: ranlib: not found
gmake[1]: *** [libZend_c.la] Error 127
gmake[1]: Leaving directory `/usr/local/src/php-4.0.3pl1/Zend'
gmake: *** [all-recursive] Error 1
I've set these enviroment varibables before running
./configure --prefix=/usr/local/www --with-apxs=/usr/local/www/bin/apxs --wi
th-db3 --enable-ftp --enable-libgcc --with-ldap --with-tsrm-pthreads :
LIBS="-lpthread" CC="gcc -mabi=n32
" LDFLAGS="-L/usr/local/BerkeleyDB.3.2static -L/usr/lib32"
And when ignoring the -l -lm warning in debug.log gmake stops after a while
with these lines :
my_getwd.c:58: #error "No way to get current directory"
gmake[4]: *** [my_getwd.lo] Error 1
gmake[4]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext/mysql/libmysql'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext/mysql/libmysql'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext/mysql'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext'
gmake: *** [all-recursive] Error 1
Can you please help my out ? I really need Apache and php with ldap-support
to run LDAP-Explorer on that damned Irix 6.5.12 machine.
best regards,
Jan Zeller
dear maintainers,
I've got a problem compiling php-4.0.3pl1 on Irix 6.5.12 with gcc 2.95.2 and
gmake 3.79.1.
I've also tried out earlier and older versions with gcc and the native Irix
compiler. I can't get it running.
This one is debug.log :
CONFIGURE: './configure' '--prefix=/usr/local/www'
'--with-apxs=/usr/local/www/bin/apxs' '--with-db3' '--enabl
e-ftp' '--enable-libgcc' '--with-ldap' '--with-tsrm-pthreads'
CC: gcc -mabi=n32
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/www/include -I$(top_builddir)/Zend -I$(top_srcdir
) -I/usr/local/src/php-4.0.3pl1/ext/
mysql/libmysql
LDFLAGS: -L/usr/local/BerkeleyDB.3.2static -L/usr/lib32 -Wl,-rpath,/usr/f
reeware/lib/gcc-lib/mips-sgi-irix6.2
/2.95.2 -L/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2
LIBS: -l -lm -ldl -lcrypt -lsocket -lpthread -lsocket -lgcc
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2
uname -a: IRIX gps 6.5 04131232 IP22
gcc -mabi=n32 -o
conftest -g -O2 -L/usr/local/BerkeleyDB.3.2static -L/usr/lib32 -Wl,-rpath,/
usr/freeware/lib/gc
c-lib/mips-sgi-irix6.2/2.95.2 -L/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2
.95.2 conftest.c -l -lm -ldl -lcrypt
-lsocket -lpthread -lsocket -lgcc 1>&5
ld32: FATAL 9 : I/O error (-l-lm): No such file or directory
collect2: ld returned 32 exit status
What means -l & -lm ? Is it the standard /usr/lib32/libc.so.1 or the math
library or both ?
The strange thing is when removing the complete directory and recopying the
source the message dissapears but when once running simply gmake it says :
Making all in Zend
gmake[1]: Entering directory `/usr/local/src/php-4.0.3pl1/Zend'/bin/sh
../libtool --silent --mode=compile
c -DHAVE_CONFIG_H -I. -I. -I.. -DXML_BYTE_ORDER=12 -g -O2 -c
zend-scanner.c
/bin/sh ../libtool --silent --mode=link gcc -g -O2 -o libZend_c.la
zend-scanner.lo
../libtool[3315]: ranlib: not found
gmake[1]: *** [libZend_c.la] Error 127
gmake[1]: Leaving directory `/usr/local/src/php-4.0.3pl1/Zend'
gmake: *** [all-recursive] Error 1
I've set these enviroment varibables before running
./configure --prefix=/usr/local/www --with-apxs=/usr/local/www/bin/apxs --wi
th-db3 --enable-ftp --enable-libgcc --with-ldap --with-tsrm-pthreads :
LIBS="-lpthread" CC="gcc -mabi=n32
" LDFLAGS="-L/usr/local/BerkeleyDB.3.2static -L/usr/lib32"
And when ignoring the -l -lm warning in debug.log it stops after a while
with these lines :
my_getwd.c:58: #error "No way to get current directory"
gmake[4]: *** [my_getwd.lo] Error 1
gmake[4]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext/mysql/libmysql'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext/mysql/libmysql'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext/mysql'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext'
gmake: *** [all-recursive] Error 1
Can you please help my out ? I really need Apache and php with ldap-support
to run LDAP-Explorer on that damned Irix 6.5.12 machine.
best regards,
Jan Zeller
James:
I have spent a lot of time with this. I have removes the 4.0.3 rpm
reconfigured, recompiled. When I do that, php does not work.
I am thinking that the files are not being installed in the correct
location. Unfortunately, I am not familiar enough the linux ( I am a lot
more familiar with linux today than last week) to know for sure.
can you send me your install script or anything else that can help me
correct this?
At 08:58 AM 6/29/01, James Tan wrote:
>hi ..
>
>did u tried uninstalling ur previous rpm ?
>
>and have u tried restarting your apache daemon? httpd?
>
>i've redhat 7.1 with mysql and also php 4.0.6, all done with source and
>compilation (except the os lol ) :P
>
>regards,
>
>James
>
>
>"gerald langiewicz" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >
> >
> > I have been reading and working and doing more reading trying to get PHP
> > (4.0.5 and 4.0.6), MySQL working an Redhat 7.1
> >
> > This is what I know:
> >
> > php-4.0.4pl1-9.i386.rpm works as advertised. I get the phpinfo() command
> > to give me a lot of information including the version but it does not
> > support MySQL.
> >
> > MySQL works
> >
> > I have downloaded the patch php 4.0.6 and tried to do the ./configure
>using
> > the appropriate --with-mysql =/to/source/path. I do not get any errors.
> >
> > I delete the .cache file and run make and make install. I do not get any
> > errors... that I can see.
> >
> > I can't get the latest version to show up in the page generated from
> > phpinfo() and the configure command does not match the one i used and the
> > build Date is march 3 2001.
> >
> > Can somebody please shed some light on why I can't get this to work?
> >
> > thanks
> > gerald
> >
> >
> > --
> > 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]
> >
>
>
>
>--
>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]
Gerald Langiewicz [EMAIL PROTECTED]
University of California, Irvine http://glang.ss.uci.edu
School of Social Science Programmer/Analyst
Irvine, Ca 92697
949 824 5404
Hi,
I am running FreeBSD 4.3-RELEASE, and am attempting to compile MySQL
3.23.39, Apache 1.3.20, and PHP 4.0.6 from scratch. All of them compile
successfully, and here is how I configured all of them:
MySQL - standard ./configure && make && make install....no special
options specified: installed in /usr/local
Apache - ./configure --prefix=/usr/local/apache --enable-module=so
PHP - ./configure --with-mysql=/usr/local/
--with-apxs=/usr/local/apache/bin/apxs
toucan# cd /usr/local/lib/mysql
toucan# ls
libdbug.a
libheap.a
libmerge.a
libmyisam.a
libmysqlclient.a
libmysqlclient.la
libmysqlclient.so
libmysqlclient.so.10
libmystrings.a
libnisam.a
toucan# cat /etc/ld.so.conf
/usr/local/lib/mysql
I have run /sbin/ldconfig, done a 'make clean' on php, and reinstalled
it with the same options, however, the following error continues to
haunt me:
toucan# ./apachectl start
Syntax error on line 205 of /www/Apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: Shared
object "libmysqlclient.so.10" not found
./apachectl start: httpd could not be started
This is driving me crazy. I have uninstalled everything, and redone it
again with the same results. I am baffled, and others I have talked to
are baffled too. I am about to cry with defeat.... can anyone help me?
ANY help appreciated, whether it be software support or moral support,
LOL.
Thanks in advance,
Derek Steinkamp
One thing I mistyped, here is the real error message:
toucan# ./apachectl start
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: Shared
object "libmysqlclient.so.10" not found
./apachectl start: httpd could not be started
(originally I had "Syntax error on line 205 of
/www/Apache/conf/httpd.conf")
Sorry for the confusion... I just typed in the error message wrong :)
Derek
Chris Herrmann pressed the little lettered thingies in this order...
> Hi all,
>
> I've just configured php4.05 / apache 1.3.17 RH7.1, and am having some
> grief with php returning:
>
> [Mon Jul 2 09:41:44 2001] [crit] [client 198.142.14.193] (13)Permission
> denied: /www/squirrelmail/.htaccess pcfg_openfile: unable to check htaccess
> file, ensure it is readable
>
What do you get for permissions on the .htaccess file when you issue
the command:
ls -al
In the directory in question?
Christopher Ostmo
a.k.a. [EMAIL PROTECTED]
AppIdeas.com
Meeting cutting edge dynamic
web site needs
For a good time,
http://www.AppIdeas.com/
Hello everybody
I've been trying to compile php406 with imap support on AIX 421
machine for some time. Various versions of imap have been tried
(suggested 4.5, imap2000c), but I always get at the compilation end
when linking the following errors:
undefined synbol :.loginrestrictions
undefined symbol: .authenticate
undefined symbol: .alloca
When I look in c-client (libc-client) library, they really aren't
there. Any help is greatly suggested. Thanks.
Petr Volak ([EMAIL PROTECTED]).
p.s. if possible, please respond directly.
--- Petr Volak ----------------------- Internet: [EMAIL PROTECTED] ---
Palacky University Computer Center Network Management
Olomouc, Czech Rep
--- Petr Volak ----------------------- Internet: [EMAIL PROTECTED] ---
Palacky University Computer Center Network Management
Olomouc, Czech Rep