Hi, first be sure that you've installed apr, then add -lapr-1 to compiler options ! Regards
Hassan H. Monfared http://www.linkedin.com/pub/hassan-monfared/55/1b6/33 *I*men *R*ayaneh *S*hargh, +9821-26219590 CEO and technical manager My Public Key : -----BEGIN PGP PUBLIC KEY BLOCK----- Version: OpenPGP.js v.1.20130420 Comment: http://openpgpjs.org xsBNBFKAhwkBB/9vzP/63Qi92K1awWjmzUq9/Ik4ehgkr6wsTzcEu+7RSOM/ bObUKUtt8hEtvXcAuhtQp6SvSZt0QWIsKYYIS4k3FayGpDDyCZkfu7D5gGDg RoE9aLtVt/FEcECVA7id6jBzWXcw5wPW6edR1Xys3isGoUuXTGN3vuLgAD1z W5J9sCz+QcxJfzqDvyHT/LKU63tQ9qKqTom33tZeElulPSg3qrUw3MoWkNHH +W4Igo18JE3TUqFRQnrk9G+PgjJvmGlW9da/RsmOC0v1pbeGD8XHWIc6uj85 6dNK5Kg9QFLnKWOtqAjq0hdkOmfnp972hOeIB61/WQhus0XPqoAQyo1HABEB AAHNKEhhc3NhbiBILiBNb25mYXJlZCA8aG1vbmZhcmVkQGdtYWlsLmNvbT7C wFwEEAEIABAFAlKAhwsJEJokPHSAHUdmAADMBwf9GM+NSWGztN85zKSowrE3 cQMkaoWjMJDGCATBAcy2cEMrr3DEzy7RD5yuQWuJ37fyE0lz36QMNjee1ylG Y3fS7uR95rSJeFjW1/JpQC/q8edmzh1UTwLVJYae0Cp2w9IXY5GH1hCxjL8I kizaAjh2/MGDmD0+Nd+o2S0sBR9/yubhFQLFLDQfjUJHQjUGoL+kEVPM+nT6 ASscvo05lfjiVS2NeFOKLn2LI1LGCXgtz05hWPLgg6aE6v5VTA2ttF213dFA s1yUUeIEbDrDPuz5lg/w1CmeTrgMJNxBOCx6WaIKGInDQIQnJumAnwVa34Mw U7R60ek0jKKeRhbrOAag4w== =bOWD -----END PGP PUBLIC KEY BLOCK----- On Tue, Jun 17, 2014 at 6:45 AM, Jeff Trawick <traw...@gmail.com> wrote: > On Tue, Jun 17, 2014 at 8:44 AM, Sindhi Sindhi <sindhi....@gmail.com> > wrote: > > > Thankyou Nick. > > > > Actually I was looking at options to build the Apache module on systems > > where Apache server is not installed (and hence apxs is not available), > so > > that the module can be built on such build machines also. I can do this > on > > Windows and Linux, which provide the load-time linking options. > > > > When I created the Xcode project, I chose the below settings - > > 1) Framework and Library > > 2) C/C++ Library > > 3) Type = Dynamic > > 4) "Mach-O Type" = Dynamic Library > > > > Is there any alternate method to build Apache modules on Mac other that > > apxs since my target machines may not always have Apache server > installed. > > > > Regards, > > Sindhi > > > > Any recommended method would be based on the files in the build directory > in an httpd install, which apxs uses. See config_vars.mk, for example. > > Treat the httpd build support files as a prerequisite of your product > build. > > > > > > On Tue, Jun 17, 2014 at 6:01 PM, Nick Kew <n...@webthing.com> wrote: > > > > > On Tue, 17 Jun 2014 17:27:15 +0530 > > > Sindhi Sindhi <sindhi....@gmail.com> wrote: > > > > > > > Any help will be highly appreciated. > > > > > > You're trying to build the module as a program. > > > You need to build it as a shared object (think DLL, > > > since you seem to be from a Windows background). > > > > > > Apache provides a tool to do that, with all the > > > right paths and linkage. Check apxs in the docs. > > > > > > -- > > > Nick Kew > > > > > > > > > -- > Born in Roswell... married an alien... > http://emptyhammock.com/ > http://edjective.org/ >