twitter/hadoop-lzo

msbuild

Opened this issue · 3 comments

build-native-win:
[mkdir] Created dir: c:\Users\Administrator\Desktop\hadoop-lzo\target\native
\Windows_NT-${env.PLATFORM}\lib
[mkdir] Created dir: c:\Users\Administrator\Desktop\hadoop-lzo\target\classe
s\native\Windows_NT-${env.PLATFORM}\lib
[mkdir] Created dir: c:\Users\Administrator\Desktop\hadoop-lzo\target\native
\Windows_NT-${env.PLATFORM}\src\com\hadoop\compression\lzo
[javah] [Forcefully writing file RegularFileObject[c:\Users\Administrator\De
sktop\hadoop-lzo\target\native\Windows_NT-${env.PLATFORM}\src\com\hadoop\compres
sion\lzo\com_hadoop_compression_lzo_LzoCompressor.h]]
[javah] [Forcefully writing file RegularFileObject[c:\Users\Administrator\De
sktop\hadoop-lzo\target\native\Windows_NT-${env.PLATFORM}\src\com\hadoop\compres
sion\lzo\com_hadoop_compression_lzo_LzoCompressor_CompressionStrategy.h]]
[javah] [Forcefully writing file RegularFileObject[c:\Users\Administrator\De
sktop\hadoop-lzo\target\native\Windows_NT-${env.PLATFORM}\src\com\hadoop\compres
sion\lzo\com_hadoop_compression_lzo_LzoDecompressor.h]]
[javah] [Forcefully writing file RegularFileObject[c:\Users\Administrator\De
sktop\hadoop-lzo\target\native\Windows_NT-${env.PLATFORM}\src\com\hadoop\compres
sion\lzo\com_hadoop_compression_lzo_LzoDecompressor_CompressionStrategy.h]]
[exec] 生成启动时间为 2014/10/29 9:52:34。
[exec] 节点 1 上的项目“c:\Users\Administrator\Desktop\hadoop-lzo\src\main
native\gplcompression.sln”(默认目标)。
[exec] ValidateSolutionConfiguration:
[exec] 正在生成解决方案配置“Release|Win32”。
[exec] 项目“c:\Users\Administrator\Desktop\hadoop-lzo\src\main\native\gplc
ompression.sln”(1)正在节点 1 上生成“c:\Users\Administrator\Desktop\hadoop-lzo
src\main\native\gplcompression.vcxproj”(2) (默认目标)。
[exec] InitializeBuildStatus:
[exec] 正在创建“c:\Users\Administrator\Desktop\hadoop-lzo\target/native/
Windows_NT-${env.PLATFORM}/gplcompression.unsuccessfulbuild”,因为已指定“Alway
sCreate”。
[exec] ClCompile:
[exec] C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe
/c /Zi /nologo /W3 /WX- /O2 /Oi /Ot /Oy- /GL /D WIN32 /D NDEBUG /D _WINDOWS /D _
USRDLL /D _WINDLL /D _UNICODE /D UNICODE /Gm- /EHsc /MD /GS /Gy /fp:precise /Zc:
wchar_t /Zc:forScope /Fo"c:\Users\Administrator\Desktop\hadoop-lzo\target/native
/Windows_NT-${env.PLATFORM}/" /Fd"c:\Users\Administrator\Desktop\hadoop-lzo\targ
et/native/Windows_NT-${env.PLATFORM}/vc100.pdb" /Gd /TC /analyze- /errorReport:q
ueue impl\lzo\LzoCompressor.c impl\lzo\LzoDecompressor.c /D HADOOP_LZO_LIBRARY=L
"lzo2.dll"
[exec] LzoCompressor.c
[exec] c:\users\administrator\desktop\hadoop-lzo\src\main\native\impl\lzo/l
zo.h(22): fatal error C1083: 无法打开包括文件:“lzo/lzo1.h”: No such file or di
rectory [c:\Users\Administrator\Desktop\hadoop-lzo\src\main\native\gplcompressio
n.vcxproj]
[exec] LzoDecompressor.c
[exec] c:\users\administrator\desktop\hadoop-lzo\src\main\native\impl\lzo/l
zo.h(22): fatal error C1083: 无法打开包括文件:“lzo/lzo1.h”: No such file or di
rectory [c:\Users\Administrator\Desktop\hadoop-lzo\src\main\native\gplcompressio
n.vcxproj]
[exec] 已完成生成项目“c:\Users\Administrator\Desktop\hadoop-lzo\src\main\n
ative\gplcompression.vcxproj”(默认目标)的操作 - 失败。
[exec] 已完成生成项目“c:\Users\Administrator\Desktop\hadoop-lzo\src\main\n
ative\gplcompression.sln”(默认目标)的操作 - 失败。
[exec]
[exec] 生成失败。
[exec]
[exec] “c:\Users\Administrator\Desktop\hadoop-lzo\src\main\native\gplcompr
ession.sln”(默认目标) (1) ->
[exec] “c:\Users\Administrator\Desktop\hadoop-lzo\src\main\native\gplcompr
ession.vcxproj”(默认目标) (2) ->
[exec](ClCompile 目标) ->
[exec] c:\users\administrator\desktop\hadoop-lzo\src\main\native\impl\lzo
/lzo.h(22): fatal error C1083: 无法打开包括文件:“lzo/lzo1.h”: No such file or
directory [c:\Users\Administrator\Desktop\hadoop-lzo\src\main\native\gplcompress
ion.vcxproj]
[exec] c:\users\administrator\desktop\hadoop-lzo\src\main\native\impl\lzo
/lzo.h(22): fatal error C1083: 无法打开包括文件:“lzo/lzo1.h”: No such file or
directory [c:\Users\Administrator\Desktop\hadoop-lzo\src\main\native\gplcompress
ion.vcxproj]
[exec]
[exec] 0 个警告
[exec] 2 个错误
[exec]
[exec] 已用时间 00:00:00.77
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.040 s
[INFO] Finished at: 2014-10-29T09:52:35+08:00
[INFO] Final Memory: 32M/181M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:
run (build-native-win) on project hadoop-lzo: An Ant BuildException has occured:
exec returned: 1
[ERROR] around Ant part ...... @ 12:71 in c:\Users\Administrator\Desktop\hadoop-lzo\target\a
ntrun\build-build-native-win.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception

Administrator@PC201301012314 ~/Desktop/hadoop-lzo (master)

Why default Release|Win32? how to change to x64?

Why cannot include 'lzo/lzo1.h'?

i am sorry for my Low quality issue.
i will write a simple tutorial for newer.

Anything wrong in compiling hadoop-lzo can tell me.