tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36911] New: - Make fails while building jsvc on mac os x, multiple errors
Date Tue, 04 Oct 2005 13:59:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36911>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36911

           Summary: Make fails while building jsvc on mac os x, multiple
                    errors
           Product: Tomcat 5
           Version: 5.5.9
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: billy.zophar@gmail.com


Using a binary distribution of jakarta-tomcat-5.5.9 with compat installed on Mac
OS X Server 10.4 with Developer Tools installed, I was following the directions
at this document to compile the jsvc binary:

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/setup.html
(See section "Unix Daemon").

Rather than using startup.sh, I wanted to call jsvc so I could pass the -user
flag and run tomcat as a non-priveleged user.

Steps followed to build binary:
sudo tar zxvf jsvc.tar.gz
cd $CATALINA_HOME/bin/jsvc-src
sudo autoconf
sudo chmod u+x configure
sudo ./configure
sudo make

The make output produces the following error:
make failed, error:
dso-dyld.c:54: error: conflicting types for 'dso_init'
dso.h:24: error: previous declaration of 'dso_init' was here
dso-dyld.c:76: error: conflicting types for 'dso_unlink'
dso.h:26: error: previous declaration of 'dso_unlink' was here
dso-dyld.c: In function 'dso_symbol':
dso-dyld.c:109: warning: operation on 'x' may be undefined
dso-dyld.c: At top level:
dso-dyld.c:127: warning: function declaration isn't a prototype
make[1]: *** [dso-dyld.o] Error 1
make: *** [native/all] Error 2

The version of make on this system is:
GNU Make 3.80

uname -a for my system:
Darwin localhost 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24 17:46:54 PDT
2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh powerpc

Obviously, I can continue to run the service as root using startup.sh, but I
figured you should know about this.

I spent some time searching the database and was unable to find a duplicate, but
if one exists, my apologies.

Thanks!
Billy Gray

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message