Error Cannot Compute Sizeof Off_t Vim
Status Archived Data Access Data Management Resource Center Software Display & Analysis AWIPS II GEMPAK IDV McIDAS Data Access & Management LDM LDM-McIDAS Decoders NetCDF NetCDF Java Rosetta THREDDS Data Server UDUNITS Deprecated Software GARP NetCDF Decoders NetCDF Perl Downloads Display & Analysis AWIPS II GEMPAK IDV McIDAS Data Access & Management LDM LDM-McIDAS Decoders NetCDF & NetCDF Java THREDDS Data Server UDUNITS Deprecated Software GARP NetCDF Decoders NetCDF Perl Terms & Conditions Provision of Software Support Support Resources Documentation Training Tutorials Mailing Lists Support Archives Submit a Request Suggested Support Process Email-Based Web-Based Terms & Conditions Obtaining Support Register as a User Community Outreach & Opportunities News from Unidata Unidata Events News from the Community Job Opportunities DeSouza Award Equipment Awards Summer Internships We Are Community Driven Participating Institutions Collaborations Education Resources Software & Data in Use How to Participate Acknowledging Unidata Governance Unidata's Governance Model Strategic Advisory Committee Users Committee Publications & Resources Bibliography Glossary of Terms Projects Current Projects ACADIS Case Studies Common Data Model CONDUIT GALEON GEON IDV Google Africa Initiative GRIDSPEC HYDRO-NEXRAD Internet Data Distribution LibCF McIDAS-V Data Intercomparisons Next-Generation LDM OPULS OWCS Python RAMADDA in the Unidata Community Teaching Resources Project Archive News News from Unidata News from Unidata Unidata Events Unidata Developer's Blog News from the Community News From the Community Community Jobs News Archives Events Summer/Fall 2016 Software Training Workshop Unidata Events Calendar of Events Seminar Series Conferences & Meetings Unidata Workshops Training Workshops Triennial Workshops Regional Workshops Data Workshops About Us The Unidata Program Overview of Unidata Highlights & Reports
[x] Bug10376 - configure: error: cannot compute sizeof (off_t), 77 Summary: configure: error: cannot compute sizeof (off_t), 77 Status: NEW Alias: None Product: binutils Classification: Unclassified Component: binutils (show other bugs) Version: 2.19 Importance: P2 normal Target Milestone: --- Assignee: unassigned URL: Keywords: Depends on: Blocks: Reported: 2009-07-07 20:50 UTC by booleandomain Modified: 2009-07-09 19:55 UTC (History) CC List: 2 users (show) bug-binutils hjl.tools See Also: Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Build: x86_64-pc-linux-gnu Last reconfirmed: Attachments bfd/config.log (11.75 KB, text/plain) 2009-07-07 20:51 UTC, booleandomain Details View All http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg11939.html Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description booleandomain 2009-07-07 20:50:15 UTC I'm trying to compile binutils-2.19.1 with gcc-4.4.0. It fails with the following error message: checking size of off_t... configure: error: in `/home/booleandomain/tmp/lfs/sources/binutils-build/bfd': configure: error: cannot compute sizeof (off_t), 77 See `config.log' for more details. make[1]: https://sourceware.org/bugzilla/show_bug.cgi?id=10376 *** [configure-bfd] Error 1 make[1]: Leaving directory `/home/booleandomain/tmp/lfs/sources/binutils-build' make: *** [all] Error 2 I configured binutils as follows: --prefix=/tools --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu Looking at bfd/config.log it seems the problem is due to the fact binutils is looking in /tools for libz.so.1 (it doesn't exist there). If I install zlib in /tools and then try again building binutils, everything works. I think this is a bug because binutils should look at /lib64/libz.so.1 instead. Comment 1 booleandomain 2009-07-07 20:51:54 UTC Created attachment 4043 [details] bfd/config.log Comment 2 booleandomain 2009-07-08 15:19:22 UTC It seems the problem is related to the fact I have in CFLAGS the following option: -Wl,--dynamic-linker,/tools/lib64/ld-linux-x86-64.so.2 Comment 3 booleandomain 2009-07-08 17:22:50 UTC I just tried binutils cvs, but the problem persists. Comment 4 H.J. Lu 2009-07-08 17:52:15 UTC (In reply to comment #2) > It seems the problem is related to the fact I have in CFLAGS the following > option: -Wl,--dynamic-linker,/tools/lib64/ld-linux-x86-64.so.2 If you remove it, will build work? Comment 5 booleandomain 2009-07-08 19:32:54 UTC Yes, but I need that option because I'm building a GNU/Linux toolchain inside of /tools, and packages have to link to the dynamic linker i
vim7.3编译报错error: cannot compute sizeof (off_t)解决方法 标签: LinuxVim编译 2012-12-29 16:10 2350人阅读 http://blog.csdn.net/slvher/article/details/8450738 评论(2) 收藏 举报 本文章已收录于: 分类: Linux(31) 作者同类文章X 版权声明:本文为博主原创文章,未经博主允许不得转载。 http://www.voidcn.com/blog/slvher/article/p-1273223.html 在 Redhatx86_64 GNU/Linux环境下以源码方式编译安装vim 7.3 (vim官网),运行./configure --prefix=/home/work/tools/vim-7.3一段时间后报错: configure: error cannot error: cannot compute sizeof (off_t) See `config.log' for more details. (exit status =77) google发现,原因为编译时缺少iconv的相关lib,而本地which error cannot compute iconv可以看到机器上是装有iconv的(which iconv输出结果为:/usr/local/bin/iconv) 这篇文章中的解决方法为修改/etc/ld.so.conf,确实可以解决问题,但对于非root用户来说,/etc/ld.so.conf是read-only的,比较无语。 后来想想,修改ld.so.conf的根本原因只是为了让编译器在make过程中去对应的路径下寻找依赖,于是,一个针对非root用户的办法就有啦,没错,就是通过LD_LIBRARY_PATH来曲线救国,^_^。 在vim73目录下先执行如下命令: export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH // 为编译器设定额外的搜索路径 然后执行./configure --xxx // 这里的xxx为具体的参数,自己决定具体值 最后 make && make install 就可以编译成功了 =============== EOF ============ 顶 0 踩 0 上一篇【案例分享】关于工程中同时链接了某库源码和该库so情况下,模块运行崩溃的问题跟进 下一篇OpenSSL中RC4加解密过程调研 我的同类文章 Linux(31) http://blog.csdn.net 参考知识库 更多资料请参考: 猜你在找 查看评论 * 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场 个人资料 slvher 访问:176123次
22 原文链接 在 Redhatx86_64 GNU/Linux环境下以源码方式编译安装vim 7.3 (vim官网),运行./configure --prefix=/home/work/tools/vim-7.3一段时间后报错: configure: error: cannot compute sizeof (off_t) See `config.log' for more details. (exit status =77) google发现,原因为编译时缺少iconv的相关lib,而本地which iconv可以看到机器上是装有iconv的(which iconv输出结果为:/usr/local/bin/iconv) 这篇文章中的解决方法为修改/etc/ld.so.conf,确实可以解决问题,但对于非root用户来说,/etc/ld.so.conf是read-only的,比较无语。 后来想想,修改ld.so.conf的根本原因只是为了让编译器在make过程中去对应的路径下寻找依赖,于是,一个针对非root用户的办法就有啦,没错,就是通过LD_LIBRARY_PATH来曲线救国,^_^。 在vim73目录下先执行如下命令: export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH // 为编译器设定额外的搜索路径 然后执行./configure --xxx // 这里的xxx为具体的参数,自己决定具体值 最后 make && make install 就可以编译成功了 =============== EOF ============ 本文转载自 slvher的专栏 , 原文链接:vim7.3编译报错error: cannot compute sizeof (off_t)解决方法 , 转载请保留本声明! 标签: Linux Vim 编译 分类: Linux 【案例分享】关于工程中同时链接了某库源码和该库so情况下,模块运行崩溃的问题跟进 OpenSSL中RC4加解密过程调研 0 分享到微博 分享到微信 分享到QQ 每日一句 每一个你不满意的现在,都有一个你没有努力的曾经。 热门文章 推荐文章 一图读懂:久坐和久站的危害 imhdr 2015-02-07 2015中国程序员生存报告,请勿对号入座 ywp 2015-06-20 设计模式简单总结 ifeve 2015-06-24 阿里内贸团队敏捷实践-敏捷回顾 ifeve 2015-06-24 你会翻转二叉树吗?--谈程序员的招聘 devtang 2015-06-16 10个值得推荐的服务器监控工具 ywp 2015-07-11 SSL/TLS 原理详解 ywp 2015-07-21 小悠教程 : HTML HTML5 CSS CSS3 Bootstrap Foundation JavaScript HTML DOM jQuery AngularJS React jQuery UI jQuery EasyUI Node.js AJAX JSON Highcharts Google 地图 PHP Python Python3 Django Linux Docker Ruby Java C C++ Perl Servlet JSP Lua Scala Go 设计模式 正则表达式 ASP AppML VBScript SQL Mysql SQLite MongoDB Redis Memcached Android Swift jQuery Mobile ionic XML DTD XML DOM XSLT XPath XQuery XLink XPointer XML Schema XSL-FO SVG ASP.NET C# Web Pages Razor MVC Web Forms Web Services WSDL SOAP RSS RDF Eclipse