Attempting to compile on Mac gives me the following error. Any suggestions?

Thanks.

Bennett


/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H - I. -I../../src -I./.. -I../../boost -DQT_CLEAN_NAMESPACE - DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I/Users/bennett/lyx/ qt-4.3-install/include -I/Users/bennett/lyx/qt-4.3-install/include/ QtCore -Wextra -Wall -I/System/Library/Frameworks/ CoreFoundation.framework/Headers -g -Os -MT filetools.lo -MD -MP - MF .deps/filetools.Tpo -c -o filetools.lo filetools.cpp g++ -DHAVE_CONFIG_H -I. -I../../src -I./.. -I../../boost - DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I/ Users/bennett/lyx/qt-4.3-install/include -I/Users/bennett/lyx/qt-4.3- install/include/QtCore -Wextra -Wall -I/System/Library/Frameworks/ CoreFoundation.framework/Headers -g -Os -MT filetools.lo -MD -MP - MF .deps/filetools.Tpo -c filetools.cpp -o filetools.o
filetools.cpp:59:21: error: direct.h: No such file or directory
filetools.cpp:60:17: error: io.h: No such file or directory
filetools.cpp:63:17: error: zip.h: No such file or directory
filetools.cpp:64:19: error: unzip.h: No such file or directory
filetools.cpp:1343: error: 'uLong' does not name a type
filetools.cpp: In function 'bool lyx::support::zipFiles(const lyx::support::DocFileName&, const __gnu_debug_def::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > >&)':
filetools.cpp:1353: error: 'zipFile' was not declared in this scope
filetools.cpp:1353: error: expected `;' before 'zf'
filetools.cpp:1372: error: 'zf' was not declared in this scope
filetools.cpp:1372: error: 'zipOpen' was not declared in this scope
filetools.cpp:1383: error: 'zip_fileinfo' was not declared in this scope
filetools.cpp:1383: error: expected `;' before 'zi'
filetools.cpp:1388: error: 'zi' was not declared in this scope
filetools.cpp:1393: error: 'filetime' was not declared in this scope
filetools.cpp:1397: error: 'Z_DEFLATED' was not declared in this scope
filetools.cpp:1398: error: 'Z_DEFAULT_COMPRESSION' was not declared in this scope
filetools.cpp:1401: error: 'MAX_WBITS' was not declared in this scope
filetools.cpp:1401: error: 'DEF_MEM_LEVEL' was not declared in this scope filetools.cpp:1401: error: 'Z_DEFAULT_STRATEGY' was not declared in this scope filetools.cpp:1403: error: 'zipOpenNewFileInZip3' was not declared in this scope
filetools.cpp:1405: error: 'ZIP_OK' was not declared in this scope
filetools.cpp:1416: error: 'ZIP_OK' was not declared in this scope
filetools.cpp:1425: error: 'zipWriteInFileInZip' was not declared in this scope
filetools.cpp:1431: error: 'ZIP_OK' was not declared in this scope
filetools.cpp:1436: error: 'zipCloseFileInZip' was not declared in this scope
filetools.cpp:1442: error: 'zipClose' was not declared in this scope
filetools.cpp:1443: error: 'ZIP_OK' was not declared in this scope
filetools.cpp: At global scope:
filetools.cpp:1457: error: 'uLong' has not been declared
filetools.cpp:1457: error: 'tm_unz' has not been declared
filetools.cpp:1457: warning: unused parameter 'filename'
filetools.cpp:1457: warning: unused parameter 'dosdate'
filetools.cpp:1457: warning: unused parameter 'tmu_date'
filetools.cpp:1493: error: 'unzFile' was not declared in this scope
filetools.cpp:1494: error: expected primary-expression before 'const'
filetools.cpp:1495: error: expected primary-expression before 'int'
filetools.cpp:1496: error: expected primary-expression before 'const'
filetools.cpp:1497: error: expected primary-expression before 'const'
filetools.cpp:1497: error: initializer expression list treated as compound expression
filetools.cpp:1498: error: expected ',' or ';' before '{' token
filetools.cpp: In function 'bool lyx::support::unzipToDir(const std::string&, const std::string&)':
filetools.cpp:1611: error: 'unzFile' was not declared in this scope
filetools.cpp:1611: error: expected `;' before 'uf'
filetools.cpp:1622: error: 'uf' was not declared in this scope
filetools.cpp:1622: error: 'unzOpen' was not declared in this scope
filetools.cpp:1630: error: 'uLong' was not declared in this scope
filetools.cpp:1630: error: expected `;' before 'i'
filetools.cpp:1631: error: 'unz_global_info' was not declared in this scope
filetools.cpp:1631: error: expected `;' before 'gi'
filetools.cpp:1638: error: 'gi' was not declared in this scope
filetools.cpp:1638: error: 'unzGetGlobalInfo' was not declared in this scope
filetools.cpp:1639: error: 'UNZ_OK' was not declared in this scope
filetools.cpp:1644: error: 'i' was not declared in this scope
filetools.cpp:1647: error: 'lyx::support::do_extract_currentfile' cannot be used as a function
filetools.cpp:1647: error: 'UNZ_OK' was not declared in this scope
filetools.cpp:1651: error: 'unzGoToNextFile' was not declared in this scope
filetools.cpp:1652: error: 'UNZ_OK' was not declared in this scope
filetools.cpp:1659: error: 'unzCloseCurrentFile' was not declared in this scope
filetools.cpp:1633: warning: unused variable 'fout'
filetools.cpp:1660: warning: control reaches end of non-void function

Reply via email to