找不到编译好的软件,请帮忙!

编译打包和其他
回复
ucn123
帖子: 16
注册时间: 2008-10-27 12:51

找不到编译好的软件,请帮忙!

#1

帖子 ucn123 » 2010-09-13 16:25

请大家帮忙,我按以下的步骤编译后成功后,在 /usr/bin; /usr/local/bin等 里都找不到程序,请大家帮忙看看。

./configure
sudo make
sudo make install
头像
remeber
论坛版主
帖子: 13030
注册时间: 2009-01-06 15:18
来自: 人间

Re: 找不到编译好的软件,请帮忙!

#2

帖子 remeber » 2010-09-13 16:37

程序菜单里。。
“有一种被人抛诸脑后的过去,包含一些不该遗忘的点点滴滴。欢笑之余,我将故旧拾起,才刹见自己的薄情。人世间似乎存在着某种公平,每个人都曾被抛掷在他人的遗忘中;而今你所有哽咽难宣的话语,也正是你曾为人所期盼,却永远听不见的字句。” —赫曼 赫塞
ucn123
帖子: 16
注册时间: 2008-10-27 12:51

Re: 找不到编译好的软件,请帮忙!

#3

帖子 ucn123 » 2010-09-13 16:52

我都找过,但都没有
我用 dpkg -L xxx搜索,但告诉我结果是软件没有安装,但make install后我明明看见 xxx软件已安装。
这是怎么回事啊?
谢谢帮忙!
头像
remeber
论坛版主
帖子: 13030
注册时间: 2009-01-06 15:18
来自: 人间

Re: 找不到编译好的软件,请帮忙!

#4

帖子 remeber » 2010-09-13 17:00

dpkg说没装 就是没装上了。。
瞧瞧readme文件里头有啥说的不
“有一种被人抛诸脑后的过去,包含一些不该遗忘的点点滴滴。欢笑之余,我将故旧拾起,才刹见自己的薄情。人世间似乎存在着某种公平,每个人都曾被抛掷在他人的遗忘中;而今你所有哽咽难宣的话语,也正是你曾为人所期盼,却永远听不见的字句。” —赫曼 赫塞
头像
remeber
论坛版主
帖子: 13030
注册时间: 2009-01-06 15:18
来自: 人间

Re: 找不到编译好的软件,请帮忙!

#5

帖子 remeber » 2010-09-13 18:01

dpkg是管理deb包的。。?!
编译安装的谁管?
“有一种被人抛诸脑后的过去,包含一些不该遗忘的点点滴滴。欢笑之余,我将故旧拾起,才刹见自己的薄情。人世间似乎存在着某种公平,每个人都曾被抛掷在他人的遗忘中;而今你所有哽咽难宣的话语,也正是你曾为人所期盼,却永远听不见的字句。” —赫曼 赫塞
ucn123
帖子: 16
注册时间: 2008-10-27 12:51

Re: 找不到编译好的软件,请帮忙!

#6

帖子 ucn123 » 2010-09-13 19:48

安装的软件叫 sword API,是一个圣经学习软件。

我就是按照readme里所说的步骤去做的,没有什么特别的。

用make install 安装后,告诉我sword is installed.
头像
remeber
论坛版主
帖子: 13030
注册时间: 2009-01-06 15:18
来自: 人间

Re: 找不到编译好的软件,请帮忙!

#7

帖子 remeber » 2010-09-13 19:51

/home/yourname/下找找这个文档
找到长得像可执行的那个文件

文档默认是隐藏的。。ctrl h 可以解除
“有一种被人抛诸脑后的过去,包含一些不该遗忘的点点滴滴。欢笑之余,我将故旧拾起,才刹见自己的薄情。人世间似乎存在着某种公平,每个人都曾被抛掷在他人的遗忘中;而今你所有哽咽难宣的话语,也正是你曾为人所期盼,却永远听不见的字句。” —赫曼 赫塞
delectate
帖子: 18311
注册时间: 2008-01-09 22:41

Re: 找不到编译好的软件,请帮忙!

#8

帖子 delectate » 2010-09-13 20:01

编译安装没人管。

想安装就sudo make install
卸载: sudo make uninstall
delectate
帖子: 18311
注册时间: 2008-01-09 22:41

Re: 找不到编译好的软件,请帮忙!

#9

帖子 delectate » 2010-09-13 20:05

编译好的binary都在源码文件夹,直接运行就可以。make install只不过是cp或者ln 到/usrbin而已
ucn123
帖子: 16
注册时间: 2008-10-27 12:51

Re: 找不到编译好的软件,请帮忙!

#10

帖子 ucn123 » 2010-09-13 21:35

还是找不到,不知道如何使用这个软件。
下面是我编译的结果,请帮忙分析一下:

/bin/bash ../libtool --mode=install /usr/bin/install -c mod2imp mod2osis osis2mod tei2mod vs2osisref vs2osisreftxt mod2vpl mkfastmod vpl2mod imp2vs installmgr xml2gbs imp2gbs addld imp2ld '/usr/local/bin'
/usr/bin/install -c .libs/mod2imp /usr/local/bin/mod2imp
/usr/bin/install -c .libs/mod2osis /usr/local/bin/mod2osis
/usr/bin/install -c .libs/osis2mod /usr/local/bin/osis2mod
/usr/bin/install -c .libs/tei2mod /usr/local/bin/tei2mod
/usr/bin/install -c .libs/vs2osisref /usr/local/bin/vs2osisref
/usr/bin/install -c .libs/vs2osisreftxt /usr/local/bin/vs2osisreftxt
/usr/bin/install -c .libs/mod2vpl /usr/local/bin/mod2vpl
/usr/bin/install -c .libs/mkfastmod /usr/local/bin/mkfastmod
/usr/bin/install -c .libs/vpl2mod /usr/local/bin/vpl2mod
/usr/bin/install -c .libs/imp2vs /usr/local/bin/imp2vs
/usr/bin/install -c .libs/installmgr /usr/local/bin/installmgr
/usr/bin/install -c .libs/xml2gbs /usr/local/bin/xml2gbs
/usr/bin/install -c .libs/imp2gbs /usr/local/bin/imp2gbs
/usr/bin/install -c .libs/addld /usr/local/bin/addld
/usr/bin/install -c .libs/imp2ld /usr/local/bin/imp2ld
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/joseph/Self-programmer/sword-1.6.1/utilities'
make[2]: Leaving directory `/home/joseph/Self-programmer/sword-1.6.1/utilities'
make[1]: Leaving directory `/home/joseph/Self-programmer/sword-1.6.1/utilities'

sword is installed.

if this is your first time, you may need a basic global
configuration file. one can be generated to /usr/local/etc/sword.conf
by typing: "make install_config"

modules (Bibles, etc.), may then be unzipped to /usr/local/share/sword/

type "make register" to help us keep track of how many
people are using sword.
(you may consider exiting from 'root', first, to make this
a little more personal)
delectate
帖子: 18311
注册时间: 2008-01-09 22:41

Re: 找不到编译好的软件,请帮忙!

#11

帖子 delectate » 2010-09-13 21:40

#make install_config

#make register
ucn123
帖子: 16
注册时间: 2008-10-27 12:51

Re: 找不到编译好的软件,请帮忙!

#12

帖子 ucn123 » 2010-09-13 22:42

这是readme,请大家帮忙看看,谢谢。

Be sure to read INSTALL for information on how to get the software
built, configured, and running properly.
___________________________________________________________________
Get the latest source and info at:
http://www.crosswire.org

UNIX DEVELOPERS
You can try a './configure' (or optionally './usrinst.sh'
for a useful development options configuration), then 'make' from
this directory. This should compile everthing needed. You may type
'./configure --help' to see a list of options.
If all compiles fine, a 'make install' (as root, probably) will
install libs to your system and you may begin using the library.
There are a few basic tests (tests/), start of a test suite
(tests/testsuite/), utilities (utilities/), and examples
(examples/), in the tree.

To install modules, have a look at utilities/installmgr

For some basic lookup and search utilities, see
examples/cmdline/search
examples/cmdline/lookup
utilities/diatheke/

If you are an end user looking for a nice SWORD, graphical Bible study
software suite, then you'll probably want to download one of the
many nice frontends found at http://crosswire.org

./buildtest.cpp compiles to the executable 'buildtest' as a test to
see if the libs have compiled and can be linked against successfully.
This is NOT the final target of the build, nor does anything useful.
:)


LANGUAGE BINDINGS
Other language bindings can be found in the ./bindings directory:
flatapi.cpp is a useful extern "C" interface for making bindings easier.
Kylix bindings (and maybe Delphi bindings) may be found in sword/bindings/clx
CORBA (orbit-c++) bindings with Java example classes in /bindings/corba
Perl stuff in bindings/perl
SWIG stuff (Python, .NET, many others) in bindings/swig


C++BUILDER DEVELOPERS
You may find project files under lib/bcppmake

VC DEVELOPERS
You may find project files under lib/vcppmake

DELPHI DEVELOPERS
You will need to place sword32.dll in your winsys
directory or elsewhere in your path. You can find source to
build the dll using ./bindings/flatapi.cpp
or a binary at: ftp://crosswire.org/pub/sword/utils/win32/bcdlls.zip
header file is include/SwordAPI.pas
CLX components can be found under bindings/clx/

.NET DEVELOPERS
Have a look in bindings/swig/vstudio/
Binaries may be found at: ftp://crosswire.org/pub/sword/utils/win32/vcdlls.zip

Enjoy!

Please email any questions or comments to: [email protected]
ucn123
帖子: 16
注册时间: 2008-10-27 12:51

Re: 找不到编译好的软件,请帮忙!

#13

帖子 ucn123 » 2010-09-14 9:57

我将这个软件放上来,请有心人帮忙装一下,然后看如何使用这个软件,谢谢啦
附件
sword-1.6.1.tar.gz
(1.81 MiB) 已下载 58 次
gdbdzgd
帖子: 7
注册时间: 2008-10-01 23:27

Re: 找不到编译好的软件,请帮忙!

#14

帖子 gdbdzgd » 2010-10-14 16:46

refer to you install log you can find them in “/usr/local/bin/”
头像
midwolf
帖子: 6
注册时间: 2008-01-05 12:09

Re: 找不到编译好的软件,请帮忙!

#15

帖子 midwolf » 2010-11-01 23:55

ucn123 写了:我将这个软件放上来,请有心人帮忙装一下,然后看如何使用这个软件,谢谢啦
哈,对不起,有点儿挖坟了貌似。
我最近在Gentoo里也装了sword这个软件(圣经阅读),装完后同样找不到怎么运行,没找到合适的命令。
我看了你装的那些包,只比我的少了一个叫diatheke,这是一个命令行的前端。而你没有装前端,装的只是些用来供其他软件调用的库和用来转换格式的小工具。
所以你需要再装一个前端,可以是基于命令行的(如diatheke),或者基于Gtk+和Qt的。

只装了前端还不行,还需要装一些模块,这些才是真正的圣经数据。
英文圣经可以装sword-kjv模块 (英王钦定版);
中文圣经可以装sword-chiun(旧译)或者sword-chincvs(新译)模块。

建议你(或者其它后来的同学)装一个图形前端。
我用的sword自带的diatheke前端,摸索半天才学会怎么用。
首先,查看help: $diatheke --help
查看装了那些模块:$diatheke -b system -k modulelist
用的时候主要是-b和-k这两个选项。-b 指定模块(圣经版本),如KJV,ChiUns,ChiNCVs (注意大小写),-k 指定章节(或keyword?),如 “Genesis 10“ 查看创世记第10章,注意用英文。
Peace down
回复