LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1512|回复: 8

where is gmake on archlinux?

[复制链接]
发表于 2007-4-27 17:38:49 | 显示全部楼层 |阅读模式
我在编译安装一个叫zhcon的软件时, 要求一定要用gmake, 但是pacman -Ss gmake没有任何信息, 不知道怎么解决?
发表于 2007-4-27 17:59:43 | 显示全部楼层
gmake 就是 make 包里面的。

$ file /usr/bin/gmake
/usr/bin/gmake: symbolic link to `make'
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-28 08:45:25 | 显示全部楼层
如果这样的话,gmake命令和make命令有什么区别呢?
回复 支持 反对

使用道具 举报

发表于 2007-4-28 09:56:04 | 显示全部楼层
只是一个链接嘛。。。没有任何的不同
回复 支持 反对

使用道具 举报

发表于 2007-4-28 09:59:05 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-28 10:24:02 | 显示全部楼层
但是/usr/bin下没有gmake这个文件阿?
如果照dave3068兄来说, gmake岂不就是make?那我执行
./configure
make
make install
中make命令会报错? 然后INSTALL文件要求我一定要用gmake?
回复 支持 反对

使用道具 举报

发表于 2007-4-28 10:54:15 | 显示全部楼层
你看INSTALL文件了吗?
########################
#### For Linux User ####
########################

First, make sure you have your kernel compiled with framebuffer support
this version can only work with 8bpp, 15bpp, 16bpp,  24bpp,  and 32bpp mode
other color depth need libggi supported.
see /usr/src/linux/Documentation/fb/vesafb.txt for more detials on
using framebuffer device.

1) $ ./configure
2) $ make
3) make sure you are root now then type
   $ make install
   to install zhcon

You can use ./configure --prefix=/usr to install zhcon into /usr/bin
If you want to debug, use ./configure --enable-debug=yes to turn on debug
info.

after install you can type zhcon to use.

enjoy!

###########################
####  For FreeBSD User ####
###########################

First,  make sure you have installed gmake,  or GNU Make.
The FreeBSD's make/pmake may work,  but I don't promise that.
Then:

1) $ ./configue
2) $ gmake
3) su to root
4) # gmake install
]
then type zhcon to enjoy

NOTICE AGAIN: Use gmake,  not make!!

You can adjust screen resolution and/or color depth(only for FreeBSD).
Read /etc/zhcon.conf for more details.

不过我也编译失败了。
ear24.o `test -f fblinear24.cpp || echo './'`fblinear24.cpp
fblinear24.cpp: In member function ‘virtual void FBLinear24::RevRect(int, int, int, int)’:
fblinear24.cpp:127: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:128: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:129: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:132: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:134: 警告:‘dest16’ 上的运算结果可能是未定义的
fblinear24.cpp:139: 警告:‘dest16’ 上的运算结果可能是未定义的
fblinear24.cpp: In member function ‘virtual void FBLinear24:rawChar(int, int, int, int, CharBitMap*)’:
fblinear24.cpp:206: 错误:赋值运算中的左值无效
fblinear24.cpp:210: 错误:赋值运算中的左值无效
make[3]: *** [fblinear24.o] 错误 1
make[3]: Leaving directory `/home/ace/AUR/zhcon/zhcon-0.2.3/src/display'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/ace/AUR/zhcon/zhcon-0.2.3/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/ace/AUR/zhcon/zhcon-0.2.3'
make: *** [all] 错误 2
回复 支持 反对

使用道具 举报

发表于 2007-4-28 11:03:11 | 显示全部楼层
然后我下aur上的来打包,发现缺少了一个pth的依赖,装上之后makepkg成功。
如果你依然青睐于用源码手工编译安装你可以参考一下aur上那个包,里面好像有patch

gmake就是gnu make的缩写,也就是make
linux下只需要简单地ln -s /usr/bin/make /usr/bin/gmake就行
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-28 12:05:00 | 显示全部楼层
谢谢aceat兄, 我下aur打包看看/cy
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表