Title: mail
Roel van de Kraats wrote:

On 09/20/2012 10:40 PM, Jim Marshall wrote:
Hi, its me again ;)

What version of Linux are you using to build openslp? What versions of
autoconf, automake, libtool, gcc are you using?

I'm trying to build openslp on CentOS 5.5 and it is not going well.
CentOS comes with autoconf 2.59, I upgraded to autoconf 2.63 but now
when I do a make I get a compile error in slp_thread.c for
pthread_mutexattr_settype not being declared and PTHREAD_MUTEX_RECURSIVE
being undefined. I see there was a discussion in the openslp list back
in Dec 2010 and May 2011, the resolution was a patch to the code base.
As such I'm kind of at a loss as to why I am seeing the error.
Hi Jim,

The only reason I can think of why you get this error is that 'configure' wasn't run correctly. It checks whether pthread_mutex_settype is available, causing slp_thread.c to only use it if so.
I checked the configure log (config.log) and didn't see any obvious issues, also examined the config.h and it seemed to define the pthread stuff properly but I didn't delve into detail.

On a side note I have worked around the issue. I think. I downloaded trunk to a Fedora 12 machine and it works fine (configure, make & make install run without error). My first thought was to just copy the binaries over to the CentOS machine, but that results in a ABI error ("ELF file OS ABI invalid"). So my next thought was to zip the configured directory and copy it to the CentOS machine and try running make there - this appears to have worked. It builds and is running as is slptool. My only guess is that some change to the autoconf system has made it incompatible with older Linux versions. CentOS 5 is suppose to be the same as RHEL 5.5 (which is loosely Fedora 6, although direct comparison is not really valid between the two distros) - but that is just a WAG on my part.

So now to test the Linux build and see if I can work out the issues with the Windows build.

Thanks for the help!
Jim



You could check the modification dates of configure.ac, configure and config.h.

I'm running Fedora 15 with autoconf 2.68 by the way.

BR,
    Roel
Thanks

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel





--
Jim Marshall
Sr. Software Engineer
WS

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel

Reply via email to