activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: CMS fails to compile on Mac OSX (Leopard)
Date Fri, 12 Sep 2008 15:15:07 GMT
I have not tested against the 1.3.x version of APR, can you install
1.2.12, that's the latest version that I've been able to test against so
far.  I don't have a Mac so this might require some trial and error to
find the root cause.

Regards
Tim.

On Fri, 2008-09-12 at 07:03 -0700, EJLeVin1 wrote:
> Hi,
>      I am trying to get the activemq-cpp distribution compiled under osx.. 
> I am running into an issue when I run 'make' and am not sure what is going
> on.  Here are the steps I did:
> 
> -installed apache apr 1.3.3 through Mac Ports
> -downloaded cms distro
> -ran the following commands in the root of the extracted distro:
>      ./autogen.sh
>      ./configure
>      make <-- Fails
> 
> Here is the error I am getting during the build -- It makes it through many
> other files but the following fails.
> 
> g++ -DHAVE_CONFIG_H -I. -I../.. -ansi -pedantic -DDARWIN
> -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
> -I/usr/local/apr/include/apr-0 -I/usr/local/apr/include/apr-0 -W -Wall -fPIC
> -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long -g -O2 -MT
> decaf/net/libactivemq_cpp_la-ServerSocket.lo -MD -MP -MF
> decaf/net/.deps/libactivemq_cpp_la-ServerSocket.Tpo -c
> decaf/net/ServerSocket.cpp  -fno-common -DPIC -o
> decaf/net/.libs/libactivemq_cpp_la-ServerSocket.o
> decaf/net/ServerSocket.cpp: In member function ‘virtual void
> decaf::net::ServerSocket::bind(const char*, int, int)’:
> decaf/net/ServerSocket.cpp:80: error: invalid conversion from ‘int’ to
> ‘apr_pool_t*’
> /usr/local/apr/include/apr-0/apr_network_io.h:267: error: too many arguments
> to function ‘apr_status_t apr_socket_create(apr_socket_t**, int, int,
> apr_pool_t*)’
> decaf/net/ServerSocket.cpp:80: error: at this point in file
> make[2]: *** [decaf/net/libactivemq_cpp_la-ServerSocket.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> Any help with this would be much appreciated.  Am I doing something wrong?
> 
> -Eric


Mime
View raw message