• 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
Re: [Solved] - Apache Adaptor on debian:jessie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Solved] - Apache Adaptor on debian:jessie


  • Subject: Re: [Solved] - Apache Adaptor on debian:jessie
  • From: Mark Gowdy <email@hidden>
  • Date: Mon, 11 Jan 2016 15:40:06 +0000

Managed to get the adaptor to build directly on the machine:
I got most of what I needed from: https://github.com/alextu/wodocker/blob/master/Dockerfile#L6

After running 
sudo apt-get install libapache2-mod-wo 
then uninstalling, 
sudo apt-get remove libapache2-mod-wo

It left behinds most of the files it needed, I then compiled mod_WebObjects.so locally
— 
# Get latest Wonder
curl -LOk https://github.com/wocommunity/wonder/archive/master.tar.gz
tar xfz master.tar.gz

# Go to Adaptor Folder
cd wonder-master/Utilities/Adaptors

# Updates make.config for Apache2.4 and Linux
sed -ri 's/ADAPTOR_OS = MACOS/ADAPTOR_OS = LINUX/g' make.config
sed -ri 's/ADAPTORS = CGI Apache2.2/ADAPTORS = Apache2.4/g' make.config

# Build (needs apxs)
sudo apt-get install apache2-dev
make

# Copy to modules folder (mine were in /usr/lib/apache2/)
sudo cp Apache2.4/mod_WebObjects.so /usr/lib/apache2/modules/.

# Enable
sudo a2enmod webobjects
—

After that, it was just config file tweaking, and it worked.

Hope this will help someone else.

Thanks, 

Mark

On 11 Jan 2016, at 12:59, Mark Gowdy <email@hidden> wrote:

Trying to install WO + Apache Adaptor onto the latest Debian release (‘jessie' - on a Raspberry Pi 2)

Following:
https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu

However, there does not appear to be a jessie distribution on:
http://packages.wocommunity.org/debian/dists/

So I set the variables to:
DIST=debian
SUITE=wheezy
and followed the other instructions.

WO installed perfectly (using):
sudo apt-get install projectwonder-wotaskd projectwonder-javamonitor

Didn’t go so well with the webobjects apache adaptor
sudo apt-get install libapache2-mod-wo
— 
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript apache2, action "reload" failed.
dpkg: error processing package libapache2-mod-wo (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 libapache2-mod-wo
E: Sub-process /usr/bin/dpkg returned an error code (1)
—

When I tried copying the module and config from an older wheezy install, I get a simlar issue when trying to restart apache.
— 
Jan 11 12:22:39 PI-ZERO apache2[21227]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/webobjects.load: Cannot load /usr/lib/apache2/modules/mod_WebObjects.so into server: /usr...p_get_server_version
Jan 11 12:22:39 PI-ZERO apache2[21227]: Action 'configtest' failed.
Jan 11 12:22:39 PI-ZERO apache2[21227]: The Apache error log may have more information.
— 

About to try compiling it on the machine, I don’t suppose anyone else has achieved that and is willing to share the binary?

Regards, 

Mark

_________________
Mark Gowdy
Gowdy Associates Ltd
M: +44 7808 400 941
Skype: markgowdy




 _______________________________________________
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

References: 
 >Apache Adaptor on debian:jessie (From: Mark Gowdy <email@hidden>)

  • Prev by Date: Disable WOTextField Input when using AjaxDatePicker
  • Next by Date: Re: Disable WOTextField Input when using AjaxDatePicker
  • Previous by thread: Apache Adaptor on debian:jessie
  • Next by thread: Disable WOTextField Input when using AjaxDatePicker
  • Index(es):
    • Date
    • Thread