Bug 889716 - pthread header files are installed not to the root of "include" directory
Summary: pthread header files are installed not to the root of "include" directory
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mingw32-pthreads
Version: el5
Hardware: i686
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-22 21:20 UTC by Max Salov
Modified: 2014-09-01 13:33 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-01 13:33:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Max Salov 2012-12-22 21:20:41 UTC
Description of problem:

Header files are installed into /usr/i686-pc-mingw32/sys-root/mingw/include/pthread/ directory instead of /usr/i686-pc-mingw32/sys-root/mingw/include/. As a result pthread.h header file is not accessible with #include <pthread.h> directive.

If use #include <pthread/pthread.h>, other headers from pthread library are not found during compilation process, because are included without directory prefix (e.g. #include <sched.h>, not #include <pthread/sched.h>).

The only way to use mingw32-pthread I see is to add -I/usr/i686-pc-mingw32/sys-root/mingw/include/pthread/ to CFLAGS and use #include <pthread.h> directive.

Version-Release number of selected component (if applicable):
2.8.0-4.el5

Comment 1 Erik van Pienbroek 2014-09-01 13:33:37 UTC
All mingw32 packages have been removed from EPEL-5 as per https://fedorahosted.org/rel-eng/ticket/5977


Note You need to log in before you can comment on or make changes to this bug.