如何指定包含目录以配置脚本 [英] How to specify include directory for configure script

查看:75
本文介绍了如何指定包含目录以配置脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作场所中有一个linux系统,其中包含相当旧的软件包,并且没有root访问权限.我正在使用--prefix=[somewhere in homedir]从源代码编译我需要的软件包.我的问题是,我只是无法找到如何说服configure在特定目录中查找头文件的方法.来源是cpp.我尝试了与g++相关的环境变量,并查找了标志并进行了谷歌搜索,但没有成功.有人可以帮我解决这个问题吗?

I have a linux system at my workplace with pretty old packages and no root access. I'm compiling packages that I need from source with --prefix=[somewhere in homedir]. My problem is that I just can't find out how to convince configure to look for header files in a specific directory. The source is cpp. I tried with environment variables related to g++ and looking up flags and googling but I had no success. Can someone help me solve this?

推荐答案

通常的方法是--with-<feature>=<header directory>.

这篇关于如何指定包含目录以配置脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆