osx - Problems with Compilation of Apache -


this question duplicate of many questions, no answers work me.

firstly, showed error saying: c compiler cannot create executables

i fixed symlinking xcode toolchain:

sudo ln -s /applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain /applications/xcode.app/contents/developer/toolchains/osx10.9.xctoolchain 

but lead error:

checking whether c compiler works... yes checking c compiler default output file name... a.out checking suffix of executables...  checking whether cross compiling... configure: error: in `/users/username/httpd-2.4.12 2': configure: error: cannot run c compiled programs.  if meant cross compile, use `--host'. see `config.log' more details 

any idea on how fix this? have been searching hours trying solve it.


i using mac os x 10.9 (mavericks)


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -