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

在linux中使用 ./configure 时报错

  ./configure --build=编译平台 --host=运行平台 --target=目标平台

1. configure: error: cannot guess build type; you must specify one

解决办法:指定编译平台       

./configure --build=arm

2. configure: error: Either a previously installed pkg-config or "glib-2.0 >= 2.16" could not be found. Please set GLIB_CFLAGS and GLIB_LIBS to the correct values or pass --with-internal-glib to configure to use the bundled copy.

解决办法:使用自带glib,添加参数       

./configure --build=arm --with-internal-glib
http://www.lryc.cn/news/113330.html

相关文章:

  • 【LeetCode 算法】Reverse String 反转字符串
  • linux sysctl.conf 常用参数配置
  • 【stm32】初识stm32—stm32环境的搭建
  • Spring Boot3.0基础篇(二):Web 开发
  • 【WebRTC---源码篇】(三:一)音频轨
  • POM文件总体配置详细说明
  • 【项目 计网3】Socket介绍 4.9字节序 4.10字节序转换函数
  • Spring Security 和 Apache Shiro 登录安全架构选型
  • 如何恢复已删除的 PDF 文件 - Windows 11、10
  • 服务器数据恢复-raid5同步过程中又有一块磁盘报警的数据恢复案例
  • 解密Redis:应对面试中的缓存相关问题2
  • HTTP——八、确认访问用户身份的认证
  • 解决word打字卡顿问题的方法
  • python elasticsearch update by query
  • Linux搭建pikachu靶场(以centos为例)
  • git clone 登录 github
  • 迭代器模式(C++)
  • ES智能推荐
  • 【Rust】Rust学习 第五章使用结构体组织相关联的数据
  • EtherCAT转Profinet网关连接西门子PLC与凯福科技总线步进驱动器通讯
  • 秋招算法备战第39天 | 62.不同路径、63. 不同路径 II
  • Docker网络模型使用详解(2)Docker网络模式
  • Docker DCT
  • 【owt】erzio的handler和pipeline
  • Dockerfile构建mysql
  • QT-如何生成唯一ID
  • Go语言基础: Switch语句、Arrays数组、Slices切片 详细教程案例
  • 从URL取值传给后端
  • API接口用例生成器
  • 最新AI创作系统ChatGPT源码V2.5.8/支持GPT4.0+GPT联网提问/支持ai绘画Midjourney+Prompt+MJ以图生图+思维导图生成!