[sword-devel] Re: sword-devel Digest, Vol 21, Issue 28
Yiguang Hu
yighu at yahoo.com
Tue Dec 27 13:03:56 MST 2005
I am not sure what the problem was with Pastor Ed's
environment. I'd like to share how I got it work and
wish it helpful.
When I first tried to install the sword, I run into
lots of problems (Thanks Troy for spending much time
on it!). The problem was different versions of
supporting libraries exist on the machine and I did
lots of manual changes(i.e. add links to make library
available to particular locations where the compiler
was looking) to satisfy the compiler but still run
into problems and eventually started up and running.
Luckily, our machine crashed and got rebuild. So I did
the reinstall. During the second try, I setup env
variable
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig and
LD_LIBRARY_PATH=/usr/local/lib;export LD_LIBRARY_PATH
before compile and then it compiles and runs with
charm without any of my earlier manual changes of env.
On my machine, sword.pc is under
/usr/local/lib/pkgconfig.
These are under /usr/local/lib
icu libicudata.so.34.0
libicule.so.34 libicuuc.so
libclucene.a libicui18n.so
libicule.so.34.0 libicuuc.so.34
libclucene.la libicui18n.so.34 libiculx.so
libicuuc.so.34.0
libclucene.so libicui18n.so.34.0
libiculx.so.34 pkgconfig
libclucene.so.0 libicuio.so
libiculx.so.34.0 sword
libclucene.so.0.0.0 libicuio.so.34 libicutu.so
libicudata.so libicuio.so.34.0
libicutu.so.34
libicudata.so.34 libicule.so
libicutu.so.34.0
Yiguang
--- sword-devel-request at crosswire.org wrote:
> Send sword-devel mailing list submissions to
> sword-devel at crosswire.org
>
> To subscribe or unsubscribe via the World Wide Web,
> visit
>
>
http://www.crosswire.org/mailman/listinfo/sword-devel
> or, via email, send a message with subject or body
> 'help' to
> sword-devel-request at crosswire.org
>
> You can reach the person managing the list at
> sword-devel-owner at crosswire.org
>
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of sword-devel digest..."
>
>
> Today's Topics:
>
> 1. Most recent vpl2mod attempt (Pastor Ed B.)
> 2. Can't compile Sword from SVN on Fedora Core 3
> (Steven P. Ulrick)
> 3. Re: Can't compile Sword from SVN on Fedora
> Core 3 (Joachim Ansorg)
>
>
>
----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 26 Dec 2005 17:55:42 -0800
> From: "Pastor Ed B." <edb_fpcc at comcast.net>
> Subject: [sword-devel] Most recent vpl2mod attempt
> To: sword-devel at crosswire.org
> Message-ID: <43B09F1E.4060107 at comcast.net>
> Content-Type: text/plain; charset=ISO-8859-1;
> format=flowed
>
> Hello, Christ Jackson (and everyone else - hope
> you've all had a
> wonderful Christmas holiday)!
>
> Chris, you wrote:
>
> >From: Chris Jackson <chris at 91courtstreet.net>
> >Subject: Re: [sword-devel] vpl2mod doesn't seem to
> work
> >
> >could you do:
> >
> >touch /etc/ld.so.nohwcap
> >
> >and send another strace if that doesn't work?
> >I don't think that is the problem, but it will
> clean up the trace a bit.
> >
> >
> No problem. In fact, I've done three things to see
> if I could clean up
> the trace, and to fix the read-only problem at the
> end:
> 1) # touch /etc/ld.so.nohwcap
> 2) # touch /etc/ld.so.preload
> 3) chmod 0666 mysv.txt (to make absolutely sure that
> I wasn't having
> this segfault because of a simple permissions
> issue).
>
> Here's the most recent trace:
> execve("/usr/bin/vpl2mod", ["vpl2mod", "mysv.txt"],
> [/* 30 vars */]) = 0
> uname({sys="Linux", node="XodOSkanotix", ...}) = 0
> brk(0) = 0x804c000
> access("/etc/ld.so.nohwcap", F_OK) = 0
> access("/etc/ld.so.preload", R_OK) = 0
> open("/etc/ld.so.preload", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) =
> 0
> close(3) = 0
> open("/etc/ld.so.cache", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=54170,
> ...}) = 0
> old_mmap(NULL, 54170, PROT_READ, MAP_PRIVATE, 3, 0)
> = 0xb7fc7000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = 0
> open("/usr/lib/libsword.so.5", O_RDONLY) = 3
> read(3,
>
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\261"...,
>
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=904220,
> ...}) = 0
> old_mmap(NULL, 950220, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE,
> 3, 0) = 0xb7edf000
> old_mmap(0xb7fb5000, 32768, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd5000) =
> 0xb7fb5000
> old_mmap(0xb7fbd000, 40908, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) =
> 0xb7fbd000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = 0
> open("/usr/lib/libcurl.so.3", O_RDONLY) = 3
> read(3,
>
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200G\0"...,
>
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=196632,
> ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0) = 0xb7ede000
> old_mmap(NULL, 199964, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE,
> 3, 0) = 0xb7ead000
> old_mmap(0xb7edd000, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2f000) =
> 0xb7edd000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = 0
> open("/usr/lib/libgssapi_krb5.so.2", O_RDONLY) = 3
> read(3,
>
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p@\0\000"...,
>
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=86912,
> ...}) = 0
> old_mmap(NULL, 89840, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3,
> 0) = 0xb7e97000
> old_mmap(0xb7eac000, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) =
> 0xb7eac000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = 0
> open("/usr/lib/libkrb5.so.3", O_RDONLY) = 3
> read(3,
>
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\364\0"...,
>
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=430516,
> ...}) = 0
> old_mmap(NULL, 429404, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE,
> 3, 0) = 0xb7e2e000
> old_mmap(0xb7e95000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x67000) =
> 0xb7e95000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = 0
> open("/usr/lib/libk5crypto.so.3", O_RDONLY) = 3
> read(3,
>
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`5\0\000"...,
>
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=142972,
> ...}) = 0
> old_mmap(NULL, 142560, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE,
> 3, 0) = 0xb7e0b000
> old_mmap(0xb7e2d000, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) =
> 0xb7e2d000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = 0
> open("/lib/libcom_err.so.2", O_RDONLY) = 3
> read(3,
>
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\t\0\000"...,
>
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=5824,
> ...}) = 0
> old_mmap(NULL, 8880, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3,
> 0) = 0xb7e08000
> old_mmap(0xb7e0a000, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) =
> 0xb7e0a000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = 0
> open("/lib/libresolv.so.2", O_RDONLY) = 3
> read(3,
>
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p$\0\000"...,
>
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=59172,
> ...}) = 0
> old_mmap(NULL, 71784, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3,
> 0) = 0xb7df6000
> old_mmap(0xb7e04000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) =
> 0xb7e04000
> old_mmap(0xb7e06000, 6248, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) =
> 0xb7e06000
> close(3) = 0
> access("/etc/ld.so.nohwcap", F_OK) = 0
>
=== message truncated ===
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
More information about the sword-devel
mailing list