You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by gali_ka <gk...@cisco.com> on 2008/09/16 20:50:28 UTC
unable to build active-mq cpp 2.1.3 on linux
I am unable to build active-mq cpp on linux.
1. I installed cpp-unit
2. autogen.sh failed complaining about AM_PATH_CPPUNIT. I created symlinks
for *.m4 files in my aclocal dir
3. i ran configure
4. ran make
make failed with
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -ansi -pedantic -W -Wall -fPIC
-fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long -g-O2 -MT
activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatch.lo
-MD -MP -MF
activemq/connector/openwire/commands/.deps/libactivemq_cpp_la-MessageDispatch.Tpo
-c activemq/connector/openwire/commands/MessageDispatch.cpp -o
activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatch.o
>/dev/null 2>&1
make[2]: *** No rule to make target
`activemq/connector/openwire/commands/MessageDispatchNotification.cpp',
needed by
`activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatchNotification.lo'.
Stop.
make[2]: Leaving directory `/active-mq/activemq-cpp-2.1.3-src/src/main'
make[1]: *** [all-recursive] Error 1
I am building 2.1.3 on linux using gcc version 3.4.6 20060404 (Red Hat
3.4.6-3)
Please help
--
View this message in context: http://www.nabble.com/unable-to-build-active-mq-cpp-2.1.3-on-linux-tp19518196p19518196.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: unable to build active-mq cpp 2.1.3 on linux
Posted by Timothy Bish <ta...@gmail.com>.
No, there should be no issues, the zip file is just provided for those
on Windows who don't have the ability to extract a tar.gz file.
Regards
Tim.
On Thu, 2008-09-18 at 00:05 -0700, gali_ka wrote:
> Actually I found the reason.
> When I checked that the file exists, I didn't notice that the file had a
> *.cp ending instead of *.cpp and some files had *. instead of *.h
> I found about 20 -30 files like this.
> I am working on Red Hat Linux and in FAQ it says that Solaris could have
> problems with tar, not Red Hat.
> When I took the zip file for windows, I could compile it. My question is
> whether there are any implications for using this zip for Windows on Linux?
> Thanks
>
>
> gali_ka wrote:
> >
> > I am unable to build active-mq cpp on linux.
> > 1. I installed cpp-unit
> > 2. autogen.sh failed complaining about AM_PATH_CPPUNIT. I created symlinks
> > for *.m4 files in my aclocal dir
> > 3. i ran configure
> > 4. ran make
> > make failed with
> > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -ansi -pedantic -W -Wall -fPIC
> > -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long -g-O2 -MT
> > activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatch.lo
> > -MD -MP -MF
> > activemq/connector/openwire/commands/.deps/libactivemq_cpp_la-MessageDispatch.Tpo
> > -c activemq/connector/openwire/commands/MessageDispatch.cpp -o
> > activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatch.o
> > >/dev/null 2>&1
> > make[2]: *** No rule to make target
> > `activemq/connector/openwire/commands/MessageDispatchNotification.cpp',
> > needed by
> > `activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatchNotification.lo'.
> > Stop.
> > make[2]: Leaving directory `/active-mq/activemq-cpp-2.1.3-src/src/main'
> > make[1]: *** [all-recursive] Error 1
> >
> > I am building 2.1.3 on linux using gcc version 3.4.6 20060404 (Red Hat
> > 3.4.6-3)
> >
> > Please help
> >
>
Re: unable to build active-mq cpp 2.1.3 on linux
Posted by gali_ka <gk...@cisco.com>.
Actually I found the reason.
When I checked that the file exists, I didn't notice that the file had a
*.cp ending instead of *.cpp and some files had *. instead of *.h
I found about 20 -30 files like this.
I am working on Red Hat Linux and in FAQ it says that Solaris could have
problems with tar, not Red Hat.
When I took the zip file for windows, I could compile it. My question is
whether there are any implications for using this zip for Windows on Linux?
Thanks
gali_ka wrote:
>
> I am unable to build active-mq cpp on linux.
> 1. I installed cpp-unit
> 2. autogen.sh failed complaining about AM_PATH_CPPUNIT. I created symlinks
> for *.m4 files in my aclocal dir
> 3. i ran configure
> 4. ran make
> make failed with
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -ansi -pedantic -W -Wall -fPIC
> -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long -g-O2 -MT
> activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatch.lo
> -MD -MP -MF
> activemq/connector/openwire/commands/.deps/libactivemq_cpp_la-MessageDispatch.Tpo
> -c activemq/connector/openwire/commands/MessageDispatch.cpp -o
> activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatch.o
> >/dev/null 2>&1
> make[2]: *** No rule to make target
> `activemq/connector/openwire/commands/MessageDispatchNotification.cpp',
> needed by
> `activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatchNotification.lo'.
> Stop.
> make[2]: Leaving directory `/active-mq/activemq-cpp-2.1.3-src/src/main'
> make[1]: *** [all-recursive] Error 1
>
> I am building 2.1.3 on linux using gcc version 3.4.6 20060404 (Red Hat
> 3.4.6-3)
>
> Please help
>
--
View this message in context: http://www.nabble.com/unable-to-build-active-mq-cpp-2.1.3-on-linux-tp19518196p19547191.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: unable to build active-mq cpp 2.1.3 on linux
Posted by Timothy Bish <ta...@gmail.com>.
I don't know of any reason why you would be getting this error. Have
you ensured that you have all the prerequisite libraries and tools
installed that called out in the Readme.txt?
Do the autogen.sh and configure scripts run without errors or warnings?
Regards
Tim.
On Wed, 2008-09-17 at 01:57 -0700, gali_ka wrote:
> I checked the file. It does exist.
> What else could it be?
> Do I have to build the active-mq in a special directory, like /usr ? Do I
> need something special for my PATH?
>
>
> Timothy Bish wrote:
> >
> > Generally this occurs because the files did not get extracted from the
> > tar file. First thing to do is check to make sure they actually exist
> > in the directory 'src/main/activemq/connector/openwire/commands/'.
> >
> > Regards
> > Tim.
> >
> > On Tue, 2008-09-16 at 11:50 -0700, gali_ka wrote:
> >> I am unable to build active-mq cpp on linux.
> >> 1. I installed cpp-unit
> >> 2. autogen.sh failed complaining about AM_PATH_CPPUNIT. I created
> >> symlinks
> >> for *.m4 files in my aclocal dir
> >> 3. i ran configure
> >> 4. ran make
> >> make failed with
> >> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -ansi -pedantic -W -Wall -fPIC
> >> -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long -g-O2 -MT
> >> activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatch.lo
> >> -MD -MP -MF
> >> activemq/connector/openwire/commands/.deps/libactivemq_cpp_la-MessageDispatch.Tpo
> >> -c activemq/connector/openwire/commands/MessageDispatch.cpp -o
> >> activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatch.o
> >> >/dev/null 2>&1
> >> make[2]: *** No rule to make target
> >> `activemq/connector/openwire/commands/MessageDispatchNotification.cpp',
> >> needed by
> >> `activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatchNotification.lo'.
> >> Stop.
> >> make[2]: Leaving directory `/active-mq/activemq-cpp-2.1.3-src/src/main'
> >> make[1]: *** [all-recursive] Error 1
> >>
> >> I am building 2.1.3 on linux using gcc version 3.4.6 20060404 (Red Hat
> >> 3.4.6-3)
> >>
> >> Please help
> >
> >
> >
>
Re: unable to build active-mq cpp 2.1.3 on linux
Posted by gali_ka <gk...@cisco.com>.
I checked the file. It does exist.
What else could it be?
Do I have to build the active-mq in a special directory, like /usr ? Do I
need something special for my PATH?
Timothy Bish wrote:
>
> Generally this occurs because the files did not get extracted from the
> tar file. First thing to do is check to make sure they actually exist
> in the directory 'src/main/activemq/connector/openwire/commands/'.
>
> Regards
> Tim.
>
> On Tue, 2008-09-16 at 11:50 -0700, gali_ka wrote:
>> I am unable to build active-mq cpp on linux.
>> 1. I installed cpp-unit
>> 2. autogen.sh failed complaining about AM_PATH_CPPUNIT. I created
>> symlinks
>> for *.m4 files in my aclocal dir
>> 3. i ran configure
>> 4. ran make
>> make failed with
>> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -ansi -pedantic -W -Wall -fPIC
>> -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long -g-O2 -MT
>> activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatch.lo
>> -MD -MP -MF
>> activemq/connector/openwire/commands/.deps/libactivemq_cpp_la-MessageDispatch.Tpo
>> -c activemq/connector/openwire/commands/MessageDispatch.cpp -o
>> activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatch.o
>> >/dev/null 2>&1
>> make[2]: *** No rule to make target
>> `activemq/connector/openwire/commands/MessageDispatchNotification.cpp',
>> needed by
>> `activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatchNotification.lo'.
>> Stop.
>> make[2]: Leaving directory `/active-mq/activemq-cpp-2.1.3-src/src/main'
>> make[1]: *** [all-recursive] Error 1
>>
>> I am building 2.1.3 on linux using gcc version 3.4.6 20060404 (Red Hat
>> 3.4.6-3)
>>
>> Please help
>
>
>
--
View this message in context: http://www.nabble.com/unable-to-build-active-mq-cpp-2.1.3-on-linux-tp19518196p19527766.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: unable to build active-mq cpp 2.1.3 on linux
Posted by Timothy Bish <ta...@gmail.com>.
Generally this occurs because the files did not get extracted from the
tar file. First thing to do is check to make sure they actually exist
in the directory 'src/main/activemq/connector/openwire/commands/'.
Regards
Tim.
On Tue, 2008-09-16 at 11:50 -0700, gali_ka wrote:
> I am unable to build active-mq cpp on linux.
> 1. I installed cpp-unit
> 2. autogen.sh failed complaining about AM_PATH_CPPUNIT. I created symlinks
> for *.m4 files in my aclocal dir
> 3. i ran configure
> 4. ran make
> make failed with
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -ansi -pedantic -W -Wall -fPIC
> -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long -g-O2 -MT
> activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatch.lo
> -MD -MP -MF
> activemq/connector/openwire/commands/.deps/libactivemq_cpp_la-MessageDispatch.Tpo
> -c activemq/connector/openwire/commands/MessageDispatch.cpp -o
> activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatch.o
> >/dev/null 2>&1
> make[2]: *** No rule to make target
> `activemq/connector/openwire/commands/MessageDispatchNotification.cpp',
> needed by
> `activemq/connector/openwire/commands/libactivemq_cpp_la-MessageDispatchNotification.lo'.
> Stop.
> make[2]: Leaving directory `/active-mq/activemq-cpp-2.1.3-src/src/main'
> make[1]: *** [all-recursive] Error 1
>
> I am building 2.1.3 on linux using gcc version 3.4.6 20060404 (Red Hat
> 3.4.6-3)
>
> Please help