activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EJLeVin1 <ejlev...@hotmail.com>
Subject CMS fails to compile on Mac OSX (Leopard)
Date Fri, 12 Sep 2008 14:03:39 GMT

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
-- 
View this message in context: http://www.nabble.com/CMS-fails-to-compile-on-Mac-OSX-%28Leopard%29-tp19456521p19456521.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message