|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Installing Activemq-cpp in HP-UXCan anyone help on how to install activemq-cpp in hp-ux.
I am using 3.0 version of activemq-cpp. When i tried to configure, i got the following error message. checking for time... yes checking for ftime... yes checking for cppunit-config... /usr/local/bin/cppunit-config checking for Cppunit - version >= 1.10.2... 1.12.1 checking for pthread_create in -lpthread... no configure: error: libpthread not found! Where can i found libpthread. Thanks in advance |
|
|
Re: Installing Activemq-cpp in HP-UXOn Thu, 2009-10-22 at 02:47 -0700, Radha Manickam wrote:
> Can anyone help on how to install activemq-cpp in hp-ux. > I am using 3.0 version of activemq-cpp. > > When i tried to configure, i got the following error message. > > > checking for time... yes > > checking for ftime... yes > > checking for cppunit-config... /usr/local/bin/cppunit-config > > checking for Cppunit - version >= 1.10.2... 1.12.1 > > checking for pthread_create in -lpthread... no > > configure: error: libpthread not found! > > > Where can i found libpthread. libpthread is usually found in either /usr/lib and pthread.h is in /usr/include. If you have the locate command you can try running `locate libpthread` Regards Tim. |
|
|
Re: Installing Activemq-cpp in HP-UXHi Tim,
I have libpthread installed in /usr/lib/. I added the path in SHLIB_PATH. Even though i got the same error. I am compiling using gcc. Radha.
|
|
|
Re: Installing Activemq-cpp in HP-UXOn Thu, 2009-10-22 at 04:29 -0700, Radha Manickam wrote:
> Hi Tim, > > > I have libpthread installed in /usr/lib/. > > I added the path in SHLIB_PATH. > > Even though i got the same error. > > I am compiling using gcc. > Which version of ActiveMQ-CPP are you using? What versions do you have for autoconf, automake, libtool, gcc ? Hard to help without more info on your setup. Regards Tim. > > Radha. > > > Timothy Bish wrote: > > > > On Thu, 2009-10-22 at 02:47 -0700, Radha Manickam wrote: > >> Can anyone help on how to install activemq-cpp in hp-ux. > >> I am using 3.0 version of activemq-cpp. > >> > >> When i tried to configure, i got the following error message. > >> > >> > >> checking for time... yes > >> > >> checking for ftime... yes > >> > >> checking for cppunit-config... /usr/local/bin/cppunit-config > >> > >> checking for Cppunit - version >= 1.10.2... 1.12.1 > >> > >> checking for pthread_create in -lpthread... no > >> > >> configure: error: libpthread not found! > >> > >> > >> Where can i found libpthread. > > > > libpthread is usually found in either /usr/lib and pthread.h is > > in /usr/include. If you have the locate command you can try running > > `locate libpthread` > > > > Regards > > Tim. > > > > > > > > > > > Tim Bish http://fusesource.com http://timbish.blogspot.com/ |
|
|
Re: Installing Activemq-cpp in HP-UXHi,
I am using Actimemq-cpp version 3.0. Autoconf ==> 2.64 Automake ==> 1.11 libtool ==> 2.2.6 gcc ==> 4.2.3 I have installed all the dependencies. I am able to install Apr and apr-util without any error. But not able to compile activemq-cpp. Thanks. Radha. |
|
|
Re: Installing Activemq-cpp in HP-UXOn Thu, 2009-10-22 at 22:22 -0700, Radha Manickam wrote:
> Hi, > > I am using Actimemq-cpp version 3.0. > Autoconf ==> 2.64 > Automake ==> 1.11 > libtool ==> 2.2.6 > gcc ==> 4.2.3 > > I have installed all the dependencies. > I am able to install Apr and apr-util without any error. > But not able to compile activemq-cpp. > > Thanks. > Radha. I'd need to take a look at your config.log file to see if there's any indication in there about what is causing the error. You are welcome to open a new Jira issue and attach a the log. Regards Tim. -- Tim Bish http://fusesource.com http://timbish.blogspot.com/ |
|
|
Re: Installing Activemq-cpp in HP-UXHi Tim,
I have attached the config.log. Radha. config.log |
|
|
Re: Installing Activemq-cpp in HP-UXOn Mon, 2009-10-26 at 22:37 -0700, Radha Manickam wrote:
> Hi Tim, > > I have attached the config.log. > > Radha. >From what I've read about the HP UX pthreads impl it sounds as if there's some problems with the way they've defined the pthread_create which break autoconfs tests. You could modify this portion of the configure.ac to remove the AC_CHECK_LIB and just set the LIBS with the libraries that you need on HP UX to compile, not sure any change is necessary. Once done just run ./autogen.sh and you should have a working configure script. *) ## Unix configuration AC_CHECK_LIB(pthread, pthread_create,[have_pthread="yes"], AC_MSG_ERROR([libpthread not found!])) PLAT_CXXFLAGS="-ansi -pedantic" PLAT_LIBS="-lm -lpthread -luuid" Regards Tim. > > > Timothy Bish wrote: > > > > On Thu, 2009-10-22 at 22:22 -0700, Radha Manickam wrote: > >> Hi, > >> > >> I am using Actimemq-cpp version 3.0. > >> Autoconf ==> 2.64 > >> Automake ==> 1.11 > >> libtool ==> 2.2.6 > >> gcc ==> 4.2.3 > >> > >> I have installed all the dependencies. > >> I am able to install Apr and apr-util without any error. > >> But not able to compile activemq-cpp. > >> > >> Thanks. > >> Radha. > > > > I'd need to take a look at your config.log file to see if there's any > > indication in there about what is causing the error. You are welcome to > > open a new Jira issue and attach a the log. > > > > Regards > > Tim. > > > > > > -- > > Tim Bish > > http://fusesource.com > > http://timbish.blogspot.com/ > > > > > > > > > > > http://www.nabble.com/file/p26072354/config.log config.log Tim Bish http://fusesource.com http://timbish.blogspot.com/ |
|
|
Re: Installing Activemq-cpp in HP-UXHi,
We did the same thing and got installed the activemq-cpp. But when tried to compile the example program(main.cpp) that is given in the activemq-cpp/examples, we got the error as follows: # ./main Memory fault(coredump) This is the trace that i got for the core created. # gdb ./main core HP gdb 5.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00 and target hppa1.1-hp-hpux11.00. Copyright 1986 - 2001 Free Software Foundation, Inc. Hewlett-Packard Wildebeest 5.0 (based on GDB) is covered by the GNU General Public License. Type "show copying" to see the conditions to change it and/or distribute copies. Type "show warranty" for warranty/support. ..(no debugging symbols found)... Core was generated by `main'. Program terminated with signal 11, Segmentation fault. (no debugging symbols found)... warning: Load module /usr/local/lib/libstdc++.sl has been stripped #0 0xc056e888 in cma__val_defattr_stat+0x98 () from /usr/lib/libcma.2 (gdb) trace trace command requires an argument (gdb) info threads * 1 user thread (6009337, 0) 0xc056e888 in cma__val_defattr_stat+0x98 () from /usr/lib/libcma.2 (gdb) thread apply all bt full Thread 1 (user thread (6009337, 0)): #0 0xc056e888 in cma__val_defattr_stat+0x98 () from /usr/lib/libcma.2 No symbol table info available. #1 0xc0579fb4 in pthread_mutex_init+0x104 () from /usr/lib/libcma.2 No symbol table info available. #2 0xc021d3ec in libc_init+0x6c () from /usr/lib/libc.2 No symbol table info available. #3 0xc021cb78 in __libc_init+0xf0 () from /usr/lib/libc.2 No symbol table info available. #4 0xc0047b30 in __hp__init_libc+0x28 () from /usr/lib/libpthread.1 No symbol table info available. #5 0xc0049b44 in __pthread_startup+0x228 () from /usr/lib/libpthread.1 No symbol table info available. #6 0xc0019260 in stat64+0xbffece30 () from /usr/lib/dld.sl No symbol table info available. #7 0xc0579fb4 in pthread_mutex_init+0x104 () from /usr/lib/libcma.2 No symbol table info available. Cannot access memory at address 0xc0017d64 We need a help on this issue. Radha. |
|
|
Re: Installing Activemq-cpp in HP-UXIs it possible for you to build with debug information turned on? Without the full stack trace from the crash its not clear where or why this would be happening. if you are building with GCC then you can try this when you run configure ./configure --enable-shared=no CXXFLAGS="-g -O0" This will build the examples with static libraries linked in and add debugging symbols to the build and disable optimization which will make the stack traces more useful. Regards Tim.
|
| Free embeddable forum powered by Nabble | Forum Help |