Package libxul not found - Kiwix Wikpedia in Ubuntu Precise 12.04

Asked by Jhosman Lizarazo

# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for g++... g++
checking for cl... no
checking for cl... no
checking for Xcode... no
checking for jar... jar
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ranlib... (cached) ranlib
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... pkg-config
checking for perl... perl
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working strtod... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for pow... yes
checking for regcomp... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
Package libxul was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxul.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxul' found
Package libxul was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxul.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxul' found
checking for /stable... no
checking for "/nsISupports.idl"... no
configure: error: unable to find nsISupports.idl
root@ubuntu-MM061:/home/ubuntu/Escritorio/kiwix-0.9# apt-get install libxul0d libxul-common libxul-dev
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
El paquete libxul0d no está disponible, pero algún otro paquete hace referencia
a él. Esto puede significar que el paquete falta, está obsoleto o sólo se
encuentra disponible desde alguna otra fuente

E: El paquete «libxul0d» no tiene un candidato para la instalación
E: No se ha podido localizar el paquete libxul-common
E: No se ha podido localizar el paquete libxul-dev
root@ubuntu-MM061:/home/ubuntu/Escritorio/kiwix-0.9# ./configure ^C
root@ubuntu-MM061:/home/ubuntu/Escritorio/kiwix-0.9# apt-get install libxul0d
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
El paquete libxul0d no está disponible, pero algún otro paquete hace referencia
a él. Esto puede significar que el paquete falta, está obsoleto o sólo se
encuentra disponible desde alguna otra fuente

E: El paquete «libxul0d» no tiene un candidato para la instalación
root@ubuntu-MM061:/home/ubuntu/Escritorio/kiwix-0.9# apt-cache search libxul0d
root@ubuntu-MM061:/home/ubuntu/Escritorio/kiwix-0.9# apt-get install libxul
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
E: No se ha podido localizar el paquete libxul

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu xulrunner Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

according to http://packages.ubuntu.com/search?mode=filename&suite=quantal&section=all&arch=any&searchon=contents&keywords=nsISupports.idl
nsISupports.idl is contained in thunderbird-dev

You should try if the command
sudo apt-get install thunderbird-dev
supplies what you need

Revision history for this message
Jhosman Lizarazo (jhosman) said :
#2

But the package you need is: libxul and not nsISupports.idl

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

You are right. The log from the configure script shows the error only in the line about nsISupports.idl, so I searched for that file. That the configure script does not find the .idl file, however, is caused by the fact that libxul.pc was not found before.

It seems you are hitting bug 1030504 (see there)

The package firefox-dev shipped the file /usr/lib/pkgconfig/libxul.pc (and nsISupports.idl etc.) in the versions up to oneric, but no more for precise and quantal.

No idea what you can do now.

Revision history for this message
Jhosman Lizarazo (jhosman) said :
#4

Just this bug had already checked and there is indeed support files needed to install Kiwix in Debian works perfect (Kiwix installing the deb) and I think also in Ubuntu 10.04 (which is about to end its support ) but can not find anything Quantal. Anyone know what I can do?

Revision history for this message
Jhosman Lizarazo (jhosman) said :
#5
Revision history for this message
Manfred Hampl (m-hampl) said :
#6

As you can see from http://packages.ubuntu.com/search?searchon=contents&keywords=libxul.so&mode=exactfilename&suite=precise&arch=any the file libxul.so is delivered (among others) by firefox for precise. So it seems that the libxul.pc file is what's missing. Maybe extracting that file from the .deb file of the version for oneiric might work. Another idea worth trying is copying the mozilla-plugin.pc file to libxul.pc.

According to http://wiki.ubuntuusers.de/Kiwix the steps for installing kiwix on Ubuntu Precise 12.04 are as follows:

Download http://sourceforge.net/projects/kiwix/files/0.9_rc1/kiwix-0.9-rc1-linux-x86_64.tar.bz2/download or http://sourceforge.net/projects/kiwix/files/0.9_rc1/kiwix-0.9-rc1-linux-i686.tar.bz2/download (based on your archirtecture)
Unpack that file
cd <path to unpacked directory>
sudo cp -a kiwix /opt/
sudo ln -s /opt/kiwix/kiwix /usr/local/bin/kiwix

Now you can start kiwix with the command
kiwix
(or you can create a starter)

Revision history for this message
Jhosman Lizarazo (jhosman) said :
#7

had thought of that solution, but what we do require is run by some port on localhost.

See http://www.facebook.com/photo.php?fbid=10150982783714936&set=a.10150583383244936.398271.569819935&type=3&theater

A installation whith me in Debian

Can you help with this problem?

Provide an answer of your own, or ask Jhosman Lizarazo for more information if necessary.

To post a message you must log in.