We help IT Professionals succeed at work.

Error when compiling gtksourceview-1.6.0

pendell2
pendell2 asked
on
402 Views
Last Modified: 2013-12-16
I am attempting to install gtksourceview-1.6.0 on an FC9 machine.  I am instructed that I must install this particular version, on top of these software packages:
gtk+2.8.20
atk 1.10.3
pango 1.10.4
cairo 1.4.10
glib 2.10.3


So far so good.  Installed all the packages. However, when I attempt to make gtksourceview I receive the following error:

gtksourceregex.c:43: error: field 'reg' has incomplete type
gtksourceregex.c: In function 'gtk_source_regex_compile':
gtksourceregex.c:56: error: 'RE_SYNTAX_POSIX_MINIMAL_EXTENDED' undeclared (first use in this function)


Additional information:  glib and the other packages are installed in /usr/local/lib, but the new include files it appears to be looking for are in /usr/include.

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
 LD_LIBRARY_PATH=/usr/local/lib:/usr/lib


Is there an easy way to get this make back on track?  If not, is there another version that will still work with the prerequisite packages? I'm certain gtksourceview 2.4 and later will work, but that will require installing later versions of the prerequisite software as well.  That isn't really acceptable at this time.
Comment
Watch Question

Top Expert 2009

Commented:
have you tryed like this

yum list gtksourceview

its should show you if there is any packages available for gtksourceview

if there is

yum install gtksourceview

Author

Commented:
Unfortunately, that's not going to work in this case. Yum list available tells me that I can download gtksourceview1.8 -- no other packages are available.  And for compatibility reasons with another site we must use 1.6.0.  

The question is not how to get gtksourceview running -- it has always been known we can get a 2.* or later version running, but the price we pay is inconsistency with another site -- inconsistencies which have cost us a great deal.  So if at all possible I would like to solve this make problem and build gtksourceview1.6.0 on this system.

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.