LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-11-2003, 03:50 AM   #1
bit7
Member
 
Registered: Dec 2002
Location: Trieste, Italy
Distribution: salckware 8.0
Posts: 49

Rep: Reputation: 15
C IDE + debugger


Hi all,

i was looking for a good C IDE + debugger for linux. Maybe better an ide with it's own debugger, not gdb.

THX B7
 
Old 01-11-2003, 04:12 AM   #2
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Anjuta, emacs, Vim, kdevelop.
Although i think the only, or at least only good, debugger is gdb.
-NSKL
 
Old 01-11-2003, 04:42 AM   #3
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
when i took a cs course i used vim or xemacs to do my coding and ddd to do my debuggin, ddd is a GUI for other debuggers but uses gdb by default but if you are building complex data structures like HashTables , Trees and Linked Lists it will display them for you and the data inside of your structs. I basically played around with it and figured it out without reading a manual or anything on it. This assumes you are using KDE or GNOME, just type ddd filename.c & at the prompt, if it doesnt work then you should be able to install it off the CD (well, i use Red Hat, i dont know what distro you are using and i dont know if ddd comes with the other distros or not).
 
Old 01-11-2003, 09:05 AM   #4
bit7
Member
 
Registered: Dec 2002
Location: Trieste, Italy
Distribution: salckware 8.0
Posts: 49

Original Poster
Rep: Reputation: 15
thanks all,

i've choose anjuta, seems very complpete. But i can't install it succesfully.

On ./configure it ask for libs => gnome-print 0.35
I've installed the 0.37, but anjuta will go on asking for >=0.35 libs, as if i didn't install nothing.

If any help, thks again B7
 
Old 01-11-2003, 10:25 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well you'er obviously compliling it from source, which you won't need to todo as there are RPM's available. (btw. please fill in your distro information) but presumably have not got the gnome-print development package installed, e.g. libgnomeprint2.0_0-devel or similar
 
Old 01-11-2003, 11:51 AM   #6
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Also if you did install it, or any new libraries for that matter, you need to run ldconfig to update the libraries databse since they are not updated automatically every time.
-NSKL
 
Old 01-11-2003, 02:24 PM   #7
bit7
Member
 
Registered: Dec 2002
Location: Trieste, Italy
Distribution: salckware 8.0
Posts: 49

Original Poster
Rep: Reputation: 15
nothing to do my friends,

this is the issue:

if i install gnome-print-0.37....rpm and libgnomeprint-devel....rpm, and after make a ldconfig nothing change, the ./configure script of anjuta source go on to inform that my gnome-print libs are not >=0.35

if i install anjuta by rpm (0.9.99 or 1.0.1), when i launch anjuta binary from /usr/bin i get the message:
anjuta: error while loading shared libraries: cannot open shared object file: cannot load shared object file: No such file or directory

But i don't give up, i'm very interested in anjuta. I'm famous for the hard head, hehehhe

Thx B7
 
Old 01-12-2003, 12:03 AM   #8
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
man, i swear i posted here before but i dont see my post now so i'll post what i said again.

If you are running Gnome or KDE, ddd is a good debugger if you are going for a GUI debugger, only thing is, it uses gdb by default and i notice you said you dont want to use gdb, but basically ddd is a GUI for many different debuggers, its kinda nice when you have linked lists of structs or trees or hashtables. my 2 cents.
 
Old 01-12-2003, 05:21 AM   #9
bit7
Member
 
Registered: Dec 2002
Location: Trieste, Italy
Distribution: salckware 8.0
Posts: 49

Original Poster
Rep: Reputation: 15
Robert,
thx very much, i will sure try ddd, becouse i don't find gdb very user-friendly.

Finally I've solved the trouble of anjuta and i get it installed. I explain:

All the GNU libs/components shuold be compiled with ./configure --prefix=/opt/gnome

That was the reason why after the make install anjuta didn't see the version updated !

Than, after have installed all the components, launching amjuta i was getting: undefined symbol: __dynamic_cast_2

I've read somewhere in the web that may libstdc++ could not be the right version for anjuta. I've installed a rcent version (3.2-7) and now anjuta run.

Infinite thanks for support !!!

B7
 
  


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
RH9 &9.0 Benq CDRW 4012a IDE + IDE CDROM - Install - how to cgtueno Linux - Hardware 6 05-30-2004 03:43 PM
linux debugger an IDE thrix Programming 8 04-02-2004 02:05 AM
bad dmesg output when using ide-scsi boot parameter for IDE CD/DVD-ROM Locura Slackware 7 09-29-2003 03:36 AM
Best IDE and DEBUGGER for linux ?? ritesh_aladdin Linux - Software 2 07-24-2003 11:27 AM
how2 make the kernel scan both PCI IDE and Mboard IDE channels? carboncopy Slackware 1 07-23-2003 04:26 PM


All times are GMT -5. The time now is 11:06 AM.

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