LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-17-2003, 09:57 PM   #1
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Rep: Reputation: 30
gtk2 and Anjuta


Heyas,

I have heard Anjuta is a pretty good C\C++ IDE for Linux and I downloaded it and tried to install it. When I did that I as given a number of items I had to install first. I found all of them on my CD(I am using Mandrake 9.1), except gtk2. It says I need gtk2 = 2.0.8, but I have gtk2+ 2.2.1 already installed. I am not sure, but I think it should work. Maybe theres a config file that wasn't automatically updated when Mandrake installed gtk? I had an install problem a while ago with gAIM, and it was the same thing, an error with gtk. Maybe someone can help?

Thanks,
Chris
 
Old 11-18-2003, 07:20 AM   #2
seneca
Member
 
Registered: Feb 2003
Location: Europe
Distribution: Debian
Posts: 45

Rep: Reputation: 15
Hm. Maybe you better be posting the error message of ./configure - it's hard to tell what's wrong except you propably didn't install the gkt header files (the package is probably called gtk+2.2-dev or similar).
 
Old 11-18-2003, 02:57 PM   #3
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Original Poster
Rep: Reputation: 30
Well, I was installing it from the RPM from the website. I guess I will go download the source and see what error it comes back with.
 
Old 11-18-2003, 04:27 PM   #4
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Original Poster
Rep: Reputation: 30
Ok, I got the source and ran ./config and it went through fine(I had to install the vte devel package first). Now, when I run make it goes on for a while and I get this error:

search-replace.c:23:18: pcre.h: No such file or directory
search-replace.c:43: parse error before "pcre"
search-replace.c:43: warning: no semicolon at end of struct or union
search-replace.c:44: warning: data definition has no type or storage class
search-replace.c:45: parse error before '}' token
search-replace.c:45: warning: data definition has no type or storage class
search-replace.c:59: parse error before "PcreInfo"
search-replace.c:59: warning: no semicolon at end of struct or union
search-replace.c:60: warning: data definition has no type or storage class
search-replace.c:98: parse error before '*' token
search-replace.c: In function `pcre_info_free':
search-replace.c:100: `re' undeclared (first use in this function)
search-replace.c:100: (Each undeclared identifier is reported only once
search-replace.c:100: for each function it appears in.)
search-replace.c:103: `pcre_free' undeclared (first use in this function)
search-replace.c: At top level:
search-replace.c:112: parse error before '*' token
search-replace.c:113: parse error before '*' token
search-replace.c: In function `pcre_info_new':
search-replace.c:115: `re' undeclared (first use in this function)
search-replace.c:121: `s' undeclared (first use in this function)
search-replace.c:122: parse error before ')' token
search-replace.c:124: `PCRE_CASELESS' undeclared (first use in this function)
search-replace.c:126: `PCRE_UNGREEDY' undeclared (first use in this function)
search-replace.c:137: `PCRE_INFO_CAPTURECOUNT' undeclared (first use in this function)
search-replace.c: At top level:
search-replace.c:206: parse error before "SearchExpression"
search-replace.c:206: warning: no semicolon at end of struct or union
search-replace.c:210: parse error before '}' token
search-replace.c:210: warning: data definition has no type or storage class
search-replace.c:224: parse error before "Search"
search-replace.c:224: warning: no semicolon at end of struct or union
search-replace.c:226: parse error before '}' token
search-replace.c:226: warning: data definition has no type or storage class
search-replace.c:230: parse error before '*' token
search-replace.c:230: warning: data definition has no type or storage class
search-replace.c:579: parse error before "SearchExpression"
search-replace.c: In function `extra_match':
search-replace.c:583: `fb' undeclared (first use in this function)
search-replace.c:584: `match_len' undeclared (first use in this function)
search-replace.c:586: `s' undeclared (first use in this function)
search-replace.c: At top level:
search-replace.c:611: parse error before "SearchExpression"
search-replace.c: In function `get_next_match':
search-replace.c:615: `fb' undeclared (first use in this function)
search-replace.c:615: `s' undeclared (first use in this function)
search-replace.c:619: `PCRE_NOTEMPTY' undeclared (first use in this function)
search-replace.c:634: `PCRE_ERROR_NOMATCH' undeclared (first use in this function)
search-replace.c:666: `direction' undeclared (first use in this function)
search-replace.c: At top level:
search-replace.c:816: parse error before '*' token
search-replace.c: In function `create_search_entries':
search-replace.c:827: `s' undeclared (first use in this function)
search-replace.c: In function `regex_backref':
search-replace.c:965: request for member `replace' in something not a structure or union
search-replace.c:967: request for member `replace' in something not a structure or union
search-replace.c:970: request for member `replace' in something not a structure or union
search-replace.c:970: request for member `replace' in something not a structure or union
search-replace.c:972: request for member `replace' in something not a structure or union
search-replace.c:983: request for member `replace' in something not a structure or union
search-replace.c: In function `search_and_replace':
search-replace.c:998: `s' undeclared (first use in this function)
search-replace.c:1007: request for member `search' in something not a structure or union
search-replace.c:1044: request for member `search' in something not a structure or union
search-replace.c:1093: request for member `replace' in something not a structure or union
search-replace.c:1093: request for member `search' in something not a structure or union
search-replace.c:1094: request for member `replace' in something not a structure or union
search-replace.c:1101: request for member `replace' in something not a structure or union
search-replace.c:1104: request for member `replace' in something not a structure or union
search-replace.c:1109: request for member `replace' in something not a structure or union
search-replace.c:1109: request for member `search' in something not a structure or union
search-replace.c:1110: request for member `replace' in something not a structure or union
search-replace.c:1116: request for member `replace' in something not a structure or union
search-replace.c:1118: request for member `replace' in something not a structure or union
search-replace.c:1146: request for member `search' in something not a structure or union
search-replace.c: In function `reset_flags':
search-replace.c:1361: request for member `search' in something not a structure or union
search-replace.c: In function `search_replace_populate':
search-replace.c:1611: parse error before ')' token
search-replace.c:1616: request for member `search' in something not a structure or union
search-replace.c:1616: request for member `search' in something not a structure or union
search-replace.c:1616: request for member `search' in something not a structure or union
search-replace.c:1617: request for member `search' in something not a structure or union
search-replace.c:1617: request for member `search' in something not a structure or union
search-replace.c:1617: request for member `search' in something not a structure or union
search-replace.c:1618: request for member `search' in something not a structure or union
search-replace.c:1618: request for member `search' in something not a structure or union
search-replace.c:1618: request for member `search' in something not a structure or union
search-replace.c:1619: request for member `search' in something not a structure or union
search-replace.c:1621: request for member `search' in something not a structure or union
search-replace.c:1621: request for member `search' in something not a structure or union
search-replace.c:1621: request for member `search' in something not a structure or union
search-replace.c:1623: request for member `search' in something not a structure or union
search-replace.c:1625: request for member `search' in something not a structure or union
search-replace.c:1625: request for member `search' in something not a structure or union
search-replace.c:1625: request for member `search' in something not a structure or union
search-replace.c:1626: request for member `search' in something not a structure or union
search-replace.c:1626: request for member `search' in something not a structure or union
search-replace.c:1626: request for member `search' in something not a structure or union
search-replace.c:1627: request for member `search' in something not a structure or union
search-replace.c:1627: request for member `search' in something not a structure or union
search-replace.c:1627: request for member `search' in something not a structure or union
search-replace.c:1628: request for member `search' in something not a structure or union
search-replace.c:1628: request for member `search' in something not a structure or union
search-replace.c:1628: request for member `search' in something not a structure or union
search-replace.c:1630: request for member `replace' in something not a structure or union
search-replace.c:1630: request for member `replace' in something not a structure or union
search-replace.c:1630: request for member `replace' in something not a structure or union
search-replace.c:1633: request for member `search' in something not a structure or union
search-replace.c:1634: request for member `search' in something not a structure or union
search-replace.c:1635: request for member `search' in something not a structure or union
search-replace.c:1636: request for member `search' in something not a structure or union
search-replace.c:1637: request for member `search' in something not a structure or union
search-replace.c:1638: request for member `search' in something not a structure or union
search-replace.c:1639: request for member `search' in something not a structure or union
search-replace.c:1640: request for member `search' in something not a structure or union
search-replace.c:1641: request for member `search' in something not a structure or union
search-replace.c:1642: request for member `search' in something not a structure or union
search-replace.c:1644: request for member `search' in something not a structure or union
search-replace.c:1645: request for member `search' in something not a structure or union
search-replace.c:1649: request for member `search' in something not a structure or union
search-replace.c:1650: request for member `search' in something not a structure or union
search-replace.c:1651: request for member `search' in something not a structure or union
search-replace.c:1655: request for member `search' in something not a structure or union
search-replace.c:1660: request for member `search' in something not a structure or union
search-replace.c:1663: request for member `search' in something not a structure or union
search-replace.c:1666: request for member `search' in something not a structure or union
search-replace.c:1667: request for member `search' in something not a structure or union
search-replace.c:1668: request for member `search' in something not a structure or union
search-replace.c:1669: request for member `search' in something not a structure or union
search-replace.c:1670: request for member `search' in something not a structure or union
search-replace.c:1671: request for member `search' in something not a structure or union
search-replace.c:1672: request for member `search' in something not a structure or union
search-replace.c:1677: request for member `search' in something not a structure or union
search-replace.c:1678: request for member `search' in something not a structure or union
search-replace.c:1682: request for member `replace' in something not a structure or union
search-replace.c:1683: request for member `replace' in something not a structure or union
search-replace.c: In function `search_update_combos':
search-replace.c:1828: request for member `search' in something not a structure or union
search-replace.c:1832: request for member `search' in something not a structure or union
search-replace.c:1832: request for member `search' in something not a structure or union
search-replace.c:1834: request for member `search' in something not a structure or union
search-replace.c:1834: request for member `search' in something not a structure or union
search-replace.c:1837: request for member `search' in something not a structure or union
search-replace.c: In function `replace_update_combos':
search-replace.c:1856: request for member `replace' in something not a structure or union
search-replace.c:1860: request for member `replace' in something not a structure or union
search-replace.c:1860: request for member `replace' in something not a structure or union
search-replace.c:1862: request for member `replace' in something not a structure or union
search-replace.c:1862: request for member `replace' in something not a structure or union
search-replace.c:1865: request for member `replace' in something not a structure or union
search-replace.c: In function `anjuta_search_replace_activate':
search-replace.c:1890: request for member `search' in something not a structure or union
make[2]: *** [search-replace.o] Error 1
make[2]: Leaving directory `/home/tathlyn/Documents/Downloads/anjuta-1.1.98/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tathlyn/Documents/Downloads/anjuta-1.1.98'
make: *** [all-recursive-am] Error 2

It seems to all be coming from that search-replace.c file. I don't know if maybe I am missing another devel package that it just didn't worn me about or something?

Thanks,
Chris
 
Old 11-19-2003, 05:22 AM   #5
seneca
Member
 
Registered: Feb 2003
Location: Europe
Distribution: Debian
Posts: 45

Rep: Reputation: 15
Quote:
Originally posted by Chryzmo
search-replace.c:23:18: pcre.h: No such file or directory
If you take a look at the Anjuta Downloads page, you'll probably notice the hint about the Perl C regexp library, called pcre!

Since you're now installing from source, you got to find the header files for pcre and install them. If you're using apt-get, try (I'm not sure if the following works also on your distribution):
Code:
apt-cache search pcre
Then fetch the package with "-dev" in it's name. For me on Debian, this would probably be "libpcre3-dev". Just make sure, your version is later than 3.9 as stated on the website.

Ops, and please state next time that you tried to install rpm's.
 
Old 11-19-2003, 10:48 AM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Re: gtk2 and Anjuta

Quote:
Originally posted by Chryzmo
Heyas,
I as given a number of items I had to install first. I found all of them on my CD(I am using Mandrake 9.1), except gtk2. It says I need gtk2 = 2.0.8, but I have gtk2+ 2.2.1 already installed.
Have you tried installing libgtk+2.0_0-devel-2.2.1-2mdk of the mandrake CD's? There are other things you could try installing too, libgtk+-x11-2.0_0-devel-2.2.1-2mdk for instance. There's a lot of stuff on those CD's.

Edit - Seneca, that was a very good guess, it's actually called libpcre0-devel-3,9-5mdk on my Mandrake 9.1 CD's.

Last edited by Andrew Benton; 11-19-2003 at 10:53 AM.
 
Old 11-19-2003, 02:31 PM   #7
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Original Poster
Rep: Reputation: 30
Thanks a lot guys. I was missing the pcre devel package.

Thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
has anybody tried anjuta 2.0? ingerul Linux - Software 6 05-19-2005 12:18 PM
Anjuta lackluster Programming 7 02-25-2005 03:51 PM
Anjuta + SDL??? stateq2 Programming 0 12-16-2003 06:52 PM
Can't install Anjuta dustinwu Mandriva 0 12-01-2003 06:07 AM
Anjuta gg4 Linux - Software 3 02-04-2003 12:51 PM


All times are GMT -5. The time now is 02:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration