Fedora build issues


William Henry <whenry@...>
 

Hi,

I see configure fail because it can't find sem_timedwait():

checking for library containing sem_timedwait... no
Failed to find sem_timedwait().

This appears to be the cause of no makefile being build in mama/c_cpp and so that never builds.

William


Mike Schonberg <mschonberg@...>
 

-----Original Message-----
From: openmama-dev-bounces@... [mailto:openmama-dev-
bounces@...] On Behalf Of William Henry
Sent: Thursday, May 03, 2012 11:17 AM
To: openmama-dev@...
Subject: [Openmama-dev] Fedora build issues

Hi,

I see configure fail because it can't find sem_timedwait():

checking for library containing sem_timedwait... no
Failed to find sem_timedwait().
I also see this error. It occurs because we search librt but not
libpthread. I will post a patch shortly.


This appears to be the cause of no makefile being build in mama/c_cpp
and so that never builds.
The following results in a clean build for me with the current code:
git clean -d -f
./generateBuildFiles.sh
export JAVA_HOME=/home/mike/JDK-6/jdk1.6.0_30/
./configure --with-avis=/usr/local --prefix=`pwd`/dist
make install

Could you post the output from your configure script?

Thanks,
-Mike


William
_______________________________________________
Openmama-dev mailing list
Openmama-dev@...
http://lists.openmama.org/listinfo/openmama-dev
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.


William Henry <whenry@...>
 

I've attached the output from ./configure

I wonder if now my only issue is having avis installed.

William.

----- Original Message -----


-----Original Message-----
From: openmama-dev-bounces@... [mailto:openmama-dev-
bounces@...] On Behalf Of William Henry
Sent: Thursday, May 03, 2012 11:17 AM
To: openmama-dev@...
Subject: [Openmama-dev] Fedora build issues

Hi,

I see configure fail because it can't find sem_timedwait():

checking for library containing sem_timedwait... no
Failed to find sem_timedwait().
I also see this error. It occurs because we search librt but not
libpthread. I will post a patch shortly.


This appears to be the cause of no makefile being build in
mama/c_cpp
and so that never builds.
The following results in a clean build for me with the current code:
git clean -d -f
./generateBuildFiles.sh
export JAVA_HOME=/home/mike/JDK-6/jdk1.6.0_30/
./configure --with-avis=/usr/local --prefix=`pwd`/dist
make install

Could you post the output from your configure script?

Thanks,
-Mike


William
_______________________________________________
Openmama-dev mailing list
Openmama-dev@...
http://lists.openmama.org/listinfo/openmama-dev
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.


William Henry <whenry@...>
 

Got the build at least going now with the avis stuff installed.

But I'm hitting:
bridge.c:22:24: fatal error: avis/elvin.h: No such file or directory
compilation terminated.
make[5]: *** [bridge.lo] Error 1
make[5]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src/c/bridge/avis'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src/c/bridge'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src/c'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp'

William

----- Original Message -----
I've attached the output from ./configure

I wonder if now my only issue is having avis installed.

William.

----- Original Message -----


-----Original Message-----
From: openmama-dev-bounces@...
[mailto:openmama-dev-
bounces@...] On Behalf Of William Henry
Sent: Thursday, May 03, 2012 11:17 AM
To: openmama-dev@...
Subject: [Openmama-dev] Fedora build issues

Hi,

I see configure fail because it can't find sem_timedwait():

checking for library containing sem_timedwait... no
Failed to find sem_timedwait().
I also see this error. It occurs because we search librt but not
libpthread. I will post a patch shortly.


This appears to be the cause of no makefile being build in
mama/c_cpp
and so that never builds.
The following results in a clean build for me with the current
code:
git clean -d -f
./generateBuildFiles.sh
export JAVA_HOME=/home/mike/JDK-6/jdk1.6.0_30/
./configure --with-avis=/usr/local --prefix=`pwd`/dist
make install

Could you post the output from your configure script?

Thanks,
-Mike


William
_______________________________________________
Openmama-dev mailing list
Openmama-dev@...
http://lists.openmama.org/listinfo/openmama-dev
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-dev mailing list
Openmama-dev@...
http://lists.openmama.org/listinfo/openmama-dev


William Henry <whenry@...>
 

Okay so here's what's wrong now and what I did to get to wrong and what I'm doing to fix it.

The ./configure flags the avis_client_config.h file.

So after svn co the avis source. I copied this file (well one of them - there are four but no "linux") to /usr/local/include/avis.

That got me by the ./configure

However it seems that more .h files are needed in this directory for the build. So I'll copy them over one by one. Later: actually I just copied the entire directory over.

Now I'm getting:
bridge.c: In function 'avisBridge_getVersion':
bridge.c:65:30: error: 'VERSION' undeclared (first use in this function)
bridge.c:65:30: note: each undeclared identifier is reported only once for each function it appears in
bridge.c:66:1: warning: control reaches end of non-void function [-Wreturn-type]
make[5]: *** [bridge.lo] Error 1
make[5]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src/c/bridge/avis'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src/c/bridge'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src/c'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp'

I wonder if I have the correct .h file versions.

William

----- Original Message -----
Got the build at least going now with the avis stuff installed.

But I'm hitting:
bridge.c:22:24: fatal error: avis/elvin.h: No such file or directory
compilation terminated.
make[5]: *** [bridge.lo] Error 1
make[5]: Leaving directory
`/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src/c/bridge/avis'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory
`/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src/c/bridge'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src/c'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp'

William

----- Original Message -----
I've attached the output from ./configure

I wonder if now my only issue is having avis installed.

William.

----- Original Message -----


-----Original Message-----
From: openmama-dev-bounces@...
[mailto:openmama-dev-
bounces@...] On Behalf Of William Henry
Sent: Thursday, May 03, 2012 11:17 AM
To: openmama-dev@...
Subject: [Openmama-dev] Fedora build issues

Hi,

I see configure fail because it can't find sem_timedwait():

checking for library containing sem_timedwait... no
Failed to find sem_timedwait().
I also see this error. It occurs because we search librt but not
libpthread. I will post a patch shortly.


This appears to be the cause of no makefile being build in
mama/c_cpp
and so that never builds.
The following results in a clean build for me with the current
code:
git clean -d -f
./generateBuildFiles.sh
export JAVA_HOME=/home/mike/JDK-6/jdk1.6.0_30/
./configure --with-avis=/usr/local --prefix=`pwd`/dist
make install

Could you post the output from your configure script?

Thanks,
-Mike


William
_______________________________________________
Openmama-dev mailing list
Openmama-dev@...
http://lists.openmama.org/listinfo/openmama-dev
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-dev mailing list
Openmama-dev@...
http://lists.openmama.org/listinfo/openmama-dev
_______________________________________________
Openmama-dev mailing list
Openmama-dev@...
http://lists.openmama.org/listinfo/openmama-dev


Mike Schonberg <mschonberg@...>
 

-----Original Message-----
From: William Henry [mailto:whenry@...]
Sent: Friday, May 04, 2012 12:15 PM
To: Mike Schonberg
Cc: openmama-dev@...
Subject: Re: [Openmama-dev] Fedora build issues

Okay so here's what's wrong now and what I did to get to wrong and what
I'm doing to fix it.

The ./configure flags the avis_client_config.h file.
This file needs to be copied over manually. I believe the README file
documents this.


So after svn co the avis source. I copied this file (well one of them -
there are four but no "linux") to /usr/local/include/avis.

That got me by the ./configure

However it seems that more .h files are needed in this directory for
the build. So I'll copy them over one by one. Later: actually I just
copied the entire directory over.

Now I'm getting:
bridge.c: In function 'avisBridge_getVersion':
bridge.c:65:30: error: 'VERSION' undeclared (first use in this
function)
bridge.c:65:30: note: each undeclared identifier is reported only once
for each function it appears in
bridge.c:66:1: warning: control reaches end of non-void function [-
Wreturn-type]
make[5]: *** [bridge.lo] Error 1
make[5]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-
1.1/mama/c_cpp/src/c/bridge/avis'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-
1.1/mama/c_cpp/src/c/bridge'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-
1.1/mama/c_cpp/src/c'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-
1.1/mama/c_cpp/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/whenry/os/openmamam/OpenMAMA-
1.1/mama/c_cpp'

I wonder if I have the correct .h file versions.
We usually download the Avis archives rather than pulling from SVN.
It is possible that the SVN version is different.

-Mike

William

----- Original Message -----
Got the build at least going now with the avis stuff installed.

But I'm hitting:
bridge.c:22:24: fatal error: avis/elvin.h: No such file or directory
compilation terminated.
make[5]: *** [bridge.lo] Error 1
make[5]: Leaving directory
`/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src/c/bridge/avis'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory
`/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src/c/bridge'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src/c'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/whenry/os/openmamam/OpenMAMA-1.1/mama/c_cpp'

William

----- Original Message -----
I've attached the output from ./configure

I wonder if now my only issue is having avis installed.

William.

----- Original Message -----


-----Original Message-----
From: openmama-dev-bounces@...
[mailto:openmama-dev-
bounces@...] On Behalf Of William Henry
Sent: Thursday, May 03, 2012 11:17 AM
To: openmama-dev@...
Subject: [Openmama-dev] Fedora build issues

Hi,

I see configure fail because it can't find sem_timedwait():

checking for library containing sem_timedwait... no
Failed to find sem_timedwait().
I also see this error. It occurs because we search librt but not
libpthread. I will post a patch shortly.


This appears to be the cause of no makefile being build in
mama/c_cpp
and so that never builds.
The following results in a clean build for me with the current
code:
git clean -d -f
./generateBuildFiles.sh
export JAVA_HOME=/home/mike/JDK-6/jdk1.6.0_30/
./configure --with-avis=/usr/local --prefix=`pwd`/dist
make install

Could you post the output from your configure script?

Thanks,
-Mike


William
_______________________________________________
Openmama-dev mailing list
Openmama-dev@...
http://lists.openmama.org/listinfo/openmama-dev
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-dev mailing list
Openmama-dev@...
http://lists.openmama.org/listinfo/openmama-dev
_______________________________________________
Openmama-dev mailing list
Openmama-dev@...
http://lists.openmama.org/listinfo/openmama-dev
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.