You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by gimme cocoa <un...@hanmail.net> on 2007/05/03 06:30:12 UTC

Unable to build cpp client

When i try to build activemq-cpp-2.0, I got error message like this.

$ configure
checking for a BSD-compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking whether build environment is sane... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... yes
checking for short... yes
checking size of short... configure: error: cannot compute sizeof (short)
See `config.log' for more details.

How could I make it work???
-- 
View this message in context: http://www.nabble.com/Unable-to-build-cpp-client-tf3684562s2354.html#a10298833
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Unable to build cpp client

Posted by Timothy Bish <ta...@twcny.rr.com>.
Is that Solaris 10 or some other crazy Sun distro?  I build routinely on
a Solaris 10 machine without problem.  Make sure that you have to
correct versions of the Autotools installed. 


Tool        Recommended Version
-------------------------------
autoconf    >= 2.59
automake    >= 1.9.6
libtool     >= 1.5.22

gimme cocoa wrote:
> My system is SunOS ver. 10
>
>
> Timothy Bish wrote:
>   
>> What platform / OS are you running on?
>>
>> gimme cocoa wrote:
>>     
>>> When i try to build activemq-cpp-2.0, I got error message like this.
>>>
>>> $ configure
>>> checking for a BSD-compatible install... config/install-sh -c
>>> checking whether build environment is sane... yes
>>> checking for a thread-safe mkdir -p... config/install-sh -c -d
>>> checking for gawk... no
>>> checking for mawk... no
>>> checking for nawk... nawk
>>> checking whether make sets $(MAKE)... yes
>>> checking build system type... i386-pc-solaris2.10
>>> checking host system type... i386-pc-solaris2.10
>>> checking for gcc... gcc
>>> checking for C compiler default output file name... a.out
>>> checking whether the C compiler works... yes
>>> checking whether we are cross compiling... no
>>> checking for suffix of executables... 
>>> checking for suffix of object files... o
>>> checking whether we are using the GNU C compiler... yes
>>> checking whether gcc accepts -g... yes
>>> checking for gcc option to accept ISO C89... none needed
>>> checking for style of include used by make... GNU
>>> checking dependency style of gcc... gcc3
>>> checking for g++... g++
>>> checking whether we are using the GNU C++ compiler... yes
>>> checking whether g++ accepts -g... yes
>>> checking dependency style of g++... gcc3
>>> checking for ranlib... ranlib
>>> checking whether build environment is sane... yes
>>> checking how to run the C++ preprocessor... g++ -E
>>> checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
>>> checking for egrep... /usr/xpg4/bin/grep -E
>>> checking for ANSI C header files... no
>>> checking for sys/types.h... yes
>>> checking for sys/stat.h... yes
>>> checking for stdlib.h... yes
>>> checking for string.h... yes
>>> checking for memory.h... yes
>>> checking for strings.h... yes
>>> checking for inttypes.h... yes
>>> checking for stdint.h... yes
>>> checking for unistd.h... yes
>>> checking whether byte ordering is bigendian... yes
>>> checking for short... yes
>>> checking size of short... configure: error: cannot compute sizeof (short)
>>> See `config.log' for more details.
>>>
>>> How could I make it work???
>>>   
>>>       
>>
>>     
>
>   


Re: Unable to build cpp client

Posted by gimme cocoa <un...@hanmail.net>.
My system is SunOS ver. 10


Timothy Bish wrote:
> 
> What platform / OS are you running on?
> 
> gimme cocoa wrote:
>> When i try to build activemq-cpp-2.0, I got error message like this.
>>
>> $ configure
>> checking for a BSD-compatible install... config/install-sh -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... config/install-sh -c -d
>> checking for gawk... no
>> checking for mawk... no
>> checking for nawk... nawk
>> checking whether make sets $(MAKE)... yes
>> checking build system type... i386-pc-solaris2.10
>> checking host system type... i386-pc-solaris2.10
>> checking for gcc... gcc
>> checking for C compiler default output file name... a.out
>> checking whether the C compiler works... yes
>> checking whether we are cross compiling... no
>> checking for suffix of executables... 
>> checking for suffix of object files... o
>> checking whether we are using the GNU C compiler... yes
>> checking whether gcc accepts -g... yes
>> checking for gcc option to accept ISO C89... none needed
>> checking for style of include used by make... GNU
>> checking dependency style of gcc... gcc3
>> checking for g++... g++
>> checking whether we are using the GNU C++ compiler... yes
>> checking whether g++ accepts -g... yes
>> checking dependency style of g++... gcc3
>> checking for ranlib... ranlib
>> checking whether build environment is sane... yes
>> checking how to run the C++ preprocessor... g++ -E
>> checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
>> checking for egrep... /usr/xpg4/bin/grep -E
>> checking for ANSI C header files... no
>> checking for sys/types.h... yes
>> checking for sys/stat.h... yes
>> checking for stdlib.h... yes
>> checking for string.h... yes
>> checking for memory.h... yes
>> checking for strings.h... yes
>> checking for inttypes.h... yes
>> checking for stdint.h... yes
>> checking for unistd.h... yes
>> checking whether byte ordering is bigendian... yes
>> checking for short... yes
>> checking size of short... configure: error: cannot compute sizeof (short)
>> See `config.log' for more details.
>>
>> How could I make it work???
>>   
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Unable-to-build-cpp-client-tf3684562s2354.html#a10320520
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Unable to build cpp client

Posted by Timothy Bish <ta...@twcny.rr.com>.
What platform / OS are you running on?

gimme cocoa wrote:
> When i try to build activemq-cpp-2.0, I got error message like this.
>
> $ configure
> checking for a BSD-compatible install... config/install-sh -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... config/install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> checking build system type... i386-pc-solaris2.10
> checking host system type... i386-pc-solaris2.10
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking for ranlib... ranlib
> checking whether build environment is sane... yes
> checking how to run the C++ preprocessor... g++ -E
> checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
> checking for egrep... /usr/xpg4/bin/grep -E
> checking for ANSI C header files... no
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking whether byte ordering is bigendian... yes
> checking for short... yes
> checking size of short... configure: error: cannot compute sizeof (short)
> See `config.log' for more details.
>
> How could I make it work???
>