PDA

Bekijk Volledige Versie : Python installeren



indigio
07/11/08, 10:44
Hallo

Ik ben bezig geweest met het volgende maar kom er niet uit.
http://presoon.com/blog/?cat=80

Zodra ik configure van de mod_python uitvoer kan die de directory niet vinden.

Iemand die Python kan installeren?

Apache (php) http://indigio.nl/phpinfo.php

Groet Sander



checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for main in -lm... yes
checking for an ANSI C-conforming const... yes
checking your blood pressure... a bit high, but we can proceed
configure: checking whether apxs is available...
checking for --with-apxs...
configure: error: /usr/local/apache/bin/apxs not found or not executable

wonko
07/11/08, 10:47
Misschien even je OS vermelden, samen met de versie, en wat je al probeerde, en de exacte foutmeldingen weergeven...

Rolie
14/11/08, 01:30
Gebruik ./configure --with-apxs=/pad/naar/apache/bin/

belgonet
21/11/08, 10:40
inderdaad, de apxs helpt apache voor het building en installeren van modules. Het kan zijn dat je apache geen apxs heeft aangemaakt door dat je tijdens de install van apache deze niet hebt aangevraagd via de configure.

zoek eerst even de apxs op; en gebruik dan dit in je configure van je module

cd /
find . -name apxs