在Mac OS 10.8上安装Gnuplot 4.6.3。
2013-6-26 16:40:37
收藏:0
阅读:107
评论:0
我正在尝试在我的新Macbook Pro上安装gnuplot 4.6.3,运行OS 10.8.3。
我安装了Xcode 4.6.2,并且能够编译一些程序,所以我认为它没问题。在Mac上也有一个关于readlines的问题,我按照这里的步骤来解决:http://bhou.wordpress.com/2011/09/13/how-to-install-gnuplot-in-mac-os-x-lion/
但是,我仍然无法安装gnuplot。当我进入gnuplot目录并键入
./configure --with-read-line=/Path_to_readline/readline-6.2
我收到以下警告:
Could not find support for lua using pkg-config.
我去安装了LUA,我可以从终端提示符中无论在哪个目录下调用它(即它在我的路径中),所以我认为LUA在那里,但出于某种原因它没被识别。./config输出的相关行说:
checking for LUA... no
checking for LUA... no
configure: WARNING: Could not find support for lua using pkg-config.
checking for library containing luaL_openlibs... -llua
checking lua.h usability... yes
checking lua.h presence... yes
checking for lua.h... yes
由于我想不到其他要尝试的事情,所以我继续尝试:
make
我得到以下错误:
Undefined symbols for architecture i386:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [gnuplot] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
我认为这是一个单独的问题,但我也不知道如何处理。任何建议将不胜感激!
点赞
评论区的留言会收到邮件通知哦~
推荐文章
- 如何将两个不同的lua文件合成一个 东西有点长 大佬请耐心看完 我是小白研究几天了都没搞定
- 如何在roblox studio中1:1导入真实世界的地形?
- 求解,lua_resume的第二次调用继续执行协程问题。
- 【上海普陀区】内向猫网络招募【Skynet游戏框架Lua后端程序员】
- SF爱好求教:如何用lua实现游戏内调用数据库函数实现账号密码注册?
- Lua实现网站后台开发
- LUA错误显式返回,社区常见的规约是怎么样的
- lua5.3下载库失败
- 请问如何实现文本框内容和某个网页搜索框内容连接,并把网页输出来的结果反馈到另外一个文本框上
- lua lanes多线程使用
- 一个kv数据库
- openresty 有没有比较轻量的 docker 镜像
- 想问一下,有大佬用过luacurl吗
- 在Lua执行过程中使用Load函数出现问题
- 为什么 neovim 里没有显示一些特殊字符?
- Lua比较两个表的值(不考虑键的顺序)
- 有个lua简单的项目,外包,有意者加微信 liuheng600456详谈,最好在成都
- 如何在 Visual Studio 2022 中运行 Lua 代码?
- addEventListener 返回 nil Lua
- Lua中获取用户配置主目录的跨平台方法