[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: libmessage patch Install?



You're right about using the wrong patch.  I verified
that this past Saturday searching ITS.  Basically, the
problem is linking with my pthreads.  I am installing
the latest source on a RH 7.0 system running 2.2.16
kernel.  Configure successfully finds pthreads and
determines that it is regex compatible, but fails to
link to POSIX threads.  Here is the errors and some of
the compile log:
checking for _beginthread... no
checking for pthread.h... yes
checking POSIX thread version... final
checking for LinuxThreads pthread.h... yes
checking for GNU Pth pthread.h... no
checking for sched.h... yes
checking for pthread_create in default libraries... no
checking for pthread link with -kthread... no
checking for pthread link with -pthread... no
checking for pthread link with -pthreads... no
checking for pthread link with -mthreads... no
checking for pthread link with -thread... no
checking for pthread link with -lpthread -lmach -lexc
-lc_r... no
checking for pthread link with -lpthread -lmach
-lexc... no
checking for pthread link with -lpthread
-Wl,-woff,85... no
checking for pthread link with -lpthread... no
checking for pthread link with -lc_r... no
checking for pthread link with -threads... no
checking for pthread link with -lpthreads -lmach -lexc
-lc_r... no
checking for pthread link with -lpthreads -lmach
-lexc... no
checking for pthread link with -lpthreads -lexc... no
checking for pthread link with -lpthreads... no
configure: error: could not link with POSIX Threads

It found LinuxThreads, but not Gnu threads.  I am not
sure if this may hint at what's wrong.  Any
suggestions are greatly appreciated.

Ismael Sierra

--- Julius Enarusai <jenarusa@us.ibm.com> wrote:
> >   I've untarred the libmessage.tar.gz patch to the
> >open_ldap directory and ran the patch -p0 <
> >libmessage.diff command.  It failed on Hunk #1 and
> #3,
> >but prompted whether I wanted to assume "-R"
> several
> >times.  I answered yes instead of the default no
> and
> >ran the config.  Typed "./configure --enable-nls
> >--enable-shell --disable-debug".  I still receive
> the
> >POSIX thread error.  Am I applying the patch wrong?
> >You did not tell me where to untar the patch. 
> Unsure
> >of what to do next?
> 
> >Ismael Sierra (newbie)
> 
> 
> The libmessage patch provides a capability to
> translate LDAP error 
> messages to the user's LOCALE and therefore had
> nothing to do with "POSIX 
> thread error". You may need to check the FAQ section
> in OpenLDAP.org (e.g. 
>
http://www.openldap.org/faq/index.cgi?_highlightWords=thread&file=19
> ) or 
> provide more details on your specific problem, such
> as Operating system, 
> level, etc.
> 
> Julius
> 


__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com