Re: New installation fail?
Re: New installation fail?
- Subject: Re: New installation fail?
- From: Paul Hoadley via Webobjects-dev <email@hidden>
- Date: Wed, 2 Sep 2020 16:54:36 +0930
Hi Jesse,
On 2 Sep 2020, at 16:17, Jesse Tayler <email@hidden> wrote:
> I can see there’s an Adaptor in Wonder for apache but I was totally unable to
> build the mod_WebObjects.so and get apache running and that’s where I’m at
> now.
>
> I should just be able to download the binary from a build somewhere shouldn’t
> I?
Well, probably not. Remember that this is all essentially abandonware, so no
one is making builds (recently, for modern platforms anyway), hosting them and
keeping them up to date. The good news is that if you're using Amazon Linux,
building it yourself is super-easy. Here's the entirety of the diff:
diff --git a/Utilities/Adaptors/make.config b/Utilities/Adaptors/make.config
index 373b2986d..eec435105 100644
--- a/Utilities/Adaptors/make.config
+++ b/Utilities/Adaptors/make.config
@@ -6,12 +6,12 @@
# Set the platform you are building on
# possible values: MINGW MACOS LINUX WINDOWS HPUX SOLARIS FreeBSD
#
-ADAPTOR_OS = MACOS
+ADAPTOR_OS = LINUX
# Set a specific architecture to building for. If you comment this out it will
attempt to discover available architectures.
# Some possible architectures are: x86_64 i386 ppc7400
# If you specific more than one architecture it will build a "fat" binary with
all the architectures contained in one file.
-RC_ARCHS=x86_64 i386
+RC_ARCHS=x86_64
ifeq "MINGW" "${ADAPTOR_OS}"
OS = ${ADAPTOR_OS}
@@ -104,7 +104,7 @@ APACHEINCLUDE_DIR = /usr/include/httpd
# OTHER LINUX
else
-ADAPTORS = CGI Apache2.2
+ADAPTORS = Apache2.4
APXS = $(shell bash -c 'if [ -e /usr/bin/apxs2 ]; then echo
/usr/bin/apxs2;else if [ -e /usr/bin/apxs ]; then echo /usr/bin/apxs; else if [
-d /usr/local/apache ]; then echo /usr/local/apache/bin/apxs;else echo
/usr/sbin/apxs;fi;fi;fi')
endif
1. Change those three lines in make.config.
2. Run 'make'.
3. Find mod_WebObjects.so and put it where you need it.
4. There is no 4.
--
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/
_______________________________________________
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