Gå til innhold

rekompilering av php


Anbefalte innlegg

Setter opp webserver. Installerte apache/php/mm fra RedHat7.3, og alt virker flott. Men jeg trenger støtte for XSLT, og bruker Sablotron. Instalerte det, men trenger så å putte det inn i php..

 

litt av config i phpInfo() er:

Configure Command './configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-dbg=shared' '--with-dbg-profiler' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf'

 

Ettersom at jeg instalerte php fra distroen, hadde jeg ikke kildekoden, så jeg har lastet den ned. Videre er jeg ikke helt sikker på hva jeg skal, men jeg tror dette:

Unzippe sourcen til en eller annen mappe, og så skrive ./configure <fulgt av alt det over, (pluss alt det jeg ikke pastet) og de to ekstra parameterne jeg trenger>

Så noe make og make install greier.

 

Men man må vel fjerne alle 'ene man finner i det jeg pasta..?

Og er det jeg tror man skal riktig?

Må man fjerne den gamle PHP først?

Kan man bare plusse på de to parameterne, uten å måtte skrive inna alle de gamle?

Og hvilke kataloger er det egentlig jeg skal bruke?

Noe annet jeg burde vite?

 

Takker for alle svar! :smile:

 

[ Denne Melding var redigert av: -morten på 2002-08-18 15:37 ]

Lenke til kommentar
Videoannonse
Annonse

hmm... har lest og prøvd.

 

Fikk en melding om at SNMP ikke var ordentlig instalert: mangler snmp.h...

 

snmp.h lå i php source mappa, så jeg kopierte den inn i noe /usr. Funka fremdeles ikke.

 

Prøvde uten --with-snmp (eller hva det nå var). Mangla fortsatt filen.

 

Søkte litt etter en instalasjonspakke for snmp, fant det ikke...

 

Ideer til hva jeg må gjøre?/Nettadresse til instalasjonspakke?

:smile:

Lenke til kommentar

http://www.php.net/manual/en/ref.snmp.php

står det:

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

XCV. SNMP functions

Introduction

 

Requirements

In order to use the SNMP functions on Unix you need to install the UCD SNMP package. On Windows these functions are only available on NT and not on Win95/98.

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

 

Oppfyller du disse kravene?

 

Bruker du linux, burde du kanskje ha kernel-sourcen liggende. (Under /usr/src/linux/ )

Eks:

dante@pr0nhost:~$ locate snmp.h

/usr/src/linux-2.4.18/include/net/snmp.h

/usr/src/net/php-4.2.1/ext/snmp/php_snmp.h

/usr/src/net/php-4.2.2/ext/snmp/php_snmp.h

/usr/src/linux-2.4.18.old/include/net/snmp.h

 

/usr/src/linux har jeg bestandig symlinket til /usr/src/linux-kernelversjon.

 

PS: hostname er editert =)

 

-Dante

Lenke til kommentar

arggggggg!

Nå gikk configure greit, men når jeg skrev make fikk jeg etter en stund opp en melding om en error. (Nei, ikke noe mer info en det, så vidt jeg forstod...)

Prøvde make install alikevel, og fikk samme feilen.

 

 

:sad:...

Lenke til kommentar

Under er hele greia...

Får samme feil på make install

 

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

[root@server root]# cd php-4.2.2

[root@server php-4.2.2]# make

Making all in Zend

make[1]: Entering directory `/root/php-4.2.2/Zend'

make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/root/php-4.2.2/Zend'

Making all in main

make[1]: Entering directory `/root/php-4.2.2/main'

make[2]: Entering directory `/root/php-4.2.2/main'

make[2]: Nothing to be done for `all-p'.

make[2]: Leaving directory `/root/php-4.2.2/main'

make[1]: Leaving directory `/root/php-4.2.2/main'

Making all in ext

make[1]: Entering directory `/root/php-4.2.2/ext'

Making all in zlib

make[2]: Entering directory `/root/php-4.2.2/ext/zlib'

make[3]: Entering directory `/root/php-4.2.2/ext/zlib'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/zlib'

make[2]: Leaving directory `/root/php-4.2.2/ext/zlib'

Making all in bcmath

make[2]: Entering directory `/root/php-4.2.2/ext/bcmath'

Making all in libbcmath

make[3]: Entering directory `/root/php-4.2.2/ext/bcmath/libbcmath'

Making all in src

make[4]: Entering directory `/root/php-4.2.2/ext/bcmath/libbcmath/src'

make[5]: Entering directory `/root/php-4.2.2/ext/bcmath/libbcmath/src'

make[5]: Nothing to be done for `all-p'.

make[5]: Leaving directory `/root/php-4.2.2/ext/bcmath/libbcmath/src'

make[4]: Leaving directory `/root/php-4.2.2/ext/bcmath/libbcmath/src'

make[4]: Entering directory `/root/php-4.2.2/ext/bcmath/libbcmath'

make[4]: Nothing to be done for `all-p'.

make[4]: Leaving directory `/root/php-4.2.2/ext/bcmath/libbcmath'

make[3]: Leaving directory `/root/php-4.2.2/ext/bcmath/libbcmath'

make[3]: Entering directory `/root/php-4.2.2/ext/bcmath'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/bcmath'

make[2]: Leaving directory `/root/php-4.2.2/ext/bcmath'

Making all in bz2

make[2]: Entering directory `/root/php-4.2.2/ext/bz2'

make[3]: Entering directory `/root/php-4.2.2/ext/bz2'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/bz2'

make[2]: Leaving directory `/root/php-4.2.2/ext/bz2'

Making all in calendar

make[2]: Entering directory `/root/php-4.2.2/ext/calendar'

make[3]: Entering directory `/root/php-4.2.2/ext/calendar'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/calendar'

make[2]: Leaving directory `/root/php-4.2.2/ext/calendar'

Making all in ctype

make[2]: Entering directory `/root/php-4.2.2/ext/ctype'

make[3]: Entering directory `/root/php-4.2.2/ext/ctype'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/ctype'

make[2]: Leaving directory `/root/php-4.2.2/ext/ctype'

Making all in curl

make[2]: Entering directory `/root/php-4.2.2/ext/curl'

make[3]: Entering directory `/root/php-4.2.2/ext/curl'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/curl'

make[2]: Leaving directory `/root/php-4.2.2/ext/curl'

Making all in dba

make[2]: Entering directory `/root/php-4.2.2/ext/dba'

make[3]: Entering directory `/root/php-4.2.2/ext/dba'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/dba'

make[2]: Leaving directory `/root/php-4.2.2/ext/dba'

Making all in dbx

make[2]: Entering directory `/root/php-4.2.2/ext/dbx'

make[3]: Entering directory `/root/php-4.2.2/ext/dbx'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/dbx'

make[2]: Leaving directory `/root/php-4.2.2/ext/dbx'

Making all in dio

make[2]: Entering directory `/root/php-4.2.2/ext/dio'

make[3]: Entering directory `/root/php-4.2.2/ext/dio'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/dio'

make[2]: Leaving directory `/root/php-4.2.2/ext/dio'

Making all in domxml

make[2]: Entering directory `/root/php-4.2.2/ext/domxml'

make[3]: Entering directory `/root/php-4.2.2/ext/domxml'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/domxml'

make[2]: Leaving directory `/root/php-4.2.2/ext/domxml'

Making all in exif

make[2]: Entering directory `/root/php-4.2.2/ext/exif'

make[3]: Entering directory `/root/php-4.2.2/ext/exif'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/exif'

make[2]: Leaving directory `/root/php-4.2.2/ext/exif'

Making all in ftp

make[2]: Entering directory `/root/php-4.2.2/ext/ftp'

make[3]: Entering directory `/root/php-4.2.2/ext/ftp'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/ftp'

make[2]: Leaving directory `/root/php-4.2.2/ext/ftp'

Making all in gd

make[2]: Entering directory `/root/php-4.2.2/ext/gd'

make[3]: Entering directory `/root/php-4.2.2/ext/gd'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/gd'

make[2]: Leaving directory `/root/php-4.2.2/ext/gd'

Making all in gettext

make[2]: Entering directory `/root/php-4.2.2/ext/gettext'

make[3]: Entering directory `/root/php-4.2.2/ext/gettext'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/gettext'

make[2]: Leaving directory `/root/php-4.2.2/ext/gettext'

Making all in gmp

make[2]: Entering directory `/root/php-4.2.2/ext/gmp'

make[3]: Entering directory `/root/php-4.2.2/ext/gmp'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/gmp'

make[2]: Leaving directory `/root/php-4.2.2/ext/gmp'

Making all in iconv

make[2]: Entering directory `/root/php-4.2.2/ext/iconv'

make[3]: Entering directory `/root/php-4.2.2/ext/iconv'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/iconv'

make[2]: Leaving directory `/root/php-4.2.2/ext/iconv'

Making all in imap

make[2]: Entering directory `/root/php-4.2.2/ext/imap'

make[3]: Entering directory `/root/php-4.2.2/ext/imap'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/imap'

make[2]: Leaving directory `/root/php-4.2.2/ext/imap'

Making all in ldap

make[2]: Entering directory `/root/php-4.2.2/ext/ldap'

make[3]: Entering directory `/root/php-4.2.2/ext/ldap'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/ldap'

make[2]: Leaving directory `/root/php-4.2.2/ext/ldap'

Making all in mbstring

make[2]: Entering directory `/root/php-4.2.2/ext/mbstring'

make[3]: Entering directory `/root/php-4.2.2/ext/mbstring'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/mbstring'

make[2]: Leaving directory `/root/php-4.2.2/ext/mbstring'

Making all in mysql

make[2]: Entering directory `/root/php-4.2.2/ext/mysql'

make[3]: Entering directory `/root/php-4.2.2/ext/mysql'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/mysql'

make[2]: Leaving directory `/root/php-4.2.2/ext/mysql'

Making all in ncurses

make[2]: Entering directory `/root/php-4.2.2/ext/ncurses'

make[3]: Entering directory `/root/php-4.2.2/ext/ncurses'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/ncurses'

make[2]: Leaving directory `/root/php-4.2.2/ext/ncurses'

Making all in odbc

make[2]: Entering directory `/root/php-4.2.2/ext/odbc'

make[3]: Entering directory `/root/php-4.2.2/ext/odbc'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/odbc'

make[2]: Leaving directory `/root/php-4.2.2/ext/odbc'

Making all in openssl

make[2]: Entering directory `/root/php-4.2.2/ext/openssl'

make[3]: Entering directory `/root/php-4.2.2/ext/openssl'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/openssl'

make[2]: Leaving directory `/root/php-4.2.2/ext/openssl'

Making all in pcre

make[2]: Entering directory `/root/php-4.2.2/ext/pcre'

Making all in pcrelib

make[3]: Entering directory `/root/php-4.2.2/ext/pcre/pcrelib'

make[4]: Entering directory `/root/php-4.2.2/ext/pcre/pcrelib'

make[4]: Nothing to be done for `all-p'.

make[4]: Leaving directory `/root/php-4.2.2/ext/pcre/pcrelib'

make[3]: Leaving directory `/root/php-4.2.2/ext/pcre/pcrelib'

make[3]: Entering directory `/root/php-4.2.2/ext/pcre'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/pcre'

make[2]: Leaving directory `/root/php-4.2.2/ext/pcre'

Making all in pgsql

make[2]: Entering directory `/root/php-4.2.2/ext/pgsql'

make[3]: Entering directory `/root/php-4.2.2/ext/pgsql'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/pgsql'

make[2]: Leaving directory `/root/php-4.2.2/ext/pgsql'

Making all in posix

make[2]: Entering directory `/root/php-4.2.2/ext/posix'

make[3]: Entering directory `/root/php-4.2.2/ext/posix'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/posix'

make[2]: Leaving directory `/root/php-4.2.2/ext/posix'

Making all in pspell

make[2]: Entering directory `/root/php-4.2.2/ext/pspell'

make[3]: Entering directory `/root/php-4.2.2/ext/pspell'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/pspell'

make[2]: Leaving directory `/root/php-4.2.2/ext/pspell'

Making all in session

make[2]: Entering directory `/root/php-4.2.2/ext/session'

make[3]: Entering directory `/root/php-4.2.2/ext/session'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/session'

make[2]: Leaving directory `/root/php-4.2.2/ext/session'

Making all in shmop

make[2]: Entering directory `/root/php-4.2.2/ext/shmop'

make[3]: Entering directory `/root/php-4.2.2/ext/shmop'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/shmop'

make[2]: Leaving directory `/root/php-4.2.2/ext/shmop'

Making all in snmp

make[2]: Entering directory `/root/php-4.2.2/ext/snmp'

make[3]: Entering directory `/root/php-4.2.2/ext/snmp'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/snmp'

make[2]: Leaving directory `/root/php-4.2.2/ext/snmp'

Making all in sockets

make[2]: Entering directory `/root/php-4.2.2/ext/sockets'

make[3]: Entering directory `/root/php-4.2.2/ext/sockets'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/sockets'

make[2]: Leaving directory `/root/php-4.2.2/ext/sockets'

Making all in standard

make[2]: Entering directory `/root/php-4.2.2/ext/standard'

make[3]: Entering directory `/root/php-4.2.2/ext/standard'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/standard'

make[2]: Leaving directory `/root/php-4.2.2/ext/standard'

Making all in sysvsem

make[2]: Entering directory `/root/php-4.2.2/ext/sysvsem'

make[3]: Entering directory `/root/php-4.2.2/ext/sysvsem'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/sysvsem'

make[2]: Leaving directory `/root/php-4.2.2/ext/sysvsem'

Making all in sysvshm

make[2]: Entering directory `/root/php-4.2.2/ext/sysvshm'

make[3]: Entering directory `/root/php-4.2.2/ext/sysvshm'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/sysvshm'

make[2]: Leaving directory `/root/php-4.2.2/ext/sysvshm'

Making all in wddx

make[2]: Entering directory `/root/php-4.2.2/ext/wddx'

make[3]: Entering directory `/root/php-4.2.2/ext/wddx'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/wddx'

make[2]: Leaving directory `/root/php-4.2.2/ext/wddx'

Making all in xml

make[2]: Entering directory `/root/php-4.2.2/ext/xml'

make[3]: Entering directory `/root/php-4.2.2/ext/xml'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/xml'

make[2]: Leaving directory `/root/php-4.2.2/ext/xml'

Making all in xslt

make[2]: Entering directory `/root/php-4.2.2/ext/xslt'

make[3]: Entering directory `/root/php-4.2.2/ext/xslt'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/xslt'

make[2]: Leaving directory `/root/php-4.2.2/ext/xslt'

Making all in yp

make[2]: Entering directory `/root/php-4.2.2/ext/yp'

make[3]: Entering directory `/root/php-4.2.2/ext/yp'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/ext/yp'

make[2]: Leaving directory `/root/php-4.2.2/ext/yp'

make[1]: Leaving directory `/root/php-4.2.2/ext'

Making all in sapi

make[1]: Entering directory `/root/php-4.2.2/sapi'

Making all in apache

make[2]: Entering directory `/root/php-4.2.2/sapi/apache'

make[3]: Entering directory `/root/php-4.2.2/sapi/apache'

make[3]: Nothing to be done for `all-p'.

make[3]: Leaving directory `/root/php-4.2.2/sapi/apache'

make[2]: Leaving directory `/root/php-4.2.2/sapi/apache'

make[1]: Leaving directory `/root/php-4.2.2/sapi'

Making all in TSRM

make[1]: Entering directory `/root/php-4.2.2/TSRM'

make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/root/php-4.2.2/TSRM'

Making all in regex

make[1]: Entering directory `/root/php-4.2.2/regex'

make[2]: Entering directory `/root/php-4.2.2/regex'

make[2]: Nothing to be done for `all-p'.

make[2]: Leaving directory `/root/php-4.2.2/regex'

make[1]: Leaving directory `/root/php-4.2.2/regex'

Making all in .

make[1]: Entering directory `/root/php-4.2.2'

/bin/sh /root/php-4.2.2/libtool --silent --mode=link gcc -I. -I/root/php-4.2.2/ -I/root/php-4.2.2/main -I/root/php-4.2.2 -I/usr/include/apache -I/root/php-4.2.2/Zend -I/usr/include/libxml2 -I/usr/include/freetype2/freetype -I/usr/include/imap -I/usr/include/mysql -I/usr/local/include -I/usr/include/pspell -I/usr/include/ucd-snmp -DLINUX=22 -DEAPI -DEAPI_MM -DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/root/php-4.2.2/TSRM -g -O2 -prefer-pic -o libphp4.la -rpath /root/php-4.2.2/libs -export-symbols /root/php-4.2.2/sapi/apache/php.sym -avoid-version stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la /root/php-4.2.2/ext/zlib/libzlib.la /root/php-4.2.2/ext/bcmath/libbcmath.la /root/php-4.2.2/ext/bz2/libbz2.la /root/php-4.2.2/ext/calendar/libcalendar.la /root/php-4.2.2/ext/ctype/libctype.la /root/php-4.2.2/ext/curl/libcurl.la /root/php-4.2.2/ext/dba/libdba.la /root/php-4.2.2/ext/dbx/libdbx.la /root/php-4.2.2/ext/dio/libdio.la /root/php-4.2.2/ext/domxml/libdomxml.la /root/php-4.2.2/ext/exif/libexif.la /root/php-4.2.2/ext/ftp/libftp.la /root/php-4.2.2/ext/gd/libgd.la /root/php-4.2.2/ext/gettext/libgettext.la /root/php-4.2.2/ext/gmp/libgmp.la /root/php-4.2.2/ext/iconv/libiconv.la /root/php-4.2.2/ext/mbstring/libmbstring.la /root/php-4.2.2/ext/openssl/libopenssl.la /root/php-4.2.2/ext/pcre/libpcre.la /root/php-4.2.2/ext/posix/libposix.la /root/php-4.2.2/ext/pspell/libpspell.la /root/php-4.2.2/ext/session/libsession.la /root/php-4.2.2/ext/shmop/libshmop.la /root/php-4.2.2/ext/sockets/libsockets.la /root/php-4.2.2/ext/standard/libstandard.la /root/php-4.2.2/ext/sysvsem/libsysvsem.la /root/php-4.2.2/ext/sysvshm/libsysvshm.la /root/php-4.2.2/ext/wddx/libwddx.la /root/php-4.2.2/ext/xml/libxml.la /root/php-4.2.2/ext/xslt/libxslt.la /root/php-4.2.2/ext/yp/libyp.la TSRM/libtsrm.la -lpam -lsablot -lexpat -lexpat -lmm -lpspell -lncurses -lcrypt -lpam -lgmp -lgd -lfreetype -lpng -lz -ljpeg -lz -lm -lz -lxml2 -ldb -lgdbm -lcurl -ldl -lcrypto -lssl -lcurl -lbz2 -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt -ldl

/root/php-4.2.2/ext/xslt/.libs/libxslt.al(sablot.lo): In function `zm_startup_xslt':

/root/php-4.2.2/ext/xslt/sablot.c:153: multiple definition of `SXPF_DISPOSE_NAMES'

main/.libs/libmain.al(internal_functions.lo):/root/php-4.2.2/main/internal_functions.c:105: first defined here

/root/php-4.2.2/ext/xslt/.libs/libxslt.al(sablot.lo): In function `zm_startup_xslt':

/root/php-4.2.2/ext/xslt/sablot.c:153: multiple definition of `SXPF_DISPOSE_VALUES'

main/.libs/libmain.al(internal_functions.lo):/root/php-4.2.2/main/internal_functions.c:105: first defined here

/root/php-4.2.2/ext/xslt/.libs/libxslt.al(sablot.lo): In function `zm_startup_xslt':

/root/php-4.2.2/ext/xslt/sablot.c:153: multiple definition of `SXPF_SUPPORTS_UNPARSED_ENTITIES'

main/.libs/libmain.al(internal_functions.lo):/root/php-4.2.2/main/internal_functions.c:105: first defined here

collect2: ld returned 1 exit status

make[1]: *** [libphp4.la] Error 1

make[1]: Leaving directory `/root/php-4.2.2'

make: *** [all-recursive] Error 1

[root@server php-4.2.2]#

Lenke til kommentar

Heisann

Har vært for opptatt i det siste til å surre med de forum'ene jeg følger med på.

Men tok en enkel google search på feilmeldingen din, og en av de første var denne:

 

http://www.se.linux.org/pipermail/selinux-...uly/000004.html

 

og oppfølgingen:

 

http://www.se.linux.org/pipermail/selinux-...uly/000005.html

 

Og i sammenheng med den, hva slags apache prøver du å installere?

2.0 serien eller 1.3?

Under PHP+2.0, må php kjøres som cgi script (ikke fult støtte enda, men ny php versjon er venta om ikke veldig lenge). Under 1.3 skal det fungere greit.

 

Og når det gjelder "make" vs "make install" så er make install vanligvis selve installeringen av de binære filene du har kompilert. Men den sjekker først om disse er laget, slik at hvis ikke så blir disse kompilert, og så installert hvis det hele fungerte. Dvs, kjør make for kompilering, og make install når du er klar til å installere. (Kan være et salig slit å renske opp hvis du har installert feil)

 

-Dante

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...