niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Apache
Minor Annoyance Building mod_jk on Mac OS X
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
mihai
*nix forums addict


Joined: 27 Jan 2005
Posts: 71

PostPosted: Wed Aug 22, 2007 12:20 pm    Post subject: Reply with quote

it must be a bug in mod_jk build files
Back to top
Immanuel Tranz-Mischen
*nix forums beginner


Joined: 13 Aug 2007
Posts: 2

PostPosted: Mon Aug 13, 2007 2:21 pm    Post subject: Minor Annoyance Building mod_jk on Mac OS X
Subject description: (module gets installed in the wrong directory)
Reply with quote

Since mod_jk binaries are no longer available for Apache 1.3.x on Mac OS X, I have to build it myself now, but every time I build and install mod_jk, everything goes smoothly until the final 'sudo make install,' and then it finishes with:
Quote:
Libraries have been installed in: /usr/libexec

Which is nice, but they're supposed to be installed in /usr/libexec/httpd in Mac OS X.

I'm using this when I call configure:
Code:
% ./configure --with-apxs=/usr/sbin/apxs

and /usr/sbin/apxs says:
Code:
my $CFG_LIBEXECDIR = q(/usr/libexec/httpd);

but the resulting Makefile says:
Code:
libexecdir=${APACHE_DIR}/libexec

So it appears to be ignoring the definition from apxs. It also appears that the definition of libexecdir is variable only up until libexec. It looks like you can't tell it to use a subdirectory.

It's easy enough to just move the installed files into the httpd directory, with sudo mv /usr/libexec/mod_jk.* usr/libexec/httpd, but it's a little annoying to have to remember to do this every time I upgrade mod_jk.

Has anybody else run into this with this or other modules on any other platforms? Is it a bug that should be reported to either Apple or Apache? Does anybody have a better solution than editing the Makefile before I run make or moving the files after make install?
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Thu Dec 04, 2008 6:59 am | All times are GMT
navigation Forum index » Apps » Apache
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Trouble building bison++/flex++ in Linux John S apps 0 Sun Jul 16, 2006 5:04 am
No new posts Building package from port, building package repository dutch disCo FreeBSD 2 Sat Jul 15, 2006 1:59 pm
No new posts How to know which 2.6.16 "sub-minor" kernel I'm running Ron Johnson Debian 3 Thu Jul 13, 2006 7:10 pm
No new posts Help needed on building read-only FreeBSD boot system Keve Nagy FreeBSD 0 Tue Jul 04, 2006 1:57 pm
No new posts building toolchain i386 - ld can't find crti.o Luki embedded 0 Mon Jul 03, 2006 9:00 am

Student Credit Cards | Homes for Sale | Mortgage | MPAA | Mobile Phones
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1371s ][ Queries: 20 (0.0543s) ][ GZIP on - Debug on ]