• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can't build Apache2 woadaptor in Wonder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't build Apache2 woadaptor in Wonder


  • Subject: Can't build Apache2 woadaptor in Wonder
  • From: "Yung-Luen Lan" <email@hidden>
  • Date: Sat, 10 Jun 2006 22:22:32 +0800

Hi, all:

I'm moving from Apache 1.3 to Apache 2. Searching the internet, I
download the latest Wonder and try to build a new woadaptor for
Apache2. Unfortunately, there are some errors occured when making the
mod_WebObjects.so.

/opt/local/apache2/bin/apxs  -c -S CC=cc -Wc,"-O2 -Wall
-I/opt/local/apache2/include  -I../Adaptor -I/usr/include/openssl
-DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER -DAPACHE
-DAPACHE_SECURITY_ENABLED" -Wl,"-L/usr/lib -lcrypto -lssl -lm -module"
mod_WebObjects.c ../Adaptor/MoreURLCUtilities.c ../Adaptor/Platform.c
../Adaptor/WOURLCUtilities.c ../Adaptor/WOURLCUtilities_3.c
../Adaptor/appcfg.c ../Adaptor/cfgparse.c ../Adaptor/config.c
../Adaptor/hostlookup.c ../Adaptor/list.c ../Adaptor/listing.c
../Adaptor/loadaverage.c ../Adaptor/loadbalancing.c ../Adaptor/log.c
../Adaptor/nbsocket.c ../Adaptor/random.c ../Adaptor/request.c
../Adaptor/response.c ../Adaptor/roundrobin.c ../Adaptor/shmem.c
../Adaptor/strdict.c ../Adaptor/strtbl.c ../Adaptor/transaction.c
../Adaptor/transport.c ../Adaptor/wastring.c ../Adaptor/womalloc.c
../Adaptor/xmlcparser.c ../Adaptor/xmlctokenizer.c
../Adaptor/xmlparse.c
/opt/local/share/apr-1/build/libtool --silent --mode=compile cc
-prefer-pic   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-g -O2 -I/opt/local/include -I/opt/local/apache2/include
-I/opt/local/include/apr-1   -I/opt/local/include/apr-1
-I/opt/local/include -O2 -Wall -I/opt/local/apache2/include
-I../Adaptor -I/usr/include/openssl  -DSINGLE_THREADED_ADAPTOR -DMACOS
-DFORKING_WEBSERVER -DAPACHE -DAPACHE_SECURITY_ENABLED  -c -o
mod_WebObjects.lo mod_WebObjects.c && touch mod_WebObjects.slo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
apxs:Error: Command failed with rc=65536
.
make: *** [mod_WebObjects.so] Error 1

I find someone on the mailing-list had the same error because he
configure it with apache 1.3 parameters. Then I check my make.config
file over and over, but nothing obvious.

Here is my make.config:

# This file defines the basic configuration for building the adaptors.
# It defines the architecture (OS), which adaptor(s) to build, and other
# misc. configuration info. that is needed by other project makefiles.

# Set the platform you are building on
# MACOS =

# Define the OS.
ifeq "" "${OS}"
OS = MACOS
endif

# DEBUG_FLAG = -g

# Based on the OS, determine which adaptor(s) we build, and other settings.

# MacOS X Server
ifeq "NEXTSTEP" "${OS}"
ADAPTORS = CGI Apache
APXS = /usr/sbin/apxs
endif

# MacOS X
ifeq "MACOS" "$(OS)"
#ADAPTORS = CGI Apache

# Default path for apxs on version 10.0.
#APXS = /usr/sbin/apxs

# Uncomment the following lines to build for Apache2
# override above setting
ADAPTORS = Apache2
# set this to the location of your Apache2 dir
APACHE2_DIR = /opt/local/apache2
APXS = $(APACHE2_DIR)/bin/apxs # override above setting
APACHEINCLUDE_DIR = $(APACHE2_DIR)/include #override default include dir
APACHEMODULE_DIR = $(APACHE2_DIR)/modules
endif

# Windows
ifeq "WINDOWS" "${OS}"
CC = gcc
EXESUFFIX = .exe
ADAPTORS = CGI IIS
endif

ifeq "SOLARIS" "$(OS)"
ADAPTORS = CGI NSAPI Apache
# Default path for apxs on Solaris 8.
APXS = /usr/apache/bin/apxs
endif

ifeq "HPUX" "$(OS)"
ADAPTORS = CGI NSAPI
endif

# LINUX
ifeq "LINUX" "$(OS)"

# REDHAT 9
ifeq "REDHAT9" "$(OS_VERSION)"
ADAPTORS = CGI Apache2
APXS = /usr/sbin/apxs
APACHEINCLUDE_DIR = /usr/include/httpd

# OTHER LINUX
else

ADAPTORS = CGI Apache
APXS = $(shell bash -c 'if [ -d /usr/local/apache ]; then echo
/usr/local/apache/bin/apxs;else echo
/usr/sbin/apxs;fi')APACHEINCLUDEFLAGS = $(shell bash -c 'if [ -d
/usr/local/apache ]; then echo -I/usr/local/apache/include;else echo
-I/usr/include/apache;fi')endif

#end Linux
# If you are building NSAPI uncomment this and specify where Netscape
is installed.
# This is typically /opt/netscape/suitespot
# NS_ROOT =

# default compiler is cc
ifeq "${CC}" ""
CC = cc
endif

and I have apache2 installed on /opt/local/apache2.

How can I fix the building error and make my webobjects working with apache2?

Thanks!

yung-luen lan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Building a true WAR
  • Next by Date: Re: Can't build Apache2 woadaptor in Wonder
  • Previous by thread: Re: Building a true WAR
  • Next by thread: Re: Can't build Apache2 woadaptor in Wonder
  • Index(es):
    • Date
    • Thread