Toon posts:

[RH80] Apache update lukt niet

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik heb rh 8.0 draaien (alles geinstalleerd). Ik wil nu apache van 2.0.40 naar 2.0.43 upgraden. (binary)

ik heb httpd-2.0.43.tar.gz gedownload en in /usr/local/apache2 uitgepakt.
dan doe ik ./configure --prefix=/usr/local/apache2 --enable-module=so
make en
make install

ik krijg helaas telkens deze foutmelding tijden make install :

cp: `include/util_charset.h' and `/usr/local/apache2/include/util_charset.h' are the same file
cp: `include/util_ebcdic.h' and `/usr/local/apache2/include/util_ebcdic.h' are the same file
cp: `include/util_filter.h' and `/usr/local/apache2/include/util_filter.h' are the same file
cp: `include/util_ldap.h' and `/usr/local/apache2/include/util_ldap.h' are the same file
cp: `include/util_md5.h' and `/usr/local/apache2/include/util_md5.h' are the same file
cp: `include/util_script.h' and `/usr/local/apache2/include/util_script.h' are the same file
cp: `include/util_time.h' and `/usr/local/apache2/include/util_time.h' are the same file
cp: `include/util_xml.h' and `/usr/local/apache2/include/util_xml.h' are the same file
make[1]: *** [install-include] Error 1
make[1]: Leaving directory `/usr/local/apache2'
make: *** [install-recursive] Error 1


Hoe kan ik dit het beste doen?, eerst alle apache rpm's uninstallen (dit is haast onmogelijk met die brakke rpm rommel)?

Een rpm upgrade is geen optie omdat ik een mod_jl.so wil compileren, voor tomcat.

Verwijderd

Het lijkt me dan toch dat je de rpm's even moet uninstallen. Waarom zou dat niet mogelijk zijn ?

Titel even veranderd in Apache ipv Samba

[ Voor 19% gewijzigd door Verwijderd op 09-12-2002 17:32 ]


  • LollieStick
  • Registratie: Juni 2001
  • Laatst online: 28-02 12:09
Apache uninstallen door rpm -e apache uit te voeren, darna handmatig de tarball downloaden en compileren.

Het is overigens verstandig om eerst alleen make te doen i.p.v. make install. Vooral als je nog een oude versie in je /usr/local/apache2 hebt staan voorkomt dat problemen omdat de libs niet meteen worden overschreven :)

  • PowerSp00n
  • Registratie: Februari 2002
  • Laatst online: 15-05 12:25

PowerSp00n

There is no spoon

Ehm, ik denk eerder dat je de tarball ergens anders moet uitpakken. En natuurlijk even netjes de RPM's weg halen.

  • active2
  • Registratie: Juni 2001
  • Laatst online: 26-10-2024

active2

Google is your friend

mod_jl.so ? --> moet dat niet mod_jk2.so zijn ?

Voor apache2 tenminste dacht ik

Google, Het mirakel van de 21e eeuw!!!!


Verwijderd

Topicstarter
mod_jk2 is een nieuwe connector. ik gebruik liever de oudere en stabielere mod_jk

Verwijderd

Topicstarter
ik heb nu het volgende weggehaald :

rpm -e httpd-devel
rpm -e http-manual
rpm -e redhat-config-httpd
rpm -e libghttp

wat rest is "rpm -e httpd" :

[root@localhost apache2]# rpm -e httpd
error: Failed dependencies:
webserver is needed by (installed) mailman-2.0.13-3
webserver is needed by (installed) namazu-cgi-2.0.10-8
webserver is needed by (installed) nut-cgi-0.45.4-5
httpd-mmn = 20020628 is needed by (installed) mod_perl-1.99_05-3
httpd-mmn = 20020628 is needed by (installed) mod_python-3.0.0-10
httpd-mmn = 20020628 is needed by (installed) mod_ssl-2.0.40-8
httpd-mmn = 20020628 is needed by (installed) php-4.2.2-8.0.5
httpd-mmn = 20020628 is needed by (installed) mod_auth_pgsql-0.9.12-11
httpd-mmn = 20020628 is needed by (installed) mod_auth_mysql-1.11-10
libapr.so.0 is needed by (installed) mod_perl-1.99_05-3
libaprutil.so.0 is needed by (installed) mod_perl-1.99_05-3
httpd >= 2.0.40 is needed by (installed) mod_perl-1.99_05-3
httpd >= 2.0.40 is needed by (installed) mod_python-3.0.0-10
httpd is needed by (installed) mod_ssl-2.0.40-8
httpd >= 2.0.40 is needed by (installed) mod_auth_pgsql-0.9.12-11
httpd >= 2.0.40 is needed by (installed) mod_auth_mysql-1.11-10
httpd is needed by (installed) squirrelmail-1.2.7-4

moet ik al die mod... weghalen?, en worden die door apache daarna meegecompileerd?

  • PowerSp00n
  • Registratie: Februari 2002
  • Laatst online: 15-05 12:25

PowerSp00n

There is no spoon

Ja die kun je ook allemaal weg halen, wat de bovenste 3 _precies_ doen weet ik niet. Maar het grootste deel van die mod_'s zul je toch niet gebruiken. (ik heb het niet zo op rpm's :))

Verwijderd

Topicstarter
Ik heb alles van httpd verwijderd. Dus als ik rpm -aq | grep httpd doe, krijg ik niets te zien.

Helaas lukt de installatie nog niet :

cd /opt/local
tar zxfv httpd-2.0.43.tar.gz
mv httpd-2.0.43.tar.gz apache2
cd apache2
./configure --prefix=/usr/local/apache2 --enable-module=so
make
make install

cp: `include/scoreboard.h' and `/usr/local/apache2//include/scoreboard.h' are the same file
cp: `include/util_cfgtree.h' and `/usr/local/apache2//include/util_cfgtree.h' are the same file
cp: `include/util_charset.h' and `/usr/local/apache2//include/util_charset.h' are the same file
cp: `include/util_ebcdic.h' and `/usr/local/apache2//include/util_ebcdic.h' are
the same file
cp: `include/util_filter.h' and `/usr/local/apache2//include/util_filter.h' are
the same file
cp: `include/util_ldap.h' and `/usr/local/apache2//include/util_ldap.h' are the
same file
cp: `include/util_md5.h' and `/usr/local/apache2//include/util_md5.h' are the same file
cp: `include/util_script.h' and `/usr/local/apache2//include/util_script.h' are
the same file
cp: `include/util_time.h' and `/usr/local/apache2//include/util_time.h' are the
same file
cp: `include/util_xml.h' and `/usr/local/apache2//include/util_xml.h' are the same file
make[1]: *** [install-include] Error 1
make[1]: Leaving directory `/usr/local/apache2'
make: *** [install-recursive] Error 1

Is er niet zoiets als --force?, wat doe ik fout?

[ Voor 7% gewijzigd door Verwijderd op 10-12-2002 15:16 ]


  • PowerSp00n
  • Registratie: Februari 2002
  • Laatst online: 15-05 12:25

PowerSp00n

There is no spoon

Ga de error eens lezen.
PowerSp00n schreef op 09 december 2002 @ 20:48:
Ehm, ik denk eerder dat je de tarball ergens anders moet uitpakken.

  • _JGC_
  • Registratie: Juli 2000
  • Laatst online: 01:02
Move die /usr/local/apache2 directory eens naar een andere lokatie en probeer dan weer eens.
Pagina: 1