mainfastcgi++ - Support: sr #107721, Windows/MinGW build fails

 
 

sr #107721: Windows/MinGW build fails

Submitter:  Yuriy Petrovskiy <eladan>
Submitted:  Fri 17 Jun 2011 11:40:58 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  4 - Important Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  Microsoft Windows
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 17 Jun 2011 11:40:58 AM UTC, original submission:  

I know that this library does not support windows, but it shold be possible. I had encounted the following errors while trying to build fastcgi++-2.0beta-07b0d54d on Windows 7 + MinGW 4.5:

 - configure script does not recognizes compiler and then searching for boost libraries it complains about boost librery flags. Workaround is renaming boost library files from "libboost_date_time-mgw45-1_46_1.a" to "libboost_date_time--1_46_1.a" form. This made configure script happy and make file created.

 - no endian.h - while running make.

Workaround is adding

#define HAVE_ENDIAN_H 1

to include/fastcgi++/config.h

and copying files
include\endian.h
include\features.h
include\bits\endian.h
include\bits\byteswap.h
include\bits\predefs.h
include\bits\wordsize.h
include\gnu\stubs.h
include\gnu\stubs-32.h

from linux (ubuntu) computer to MinGW include dir. This is a dirty hack but it had solved a problem (at least no errors reported).

- poll function. It is the point where I had stopped... There is WSAPoll function which is equivalent to unix poll but I do not have enough knowledge in socket programming so I do not know how to handle this issue. 

I think availability of this library for windows is very important for the project development. This library is much more useful then libfcgi. Running libfcgi with boost::format() is very painfull (as both redefine functions such as printf).

Yuriy Petrovskiy <eladan>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #23534:  include.zip added by eladan (9KiB - application/zip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by eladan (Submitted the item)
  • -email is unavailable- added by eladan
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-06-17 eladan Attached File- Added include.zip, #23534
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code