php-install Digest 12 Apr 2001 16:07:47 -0000 Issue 258

Topics (messages 2756 through 2759):

php3 install problems
        2756 by: Daniel Ferrell

Re: PHP Installation error
        2757 by: B. van Ouwerkerk

Problem with install debug.log included
        2758 by: root

PHP-4.0.4pl1
        2759 by: Fabio A. Jacometto

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]


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


hey guys,

    I need some help if possible, I am installing php3 and am having
problems with the make.  I get the following error and I have no clue
what to do about it... Can anyone help me?

 cc -g   -I. -I.
-I/opt/OMS/services/postgresql/include    -c functions/levenshtein.c -o
functions/levenshtein.o
(cd pcrelib; /home/one/sunbin/make)
make[1]: Entering directory `/opt/OMS/services/php-3.0.18/pcrelib'
cc -g    -c maketables.c
cc -g    -c get.c
cc -g    -c study.c
cc -g    -c pcre.c
rm -f libpcre.a
ar cq libpcre.a maketables.o get.o study.o pcre.o
make[1]: execvp: ar: Not a directory
make[1]: *** [libpcre.a] Error 127
make[1]: Leaving directory `/opt/OMS/services/php-3.0.18/pcrelib'
make: *** [pcrelib/libpcre.a] Error 2
#


 Dan






>-lmys
>qlclient -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv 1>&5
>/usr/bin/ld: cannot find -lmysqlclient
>collect2: ld returned 1 exit status

You could add the path to the mysqlclient libs to your ld.so.conf and run 
ldconfig.. If you build your mysql from source I would advise you to use 
shorter location.. /usr/local/mysql would do..

Then run configure again.. Don't forget to remove the config.cache.. or 
replace the whole directory with a new source..

Bye,


B.






CONFIGURE:   './configure' '--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686' 
'--with-apxs=/usr/local/apache_1.3.12/bin/apxs'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:   
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/local/apache_1.3.12/include  -I$(top_builddir)/Zend 
-I$(top_srcdir)  -I/usr/local/mysql-3.22.32-pc-linux-gnu-i686/include
LDFLAGS:     -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql 
-L/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql
LIBS:       -lmysqlclient -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql
uname -a:   Linux proxy 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999 i686 unknown

gcc -o conftest -g -O2   
-Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql 
-L/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql conftest.c -lmysqlclient -lgd 
-lresolv -lm -ldl -lcrypt -lnsl  -lresolv 1>&5
/usr/bin/ld: cannot open -lmysqlclient: No such file or directory
collect2: ld returned 1 exit status




Hello people,

I want to install PHP-4.0.4pl1 to run with Horde and Imp 2.3 on OpenBSD 2.8.
When I try build php4, I receive an error message

Stop in /root/packages/php-4.0.4pl1 (line 23 of
/root/packages/php-4.0.4pl1/build/library.k).
*** Error code 1
Stop in /root/packages/php-4.0.4pl1 (line 23 of
/root/packages/php-4.0.4pl1/build/rules).

I trying install in root directory just to test, I will install if possible)
in /usr/local.

What I need to do to install without erros

Thanks for help.
Fabio Jacometto

PS: My native language is portuguese, and I just try to write in english.



Reply via email to