LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-06-2014, 06:38 AM   #1
Youmu
Member
 
Registered: Oct 2014
Distribution: Slackware 14.1 64x
Posts: 53

Rep: Reputation: Disabled
Compiling evince on Slackware64 14.1


Hi all!
I was trying to build evince on my slackware 14.1 multilib system. It gave me a bunch of errors:
Code:
ev-gdbus-generated.c: In function 'ev_evince_window_skeleton_get_type':
ev-gdbus-generated.c:2366:41: error: expected expression before 'EvEvinceWindowSkeleton'
                          G_ADD_PRIVATE (EvEvinceWindowSkeleton)
                                         ^
/usr/include/glib-2.0/gobject/gtype.h:1334:105: note: in definition of macro 'G_DEFINE_TYPE_WITH_CODE'
 #define G_DEFINE_TYPE_WITH_CODE(TN, t_n, T_P, _C_)     _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, 0) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
                                                                                                         ^
/usr/include/glib-2.0/gobject/gtype.h:1481:61: error: expected ';' before '{' token
 #define G_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init)       { \
                                                             ^
/usr/include/glib-2.0/gobject/gtype.h:1334:105: note: in definition of macro 'G_DEFINE_TYPE_WITH_CODE'
 #define G_DEFINE_TYPE_WITH_CODE(TN, t_n, T_P, _C_)     _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, 0) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
                                                                                                         ^
ev-gdbus-generated.c:2367:26: note: in expansion of macro 'G_IMPLEMENT_INTERFACE'
                          G_IMPLEMENT_INTERFACE (EV_TYPE_EVINCE_WINDOW, ev_evince_window_skeleton_iface_init));
                          ^
ev-gdbus-generated.c: In function 'ev_evince_window_skeleton_init':
ev-gdbus-generated.c:2390:3: error: implicit declaration of function 'ev_evince_window_skeleton_get_instance_private' [-Werror=implicit-function-declaration]
   skeleton->priv = ev_evince_window_skeleton_get_instance_private (skeleton);
   ^
ev-gdbus-generated.c:2390:3: warning: nested extern declaration of 'ev_evince_window_skeleton_get_instance_private' [-Wnested-externs]
ev-gdbus-generated.c:2390:18: warning: assignment makes pointer from integer without a cast [enabled by default]
   skeleton->priv = ev_evince_window_skeleton_get_instance_private (skeleton);
                  ^
ev-gdbus-generated.c: At top level:
ev-gdbus-generated.c:760:1: warning: 'ev_evince_application_proxy_iface_init' defined but not used [-Wunused-function]
 ev_evince_application_proxy_iface_init (EvEvinceApplicationIface *iface)
 ^
ev-gdbus-generated.c:1213:1: warning: 'ev_evince_application_skeleton_iface_init' defined but not used [-Wunused-function]
 ev_evince_application_skeleton_iface_init (EvEvinceApplicationIface *iface)
 ^
ev-gdbus-generated.c:1893:1: warning: 'ev_evince_window_proxy_iface_init' defined but not used [-Wunused-function]
 ev_evince_window_proxy_iface_init (EvEvinceWindowIface *iface)
 ^
ev-gdbus-generated.c:2420:1: warning: 'ev_evince_window_skeleton_iface_init' defined but not used [-Wunused-function]
 ev_evince_window_skeleton_iface_init (EvEvinceWindowIface *iface)
 ^
cc1: some warnings being treated as errors
make[3]: *** [evince-ev-gdbus-generated.o] Error 1
make[3]: Leaving directory `/tmp/SBo/evince-3.12.2/shell'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/SBo/evince-3.12.2/shell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/evince-3.12.2'
I have no idea what to do.
Thanks!
 
Old 10-06-2014, 07:34 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Hi Youmu, welcome to LQ and this Slackware forum!

I can't say much, I just compiled and ran evince with the build material provided @ slackbuilds.org with no issue.

That's on a Slackware 14.1 (32-x86), I will try later today on a Slackware64 14.1 (64-bit x86_64) unless someone be faster. That won't be on a multilib system though as I use it only for testing and compiling stuff and need to keep it vanilla.
 
Old 10-06-2014, 08:18 AM   #3
Youmu
Member
 
Registered: Oct 2014
Distribution: Slackware 14.1 64x
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Hi Youmu, welcome to LQ and this Slackware forum!

I can't say much, I just compiled and ran evince with the build material provided @ slackbuilds.org with no issue.

That's on a Slackware 14.1 (32-x86), I will try later today on a Slackware64 14.1 (64-bit x86_64) unless someone be faster. That won't be on a multilib system though as I use it only for testing and compiling stuff and need to keep it vanilla.
Thanks for reply!
I still can't build it but it seems to be not so important now.
I found that I've got Okular PDF viewer, so evince is not necessary.
Anyway thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK+ 3.7.5 library problem when compiling evince from source P5music Programming 3 01-24-2013 04:36 AM
Compiling mjpegtools on Slackware64 14 pchristy Slackware 5 10-24-2012 02:13 AM
[SOLVED] Compiling TQt3 on Slackware64 13.37 Stragonian Slackware 12 06-12-2012 12:25 PM
[SOLVED] compiling 32 bit on Slackware64 business_kid Slackware 9 05-21-2010 03:17 AM
Compiling Crafty in Slackware64 13 arubin Slackware 5 11-19-2009 03:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration