On Sun, Sep 2, 2012 at 12:54 AM, Alexander Gladysh <aglad...@gmail.com> wrote:
> Hi, list!
>
> <pre>
> $ sudo luarocks install lua-http-parser
> Installing 
> http://luarocks.org/repositories/rocks/lua-http-parser-1.0-1.src.rock...
> Using http://luarocks.org/repositories/rocks/lua-http-parser-1.0-1.src.rock...
> switching to 'build' mode
> Archive:  
> /tmp/luarocks_luarocks-rock-lua-http-parser-1.0-1-2966/lua-http-parser-1.0-1.src.rock
>   inflating: lua-http-parser-1.0-1.rockspec
>    creating: lua-http-parser/
>   inflating: lua-http-parser/.gitmodules
>   inflating: lua-http-parser/CMakeLists.txt
>    creating: lua-http-parser/http-parser/
>   inflating: lua-http-parser/lua-http-parser.c
>   inflating: lua-http-parser/lua-http-parser-scm-0.rockspec
>   inflating: lua-http-parser/bench.lua
>   inflating: lua-http-parser/LICENSE-MIT
>   inflating: lua-http-parser/lua-http-parser-1.0-1.rockspec
>   inflating: lua-http-parser/README
>   inflating: lua-http-parser/test.lua
> Warning: unmatched variable CMAKE_BUILD_TYPE
> -- The C compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Found Lua51:
> /usr/lib/i386-linux-gnu/liblua5.1.so;/usr/lib/i386-linux-gnu/libm.so
> Cloning into 'http-parser'...
> remote: Counting objects: 3, done.
> remote: Compressing objects: 100% (2/2), done.
> remote: Total 3 (delta 0), reused 3 (delta 0)
> Receiving objects: 100% (3/3), done.
> -- Configuring done
> CMake Error at CMakeLists.txt:32 (add_library):
>   Cannot find source file:
>
>     http-parser/http_parser.c
>
>   Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>   .hxx .in .txx
>
>
> -- Build files have been written to:
> /tmp/luarocks_lua-http-parser-1.0-1-2690/lua-http-parser
>
> Error: Build error: Failed cmake.
> </pre>

Um, anyone?

The error seems to be fixed in one of the lua-http-parser forks (by
switching the http-parser Git submodule to an alternative repo). Is it
possible to get that fix to LR?

Thanks,
Alexander.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to