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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-17-2003, 10:57 PM
|
#1
|
Member
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180
Rep:
|
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
|
|
|
11-18-2003, 08:20 AM
|
#2
|
Member
Registered: Feb 2003
Location: Europe
Distribution: Debian
Posts: 45
Rep:
|
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).
|
|
|
11-18-2003, 03:57 PM
|
#3
|
Member
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180
Original Poster
Rep:
|
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.
|
|
|
11-18-2003, 05:27 PM
|
#4
|
Member
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180
Original Poster
Rep:
|
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
|
|
|
11-19-2003, 06:22 AM
|
#5
|
Member
Registered: Feb 2003
Location: Europe
Distribution: Debian
Posts: 45
Rep:
|
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.
|
|
|
11-19-2003, 11:48 AM
|
#6
|
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073
Rep:
|
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 11:53 AM.
|
|
|
11-19-2003, 03:31 PM
|
#7
|
Member
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180
Original Poster
Rep:
|
Thanks a lot guys. I was missing the pcre devel package.
Thanks again.
|
|
|
All times are GMT -5. The time now is 06:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|