当前位置: 首页 > news >正文

网站建设wangzhii北京网站定制设计开发公司

网站建设wangzhii,北京网站定制设计开发公司,网站开发视频,开封市城乡建设局网站之前为了使用一个库#xff0c;都是去下载源码#xff0c;然后根据开发者提供的README手动用GCC编译#xff0c;一直不能使用Makefile感觉很蛋痛#xff0c;比如最近使用的ZThread 还是怪自己以前过于依赖IDE 最近发现用Cygwin就可以使用诸如./configure, make这样的命令都是去下载源码然后根据开发者提供的README手动用GCC编译一直不能使用Makefile感觉很蛋痛比如最近使用的ZThread 还是怪自己以前过于依赖IDE   最近发现用Cygwin就可以使用诸如./configure, make这样的命令感觉灰常欣喜尝试去编译ZThread库因为我发现虽然之前我用GCC手动编译了ZThread但是在使用的过程中ZThread总是往控制台上打印诸多的DEBUG信息想必是编译选项的问题我又不知道到哪个头文件中去找#define DEBUG所以就想使用make看使用ZThread作者写的configuration文件以及Makefile来编译能不能解决问题   刚刚下载下来Cygwin就等着上去configuremake呢问题就来了输入./configure之后等了一段时间报错见红色文字 $ ./configure checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes Loading m4 macros from share checking for g... g checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether g accepts -g... yes checking for style of include used by make... GNU checking dependency style of g... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pthread.h usability... no checking pthread.h presence... no checking for pthread.h... no checking for sched_get_priority_max in -lrt... no checking for sched_yield... no checking for pthread_yield... no checking for pthread_key_create... no checking for pthread_keycreate... no checking for doxygen... no detecting for ftime() function checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for _ftime()... yes checking how to run the C preprocessor... g -E checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for target implementation... compile-time guess checking for sigsetjmp()... no checking for _beginthreadex()... no checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... d:/mingw/mingw32/bin/ld.exe checking if the linker (d:/mingw/mingw32/bin/ld.exe) is GNU ld... yes checking for d:/mingw/mingw32/bin/ld.exe option to reload object files... -r checking for BSD-compatible nm... /cygdrive/d/MinGW/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic ^x86 archive import|^x86 DLL checking dlfcn.h usability... no checking dlfcn.h presence... no checking for dlfcn.h... no checking how to run the C preprocessor... g -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 8192 checking command to parse /cygdrive/d/MinGW/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking for correct ltmain.sh version... grep: character class syntax is [[:space:]], not [:space:] no*** Gentoo sanity check failed! *** *** libtool.m4 and ltmain.sh have a version mismatch! *** *** (libtool.m4 1.5.10, ltmain.sh ) ***Please run:libtoolize --copy --forceif appropriate, please contact the maintainer of this package (or your distribution) for help. 输入libtoolize --copy --force提示libtoolize: command not found 咋办搜了一下相关的问题原来是因为安装Cygwin的时候没有安装libtool 重新运行Cygwin-setup注意无需卸载重新运行setup选择你没有安装的package即可搜索libtool勾选并安装问题解决   然后再次运行libtoolize --copy --force又报错 $ libtoolize --copy --force libtoolize: putting auxiliary files in .. libtoolize: copying file ./ltmain.sh libtoolize: You should add the contents of the following files to aclocal.m4: libtoolize: /usr/share/aclocal/libtool.m4 libtoolize: /usr/share/aclocal/ltoptions.m4 libtoolize: /usr/share/aclocal/ltversion.m4 libtoolize: /usr/share/aclocal/ltsugar.m4 libtoolize: /usr/share/aclocal/lt~obsolete.m4 libtoolize: Consider adding AC_CONFIG_MACRO_DIR([m4]) to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding -I m4 to ACLOCAL_AMFLAGS in Makefile.am. 又搜了一下在这篇BLOG说是因为没安装autoconf的原因再回去安装autoconf如图   再试一次libtoolize --copy --force 结果还是报同样的错误回头去看上面有图就是libtool那张原来是libtool-debuginfo和cygwin64-libtool没有安装 于是安装libtool-debuginfo和cygwin64-libtool 再试一次libtoolize --copy --force成功运行 好了继续./configure --prefix D:/ZThread/bin #--prefix指定编译时输出二进制文件的目录 然后还是报错又运行libtoolize --copy --force还是报错无语了 然后上网搜了半天在这里找到提示说使用autoreconf --force --install --symlink 然后又报错Cant exec aclocal 继续搜在这里找到提示说要安装automake然后我就去Cygwin-setup安装了automake-1.8注意不要重复安装多个版本否则会出问题   然后输入make install又提示make: command not found 还是同样的套路把make package给勾选安装就行了  转载于:https://www.cnblogs.com/qrlozte/p/4135847.html
http://www.zqtcl.cn/news/568489/

相关文章:

  • 外贸在线网站建站wordpress开放注册
  • 桂林餐饮兼职网站建设如何在百度上建网站
  • 怎样做免费网站的推广便宜点的网站空间
  • 中国建设部网站失信名单自己做公司网站难吗
  • 济南做网站需要多少钱园区网站到底怎么建设
  • 武清做网站的公司wordpress商城
  • 网站建设的实训技术总结sql 新建网站
  • 开发网站多少钱网站文件目录结构
  • 网站规划和建设的步骤做网站用的各种图标大全
  • 网站公司查询js代码网站大全
  • 湘潭网站建设价格最新新闻热点事件100字
  • 音乐网站程序源码wordpress模板中文版
  • 网站建设计划表wordpress主题 大
  • 在手机制作网站书店网站建设技术风险
  • 爱站网域名查询wordpress自定义标题关键词描述
  • 西安学校网站建设报价建盏
  • 网页 网站 区别东莞手机app开发
  • 空压机网站开发公司广州海珠区有什么好玩的景点
  • 什么网站可以做期货企业解决方案服务协议
  • 西安汽车网站制作手机软件制作网站平台
  • 微信的微网站介绍自己的家乡遵义网站建设
  • 爱站seo东莞网站建设要注意什么
  • 惠州网站建设 英语6wordpress 表格提交
  • 做网站15年多少钱一度电
  • 北京网站域名快速备案外贸网站优化价格
  • 做网站 工资高吗免费建站的站点网站
  • 个人做营利性质网站会怎么样qq邮箱官方网站
  • 网站怎么做等级保护产品展示小程序
  • 奉贤网站建设专家高端自适应网站设计
  • 网站正在建设中 动态徐州网站建设方案咨询