compiling apache statically

Discussion in 'Apache' started by monattar, Feb 3, 2010.

  1. #1
    Hi all,
    Does anybody know how to statically compile apache in linux? (everything statically compile even libc). I have tried to configure with LDFLAG=-static but that doesn't do it. any idea?

    Thanks
     
    monattar, Feb 3, 2010 IP
  2. hostechsupport

    hostechsupport Well-Known Member

    Messages:
    413
    Likes Received:
    23
    Best Answers:
    7
    Trophy Points:
    138
    #2
    Hello,

    You have cPanel installed on your server ? if yes then you can compile apache with easyapache script
     
    hostechsupport, Feb 3, 2010 IP
  3. monattar

    monattar Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Would that give me httpd binary with no access to dynamic libraries? Because I'm not trying to compile apache and use it as a web server, I want to use apache as a test case for a research tool that I'm developing.

    Thanks
     
    monattar, Feb 3, 2010 IP