Re: installing openmama on ubuntu 12


Roan Horning
 

Hi Jacob,

I am able to build it on Ubuntu 12.04 64bit .

On Tue, Aug 28, 2012 at 5:32 PM, Jacobraj Benet <JBenet@...> wrote:
Hi John,

Are you having this issue only on ubuntu 12 or also in earlier version of
Ubuntu? I know in the past you were able to build and run mama on Ubuntu,
What is very different with this build?

Is the build issue only on 64 bit? Or also on the 32 bit?

Thanks,

--

Jacob


From: John Gray <john.gray@...>
Date: Tuesday, August 28, 2012 3:25 PM

To: Jacobraj Benet <jbenet@...>, "openmama-users@..."
<openmama-users@...>
Cc: Brian Fitzpatrick <brian.fitzpatrick@...>
Subject: RE: [Openmama-users] installing openmama on ubuntu 12

Hi



I did a complete folder rm –rf OpenMama2.1 and re-extracted the files.



I’ve made sure the pthread is installed and the LD_LIBRARY_PATH is set but
still getting the same 3 errors:



· Warning about not using WombatCommon in configuration output
(/opt/openmama/include/wombat/machine.h not useable and not present)

· Undefined pthread references (as before)

· File in wrong format (as before)



I have also tried the latest downloads version 2.1.1.2 but for the same
configure command line I get a series of “No such file or directory”
errors:

Line 58, 63,68,73



Any further thoughts?



j







From: Jacobraj Benet [mailto:JBenet@...]
Sent: 28 August 2012 20:30
To: John Gray; openmama-users@...
Cc: Brian Fitzpatrick
Subject: Re: [Openmama-users] installing openmama on ubuntu 12



Hi John,



Can you try to do a clean build of the MAMA API making sure that the pthread
is installed and the location of the installed folder is in the
LD_LIBRARY_PATH



If it still complaining about pthread, then can you try it on some other
machine to rule out any architectural issues. I am unable to advice clearly
as this is machine specific library error, but it seems like either pthread
is not installed properly or the location of the pthread in not included in
the Lib folder.



Thanks,

--

Jacob



From: John Gray <john.gray@...>
Date: Tuesday, August 28, 2012 2:11 PM
To: Jacobraj Benet <jbenet@...>, "openmama-users@..."
<openmama-users@...>
Cc: Brian Fitzpatrick <brian.fitzpatrick@...>
Subject: FW: [Openmama-users] installing openmama on ubuntu 12



Hi Jacob,



Im still stuck with these errors – can you give some advice?



Thanks

j



From: John Gray
Sent: 27 August 2012 21:36
To: 'Jacobraj Benet'; openmama-users@...
Subject: RE: [Openmama-users] installing openmama on ubuntu 12



Hi Jacob -still getting stuck



Did an install for pthread – then noticed that configuration was warning
that there was no ncurses – so installed this also.



Now configuration giving warning:



Checking /opt/openmama/include/wombat/machine.h usability…no

Checking /opt/openmama/include/wombat/machine.h presence…no

Checking for /opt/openmama/include/wombat/machine.h …no

Configure: WARNING: Not using WombatCommon API



The only thing in /opt/ folder is the Oracle VBOX guest additions.



Still getting the undefined references below for the pthread funcs.



NOTE: this is version 2.1 - not the latest download.



Thanks

j







From: Jacobraj Benet [mailto:JBenet@...]
Sent: 27 August 2012 20:42
To: John Gray; openmama-users@...
Subject: Re: [Openmama-users] installing openmama on ubuntu 12



Hi John,



It looks like your missing the pthread library, Can you make sure that you
have the pthread library installed in your machine.



Thanks,

Jacob

--

Jacob



From: John Gray <john.gray@...>
Date: Monday, August 27, 2012 2:23 PM
To: "openmama-users@..." <openmama-users@...>
Subject: [Openmama-users] installing openmama on ubuntu 12



I have installed openmama on Ubuntu 12 (32bit) but having trouble building
it - getting the following error:



Googling seems to indicate a problem with Boost or pthreads. Any advice?



Thanks

John



/bin/bash ../../../libtool --tag=CXX --mode=link g++ -g -O2
-L/usr/local/lib -L./../../cpp -L./../../c
-L./../../../../../common/c_cpp/src/c -o mamalistencpp mamalistencpp.o
-lmamacpp -lmama -lpthread -ldl -lnsl

libtool: link: g++ -g -O2 -o .libs/mamalistencpp mamalistencpp.o
-L/usr/local/lib -L./../../cpp -L./../../c
-L./../../../../../common/c_cpp/src/c
/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/cpp/.libs/libmamacpp.so
-L./../c
/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so
-L./../../../../common/c_cpp/src/c -lrt -luuid -lpthread -ldl -lnsl
-Wl,-rpath -Wl,/home/openmama/openmama/OpenMAMA-2.1/lib

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_init'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_mutexattr_settype'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_key_create'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_destroy'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_getspecific'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_timedwait'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_create'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_mutexattr_init'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_key_delete'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_post'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_trywait'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_getvalue'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_setspecific'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_wait'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_join'

________________________________

Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
*****************************************************************************
Note: The information contained in this message and any attachment to it is
privileged, confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify the sender immediately by replying to
the message, and please delete it from your system. Thank you. NYSE
Euronext.

________________________________

Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
*****************************************************************************
Note: The information contained in this message and any attachment to it is
privileged, confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify the sender immediately by replying to
the message, and please delete it from your system. Thank you. NYSE
Euronext.

________________________________

Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
*****************************************************************************
Note: The information contained in this message and any attachment to it is
privileged, confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify the sender immediately by replying to
the message, and please delete it from your system. Thank you. NYSE
Euronext.


_______________________________________________
Openmama-users mailing list
Openmama-users@...
https://lists.openmama.org/mailman/listinfo/openmama-users

Join Openmama-users@lists.openmama.org to automatically receive all group messages.