• 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: mod_WebObjects with 64Bit Linux RPM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mod_WebObjects with 64Bit Linux RPM


  • Subject: Re: mod_WebObjects with 64Bit Linux RPM
  • From: Helmut Schottmüller <email@hidden>
  • Date: Wed, 23 May 2007 10:08:56 +0200

Hi Travis,

that's exactly what I have done. But I always get a segementation fault when I add mod_WebObjects into the httpd.conf.
I removed it now and put it into an external configuration file and then I got a more "exact" error message:

start httpd: *** glibc detected *** /usr/sbin/httpd: free(): invalid next size (normal): 0x0000555555903860 ***
 
When I checked my system, I've seen that I have as well the glibc x86_64 and i386/686 packages installed. But even if I remove the glibc.686 package, yum will remove my httpd-devel.x86_64 package... :-(
I'm sure that it has something to do with it.

Regards,
Helmut

Am 23.05.2007 um 08:30 schrieb Travis Cripps:

Helmut, Ken, Joe,

Hi.  Sorry it took a while to get to this. I've been out of town over the weekend.  Anyway, I installed Fedora 6 X86-64  into a VMWare image while I was away, so I could play with it.

It's actually quite easy to support the built-in Apache version when you're building the adaptor.  

1) First, you need, of course, to have the prerequisite development packages installed for gcc, make, etc.  
2) Next, you need to install the httpd-devel package using your package manager of choice.  The httpd-devel package will provide apxs and other tools used for developing for Apache.  Among the dependencies are the apr-devel and apr-util-devel packages, which provide the headers and libraries you'll need to compile the adaptor.
3) Configure the adaptor's make.config and Makefile to point to the right places, as necessary.  For Fedora 6 and it's included Apache2.2.x, these are the settings I used:

make.config (in Adaptors directory)
--------------------
Near top:

OS = LINUX

Then, in Linux section:

ADAPTORS = Apache2.2
APXS = /usr/sbin/apxs
APACHEINCLUDE_DIR = /usr/include/httpd
CC = gcc


Makefile (in Apache2.2 directory)
---------------------

In Linux section:

If you want ssl support, change the appropriate lines to read:
ENABLE_SSL_SUPPORT = -DAPACHE_SECURITY_ENABLED
OPENSSL_INCL_FLAGS = -I/usr/include/openssl
OPENSSL_LIB_FLAGS = -L/usr/lib -lcrypto -lssl


APACHE_INCL_FLAGS = -I/usr/include/apr-1/



That's pretty much it.  You can leave the rest of the settings as they are.

4) Open a terminal and cd to the Adaptors/Apache2.2 directory.
5) Do the make clean && make && sudo make install dance.

That should be it.  If that works, just configure as normal.  If not, check your work, and try again.  I've successfully built on Centos, Ubuntu, Redhat, Fedora, and Suse, all in 64-bit.  They are all pretty similar.

All the usual disclaimers apply.  YMMV, etc., etc. :)

HTH,

Travis


Ken Anderson wrote:

I'm going to need this soon as well.  What the simplest course?

Joe Little wrote:

Subject: Re: mod_WebObjects with 64Bit Linux RPM?
To: " Helmut Schottm?ller " <email@hidden>
Cc: webobjects-dev Apple <email@hidden>

On 5/15/07, Helmut Schottmüller <email@hidden> wrote:
Hi there,

has anyone been successful compiled and installed mod_WebObjects on a
64 bit linux system using the system version of the httpd server?
I am using fedora core 6 and I am getting a segementation fault when
I try to restart the webserver with my compiled version of
mod_WebObjects. It seems that the compiliation of mod_WebObjects uses
some different libraries than the precompiled httpd RPM:

start httpd: /bin/bash: line 1: 30260 Segmentation fault      /usr/
sbin/httpd


When  I compile the httpd server by myself, anything works fine. But
for maintenance reasons I would like to use the RPM version of the
system to get my automatic security updates.
Are there some specific 64 bit compiler or linker flags I have to use?


Nope. Travis Cripps has fixed 64 bit support in the CVS version of the
adaptor code. To my knowledge, there hasn't been a new release with
these fixes. It also works with apache 2.2 and 2.0. It was originally
built against RHEL4 64 bit, with the build environment resurrectable
if needs be.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >Re: mod_WebObjects with 64Bit Linux RPM (From: Travis Cripps <email@hidden>)

  • Prev by Date: Re: mod_WebObjects with 64Bit Linux RPM
  • Next by Date: [OT] JS/AJAX toolkits evaluation
  • Previous by thread: Re: mod_WebObjects with 64Bit Linux RPM
  • Next by thread: [OT] JS/AJAX toolkits evaluation
  • Index(es):
    • Date
    • Thread