[MacPorts] #48563: qgis @2.10.1_0 +grass +postgresql93: fails to build
MacPorts
noreply at macports.org
Fri Aug 14 07:02:02 PDT 2015
#48563: qgis @2.10.1_0 +grass +postgresql93: fails to build
------------------------------+--------------------------------
Reporter: epimetheus314@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: qgis |
------------------------------+--------------------------------
Comment (by epimetheus314@…):
I think I have found where the problem lies.
The file '''qgsgrassdatafile.cpp''' contains the following conditional
groups depending on Q_OS_UNIX:
{{{
#ifdef Q_OS_UNIX
#include <sys/select.h>
#endif
...
qint64 QgsGrassDataFile::readData( char * data, qint64 len )
{
...
#ifdef Q_OS_UNIX
if ( read == 0 )
{
fd_set readFds;
FD_ZERO( &readFds );
struct timeval tv;
...
}
#endif
}
return readSoFar;
}
}}}
I don't know why but the first block seems to be ignored, while the second
is to be compiled, which caused the errors.
In fact, if I give the option '-D Q_OS_UNIX' from the command line, the
file can be compiled successfully.
So I decided to make the second block commented out, though I am not sure
this is the right solution.
--
Ticket URL: <https://trac.macports.org/ticket/48563#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list