郁闷 尝试编译最常见的一些软件都不成功!!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
lirui0073
帖子: 27
注册时间: 2006-11-26 11:49

郁闷 尝试编译最常见的一些软件都不成功!!

#1

帖子 lirui0073 » 2008-08-10 19:47

比如说 amule 最新版 2.2.2了
老说缺什么 然后去新立得去搜也搜不到
头像
live.cn
帖子: 185
注册时间: 2008-06-16 14:37

GZ

#2

帖子 live.cn » 2008-08-10 19:59

你试试下载一个ubuntu-tweak GZ包的。
messiah_Christ
帖子: 39
注册时间: 2008-08-03 13:10

#3

帖子 messiah_Christ » 2008-08-10 21:32

给你出个馊注意:

你到google搜索ubuntu+编译内核,然后就有一大堆帖子告诉你用apt-get安装一大堆的工具,其中包括编译工具和显示config图形界面的工具,你把这些东西一股脑的都安上,再到kernel.org 下载一个内核(选那个F下载)编译一下试试,如果编译内核没问题了,编译比较一般的应用程序也应该差不多了。
delectate
帖子: 18311
注册时间: 2008-01-09 22:41

#4

帖子 delectate » 2008-08-10 21:34

messiah_Christ 写了:给你出个馊注意:

你到google搜索ubuntu+编译内核,然后就有一大堆帖子告诉你用apt-get安装一大堆的工具,其中包括编译工具和显示config图形界面的工具,你把这些东西一股脑的都安上,再到kernel.org 下载一个内核(选那个F下载)编译一下试试,如果编译内核没问题了,编译比较一般的应用程序也应该差不多了。
:shock: :shock:

我一般是./configure,缺少什么apt什么

如果错误信息很离奇,就google

嗯,一般可以搞定

网上还是有比较全的缺少包的列表的……
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

#5

帖子 HuntXu » 2008-08-10 21:56

代码: 全选

apt-get build-dep amule-***
教学版几篇教apt用法的都没人看吗?
HUNT Unfortunately No Talent...
lirui0073
帖子: 27
注册时间: 2006-11-26 11:49

#6

帖子 lirui0073 » 2008-08-28 17:52

HuntXu 写了:

代码: 全选

apt-get build-dep amule-***
教学版几篇教apt用法的都没人看吗?
看了的阿 用的时候就忘了些
头像
luojie-dune
帖子: 22033
注册时间: 2007-07-30 18:28
系统: Linux
来自: 空气中

#7

帖子 luojie-dune » 2008-08-28 18:15

不是吧。。。从来没用过,不过编译的东西往往是源里没有的,而且发现同样软件编译安装需要的依赖也不一样。
『这个世界都是我的 ,我爱你们』

ENTP ⥂ INTP ⥄ INFP ⇦ INTJ

在此发布的文章使用 Creative Commons Attribution-ShareAlike 4.0 协议
头像
sinyadvan
帖子: 724
注册时间: 2008-04-02 15:36
来自: O_O

#8

帖子 sinyadvan » 2008-08-28 18:26

build-dep没用过
./configure可以告诉你缺了什么 ,apt-cache search找到dev包。install就OK了
^o^ && O_O && ^_^
One World|One Dream|One Piece
愛 ^_^ 這個 美麗的世界O_O

本公司专治各种不服、不爽、谩骂、挑衅。
lirui0073
帖子: 27
注册时间: 2006-11-26 11:49

#9

帖子 lirui0073 » 2008-09-07 4:23

今天继续尝试编译了 vsftpd 2.0.7 结果问题更加奇怪了
sysdeputil.c:162: 错误: expected declaration specifiers or ‘...’ before ‘capset’
sysdeputil.c:162: 错误: expected declaration specifiers or ‘...’ before ‘header’
sysdeputil.c:162: 错误: expected declaration specifiers or ‘...’ before ‘data’
In file included from sysdeputil.c:170:
/usr/include/sys/sendfile.h: 在函数‘_syscall2’中:
/usr/include/sys/sendfile.h:35: 错误: 为形参‘sendfile’指定了存储类
sysdeputil.c:186: 错误: 为形参‘environ’指定了存储类
sysdeputil.c:187: 错误: 为形参‘s_proctitle_space’指定了存储类
sysdeputil.c:187: 错误: 形参‘s_proctitle_space’已初始化
sysdeputil.c:188: 错误: 为形参‘s_proctitle_inited’指定了存储类
sysdeputil.c:188: 错误: 形参‘s_proctitle_inited’已初始化
sysdeputil.c:189: 错误: 为形参‘s_p_proctitle’指定了存储类
sysdeputil.c:189: 错误: 形参‘s_p_proctitle’已初始化
sysdeputil.c:201: 错误: 为形参‘do_sendfile’指定了存储类
sysdeputil.c:202: 错误: 为形参‘vsf_sysutil_setproctitle_internal’指定了存储类
sysdeputil.c:203: 错误: 为形参‘s_proctitle_prefix_str’指定了存储类
sysdeputil.c:215: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:436: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:474: 错误: 为形参‘do_checkcap’指定了存储类
sysdeputil.c:478: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:497: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:514: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:527: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:604: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:641: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:796: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:803: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:809: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:856: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:889: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:930: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:935: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:976: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1012: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1128: 错误: 为形参‘s_uwtmp_inserted’指定了存储类
sysdeputil.c:1129: 错误: 为形参‘s_utent’指定了存储类
sysdeputil.c:1134: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1173: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
sysdeputil.c:1189: 错误: 原型函数定义中使用了旧式参数声明
sysdeputil.c:162: 错误: 省略参数名
sysdeputil.c:162: 错误: 省略参数名
sysdeputil.c:162: 错误: 省略参数名
sysdeputil.c:1189: 错误: expected ‘{’ at end of input



头像
想入非非
帖子: 8078
注册时间: 2008-07-14 22:42
来自: Beijing
联系:

#10

帖子 想入非非 » 2008-09-07 4:44

后代 写了:
messiah_Christ 写了:给你出个馊注意:

你到google搜索ubuntu+编译内核,然后就有一大堆帖子告诉你用apt-get安装一大堆的工具,其中包括编译工具和显示config图形界面的工具,你把这些东西一股脑的都安上,再到kernel.org 下载一个内核(选那个F下载)编译一下试试,如果编译内核没问题了,编译比较一般的应用程序也应该差不多了。
:shock: :shock:

我一般是./configure,缺少什么apt什么

如果错误信息很离奇,就google

嗯,一般可以搞定

网上还是有比较全的缺少包的列表的……
差不多的过程。。。 :wink:
Ubuntu User
andylau007
帖子: 40
注册时间: 2008-08-24 16:18

#11

帖子 andylau007 » 2008-09-08 22:37

我装的7.10,结果按网上的方法安装播放器,没一个成功的,编译时老出错,不知道怎么回事,缺很多东西
头像
想入非非
帖子: 8078
注册时间: 2008-07-14 22:42
来自: Beijing
联系:

#12

帖子 想入非非 » 2008-09-08 23:01

播放器的话我一直就是apt安装的,懒得编译
Ubuntu User
回复