Solved

Error when compiling gtksourceview-1.6.0

Posted on 2009-04-03
3
380 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.
0
Comment
Question by:pendell2
  • 2
3 Comments
 
LVL 29

Expert Comment

by:fosiul01
ID: 24058818
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
0
 

Author Comment

by:pendell2
ID: 24062499
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.

0
 

Accepted Solution

by:
pendell2 earned 0 total points
ID: 24150589
Well gentles, it's now been nearly a week, and I can see no other option but to bite the bullet and move to a later version of the packages. The other team must either upgrade as well, or accept a divergent package set.

Respectfully,

Brian P.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question