LinuxSir.cn,穿越时空的Linuxsir!

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

菜鸟求救 第三部分 安装 Gettext-0.12.1 make时出错

[复制链接]
发表于 2004-9-23 20:15:58 | 显示全部楼层 |阅读模式
make[4]: Entering directory `/sources/gettext-0.1
2.1/gettext-tools/src'
/bin/sh ../libtool --mode=link gcc  -g -O2   -o m
sginit  msginit-msginit.o msginit-localealias.o .
./intl/localename.lo libgettextsrc.la
libtool: link: cannot find the library `/mnt/lfs/
sources/gettext-0.12.1/gettext-tools/lib/libgette
xtlib.la'
make[4]: *** [msginit] Error 1
make[4]: Leaving directory `/sources/gettext-0.12
.1/gettext-tools/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/sources/gettext-0.12
.1/gettext-tools/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/sources/gettext-0.12
.1/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/sources/gettext-0.12
.1/gettext-tools'
make: *** [all-recursive] Error 1
 楼主| 发表于 2004-9-23 20:27:35 | 显示全部楼层

奇怪

我搜索了一下,/mnt/lfs/sources/gettext-0.12.1/gettext-tools/lib/libgettextlib.la 文件明明存在的
哪位高人知道一下?
发表于 2004-9-23 21:09:36 | 显示全部楼层
file /mnt/lfs/sources/gettext-0.12.1/gettext-tools/lib/libgettextlib.la

看看是什么结果?。。
有可能是文件有问题。。
发表于 2004-9-23 21:41:21 | 显示全部楼层
.la的是文本格式的,可以打开看看是不是没有内容
 楼主| 发表于 2004-9-23 21:51:41 | 显示全部楼层

文件内容

# libgettextlib.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5 (1.1220 2003/04/05 19:32:58)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libgettextlib-0.12.1.so'

# Names of this library.
library_names='libgettextlib-0.12.1.so libgettextlib-0.12.1.so libgettextlib.so'

# The name of the static archive.
old_library='libgettextlib.a'

# Libraries that this one depends upon.
dependency_libs=' -lc'

# Version information for libgettextlib.
current=0
age=0
revision=0

# Is this an already installed library?
installed=no

# Should we warn about portability when linking against -modules?
shouldnotlink=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/tools/lib'
 楼主| 发表于 2004-9-23 21:52:41 | 显示全部楼层

结果

file /mnt/lfs/sources/gettext-0.12.1/gettext-tools/lib/libgettextlib.la

ASCII English text
发表于 2004-9-23 21:54:43 | 显示全部楼层
libtool是不是编译好了?甚至gcc?因为gettext装得比较早,可能是工具链没做好
 楼主| 发表于 2004-9-23 21:56:41 | 显示全部楼层

我就按手册步骤做的,现在应该回到哪一步重做呢?

多谢了
发表于 2004-9-23 22:01:10 | 显示全部楼层
回到第三部分的一开始吧
 楼主| 发表于 2004-9-23 22:02:53 | 显示全部楼层

多谢版主

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

本版积分规则

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