(Using webmail. Sorry for wrong formatting.)
I have never done it, but as non one has still replied...
I assume it is the first time you are trying to build xulrunner and hunspell.
>________________________________
> De: Dave Wagler
>Para: blfs-support
>Enviadas: Quinta-feira, 1 de Agosto de 2013 9:38
>Assunto: [blfs-support] Another problem building Xulrunner
>
>
>
>Error:
>
>
>root [ /usr/src/mozilla-release ]# make -C xulrunner-build-dir install
>.
>.
>.
>Executing /usr/src/mozilla-release/xulrunner-build-dir/dist/bin/xpcshell -g
>/usr/src/mozilla-release/xulrunner-build-dir/dist/bin/ -a
>/usr/src/mozilla-release/xulrunner-build-dir/dist/bin/ -f
>/usr/src/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e
>precompile_startupcache("resource://gre/");
The following line seems to be the error.
>/usr/src/mozilla-release/xulrunner-build-dir/dist/bin/xpcshell: error while
>loading shared libraries: libhunspell-1.3.so.0: cannot open shared object
>file: No such file or directory
and you are sure that library is installed in the system by hunspell.
>Traceback (most recent call last):
> File "/usr/src/mozilla-release/toolkit/mozapps/installer/packager.py", line
>374, in <module>
> main()
> File "/usr/src/mozilla-release/toolkit/mozapps/installer/packager.py", line
>366, in main
> args.source, gre_path, base)
> File "/usr/src/mozilla-release/toolkit/mozapps/installer/packager.py", line
>147, in precompile_cache
> errors.fatal('Error while running startup cache precompilation')
> File "/usr/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 101,
>in fatal
> self._handle(self.FATAL, msg)
> File "/usr/src/mozilla-release/python/mozbuild/mozpack/errors.py", line 96,
>in _handle
> raise ErrorMessage(msg)
>mozpack.errors.ErrorMessage: Error: Error while running startup cache
>precompilation
>make[1]: *** [stage-package] Error 1
>make[1]: Leaving directory
>`/usr/src/mozilla-release/xulrunner-build-dir/xulrunner/installer'
>make: *** [install] Error 2
First, I assume you have uncommented system hunspell ,
otherwise no error would be reported:
ac_add_options --enable-system-hunspell
>hunspell is installed and the libraries are in /usr/local/lib. What do I need
>to do?
>Thanks,
If you used instructions in the page with "About Hunspell" with
./configure
it is probably installed in /us/local, but xpcshell does not know
it is there. It could be related to your environment variables.
Or you have to set flags to search there. Others can tell you.
I don not think the problem is the name of the library, but you
can test if a symlink could solve your problem (see below)
Perhaps it will be found, if you remove hunspell from /usr/local
(assuming no other package using it has yet been built), rebuild
and install in /usr, with
./configure --prefix=/usr --disable-static
(most times, here, static libraries are avoided)
In ArchLinux, they also recommend to add a compatibility symlink,
but if you reinstall or upgrade in the future, it has to be modified
to ln -s -f, if you do not remove all installed hunspell before. If hunspell
libraries are located at /usr/local/lib, you have to push this, instead
of /us/lib/.
|# add generic hunspell.so for development and projects not using pkgconfig
flags - FS#30592
|pushd /usr/lib
|ln -s libhunspell-?.?.so libhunspell.so
|popd
(I have removed $pkgdir in front of /usr, that they use
for a DESTDR install)
[]s,
Fernando
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page