Find the answer to your Linux question:
Results 1 to 3 of 3
Sorry i originally posted this in the introduction forum so try again: I need to install the above module mod_unique_id.c but i have tried the following: sudo /usr/local/apache2/bin/apxs -i -a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2013
    Posts
    2

    Exclamation mod_unique_id.c


    Sorry i originally posted this in the introduction forum so try again:

    I need to install the above module mod_unique_id.c but i have tried the following:

    sudo /usr/local/apache2/bin/apxs -i -a -c
    httpd-2.2.11/modules/metadata/mod_unique_id.c

    however the following error appears:

    sudo: /usr/local/apache2/bin/apxs: command not found

    as the apache2 directory doesn't seem to exist.

    i have also tried the following:

    apxs -i -a -c mod_unique_id.c

    which outputed the following:

    /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -p ipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buf fer-size=4 -m64 -mtune=generic -Wformat-security -fno-strict-aliasing -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o mod_unique_id.lo mod_unique_id.c && touch mod_uni que_id.slo
    gcc: mod_unique_id.c: No such file or directory
    gcc: no input files
    apxs:Error: Command failed with rc=65536


    i am using centOS 6.3 please can anyone help?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,509
    This is the key error line:
    Code:
    gcc: mod_unique_id.c: No such file or directory
    Either gcc is looking in another directory, or this file is not to be found where you tried running apxs.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Feb 2013
    Posts
    2
    Quote Originally Posted by Rubberman View Post
    This is the key error line:
    Code:
    gcc: mod_unique_id.c: No such file or directory
    Either gcc is looking in another directory, or this file is not to be found where you tried running apxs.
    Just checked using find / mod_unique_id.c and the file doesn't exist at all

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •