SliTaz SliTaz Forum

You are not logged in.

#1 2011-07-26 18:41:03

Rokil
Member
Registered: 2011-06-24
Posts: 59

Evince is fixed on Cooking

Hi there, I'm trying to install Evince, but when I try to compile it:

loic@slitazcook:~/Downloads/evince-3.1.2$ ./configure > configure.txt

configure: error: in

/home/loic/Downloads/evince-3.1.2':

configure: error: C preprocessor "/lib/cpp" fails sanity check

See config.log' for more details

I've read a lot of forums who talked about g++ where maybe not installed. (I don't think this sentence is correct, but who cares?), but g++ is installed:

$ g++ -v

Using built-in specs.

COLLECT_GCC=g++

COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-slitaz-linux/4.5.2/lto-wrapper

Target: i486-slitaz-linux

Configured with: /home/slitaz/wok/gcc/source/gcc-4.5.2/configure --libexecdir=/usr/lib --enable-nls --enable-languages=c,c++,objc,fortran --enable-shared --with-system-zlib --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit --enable-lto --enable-threads=posix --disable-bootstrap --with-pkgversion=SliTaz --with-tune=i486 --build=i486-slitaz-linux --host=i486-slitaz-linux

Thread model: posix

gcc version 4.5.2 (SliTaz)

Offline

#2 2011-07-26 18:55:33

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: Evince is fixed on Cooking

Hi,

According to http://mirror.slitaz.org/pkgs/search.sh, evince is already packed for you by Slitaz dev guys. :-)

It is available for stable and cooking. As usual, you can install it with:

[c]#su
#tazpkg get-install evince
#exit[/c]
If you really want to compile it yourself, I would first check the config.log as advised. Moreover, I would check the receipt that Slitaz team used for packing it and you will probably find out what is missing.

Cheers.

:-)

Offline

#3 2011-07-26 18:58:17

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Evince is fixed on Cooking

Doesn't Evince need Gnome to work?

Anyway, looking at http://live.gnome.org/Evince/GettingEvince - it seems you need poppler and Djvu (which I assume is DejaVu as in the ttf files). SliTaz comes with poppler and it's dev package already. Do you have slitaz-toolchain and slitaz-dev-pkgs installed?

EDIT: Dammit, I just saw it was in the repository too - lol. My bad neutral

Offline

#4 2011-07-26 20:51:30

Rokil
Member
Registered: 2011-06-24
Posts: 59

Re: Evince is fixed on Cooking

I feel so stupid now, because my trouble was not compiling Evince (wich is available in packages), but to launch it:

[c]

loic@slitazcook:~$ evince

GLib-GIO-ERROR **: Settings schema 'org.gnome.Evince.Default' is not installed

aborting...

Aborted

[/c]

So how to launch Evince? smile

Offline

#5 2011-07-26 21:10:11

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Evince is fixed on Cooking

Do you have dbus and dbus-glib installed? The package works for me, but does complains about dbus, so I assume it has something to do with that.

Also, did you use the evince package or did you use your self-compiled copy that you installed it with make install? If it's the compiled copy, then rather try the packaged version.

Offline

#6 2011-07-27 08:50:54

Rokil
Member
Registered: 2011-06-24
Posts: 59

Re: Evince is fixed on Cooking

I use the evince package, and dbus and dbus-glib are installed (dbus is version 1.4.8 and dbus-glib is 0.92).

Offline

#7 2011-07-27 13:18:00

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Evince is fixed on Cooking

It's obviously a missing dependency which I have installed.

Here's what ldd returns as evince's dependencies:

brenton@trixarian:/usr/bin$ ldd evince

    linux-gate.so.1 =>  (0xffffe000)

    /usr/lib/libv4l/v4l1compat.so (0xb7fbb000)

    libSM.so.6 => /usr/lib/libSM.so.6 (0xb7fb2000)

    libuuid.so.1 => /lib/libuuid.so.1 (0xb7fae000)

    libICE.so.6 => /usr/lib/libICE.so.6 (0xb7f93000)

    libevdocument.so.2 => /usr/lib/libevdocument.so.2 (0xb7f76000)

    libevview.so.2 => /usr/lib/libevview.so.2 (0xb7f41000)

    libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7b5a000)

    libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7b3d000)

    libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7b38000)

    libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0xb7b19000)

    libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb7ad6000)

    libpthread.so.0 => /lib/libpthread.so.0 (0xb7abc000)

    librt.so.1 => /lib/librt.so.1 (0xb7ab3000)

    libpoppler-glib.so.4 => /usr/lib/libpoppler-glib.so.4 (0xb7a85000)

    libpoppler.so.5 => /usr/lib/libpoppler.so.5 (0xb78bf000)

    liblcms.so.1 => /usr/lib/liblcms.so.1 (0xb7886000)

    libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7866000)

    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7776000)

    libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb76e2000)

    libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb76c8000)

    libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb761c000)

    libresolv.so.2 => /lib/libresolv.so.2 (0xb7604000)

    libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb75f7000)

    libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0xb75f3000)

    libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb75eb000)

    libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb75cf000)

    libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb75a4000)

    libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb755c000)

    libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb74db000)

    libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb7491000)

    libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb745d000)

    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb73dc000)

    libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb73b4000)

    libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb738c000)

    libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7382000)

    libX11.so.6 => /usr/lib/libX11.so.6 (0xb7244000)

    libXau.so.6 => /usr/lib/libXau.so.6 (0xb7241000)

    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb723b000)

    libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb71f6000)

    libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb71f2000)

    libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb710c000)

    libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb6fcd000)

    libdl.so.2 => /lib/libdl.so.2 (0xb6fc9000)

    libz.so.1 => /usr/lib/libz.so.1 (0xb6fb4000)

    libm.so.6 => /lib/libm.so.6 (0xb6f8d000)

    libc.so.6 => /lib/libc.so.6 (0xb6e26000)

    libv4l1.so.0 => /usr/lib/libv4l1.so.0 (0xb6e21000)

    /lib/ld-linux.so.2 (0xb7fbe000)

    libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6e1e000)

    libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb6e14000)

    libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb6e11000)

    libXext.so.6 => /usr/lib/libXext.so.6 (0xb6dff000)

    libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb6dfc000)

    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6df7000)

    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb6dd9000)

    libv4l2.so.0 => /usr/lib/libv4l2.so.0 (0xb6dce000)

    libv4lconvert.so.0 => /usr/lib/libv4lconvert.so.0 (0xb6d61000)

Offline

#8 2011-07-27 18:36:11

Rokil
Member
Registered: 2011-06-24
Posts: 59

Re: Evince is fixed on Cooking

Hum, I dont really understand how this could help me, but here is the output of "ldd /usr/lib/evince":

[c]

        linux-gate.so.1 =>  (0xffffe000)

        libSM.so.6 => /usr/lib/libSM.so.6 (0xb77da000)

        libuuid.so.1 => /lib/libuuid.so.1 (0xb77d6000)

        libICE.so.6 => /usr/lib/libICE.so.6 (0xb77c3000)

        libevdocument.so.3 => /usr/lib/libevdocument.so.3 (0xb779f000)

        libevview.so.3 => /usr/lib/libevview.so.3 (0xb776d000)

        libgailutil.so.18 => /usr/lib/libgailutil.so.18 (0xb7764000)

        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7757000)

        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7754000)

        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb774f000)

        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7662000)

        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7227000)

        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7182000)

        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb716b000)

        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7161000)

        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7142000)

        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7076000)

        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7052000)

        libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0xb7028000)

        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb6f9a000)

        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb6f3c000)

        libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0xb6f3a000)

        libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb6f32000)

        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6f2a000)

        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6f0d000)

        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb6ed4000)

        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6ead000)

        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6e4a000)

        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6e2c000)

        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb6d5a000)

        libresolv.so.2 => /lib/libresolv.so.2 (0xb6d45000)

        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6d14000)

        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6d10000)

        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb6d0c000)

        libpthread.so.0 => /lib/libpthread.so.0 (0xb6cf4000)

        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6c1d000)

        librt.so.1 => /lib/librt.so.1 (0xb6c15000)

        libX11.so.6 => /usr/lib/libX11.so.6 (0xb6b19000)

        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6b03000)

        libXau.so.6 => /usr/lib/libXau.so.6 (0xb6b00000)

        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6afb000)

        libdl.so.2 => /lib/libdl.so.2 (0xb6af7000)

        libz.so.1 => /usr/lib/libz.so.1 (0xb6ae6000)

        libm.so.6 => /lib/libm.so.6 (0xb6ac0000)

        libc.so.6 => /lib/libc.so.6 (0xb697b000)

        /lib/ld-linux.so.2 (0xb77e2000)

        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb6964000

[/c]

Offline

#9 2011-07-29 05:31:58

devl547
Administrator
Registered: 2011-06-01
Posts: 285

Re: Evince is fixed on Cooking

>GLib-GIO-ERROR **: Settings schema 'org.gnome.Evince.Default' is not installed

Looks like we need to fix post-install script. AFAIK, I also had this error when was trying to package evince on my own.

Offline

#10 2011-07-29 06:21:37

claudinei
Administrator
Registered: 2011-03-29
Posts: 102

Re: Evince is fixed on Cooking

Hi,

It seems some glibc related issue while compiling evince against it. According to the bug report thread on launchpad (https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/621507) the solution is to update glibc to 2.26 (SliTaz has the 2.13 version).

The toolchain is freezed, as the entire wok, so...

BTW, ePDFView is a very nice program, isn't it? big_smile

Offline

#11 2011-07-29 06:23:03

godane
Administrator
Registered: 2011-03-30
Posts: 22

Re: Evince is fixed on Cooking

I think why this is happen. There is /usr/share/glib-2.0/schemas/ folder that may have not been copied and without it evince will not work. This happened to gnome-mplayer. I will look it to this a bit later as i just update mysql to 5.5.15 in my wok-tank repo cooking branch.

I hope this helps.

Offline

#12 2011-07-29 06:26:11

godane
Administrator
Registered: 2011-03-30
Posts: 22

Re: Evince is fixed on Cooking

@Claudinei Pereira

Its glib not glibc. We have glib 2.28.7 so this bug shouldn't be the problem.

Offline

#13 2011-07-29 06:29:31

claudinei
Administrator
Registered: 2011-03-29
Posts: 102

Re: Evince is fixed on Cooking

Hi @godane,

I read again the thread and you are right, my eyes put an extra "c" on glib...

Anyway, ePDFView is a very nice program, isn't it? big_smile

Offline

#14 2011-07-29 08:00:11

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Evince is fixed on Cooking

@godane

I also had to add glib-dev to DEPENDS for glib-compile-schemas

post_install() /usr/bin/glib-compile-schemas  /usr/share/glib-2.0/schemas

Download link to fixed evince:

http://www.mediafire.com/file/md9fp9loo0tt0u2/evince-2.32.0.tazpkg

Offline

#15 2011-07-29 09:22:42

Rokil
Member
Registered: 2011-06-24
Posts: 59

Re: Evince is fixed on Cooking

Hi, thanks all, I'll take a look at home! smile

If it's fixed, it would be so great, I don't really like ePDFvieux, Claudinei, because of the "one page scrolling", I really like "continuous scrolling" smile

And who edited my first message? O_o Because HTML code don't look great...

Offline

#16 2011-07-29 10:22:50

Rokil
Member
Registered: 2011-06-24
Posts: 59

Re: Evince is fixed on Cooking

It works great, thank you so much! big_smile

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.023 seconds, 8 queries executed - Memory usage: 1.57 MiB (Peak: 1.77 MiB) ]