Bug 317512 - Unable to compile asapcat component on Windows since no fcntl
Summary: Unable to compile asapcat component on Windows since no fcntl
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: GIT (master)
Platform: Microsoft Windows Microsoft Windows
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-28 22:44 UTC by Ananta Palani
Modified: 2013-07-31 20:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.10


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ananta Palani 2013-03-28 22:44:37 UTC
The new asapcat component is built on all platforms but will not compile on Windows since there is no fcntl function which breaks asapcat\session.cpp. Removing add_subdirectory(asapcat) from CMakeLists.txt allows akonadi to compile properly.

Reproducible: Always

Steps to Reproduce:
1. Compile akonadi on Windows (fail)
2. Remove 'add_subdirectory(asapcat)' from akonadi CMakeLists.txt
3. Compile akonadi on Windows (success!)
Actual Results:  
Compilation fails

Expected Results:  
Compilation succeeds

Is there Qt solution to fcntl non-blocking pipes? Perhaps for now, if this isn't necessary functionality, asapcat could be disabled for WIN32 until a cross-platform version is available.
Comment 1 Daniel Vrátil 2013-07-31 20:21:25 UTC
Building asapcat on Windows has been disabled (some time ago).

There does not seem to be any simple drop-in alternative to fcntl for Windows, but since it's a developer tool and all devs are using Linux right now, it's probably not a big problem.