LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   gtksourceview 2.11.2 compilation errors (https://www.linuxquestions.org/questions/slackware-14/gtksourceview-2-11-2-compilation-errors-4175461269/)

Bindestreck 05-09-2013 07:47 AM

gtksourceview 2.11.2 compilation errors
 
I want to compile gtksourceview but it seems errors cannot be avoided.

I compile it through sbopkg, and this is what I get:

Code:

In file included from gtksourcecompletionwords.c:27:0:
../../../gtksourceview/gtksourcecompletion.h:60:2: error: unknown type name 'GtkObject'
  GtkObject parent;
  ^
make[5]: *** [gtksourcecompletionwords.lo] Error 1
make[5]: Leaving directory `/tmp/SBo/gtksourceview-2.11.2/gtksourceview/completion-providers/words'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/SBo/gtksourceview-2.11.2/gtksourceview/completion-providers'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/gtksourceview-2.11.2/gtksourceview'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/SBo/gtksourceview-2.11.2/gtksourceview'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/gtksourceview-2.11.2'
make: *** [all] Error 2

gtksourceview:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:

I have current with multilib (also current). GTK2 is of course already installed...

Any ideas?

fskmh 05-09-2013 08:24 AM

I know that version did build at some point before glib2 was upgraded to 2.34.3, but by the time that happened I was already using a slightly downgraded version (2.10.5) that is a dependency for MATE desktop which I installed using Chess's MSB.

Bindestreck 05-09-2013 10:52 AM

That version could be compiled! Thank you!

willysr 05-09-2013 11:02 AM

2.11.x was considered development version IMHO and that's why they have a new dependency for that
That's why i added a slightly modified version of gtksourceview for MSB project which should work for slackware 14.0 and also current


All times are GMT -5. The time now is 08:39 PM.