https://bz.apache.org/bugzilla/show_bug.cgi?id=62169

            Bug ID: 62169
           Summary: Not able to compile mod_jk on MacOS
           Product: Tomcat Connectors
           Version: unspecified
          Hardware: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_jk
          Assignee: dev@tomcat.apache.org
          Reporter: cgoncal...@deetc.isel.pt
  Target Milestone: ---

Created attachment 35759
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35759&action=edit
full output from the configure and make commands

I'm trying to compile mod_jk 1.2.43 on MacOS (in a Lampp environment) and I'm 
getting the error:

ld: unknown option: -I/Applications/XAMPP/xamppfiles/include
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [mod_jk.la] Error 1
make: *** [all-recursive] Error 1

I made this steps:
wget
http://mirrors.up.pt/pub/apache/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.43-src.tar.gz
tar -xzvf tomcat-connectors-1.2.43-src.tar.gz
cd tomcat-connectors-1.2.43-src/native
./configure CFLAGS='-arch x86_64' APXSLDFLAGS='-arch x86_64'
-with-apxs=/Applications/XAMPP/bin/apxs
make

but last message that I get is the above one.

I also tried to only use
./configure -with-apxs=/Applications/XAMPP/bin/apxs

but the error is the same

the output of the "uname -a" command gives something like:
Darwin xxx.xxx.xxx.xxx 17.4.0 Darwin Kernel Version 17.4.0
root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64

In attache I send the full output from the configure and make commands.

Thanks for the help.
Carlos

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to