我需要一个heasoft库的子集用于我的数据缩减管道,我想将其作为conda
包发布。
我的配方在Linux下工作正常,但是当我构建heasoft包时,我在OSX中遇到了问题。
我这样做:
path
中设置meta.yaml
关键字; build.sh
中,我cd
进入正确的目录,BUILD_DIR
与任何heasoft包一样。现在,在导出所有需要的变量(CC
和其他变量)后,我会启动./configure
,并开始看到我无法处理的行为。
这些是配置的第一行:
francesco:heasoft-osx(master)*$ conda build .
Attempting to finalize metadata for heasoft
INFO:conda_build.metadata:Attempting to finalize metadata for heasoft
BUILD START: ['heasoft-6.24-h9b869f0_1.tar.bz2']
Copying /Users/francesco/ascisoft-recipes/heasoft-osx to /Users/francesco/anaconda3/conda-bld/heasoft_1525868116683/work
source tree in: /Users/francesco/anaconda3/conda-bld/heasoft_1525868116683/work
/Users/francesco/anaconda3/conda-bld/heasoft_1525868116683/work/heasoft-6.24/BUILD_DIR
configure: WARNING: /usr/bin/perl and /usr/local/Cellar/llvm/5.0.0/bin/clang may not work well together!
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
configure: WARNING: no header file found for arc4random
configure: WARNING: Cannot find idn library
configure: WARNING: Compilation of Fortran wrappers and PGSBOX disabled
configure: WARNING: CFITSIO disabled
configure: WARNING: PGPLOT disabled
configure: WARNING: Compilation of WCS utilities disabled
相反,如果使用下载的tar文件,我会进行常规的编译步骤,我会获得公平的输出
francesco:BUILD_DIR$ ./configure --with-components="heacore heatools"
checking build system type... x86_64-apple-darwin17.5.0
checking host system type... x86_64-apple-darwin17.5.0
checking target system type... x86_64-apple-darwin17.5.0
Will force readline build on Darwin if available
Found component heacore
Found heacore/BUILD_DIR/hd_config_info
Found component heatools
...
checking build system type... x86_64-apple-darwin17.5.0
checking host system type... x86_64-apple-darwin17.5.0
checking target system type... x86_64-apple-darwin17.5.0
checking for strip... strip
checking for ar... ar
checking for ranlib... ranlib
checking for gmake... no
checking for make... make
checking whether make is GNU make... yes
等等。
我会在这里停下来,但是构建过程继续进行,我还有更烦人的行为,例如
ignoring file /[...]/x86_64-apple-darwin17.5.0/lib/libape_2.9.dylib, file was built for x86_64 which is not the architecture being linked (i386)
是否与我的系统设置与conda-build
耦合有关?
如果需要,我当然可以提供我的食谱。