MinGW编译db-db-4.8.30.NC.tar.gz遇到unexpected EOF while looking for matching‘''
来源:互联网 发布:淘宝模特奶奶 编辑:程序博客网 时间:2024/06/05 14:57
在windows中,使用QT5.2.1自带的mingw4.8.0编译db-db-4.8.30.NC.tar.gz时,突然提示下面这样的错误,百思不得其解,请求高人帮助:./libtool: eval: line 7854: unexpected EOF while looking for matching ' ' './libtool: eval : line 7855 syntax error: unexpected end of file
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868save_ifs="$IFS"; IFS='~'
for cmd in $cmds; do
IFS="$save_ifs"
eval cmd=\"$cmd\"
$opt_silent || {
func_quote_for_expand "$cmd"
eval "func_echo $func_quote_for_expand_result"
}
$opt_dry_run || eval "$cmd" || {
lt_exit=$?
# Restore the uninstalled library and exit
if test "$mode" = relink; then
( cd "$output_objdir" && \
$RM "${realname}T" && \
$MV "${realname}U" "$realname" )
fi
exit $lt_exit
}
done
修改后,继续执行make命令,即可。
我是在msys中进行编译的命令如下:
cd /c/deps/tar xvfz db-4.8.30.NC.tar.gzcd db-4.8.30.NC/build_unix../dist/configure --disable-replication --enable-mingw --enable-cxxmake
我找了半天,这两行内容,好像没有什么错误,百思不得其解,打开libtool文件后,内容如下所示:
78467847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868save_ifs="$IFS"; IFS='~'
for cmd in $cmds; do
IFS="$save_ifs"
eval cmd=\"$cmd\"
$opt_silent || {
func_quote_for_expand "$cmd"
eval "func_echo $func_quote_for_expand_result"
}
$opt_dry_run || eval "$cmd" || {
lt_exit=$?
# Restore the uninstalled library and exit
if test "$mode" = relink; then
( cd "$output_objdir" && \
$RM "${realname}T" && \
$MV "${realname}U" "$realname" )
fi
exit $lt_exit
}
done
其中第7854行内容如下所示:
$opt_dry_run || eval "$cmd" || {
将这行内容中的cmd变量上的双引号,换成单引号即可以解决这个错误提示问题:
$opt_dry_run || eval '$cmd' || {
修改后,继续执行make命令,即可。
0 0
- MinGW编译db-db-4.8.30.NC.tar.gz遇到unexpected EOF while looking for matching‘''
- unexpected EOF while looking for matching ``'
- 编译unexpected end of file while looking for
- 一个编译错误 fatal error C1010: unexpected end of file while looking for precompiled header directive
- 编译unexpected end of file while looking for precompiled header directive的问题
- 编译错误 fatal error C1010: unexpected end of file while looking for precompiled header directive
- C++编译错误提示fatal error C1010: unexpected end of file while looking for precompiled head
- C++编译错误: unexpected end of file while looking for precompiled head
- unexpected end of file while looking for precompiled header directive
- unexpected end of file while looking for precompiled header directive
- unexpected end of file while looking for precompiled header directive
- unexpected end of file while looking for precompiled header directive
- unexpected end of file while looking for precompiled header directive
- unexpected end of file while looking for precompiled header directive
- unexpected end of file while looking for precompiled header directive
- unexpected end of file while looking for precompiled header directive
- 在MFC中添加现存文件后编译出现"unexpected end of file while looking for precompiled header directive"错误
- VC中头文件编译错误:fatal error C1010:“unexpected end of file while looking for precompiled header directive"
- fcntl和flock两个系统调用的区别
- python读sqlserver库Grid显示窗体程序
- gentoo打补丁
- openwrt路由器的MTU设置问题
- 实例变量(instance var)与属性(@property)的关系
- MinGW编译db-db-4.8.30.NC.tar.gz遇到unexpected EOF while looking for matching‘''
- 如何启用WebGL
- Android 向服务器发送get请求乱码问题
- ios设计模式--MVC模式,单例模式
- MyEclipse的git离线安装即link安装
- 7 数字滤波器的结构
- 重新建立博客的一段话
- 我回来了
- File.separator & File.pathSeparator的区别