alwyn lee | 24 Oct 2006 09:01
Picon
Favicon

trouble building gps-2.1.0

hi,everyone here
 I want to know how to fix the problem below,thanks.
 
gnatmake -Pgps gps.adb
gtkada.gpr:1:01: the object directory "/usr/include/gtkada, /usr/lib/gtkada" cannot be found
gnatmake: "gps" processing failed
make[1]: *** [internal-build]Fehler  4
make: *** [default] Fehler  2


-----------------------------------------------------------------------------
ÀîÓж°
alwyn116 <at> hotmail.com (Messenger)
alwyn116 <at> yahoo.com.cn (Mail)

-----------------------------------------------------------------------------

Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
_______________________________________________
gps-devel mailing list
gps-devel <at> lists.adacore.com
http://lists.adacore.com/mailman/listinfo/gps-devel
Arnaud Charlet | 24 Oct 2006 09:25
Favicon

Re: trouble building gps-2.1.0

>   gnatmake -Pgps gps.adb
> gtkada.gpr:1:01: the object directory "/usr/include/gtkada, /usr/lib/gtkada" cannot be found
> gnatmake: "gps" processing failed

You probably have an incorrect gtkada build/install.

Arno
alwyn lee | 25 Oct 2006 11:35
Picon
Favicon

trouble in building gps

Hi,all
I'm a beginer. here is my problem. When I finished
install gtkada 2.4.2,use the instruction of below.
./configure --prefix=/usr && make && make install  and
echo$?=0. but I don't sure that the gtkada PATH and
LD_LIBRARY_PATH environment variables is right.I just
modified the ld.conf.so file ,add /usr/lib/gtkada in
it,and "export LD_LIBRARY_PATH=/usr" dose it right? 
and i run "ldconfig" .but the env doesn/t changed,the
PATH is still the old environment.
then I make the gps source ,so the error happend as
below,how I fixed it ,anyone can help me ? thanks  a
lot !
------------------------------------------
[root <at> localhost gps222.1.0-academic]# make
make -s -C glide -f Makefile.gps default
Making all in db
Making all in PORT
Making all in tcl8.1
Making all in snavigator
Making all in misc
Making all in libutils
Making all in dbutils
Making all in parsers
Making all in cpp
Making all in cpplib
Making all in db
gnatmake -Pgps gps.adb
gtkada.gpr:1:01: the object directory
"-aI/usr/include/gtkada -aO/usr/lib/gtkada" cannot be
found
gtkada.gpr:3:25: "-aI/usr/include/gtkada
-aO/usr/lib/gtkada" is not a valid directory
gnatmake: "gps" processing failed
make[1]: *** [internal-build] error 4
make: *** [default]error 2

-------------------------------------------

-----------------------------------------------------------------------------
     ÀîÓж°
alwyn116 <at> hotmail.com   (Messenger)
alwyn116 <at> yahoo.com.cn   (Mail)

-----------------------------------------------------------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Arnaud Charlet | 25 Oct 2006 11:42
Favicon

Re: trouble in building gps

> gtkada.gpr:1:01: the object directory
> "-aI/usr/include/gtkada -aO/usr/lib/gtkada" cannot be
> found
> gtkada.gpr:3:25: "-aI/usr/include/gtkada
> -aO/usr/lib/gtkada" is not a valid directory

As a work around, I would suggest editing the gtkada.gpr file manually to
fix it.

Arno
alwyn lee | 25 Oct 2006 15:48
Picon
Favicon

trouble in building gps

hi,everyone
here are some more problems,does it because I did not install xmlada? Is it  must be installed? so there is such MDI problems.
----------------------------------------------------------------------------------
gcc -c -g -O2 -gnatn -gnatws -I- -gnatA /gps2/gps222.1.0-academic/glide/src/gps.adb
gps.adb:1312:10: "Maximize_Children" is undefined
glide_kernel-modules.ads:243:31: "Dock_Side" not declared in "MDI"
glide_kernel-modules.ads:243:55: "None" not declared in "MDI"
gnatmake: "/gps2/gps222.1.0-academic/glide/src/gps.adb" compilation error
make[1]: *** [internal-build] error 4
make: *** [default] error 2
--------------------------------------------
gnatmake -Pgps gps.adb
gcc -c -g -O2 -gnatn -gnatws -I- -gnatA /gps2/gps222.1.0-academic/glide/src/gps.adb
gcc -c -g -O2 -gnatn -gnatws -I- -gnatA /gps2/gps222.1.0-academic/action_editor/src/action_editor.adb
gnatmake: external source (a-tags.adb) is not part of any project; cannot be compiled without gnatmake switch -x
make[1]: *** [internal-build] error 4
make: *** [default] error 2
------------------------------------------
gcc -c -g -O2 -gnatn -gnatws -I- -gnatA /gps2/gps222.1.0-academic/glide/src/gps.adb
gps.adb:1312:10: "Maximize_Children" is undefined
glide_kernel-modules.ads:243:31: "Dock_Side" not declared in "MDI"
glide_kernel-modules.ads:243:55: "None" not declared in "MDI"
gnatmake: "/gps2/gps222.1.0-academic/glide/src/gps.adb" compilation error
make[1]: *** [internal-build] error 4
make: *** [default] error 2
------------------------------------------
gcc -c -g -O2 -gnatn -gnatws -I- -gnatA /gps2/gps222.1.0-academic/browsers/src/browsers-call_graph.adb
browsers-call_graph.adb:1980:22: expected type "Save_Desktop_Function" defined at gtkada-mdi.ads:561, instance at glide_kernel.ads:58
browsers-call_graph.adb:1980:22: found type access to "Save_Desktop" defined at line 1980
gnatmake: "/gps2/gps222.1.0-academic/browsers/src/browsers-call_graph.adb" compilation error
make[1]: *** [internal-build] error 4
make: *** [default] error 2
 
 


-----------------------------------------------------------------------------
ÀîÓж°
alwyn116 <at> hotmail.com (Messenger)
alwyn116 <at> yahoo.com.cn (Mail)

-----------------------------------------------------------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
gps-devel mailing list
gps-devel <at> lists.adacore.com
http://lists.adacore.com/mailman/listinfo/gps-devel
Arnaud Charlet | 25 Oct 2006 15:54
Favicon

Re: trouble in building gps

>   here are some more problems,does it because I did not install xmlada? Is it  must be installed? so there is
such MDI problems.

These errors mean that you are using a version of GtkAda incompatible with
your GPS sources.

Arno
alwyn lee | 26 Oct 2006 04:22
Picon
Favicon

Re: trouble in building gps

arno,thanks a lot !
here is another importan fact is that when I installed the gtkada 2.4.2 sucessfully,then I make the gps2.1.0,the gtkada.gpr in the directory of gps/gtkada is like this:
---------------------------------------
project Gtkada is
   for Source_Dirs use ("-aI/usr/include/gtkada -aO/usr/lib/gtkada");
   for Object_Dir use "-aI/usr/include/gtkada -aO/usr/lib/gtkada";
end Gtkada;
-----------------------------------------------------------------
but when i build the gps,it point out that
----------------------------------------------------------------
gnatmake -Pgps gps.adb
gtkada.gpr:1:01: the object directory "-aI/usr/include/gtkada -aO/usr/lib/gtkada" cannot be found
gtkada.gpr:3:25: "-aI/usr/include/gtkada -aO/usr/lib/gtkada" is not a valid directory
gnatmake: "gps" processing failed
----------------------------------------------------------------
then I changed the object directory as( "usr/include/gtkada","/usr/lib/gtkada"),and I creat a obj dir in the gtkada folder, point the Object_Dir to it , so the gtkada.gpr changed as below:
---------------------------
project Gtkada is
   for Source_Dirs use ("/usr/include/gtkada","/usr/lib/gtkada");
   for Object_Dir use "obj";
end Gtkada;
so this err disappear,other problems as the former email  has come out, It's so terrible for me !!!!
------------
gcc -c -g -O2 -gnatn -gnatws -I- -gnatA /gps2/gps222.1.0-academic/glide/src/gps.adb
gps.adb:1312:10: "Maximize_Children" is undefined
glide_kernel-modules.ads:243:31: "Dock_Side" not declared in "MDI"
glide_kernel-modules.ads:243:55: "None" not declared in "MDI"
gnatmake: "/gps2/gps222.1.0-academic/glide/src/gps.adb" compilation error
----------------------------
HOW CAN  I DO IT ??? I NEED HELP,THANKS EVERYBODY WHO HAVE READ IT .

Arnaud Charlet <charlet <at> adacore.com> wrote:
> here are some more problems,does it because I did not install xmlada? Is it must be installed? so there is such MDI problems.

These errors mean that you are using a version of GtkAda incompatible with
your GPS sources.

Arno



-----------------------------------------------------------------------------
ÀîÓж°
alwyn116 <at> hotmail.com (Messenger)
alwyn116 <at> yahoo.com.cn (Mail)

-----------------------------------------------------------------------------

Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.
_______________________________________________
gps-devel mailing list
gps-devel <at> lists.adacore.com
http://lists.adacore.com/mailman/listinfo/gps-devel
alwyn lee | 26 Oct 2006 13:34
Picon
Favicon

Re: gps-devel Digest, Vol 19, Issue 3

here is another problem for me.
how to make sure that I have  correctly installed the gtkada.
how to change the PATH and LA-LIBRARY_PATH,to point to my install directory.
when I finished install gtkada,I can run the examples ,does it enough?


-----------------------------------------------------------------------------
ÀîÓж°
alwyn116 <at> hotmail.com (Messenger)
alwyn116 <at> yahoo.com.cn (Mail)

-----------------------------------------------------------------------------

All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
_______________________________________________
gps-devel mailing list
gps-devel <at> lists.adacore.com
http://lists.adacore.com/mailman/listinfo/gps-devel
alwyn lee | 27 Oct 2006 02:53
Picon
Favicon

Re: Re: gps-devel Digest, Vol 19, Issue 3

thanks Ludovic Brenta ,
Yes, I am use the binary distribution too. I want to building the GPS source
code just want to learn the sturuct and method how to finished it . I am a college student ,so there is so much things I need to learn . thanks your help .
 
I am using the redhat fedora core 4 edition. I will be so appreciate if you can
give me some advices or some  more detail steps.  thanks again.
       best wish !


<ludovic <at> ludovic-brenta.org> wrote:
I'm just curious - why are you spending so much effort recompiling
GtkAda and GPS? Does AdaCore's binary distribution not suit your
needs? Are you using a platform they don't support? (FreeBSD
perhaps)?

I have spent dozens of hours to compile everything on Debian
GNU/Linux, so I know all the issues you've been through. But since I
don't know what platform you're on, I can't help you. Besides, if you
asked me, I would probably say 'look at the Debian build scripts' :)

--
Ludovic Brenta.




-----------------------------------------------------------------------------
ÀîÓж°
alwyn116 <at> hotmail.com (Messenger)
alwyn116 <at> yahoo.com.cn (Mail)

-----------------------------------------------------------------------------

All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
_______________________________________________
gps-devel mailing list
gps-devel <at> lists.adacore.com
http://lists.adacore.com/mailman/listinfo/gps-devel

Gmane