Recipes for cget/
pfultz2 / cget-recipes Goto Github PK
View Code? Open in Web Editor NEWRecipes for cget
Recipes for cget
Recipes for cget/
Please add a recipe for libuv. A cmake for that can be found here https://github.com/dacap/libuv-cmake . Can't directly use cgate install dacap/libuv-cmake , as the git download doesn't download the project included by git submodule. Likely after downloading , need to parse .gitmodules , & download the submodules in the respective directory. This is problem for any projects which uses git submodule. e.g. cget install Cylix/netflex@master
It is trying to install to a non-user location:
-- Installing: /Library/Frameworks/FLAC.framework .
CMake Error at cmake_install.cmake:55 (file):
file INSTALL cannot make directory "/Library/Frameworks/FLAC.framework":
Permission denied
Make cylix/cpp_redis dependency to cylix/tacopie@master
I'm using ac2cmake
as suggested by @pfultz2 in this PR and I get this error:
CMake Warning (dev) at cmake/cget-recipe-utils-config.cmake:390 (configure_file):
configure_file called with unknown argument(s):
matio/src/Makefile
matio/getopt/Makefile
matio/tools/Makefile
matio/test/Makefile
matio/documentation/Makefile
If I understand properly the following snipped passes all the parameters I've used when calling ac_config_file
here directly to cmake's configure_file
.
cget-recipes/cmake/cget-recipe-utils/cget-recipe-utils-config.cmake
Lines 385 to 390 in 8a700af
which ends up violating configure_file
's signature:
configure_file(<input> <output>
[COPYONLY] [ESCAPE_QUOTES] [@ONLY]
[NEWLINE_STYLE [UNIX|DOS|WIN32|LF|CRLF] ])
Any suggestions? Shall we do some sort of foreach(arg ${args})
and then call config_file
with ${arg}
, but if so how shall we construct the <input>
or <output>
?
I'm getting the following build errors on OS X when installing the XZ recipe. I'm able to build fine when running ./configure && make.
In file included from /Users/jonathonl/cget/cget/build/tmp-086d323899004e358e9cd5f91629f084/xz-5.2.3/src/liblzma/check/sha256.c:24:
/Users/jonathonl/cget/cget/build/tmp-086d323899004e358e9cd5f91629f084/xz-5.2.3/src/liblzma/check/check.h:93:3: error: unknown type name 'lzma_sha256_state'
lzma_sha256_state sha256;
^
1 error generated.
make[2]: *** [CMakeFiles/lzma.dir/src/liblzma/check/crc32_fast.c.o] Error 1
make[2]: *** [CMakeFiles/lzma.dir/src/liblzma/check/crc64_fast.c.o] Error 1
/Users/jonathonl/cget/cget/build/tmp-086d323899004e358e9cd5f91629f084/xz-5.2.3/src/liblzma/check/sha256.c:127:1: error: redefinition of 'lzma_sha256_init'
lzma_sha256_init(lzma_check_state *check)
^
/Users/jonathonl/cget/cget/build/tmp-086d323899004e358e9cd5f91629f084/xz-5.2.3/src/liblzma/check/check.h:141:1: note: previous definition is here
lzma_sha256_init(lzma_check_state *check)
^
/Users/jonathonl/cget/cget/build/tmp-086d323899004e358e9cd5f91629f084/xz-5.2.3/src/liblzma/check/sha256.c:142:1: error: redefinition of 'lzma_sha256_update'
lzma_sha256_update(const uint8_t *buf, size_t size, lzma_check_state *check)
^
/Users/jonathonl/cget/cget/build/tmp-086d323899004e358e9cd5f91629f084/xz-5.2.3/src/liblzma/check/check.h:148:1: note: previous definition is here
lzma_sha256_update(const uint8_t *buf, size_t size, lzma_check_state *check)
^
/Users/jonathonl/cget/cget/build/tmp-086d323899004e358e9cd5f91629f084/xz-5.2.3/src/liblzma/check/sha256.c:169:1: error: redefinition of 'lzma_sha256_finish'
lzma_sha256_finish(lzma_check_state *check)
^
/Users/jonathonl/cget/cget/build/tmp-086d323899004e358e9cd5f91629f084/xz-5.2.3/src/liblzma/check/check.h:165:1: note: previous definition is here
lzma_sha256_finish(lzma_check_state *check)
^
The link http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz is dead. Please update it to a working download.
As Howard Hinnant's date library changed file paths recently, it is good to update build.cmake to reflect this.
I am unable to install cget-recipes
on my windows subsystem for Linux (WSL) Debian distro. I follwed your instruction:
cget install pfultz2/get-recipes
However I received the following error:
Downloading https://github.com/pfultz2/cget-recipes/archive/HEAD.tar.gz
[######################################################################] 100%
Extracting archive /home/oenomaus/cget/cget/build/tmp-613b70e38a744e1e82dfdad977d10b31/HEAD.tar.gz ...
Can't find file cmake
Failed to build package pfultz2/cget-recipes
I inspected this particular repository and found the sub-repository cmake
is of the form cmake/cget-recipe-utils
. I suspect the instruction provided above is outdated and has not yet been updated. Please correct me if I am wrong.
Take care.
I have tried to install curl on Windows using cget but for some reasons, it can not find LibreSSL and libssh2.
Other dependencies were installed just fine.
Please let me know if you need further information.
Thanks.
I do the following:
cget install pfultz2/cget-recipes
cget install google/benchmark
The configuration of google/benchmark fails for me. The output looks like this:
Downloading https://github.com/google/benchmark/archive/master.tar.gz
Extracting archive /home/eric/.cget/cget/build/tmp-19ad95b023fe482d9d985eac13a9a366/master.tar.gz ...
-- The CXX compiler identification is GNU 7.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Failed to find LLVM FileCheck
-- Found Git: /usr/bin/git (found version "2.17.1")
-- git Version: v0.0.0
-- Version: 0.0.0
-- Performing Test HAVE_CXX_FLAG_STD_CXX11
-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_WERROR
-- Performing Test HAVE_CXX_FLAG_WERROR - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Performing Test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Looking for Google Test sources
-- Looking for Google Test sources in /home/eric/.cget/cget/build/tmp-19ad95b023fe482d9d985eac13a9a366/benchmark-master/googletest
CMake Error at CMakeLists.txt:34 (message):
Did not find Google Test sources! Either pass correct path in
GOOGLETEST_PATH, or enable ALLOW_DOWNLOADING_GOOGLETEST, or disable
BENCHMARK_ENABLE_GTEST_TESTS / BENCHMARK_ENABLE_TESTING.
CMake Error at /usr/share/cmake-3.10/Modules/ExternalProject.cmake:1685 (get_property):
get_property could not find TARGET googletest. Perhaps it has not yet been
created.
Call Stack (most recent call first):
CMakeLists.txt:54 (ExternalProject_Get_Property)
CMake Error at /usr/share/cmake-3.10/Modules/ExternalProject.cmake:1687 (message):
External project "googletest" has no SOURCE_DIR
Call Stack (most recent call first):
CMakeLists.txt:54 (ExternalProject_Get_Property)
-- Configuring incomplete, errors occurred!
See also "/home/eric/.cget/cget/build/tmp-19ad95b023fe482d9d985eac13a9a366/build/third_party/googletest/CMakeFiles/CMakeOutput.log".
CMake Error at cmake/GoogleTest.cmake:13 (message):
CMake step for googletest failed: 1
Call Stack (most recent call first):
CMakeLists.txt:273 (include)
-- Configuring incomplete, errors occurred!
See also "/home/eric/.cget/cget/build/tmp-19ad95b023fe482d9d985eac13a9a366/build/CMakeFiles/CMakeOutput.log".
See also "/home/eric/.cget/cget/build/tmp-19ad95b023fe482d9d985eac13a9a366/build/CMakeFiles/CMakeError.log".
Command failed: ['/usr/bin/cmake', '-DCMAKE_TOOLCHAIN_FILE=/home/eric/.cget/cget/cget.cmake', '/home/eric/.cget/cget/build/tmp-19ad95b023fe482d9d985eac13a9a366/benchmark-master', '-DCGET_CMAKE_DIR=/usr/local/lib/python3.6/dist-packages/cget/cmake', '-DCGET_CMAKE_ORIGINAL_SOURCE_FILE=/home/eric/.cget/cget/build/tmp-19ad95b023fe482d9d985eac13a9a366/benchmark-master/__cget_original_cmake_file__.cmake', '-DBUILD_TESTING=Off', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_INSTALL_PREFIX=/home/eric/.cget/cget/pkg/google__benchmark/install']
Failed to build package google/benchmark
I'm using WSL (Windows Subsystem for Linux), which is a Linux-like build environment. But based on the error, I believe the install would fail on all platforms.
To make it work, I think the best solution is to add "-DBENCHMARK_ENABLE_GTEST_TESTS=OFF" to the recipe. This removes the requirement for google test, but still leaves the rest of the benchmark test suite (which is most of the test suite).
An alternative would be to add "-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON", which makes benchmark download and compile its own copy of google test.
I would be happy to submit a pull request if you like either of these solutions. Or, you might prefer to just do it yourself since it's a one-line fix...
Hi, the boost link seems no long reachable. Should I report it here?
$ cget install boost
Downloading https://github.com/boost/boost/archive/HEAD.tar.gz
[----------------------------------------------------------------------] 0%
Unexpected error: <class 'ZeroDivisionError'>
division by zero
Failed to build package boost
May I ask one more question? Should I request a different version of package here? For example I'd like to use the armadillo 8.3
while cget
has an older version 7.8
. Thank you very much!
Updated: It seems that I should run cget install pfultz2/cget-recipes
before cget install boost
. However, the previous command gives the same error but I can access it in a browser.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.