Consistent annoying problem when compiling and installing Apache modules.

Every time I build and install mod_jk for Apache (Since binaries are no longer available for Apache 1.3.x on Mac OS X, we have to build it ourselves.), everything goes smoothly until the final 'sudo make install,' and then it finishes with:
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 don't know if this is a problem for Mac OS X Server too, but I'm using regular old Mac OS X 10.4.10, so I'm posting this here.)
I'm using this when I call configure:
% ./configure --with-apxs=/usr/sbin/apxs
and /usr/sbin/apxs says:
my $CFG_LIBEXECDIR = q(/usr/libexec/httpd);
but the resulting Makefile says:
libexecdir=${APACHE_DIR}/libexec
So it appears to be ignoring the definition from apxs. It also appears that the definition of libexecdir appears to be 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? Is it a bug that should be reported to either Apple or Apache? Does anybody have a better solution than moving the files?

MoonSwan wrote:I have a desktop system and a netbook that I would like to have hibernating when they aren't being used.  The wiki outlined roughly how to accomplish this with this page:  https://wiki.archlinux.org/index.php/Tuxonice
I downloaded from the AUR the kernel26-ice 2.6.38-4 to compile and install.
Hm... netbook.
If you don't mind trying bfs and bfq too, then you could give the pf-kernel that is mentioned in the wiki too a try:
http://aur.archlinux.org/packages.php?ID=50956
It has a repository here:
[pfkernel]
Server = http://dl.dropbox.com/u/11734958/$arch
and a thread: https://bbs.archlinux.org/viewtopic.php?id=103462
I'm not quite sure how netbook performance is affected by BFS...
It has the bonus to already be based on 3.0.
Last edited by Cdh (2011-07-28 20:35:50)

Similar Messages

  • Zen Micro Firmware Upgrade 1.01.03: Problems when Downloading and Installing the Upgr

    Yesterday I downloaded the new firmware upgrade .0.03 to my computer without problems. I then attempted to open the upgrade and initiate transfer to my Zen Micro unit through my USB 2.0 cable. I kept getting a dialog box, informing me that there was an interference problem... So I shut down my Norton anti-virus and my Zone Alarm firewall, and tried again, and again, and again. I was unable to initiate the transfer program...
    I was about to contact you this evening for advice, but I decided to first switch my USB cable to another connector and try one more time. Surprise! It worked... A rather long connection, but the upgrade is now in my Zen Micro unit, just where it's needed...
    I've had my USB cable connected to what I believe is a USB 2.0 connection on my computer, and I often see the "not connected" dialog box. Each time this happens, I disconnect the cable from the Zen Micro unit, then reconnect it... Bells and whisltes sound, and I'm connected again, until a few minutes later I get the "not connected" dialog box yet again... Is this a normal procedure?
    Now, tonight I plugged the USB cable into what I've always considered to be a slower USB connection point... Mybe that's why the transfer took so long? But it stays connected indefinitely... no "not connected" dialog box.
    I've been having other transfer problems through the USB 2.00 connection point. I downloaded 23 tracks to my Zen Micro yesterday afternoon, and three of the tracks didn't make it... Frustrating as hell...
    I'd appreciate any comments from my peers, since everyone here has more experience than me...
    kooch

    koochiching,
    Try turning off the Media Sniffer feature from MediaSource and try updating the firmware again.
    JasonMessage Edited by Jason-CL on 2-4-2004 0:27 AM

  • Dear Mr./Mrs.,  I had an iPhone 4 , then I bought iPhone 5s , I faced a problem when I started installing any new application other than I already had on my iCloud , I was asked to enter my password of my apple account and I entered it correctly , then I

    Dear Mr./Mrs.,
    I had an iPhone 4 , then I bought iPhone 5s , I faced a problem when I started installing any new application other than I already had on my iCloud , I was asked to enter my password of my apple account and I entered it correctly , then I was asked to answer two questions , but I forgot the answers !! I click on forgot the answers , they send me check your email , I check my email and they send me the password that I have already entered not the answers of the questions ! How can this problem be solved ?! Hope to take my message into consideration.
    Yours sincerely,
                             Hesham.

    Welcome to the user to User Technical Support Forum provided by Apple.
    For your issue...
    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
         Or Email Here  >  Apple  Support  iTunes Store  Contact

  • Pages is taking annoyingly long to download and install. Any of you faced similar problems while installing it?

    ages is taking annoyingly long to download and install. Any of you faced similar problems while installing it?

    Who knows what "ages" means to you, or what speed Internet connection you have, or what else is happening on your computer or network.
    Pages/iWork are not small so it can take a while. Sometimes heavy demand at the Apple end can slow their server as well.
    Peter

  • Compiling and Installing Compiled Kernel

    Hi everyone, today i followed the "Kernel Compilation From Source" (https://wiki.archlinux.org/index.php/Ke … rom_Source) ArchWiki to compile a kernel downloaded from kernel.org. And i use the second method to compile and install with makepkg.
    When the compilation is done, it can't be installed because the name of the file.
    I know i must specify a new name for the new linux image and the System.map to have two or more kernels installed. But "where" in the PKGBUILD i must change the name of the files???
    I'm using the PKGBUILD from the wiki:
    pkgname=kernel26-my
    basekernel=2.6.32.8
    pkgver=2.6.32.8
    pkgrel=1
    pkgdesc="The Linux Kernel and modules"
    arch=('i686' 'x86_64')
    license=('GPL')
    url="http://www.kernel.org"
    depends=('module-init-tools' 'mkinitcpio')
    provides=(kernel26)
    install=kernel26.install
    build() {
    LOCAL_VERSION="$(grep "CONFIG_LOCALVERSION=" $startdir/.config | sed 's/.*"\(.*\)"/\1/')"
    cd ..
    make || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    # There's no separation of firmware depending on kernel version -
    # comment this line if you intend on using the built kernel exclusively,
    # otherwise there'll be file conflicts with the existing kernel
    rm -rf $startdir/pkg/lib/firmware
    install -Dm644 "System.map" "$startdir/pkg/boot/System.map26$LOCAL_VERSION"
    install -Dm644 "arch/x86/boot/bzImage" "$startdir/pkg/boot/vmlinuz26$LOCAL_VERSION"
    # Change the version strings in kernel26.install
    sed -i \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=\"$basekernel\"/" \
    -e "s/LOCAL_VERSION=.*/LOCAL_VERSION=\"$LOCAL_VERSION\"/" \
    $startdir/kernel26.install
    And also the kernel26.install
    KERNEL_VERSION="2.6.32.8"
    LOCAL_VERSION="-MINE"
    post_install () {
    echo ">>> Updating module dependencies..."
    /sbin/depmod -A -v ${KERNEL_VERSION}${LOCAL_VERSION}
    echo ">>> Creating initial ramdisk..."
    mkinitcpio -k "${KERNEL_VERSION}${LOCAL_VERSION}" -g "/boot/kernel26${LOCAL_VERSION}.img"
    post_upgrade() {
    echo ">>> Updating module dependencies..."
    /sbin/depmod -A -v ${KERNEL_VERSION}${LOCAL_VERSION}
    echo ">>> Creating initial ramdisk..."
    mkinitcpio -k "${KERNEL_VERSION}${LOCAL_VERSION}" -g "/boot/kernel26${LOCAL_VERSION}.img"
    Thanks in advance.
    Last edited by Hyugga (2010-11-11 02:48:14)

    When installing the kernel there is some problem when the "mkinitcpio" is running: sd_mod error.
    I can install and boot the kernel afterwards but when i get to kdm, the keyboard and the touchpad/mouse doesn't work.
    I double checked the .config file and i have enabled the keyboard and the mouse options.
    What can i do?
    Thanks...

  • Compiling and installing Tux On Ice, need a little help

    I have a desktop system and a netbook that I would like to have hibernating when they aren't being used.  The wiki outlined roughly how to accomplish this with this page:  https://wiki.archlinux.org/index.php/Tuxonice
    I downloaded from the AUR the kernel26-ice 2.6.38-4 to compile and install.  I managed to compile it (I think ... correctly I hope) but every time I try to get it installed with "mkinitcpio -p kernel26-ice.preset" the build fails with these errors:
    [root@blackyunzi ~]# mkinitcpio -p kernel26-ice
    /etc/mkinitcpio.d/kernel26-ice.preset: line 5: /etc/mkinitcpio.d/kernel26-ice.kver: No such file or directory
    ==> Building image from preset: 'default'
    ==> WARNING: No kernel version specified. Skipping image `default'
    ==> Building image from preset: 'fallback'
    ==> WARNING: No kernel version specified. Skipping image `fallback'
    [root@blackyunzi ~]# cd ~heather/aur_builds/kernel26-ice/kernel26-ice/
    I have tried to CD into the build directory just to make sure I was using the correct file but that has not helped.  I've never compiled my own kernel before today and I'm stymied as to what I'm doing wrong.  If it matters, I compiled it as a regular user in the folder where I downloaded it to.  The contents of my build directory:
    [heather@blackyunzi kernel26-ice]$ ls -al kernel26-ice
    total 117308
    drwxr-xr-x 2 heather heather 4096 Jul 27 19:52 .
    drwxr-xr-x 3 heather heather 4096 Jul 27 19:08 ..
    -rw-r--r-- 1 heather heather 236395 Apr 21 05:12 2.6.38.3-sched-bfs-401.patch
    -rw-r--r-- 1 heather heather 125982 May 20 18:27 config
    -rw-r--r-- 1 heather heather 120300 May 20 18:27 config.x86_64
    -rw-r--r-- 1 heather heather 40977284 Jul 27 19:47 kernel26-ice-2.6.38-4-x86_64.pkg.tar.xz
    -rw-r--r-- 1 heather heather 665 Jul 27 19:45 kernel26-ice.install
    -rw-r--r-- 1 heather heather 3111082 Jul 27 20:01 kernel26-ice.preset
    -rw-r--r-- 1 heather heather 74739098 Mar 14 19:40 linux-2.6.38.tar.bz2
    -rw-r--r-- 1 heather heather 186457 Jun 2 19:36 patch-2.6.38.8.bz2
    -rw-r--r-- 1 heather heather 12794 Jun 7 02:14 PKGBUILD
    -rw-r--r-- 1 heather heather 451933 Apr 3 15:36 reiser4-for-2.6.38.patch.bz2
    -rw-r--r-- 1 heather heather 129795 May 4 18:30 tuxonice-3.2-for-2.6.38.patch.bz2
    [heather@blackyunzi kernel26-ice]$
    The makepkg file shows that I only changed one setting, the "-j4" bit:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
    'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
    'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/curl
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Exclusive: will only run on x86_64
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
    CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
    LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
    #-- Make Flags: change this for DistCC/SMP systems
    ## While using the kernel26-ice build CK recommends you ONLY compile this kernel
    ## with the same number as how many cpu's you have.
    ## quoting his example: IE you should ONLY do make -j4 on quad core, -j2 on dual core and so on.
    MAKEFLAGS="-j4"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache check)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    #-- check: Run the check() function if present in the PKGBUILD
    BUILDENV=(fakeroot !distcc color !ccache check)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool emptydirs zipman purge)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    OPTIONS=(strip docs libtool emptydirs zipman purge)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Mkinitcpio shows, after stripping out the comments:
    MODULES=""
    FILES=""
    HOOKS="base udev autodetect usbinput pata scsi sata lvm2 filesystems consolefont"
    (no compression options)
    Finally, I put the kern26-ice.preset into the /etc/mkinitcpio folder and tried to install it from there but again I met failure.
    Apologies for the length but I'm getting frustrated with this issue.
    Last edited by MoonSwan (2011-07-28 02:40:58)

    MoonSwan wrote:I have a desktop system and a netbook that I would like to have hibernating when they aren't being used.  The wiki outlined roughly how to accomplish this with this page:  https://wiki.archlinux.org/index.php/Tuxonice
    I downloaded from the AUR the kernel26-ice 2.6.38-4 to compile and install.
    Hm... netbook.
    If you don't mind trying bfs and bfq too, then you could give the pf-kernel that is mentioned in the wiki too a try:
    http://aur.archlinux.org/packages.php?ID=50956
    It has a repository here:
    [pfkernel]
    Server = http://dl.dropbox.com/u/11734958/$arch
    and a thread: https://bbs.archlinux.org/viewtopic.php?id=103462
    I'm not quite sure how netbook performance is affected by BFS...
    It has the bonus to already be based on 3.0.
    Last edited by Cdh (2011-07-28 20:35:50)

  • Silly problem when compiling main class

    hi there,
    i have a problem when compiling the main class.
    the classes used by the main class are not recognized. the compiler can't locate the children classes.
    i've already set the path and classpath environment variables, but there's still something missing.
    how should i organize my folders in order to be able to compile the main class successfully, please?
    thanks.

    It would be good to have a precise problem description: the actual command used, folder structure and environment variable settings. Even if you have to construct a simple test case with a couple of classes that illustrates the problem.
    In the absence of that some generic remarks:
    The PATH variable typically points at all the folders that contain executable files that you use often. You can always access other executable files by specifying there full names.
    The CLASSPATH variable is typically left unset.
    When you use the java tools (like the javac compiler or the java runtime) you can specify the classpath that you want to use with -cp. This will override any CLASSPATH value. So in the simple case of two classes (Main and MyClass), you can put them in anywhere you like (for example C:\MyJavaStuff) and compile and run with:
    {noformat}
    C:\MyJavaStuff> javac -cp . *.java
    C:\MyJavaStuff> java -cp . Main
    {noformat}(Mind the dot after -cp))
    By a "main" class I guess you mean a class with a static void main(String args[]) method, but I am suspicious of your "child" classes. Perhaps packages are involved. A precise description of the problem would help.

  • Problem upgrading and installing virtualbox-modules

    Have some problems upgrading and installing virtualbox-modules
    [elgringo@compjotr Desktop]$ sudo pacman -S community/virtualbox-modules
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: lirc: requires kernel26>=2.6.26-1
    :: nvidia: requires kernel26>=2.6.26-1
    Had to uninstall lirc nvidia and virtualbox-modules before I could upgrade the kernel and now I can't install the virtualbox-modules.
    Anyone else who experienced the same problems?

    virtualbox-modules depends on the kernel in core. If you want to use the kernel in testing, you'll need to rebuild the virtualbox-modules against it.
    Virtualbox-modules will be fixed when kernel 2.6.26 will be moved in core. So you can wait if you prefer.

  • Compiling and installing the AUR Blacs-mpi package

    I'm trying to install blacs-mpi (dependance for mumps) and have run into the following issue:
    make[1]: Leaving directory `/usr/local/src/blacs-mpi/src/BLACS/TESTING'
    libblacs.a(BI_BlacsErr.o): In function `BI_BlacsErr':
    BI_BlacsErr.c:(.text+0x138): undefined reference to `__stack_chk_fail_local'
    libblacs.a(BI_BlacsWarn.o): In function `BI_BlacsWarn':
    BI_BlacsWarn.c:(.text+0x128): undefined reference to `__stack_chk_fail_local'
    ==> ERROR: A failure occurred in build().
    Aborting...
    If my understanding is correct, this is a run-time stack overflow verification error and is possibly occurring because blacs-mpi is pointing to some non-existent library. However, I have no idea what library this could be (or if I'm right).
    Can anyone point me in the right direction?
    Thanks!
    Link to AUR package: https://aur.archlinux.org/packages/blacs-mpi/

    MoonSwan wrote:I have a desktop system and a netbook that I would like to have hibernating when they aren't being used.  The wiki outlined roughly how to accomplish this with this page:  https://wiki.archlinux.org/index.php/Tuxonice
    I downloaded from the AUR the kernel26-ice 2.6.38-4 to compile and install.
    Hm... netbook.
    If you don't mind trying bfs and bfq too, then you could give the pf-kernel that is mentioned in the wiki too a try:
    http://aur.archlinux.org/packages.php?ID=50956
    It has a repository here:
    [pfkernel]
    Server = http://dl.dropbox.com/u/11734958/$arch
    and a thread: https://bbs.archlinux.org/viewtopic.php?id=103462
    I'm not quite sure how netbook performance is affected by BFS...
    It has the bonus to already be based on 3.0.
    Last edited by Cdh (2011-07-28 20:35:50)

  • TS5376 I'm having a problem with downloading and installing the new version of itunes for windows (11.1.4)  I have done everything the troubleshooting article has said and it is still not working properly.

    'm having a problem with downloading and installing the new version of itunes for windows (11.1.4)  I have done everything the troubleshooting article has said and it is still not working properly.  I have even done a repair to see if that works and it has not.  Has anyone else found a new way to get it working?

    Try Troubleshooting issues with iTunes for Windows updates.
    tt2

  • TS2634 My problem - when syncing and error messages  comes up:  iTunes could not sync calendars to the iPhone because an error occurred while margin data."  I've tried turning the phone off and back on, & tried both USB ports but get the same thing.  What

    My problem - when syncing and error messages  comes up:  iTunes could not sync calendars to the iPhone because an error occurred while margin data."  I've tried turning the phone off and back on, & tried both USB ports but get the same thing.  What can I do next since it doesn't give me even one clue as to what the error would be?

    Before I started to resync calendars one by one as suggested in the troubleshooting article, I remembered something that came up in a sync when I first attempted :  a 'which one do you want to keep' message about a repeating calendar event, which came up with three options, one from Calendar, and two from iCal on the phone.  I deleted that event, then went through the calendar resync one by one, and all seems OK now.
    In Music there is a way to find 'ghost' items that show up as grayed-out on the menus, so that you can try to reassociate or delete them.  It would be nice to have a similar way to work with Calendar!
    Thanks for pointing me to the right article.

  • I have a A12E6 error when downloading and installing apps

    I have an
    A12e6 error when downloading and installing apps   yesterday i had the A12e1 error so i used the cleaner tool and did a new install but today again i have an arror A12e6
    Do you have a solution for me???? (mac osx 10.7.5)
    kind regards Arold

    Hi Arold,
    Welcome To The Forums
    http://forums.adobe.com/thread/1197816 or http://forums.adobe.com/thread/1291134 may help,
    Thanks!
    Eshant

  • Problem in downloading and installing application ...

    hey
     m havng problem in downloading and installing application on mah x2-01 . many times i tried to dwnload whatsapp to mah phn and if the application isz downloaded thn while verifyng the no. it says error unitterupted problem in contacting the server . so knw wht shud i do . i hav also restrore mah phn thn too. plz help me 

    You may verify first your mobile number from this link. Make sure to sign in and under Mobile numbers, click Verify now. 

  • How to compile and install driver?

    Hey there,
    I've got the source for a driver, but how do I compile and install it?
    Thanks.

    If you need more info check out this wiki:  http://wiki.archlinux.org/index.php/ABS … ild_System
    You don't have to build an arch package if you don't want but you will get more details here.

  • How to install Apache module mod_rewrite

    Kindly tell me, how to install Apache module mod_rewrite which is a standard module in the Oracle HTTP Server (OHS).. I have installed OAS(10.1.2) but mod_rewrite module is missing..
    Edited by: SrinivasanSeniorDBA on 26 Feb, 2010 2:42 PM

    Got it

Maybe you are looking for