[xml] Cannot compile pthread into xmllib2-2.4.20



Has anybody else had this difficulty getting pthreads to work?
I run configure --with-threads --with-thread-alloc, and get the following
messages:
        "Enabling multithreaded support"
        "Checking for pthread.h ... no"

And the configure.log file contains

<snip>
configure:7299: checking for pthread.h
configure:7309: gcc -E  conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/pthread.h:40,
                 from configure:7305:
/usr/local/lib/gcc-lib/i386-pc-sco3.2v5.0.5/2.95.2/include/pthread/signal.h:
42: stdtypes.h: No such file or directory
configure: failed program was:
#line 7304 "configure"
</snip>

the usr/include/pthread dir is a link to
opt/K/SKUNK98/FSUpthreads/3.5/usr/include
the usr/include/pthread.h file is a link to
opt/K/SKUNK98/FSUpthreads/3.5/usr/include/pthread.h

the usr/include/pthread.h file exists.
the usr/include/pthread/signal.h file exits.
the usr/include/pthread/stdtypes.h file exits.

the /usr/local/lib/gcc-lib/i386-pc-sco3.2v5.0.5/2.95.2/include/pthread/
directory exists
the
/usr/local/lib/gcc-lib/i386-pc-sco3.2v5.0.5/2.95.2/include/pthread/signal.h
file exists
the
/usr/local/lib/gcc-lib/i386-pc-sco3.2v5.0.5/2.95.2/include/pthread/stdtype.h
file DOES NOT exist.
?Why is it looking in this directory?

Now, I did notice that the signal.h file is using the "..." delimiters in
the #include directive; not the <...> delimiters.  So I copied the
stdtypes.h file to the default libxml2-2.4.20 directory thinking that the
include would find it there; but no luck.

I've exhausted my limited SCO & Unix knowledge, banged my head for 3 days,
and called in favors from other resources; all to no avail.  

One suggestion was that the configurator was using GCC and the pthread
library installed was for CC; but there didn't seem to be any method to tell
the configurator to CC instead of GCC.

Any help on what to check, where to go, or how to fix this would be much
appreciated.

Thanks,
Mark
----------------------------------------------------------- 
Mark Fricault (F-78)         Gilbarco Inc. 
Senior Software Engineer     7300 W. Friendly Avenue 
Retail Solutions             Greensboro, NC 27420-2087 
Mark Fricault gilbarco com    Phone : (336) 547-5863
www.gilbarco.com      Fax : (336) 547-5079 
----------------------------------------------------------- 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]