Re: [Anjuta-list] Re: Anjuta-list digest, Vol 1 #430 - 8 msgs



Richard:

I think you're working unnecessarily hard. Simply use jhbuild and it
will take care of building everything for you.

SPecifically:

tconn cvs -z3 :pserver:anonymous anoncvs gnome org:/cvs/gnome co jhbuild
cd jhbuild
make install
< Read instructions and fllow them>
jhbuild build

HTH
Biswa.


> Hi Naba and Biswa,
> 
> Thank you very much for your help!
> 
> Following Naba's direction, I went to Anjuta webpage, and followed
> instructions to
> get src files from cvs; then I tried to do ./autogen.sh, then it asks me
> for
> various
> packages which is not found on my RH8; so I downloaded them from gnome/gtk
> website repeated/recursively, until I hit one that I was able to locate in
> the web:
> 
> libpangoft2.1.0.1
> 
> May I ask you how to get it?(Also, is my process ok or something wrong with
> my
> procedure?)
> 
> Best regards,
> 
> Richard
> 
> 
> ----- Original Message ----- > --__--__--
> > From: "Richard Jiang" <jiangyi178 rogers com>
> > To: <anjuta-list lists sourceforge net>
> > Date: Wed, 16 Apr 2003 00:52:11 -0400
> > Subject: [Anjuta-list] Debug problem on Anjuta
> >
> > Hi, I just started using Anjuta with gtk. I run into a simple debugging
> > problem:in a simple program, the debugger cannot see local variables
> > except vars of a char[ ] type.
> >
> > See below the sample, in each function, the variables i, k are not in
> > Locals window, and if I "Inspect" their values, say k, I get error:
> >
> > "No symbol "k" in current context."
> >
> >
> > I'm running RH8. Couldn't figure out why.
> >
> > Thanks a lot for any help!
> >
> > Richard
> >
> > ==============================================
> > /* Created by Anjuta version 1.0.2 */
> > #include <iostream.h>
> > int main3()
> > {
> > int i;
> > int k;
> > i =9;
> > k=45;
> > printf("fsgfdss%d", i);
> > printf("fsgfdss%d", k);
> > char buf[123];
> > strcpy(buf, "SSSSSSS");
> > printf(buf);
> > return 2;
> > }
> >
> > int main2()
> > {
> > int i;
> > int k;
> > i =9;
> > k=45;
> > printf("fsgfdss%d", i);
> > printf("fsgfdss%d", k);
> > char buf[123];
> > strcpy(buf, "SSSSSSS");
> > printf(buf);
> > int ret = main3();
> > return 2;
> > }
> > int main()
> >
> > {
> > int i;
> > int k;
> > i =9;
> > k=45;
> > cout << "Hello world\n";
> > int ret = main2();
> > printf("k= %d", k);
> > printf("ret= %d", ret);
> > return (0);
> > }
> >
> > From: Biswapesh Chattopadhyay <biswapesh_chatterjee tcscal co in>
> > Reply-To: biswapesh_chatterjee tcscal co in
> > To: Richard Jiang <jiangyi178 rogers com>
> > Cc: Anjuta List <anjuta-list lists sourceforge net>
> > Organization: TCS
> > Date: 16 Apr 2003 10:53:06 +0530
> >
> > Have you compiled with -O0 -g ? Looks like the local integer variables
> > are very likley to get optimized away if you use, say, O2 for example.
> > Biswa.
> >
> >
> > Subject: Re: [Anjuta-list] Debug problem on Anjuta
> > From: jiang <jiangyi178 rogers com>
> > To: biswapesh_chatterjee tcscal co in
> > Cc: Anjuta List <anjuta-list lists sourceforge net>
> > Date: 16 Apr 2003 10:12:20 -0400
> >
> > Thanks a lot for reply, Biswa!
> >
> > What I did was download Anjuta...src.tar.gz, extract to a folder,then
> > ./configure, make, make install, then run it. Then I have the problem.
> > (1)
> > Do I need to modify makefile? Or is it better to install using .rpm?
> > (2)
> > I'd like to debug into Anjuta src, and add some good feature and thus
> > contributing back to Anjuta. May I ask you guys what IDE you use to
> > debug Anjuta code itself? (I imported Anjuta src into a Anjuta project,
> > but couldnot debug, error message saying "The target executable does not
> > exist for this project").
> >
> > Thanks a lot in advance!
> >
> > Richard
> >
> >
> > From: Biswapesh Chattopadhyay <biswapesh_chatterjee tcscal co in>
> > Reply-To: biswapesh_chatterjee tcscal co in
> > To: jiang <jiangyi178 rogers com>
> > Cc: Anjuta List <anjuta-list lists sourceforge net>
> > Organization: TCS
> > Date: 16 Apr 2003 19:59:19 +0530
> >
> > Hi Jiang
> >
> > Personally, I use Anjuta to hack on Anjuta, but YMMV. About debugging
> > anjuta, you need to do:
> > ./configure --enable-warnings --enable-debug
> > which is what I normally do, before doing make && make install
> >
> > Anjuta debugger works just fine with anjuta code is it is compiled with
> > the above two options.
> >
> > Biswa.
> > Subject: Re: [Anjuta-list] Debug problem on Anjuta
> > From: Naba Kumar <kh_naba gmx net>
> > To: jiang <jiangyi178 rogers com>
> > Cc: Anjuta List <anjuta-list lists sourceforge net>
> > Organization: GNOME
> > Date: 16 Apr 2003 20:01:29 +0530
> >
> > On Wed, 2003-04-16 at 19:42, jiang wrote:
> > > Thanks a lot for reply, Biswa!
> > >
> > > What I did was download Anjuta...src.tar.gz, extract to a folder,then
> > > ./configure, make, make install, then run it. Then I have the problem.
> > > (1)
> > > Do I need to modify makefile? Or is it better to install using .rpm?
> > >
> > "-O0 -g" compiler options Biswa mentioned was for your program and not
> > for anjuta. In anjuta, you should be able to set the flags for your
> > program at Settings->Compiler and Linker settings->Others (set the
> > optimization to none and enable debugging).
> >
> > > (2)
> > > I'd like to debug into Anjuta src, and add some good feature and thus
> > > contributing back to Anjuta. May I ask you guys what IDE you use to
> > > debug Anjuta code itself? (I imported Anjuta src into a Anjuta project,
> > > but couldnot debug, error message saying "The target executable does
> not
> > > exist for this project").
> > >
> > When the project was first imported, you could set the project target
> > (generally the main executable of that project) in the Import wizard,
> > like "src/anjuta". You can also set this later from Project->Project
> > configuration.
> >
> > But for anjuta, the project file is already available in CVS, so you
> > don't need to import it again. Please read the development page at
> > http://anjuta.org to know to get the CVS source code. You can also
> > download the hourly tarball from the site, if you have problem accessing
> > CVS.
> >
> >
> > Regards,
> > -Naba
> >
> > > Thanks a lot in advance!
> > >
> > > Richard
> > >
> > >
> > > On Wed, 2003-04-16 at 01:23, Biswapesh Chattopadhyay wrote:
> > > > Have you compiled with -O0 -g ? Looks like the local integer
> variables
> > > > are very likley to get optimized away if you use, say, O2 for
> example.
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Anjuta-list mailing list
> Anjuta-list lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/anjuta-list
> 
> 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]