Webb Sprague
webb.sprague at gmail.com
Sat Jan 14 14:17:55 EST 2006
Hi all I am unable to compile mod_python on a gentoo machine (all updated, ~x86, etc), both using emerge and by hand, please help if you can... (Also, please email me directly as well as the list, if possible). Here is my configure command: ./configure --prefix=/usr/local/mod_python-3.1.4 --with-apxs=/usr/sbin/apxs2 Here is the error: <snip> checking where Python include files are... -I/usr/include/python2.4 ./configure: line 2951: syntax error near unexpected token `(' ./configure: line 2951: `as_me=`(basename "$0") 2>/dev/null ||' Here are my specs: mod_python version: 3.1.4, but same error on 3.2.5b and 3.1.3 bash version: 3.1.5 apache2 -V: Server version: Apache/2.0.55 Server built: Jan 12 2006 03:53:14 Server's Module Magic Number: 20020903:11 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/usr" -D SUEXEC_BIN="/usr/sbin/suexec2" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf" Here is where I think the configure script goes south: # Name of the executable. as_me=`(basename "$0") 2>/dev/null || ## This is line 2951 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` Any help would be great, or I can file a bug report if someone tells me where. Thx W
|