Hi:
Has anyone seen error this while following Jonathon Jacky’s
instructions to install Swig (in preparation to instal GNU Radio):
Error: Target org.macports.configure returned: configure failure:
shell command " cd “/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_www_php5/work/php-5.2.6” && ./configure –
prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/
share/info --with-config-file-path=/opt/local/etc --enable-calendar –
with-iconv=/opt/local --enable-exif --enable-ftp --enable-wddx --with-
zlib=/opt/local --with-bz2=/opt/local --without-mysql --without-sqlite
–without-pdo-sqlite --with-libxml-dir=/opt/local --with-gettext=/opt/
local --with-xml --with-expat-dir=/opt/local --with-xmlrpc --enable-
soap --enable-filepro --enable-bcmath --enable-trans-sid --enable-
mbstring --enable-dbx --enable-dba --enable-zip --with-openssl=/opt/
local --with-mhash=/opt/local --with-mcrypt=/opt/local --with-xsl=/opt/
local --with-curl=/opt/local --with-pcre-regex=/opt/local --with-gd=/
opt/local --with-jpeg-dir=/opt/local --with-png-dir=/opt/local –
enable-gd-native-ttf --without-pear --with-freetype-dir=/opt/local –
with-apxs=/usr/sbin/apxs --with-ldap=/usr --with-kerberos=/usr --with-
iodbc=/usr " returned error 1
Reading further, the error is explained:
Configuring SAPI modules
checking for AOLserver support… no
checking for Apache 1.x module support via DSO through APXS…
configure: error: You have enabled Apache 1.3 support while your
server is Apache 2. Please use the appropiate switch --with-apxs2
Error: The following dependencies failed to build: php5 python25 ruby
It appears that I have to change one of the install scripts for PHP
to recognize my Apache 2 server installation. Unfortunately, I don’t
know where to make this correction. Can you direct me?
Much appreciated,
John Freberg