View Full Version : anjuta [newbie] trouble
darksaidin
11-19-2003, 12:58 PM
A few months ago I decided to familiarize myself with Linux. It has taken quite a while to find the right distribution, kernel, desktop etc...
Anyway, I'm having trouble getting Anjuta to work.
I want to create a new GNOME 2.0 project, so in the application wizzard, I enter a name for the project, select "C and C++", enter a short description and tell the wizzard to do his magic.
He doesn't seem to be a very experienced caster ;) First thing is: I get a warning that I have no CVS programm installed. Do I really need this?
Next thing: Makefile.am complains that ./intl does not exist, which is strange. I thought the makefile was supposed to create it.
My problem is that I don't anything about those linux helper applications like make, automake, configure, whatever... (under windows, DevC++ did all the make related stuff - the others I haven't even heard before). Can someone please give me a little hint here what I need to do ? Thanks ;)
FillYourBrain
11-19-2003, 01:18 PM
I used to fight with these IDEs too. Kdevelop and Anjuta both. I finally decided what most linux people have been saying all along. Use vi or emacs. I use vim now. It isn't bad at all once you get used to it.
darksaidin
11-19-2003, 01:48 PM
I've read your (old) thread about gtk, xwindows, anjuta... when I searched the board for my problem. You indicated that wanted to do low level X API programming and write your own wrappers (in other words: reinvent the wheel ;) ). I guess all you really need for that is an editor.
Anyway, I'd like to take advantage of GTK2 and the various development tools. Judging from the size of an empty KDevelop project (I tested KDE for a few weeks before I decided to use gnome), Linux seems to require a lot of configuration stuff. I really don't want to do all this by hand. Especially not when I don't have the slightest clue about all those weird tools like automake do.
FillYourBrain
11-19-2003, 02:16 PM
I know what you mean, but never found anjuta and kdevelop to be any easier. They really don't make coding any nicer than vim does. Visual studios has a series of nice things that I like, but other IDEs that I have found are worth no more than notepad.
kdevelop seems to force QT on you if you want wizard generated stuff. anjuta forces GTK on you if you want wizard generated stuff. I would rather have some flexibility.
Plus, I don't really want to reinvent the wheel so much as understand how the wheel works before I go and use it. The main reason I learned vim is for a job opportunity that I have (and have my fingers crossed for)
darksaidin
11-20-2003, 02:16 AM
Originally posted by FillYourBrain
Plus, I don't really want to reinvent the wheel so much as understand how the wheel works before I go and use it. The main reason I learned vim is for a job opportunity that I have (and have my fingers crossed for) [/B]
Oops, that wasn't supposed to be an offense, sorry ;)
Anyway, I'm just not 100% convinced yet. Maybe I'll try this after Anjuta works, so I have some templates I can look at. Right now this seems to be way too complex for me.
I will give the Anjuta Webboards a try, though they don't seem to have a big userbase :( Hopefully I can get this resolved somehow.
FillYourBrain
11-20-2003, 07:56 AM
I didn't take offense at all.
have you ever messed with the KWrite editor that comes with KDE? I found that to be just as good as those IDEs. It does indenting and stuff. The only down side to not using an IDE really is that you have to do your own makefile and command line compile. Not quite as nice.
darksaidin
11-20-2003, 03:10 PM
Well, I'm using gnome and if there is one thing I don't like it's a desktop that doesn't have a uniform appearance (mixing kde with gnome apps). Anyway, I think gedit has syntax highlighting, too.
Thanks for your help (though I will continue to try to get Anjuta to work) :)
I'm not yet ready to give it up :D
FillYourBrain
11-20-2003, 03:42 PM
mixing environments is a funny thing actually. The way I understand it is the window manager controls the border of the window but not much more. So KDE or gnome "look" is pretty much the border of the app unless you're talking about the toolkit itself. The toolkit is where Gnome apps get their rounded, cool widgets from. GTK does have a unique look to it. If that's the only look you ever want then I suppose you have to do GTK apps. If your app is run under KDE I assume you'll look like a non-uniform desktop environment also.
darksaidin
11-21-2003, 05:34 AM
Yes, I know. Thats one of the main problems I see with "Linux as a desktop-OS". People don't want to have a different look and feel for every single application. This should be done on the X-Windows layer. Anyway, thats a different topic I guess ;)
darksaidin
12-15-2003, 04:40 AM
Still no success with Anjuta. I wonder how they could dare to call it 1.2. It's more like 0.12. I guess it's time to give it up. It is simply a pice of non-working software that shouldn't have been released as a "stable" version yet. Frustrating. All this wasted time.
ZerOrDie
12-15-2003, 10:18 AM
Originally posted by darksaidin
Still no success with Anjuta. I wonder how they could dare to call it 1.2. It's more like 0.12. I guess it's time to give it up. It is simply a pice of non-working software that shouldn't have been released as a "stable" version yet. Frustrating. All this wasted time.
:rolleyes: blame the developers for user troubles... I have been running anjuta for the last 2 years with nary a problem but heh i guess they should not call it 1.2 because one user cant get it right...
Or maybe it is time for people to move away from linux dependancie hell...
linuxdude
12-15-2003, 10:30 AM
vim is really the way to go. You mentioned earlier that you didn't understand.
first you write a file with all your directions in it. then you "make" it. here is how to make something:
http://www.bigbiz.com/cgi-bin/manpage?make
here is a tutorial on what goes in a makefile
http://www.groovyweb.uklinux.net/index.php?page_name=how%20to%20write%20a%20makefil e
or this one:
http://www.opussoftware.com/tutorial/TutMakefile.htm
darksaidin
12-16-2003, 01:49 AM
Originally posted by ZerOrDie
:rolleyes: blame the developers for user troubles... I have been running anjuta for the last 2 years with nary a problem but heh i guess they should not call it 1.2 because one user cant get it right...
Or maybe it is time for people to move away from linux dependancie hell...
Sorry, but I am certainly not the only one with this problem. The anjuta board is full of people asking the very same question. It's just that there is not a single usefull reply over there.
Also all those errors lead me to think that it is not a user problem or if it is, the IDE has an extremely bad way to notify people. Hell, it doesn't even detect when make fails! The build menu is greyed out during the make process but it stays greyed out after make fails - and it always fails because it is run in the wrong path. I can run it manually with no problems if I just change to the right path before. From the menu it just doesn't work. So if I got to do everything manually I could as well use gedit.
Thanks for the links linuxdude. Thats probably what I need.
linuxdude
12-16-2003, 10:07 AM
No problem, I always had trouble using vim at first so here is kind of an example
Here is how I write a simple program.
vi test.c
#include <stdio.h>
int main(void){
printf("Goodbye Cruel World\n");
return 0;
}
then hit ESC then type :wq
then use gcc
gcc -o test test.c
then
./test
If it is more complicated then you start to use a makefile and then you would have this
make
then you could use your executable
./test
FillYourBrain
12-16-2003, 10:12 AM
This could help you with vim
http://tnerual.eriogerg.free.fr/vim.html
FillYourBrain
12-16-2003, 10:21 AM
Honestly though, my opinion is that anjuta isn't as good as KDevelop. I've been on vim for all *nix development but I wouldn't be oposed to using KDevelop. I don't see why you shouldn't use it. Even though you are on gnome there really isn't that much of a style difference that makes it look terrible. I use lots of gnome apps in KDE. Oh well. Sorry anjuta didn't work for you.
darksaidin
12-17-2003, 09:03 AM
First of all thanks for all the help and tutorials.
Originally posted by FillYourBrain
Honestly though, my opinion is that anjuta isn't as good as KDevelop.
I'm not sure if KDev supports GTK2 projects. Also, I'm quite pedantic when it comes to visuals. I really hope one day there will be a standard themeengine for the different toolkits.... or even better.. KDE converts to GTK ;)
Oh well, one can have dreams...
mart_man00
12-17-2003, 12:06 PM
KDE converts to GTK
Thats pure ..........ing evil.
Kind of funny recently i decided to give Anjunta/GNOME another try.
First GNOME had some problems with som incredible complex tasks like that were mastered in the 80s: making shortcuts(creating shortcuts to Open Office to the desktop gave me a error message every time), starting a browser (GNOME went insane everytime i started up Mozilla with the modern theme, had to kill Xfree) and general stability(kde has its own boot up time(few secs for me) and thats about it).
While i dont use it alot, i like Kdevelops documentation broswer thing. Im not sure but with GNOME i think its a seperate app. But, im not sure how well KDevelop does with RPMS but i know Anjunta has a tool for it.
Im just a QT fan. It looks nice, fairly fast(i hate the kde is so slow arguement) and the apps are intergrated more. Has a company around so it wont just die but its still free(non comercial). Its just more modern.
In KDE everything has the same feel, GNOME is now trying to get that. But of course, some of KDE themes look like Crayola colors...
The whole GNOME backing is annoying. How many companies back GNOME? People? Money? For how long? KDE is still in the lead, just missing a few killer apps(Konq is nice but id rather have mozilla. Id kill for a decent UNIX cadd app...).
IDE are nice, the can give you alot withough switching threw so many virtual consoles. A nice highlihted editor, konsole, error messages, build log and documentation in the same window. If you one of the elitest who thing graphics and text are too n00bishg and every one should do binary, meh, you can always hide the extras if you dont like it.
Both creat alot of junk with projects. Autoconf i have to look into. Isnt m4 like dead? We are still using it? To get good at autoconf do you have to know it?
Plus, QT designer is nice:D
<edit>
o yeah, for all the vim people.
Try something like Kate. Its small like vim but you also have a console at the bottom. I used to use vim alot but i always hated going into command mode for the ! to run something along with it being lost when i go back to insert mode.
darksaidin
12-17-2003, 05:34 PM
mart, I didn't complain about KDE. I also know about the issues you mentioned that Gnome has. As for the speed - both are pretty slow compared to a windows xp system - even with prelink, applications start slower than on windows. I didn't notice any difference in speed between Gnome and KDE other than maybe that Gnome starts a bit faster.
I made my decision based on the toolkit's license, the availability of native applications for that desktop or at least for the desktops toolkit and the fact that gnomes sound daemon doesn't keep the sound device busy (under KDE I had to turn off arts every time I wanted to play non KDE games even though my soundcard does hw mixing).
I didn't find a proper browser for KDE that uses QT natively. Konqueror has still issues with some of the sites I regurarly visit. KOffice's text program made a pretty poor impression when compared to Abiword. Soon OpenOffice will also be available for GTK+.
As for the license, I don't see any future for QT. It's opensource but comercial users have to pay for it. This will encourage companies to use GTK/GTKmm.
Anyway, this is all offtopic. ;)
mart_man00
12-17-2003, 06:46 PM
yeah, i know alittle off topic but its not a flame fest so id rather take advantage...
As for the speed - both are pretty slow compared to a windows xp system - even with prelink,
Yeah, but there both getting better. Not really a big problem anymore. It just seems like 2 bootups. Id love to get parellel bootscripts going, i need to find a decent howto...
Konqueror has still issues with some of the sites I regurarly visit.
Havnt had any problem myself but im not thrilled about it either. Apple used KHTML and actualy submited new code, so it might shape up for you.
KOffice's text program made a pretty poor impression when compared to Abiword.
Koffice has come along way. There a couple style programs for me but so far it workyts pretty good. I cant seem to stumb it, yet.
OO is great but its kind of big and clunky...
As for the license, I don't see any future for QT.
Business still use Redhat Workstation and Advanced Server and there not free. Why not toolkits? Its a pretty nice one...
I wish i could get KDevolp to work on XP, ive gotten used to it instead of Dev C++ when im at school...
ap viper
12-22-2003, 05:22 PM
Yep, I have grown accustomed to KDevelop as well. I prefer it to Dev and VC++. Does anyone know if the aforementioned Window's IDE's have configurable syntax highlighting?
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.