技术栈

mac m1 pcre.h 找不到

SeaDhdhdhdhdh2024-05-25 18:28

安装suricata报错:

configure: error: pcre.h not found ...

解决:

brew install pcre

找到这个文件的地址

brew list pcre | grep 'pcre.h$'

/opt/homebrew/Cellar/pcre/8.45/include/pcre.h

程序搜索的地址

cpp -v

/Library/Developer/CommandLineTools/usr/include # 这个地址

brew 安装地址和程序搜索地址不一样,所以需要软链过去

sudo ln -s /opt/homebrew/Cellar/pcre/8.45/include/pcre.h /Library/Developer/CommandLineTools/usr/include

上一篇:考研计组chap1计算机系统概述
下一篇:Java 18 介绍及其优势,高效利用
相关推荐
冯浩(grow up)
2 小时前
macos 安装nodepad++ (教程+安装包+报错后的解决方法)
macos
2501_92809465
21 小时前
Ps 2025 图像编辑 Photoshop(Mac中文)
图像处理·macos·photoshop·ps
Magnetic_h
1 天前
【iOS】锁的原理
笔记·学习·macos·ios·objective-c·cocoa·xcode
Cosmoshhhyyy
1 天前
mac环境下安装git并配置密钥等
git·macos
肥肥呀呀呀
2 天前
mac 安卓模拟器 blueStacks
macos
csdn_aspnet
2 天前
如何在 MacOS 上安装 SQL Server
macos·sqlserver
共享家9527
3 天前
linux-数据链路层
linux·网络·macos
CZIDC
3 天前
MacOS字体看起来比在 Windows 上更好?
macos
Cosmoshhhyyy
4 天前
linux远程部署dify和mac本地部署dify
linux·运维·macos
行星008
4 天前
mac 通过homebrew 安装和使用nvm
macos·npm·node.js
热门推荐
01UV安装并设置国内源02Qwen3-Coder 快速上手教程 | Qwen Code + Claude Code03蜘蛛磁力 搜索引擎大全,如何使用蜘蛛磁力查找磁力链接04KGG转MP3工具|非KGM文件|解密音频05【2025.08.06最新版】Android Studio下载、安装及配置记录(自动下载sdk)062025最新国内服务器可用docker源仓库地址大全(2025年8月更新)07阿里开源首个图像生成基础模型——Qwen-Image本地部署教程,超强中文渲染能力刷新SOTA!08TRAE 规则(Rules)配置指南:个人习惯、团队规范与最佳实践09NVIDIA显卡驱动、CUDA、cuDNN 和 TensorRT 版本匹配指南10DeepSeek更新!速览DeepSeek V3.1新特性