installing Gtkada / GTK+ 2.0 in Ubuntu 9.04

View: New views
5 Messages — Rating Filter:   Alert me  

installing Gtkada / GTK+ 2.0 in Ubuntu 9.04

by Rob Groen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all,

I downloaded Gtkada 2.14 and gtk+2.14.5.

I tried to install Gtkada 2.14 on Ubuntu 9.04.but configure complained
that gtk+ needs to be installed. The gtk+ tgz gives no clue as to where
the contents must be unzipped to, and I have no idea how to make that
installation directory (or whatever it is that configure must know)
known to configure.

Help is appreciated

--
Rob
---------------
If Elvis was still allive, he'd be dead by now

_______________________________________________
gtkada mailing list
gtkada@...
http://lists.adacore.com/mailman/listinfo/gtkada

Parent Message unknown Fwd: installing Gtkada / GTK+ 2.0 in Ubuntu 9.04

by Mike-591 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Do you need 2.14 specifically?  If not it is easier to install the
Ubuntu package (currently version 2.12.0), which will manage the
dependencies for you - just type `sudo apt-get install libgtkada2-dev`
in a terminal or install via System->Administration->Synaptic Package
Manager.

2009/10/3 Rob Groen <robgr@...>:

> Hello all,
>
> I downloaded Gtkada 2.14 and gtk+2.14.5.
>
> I tried to install Gtkada 2.14 on Ubuntu 9.04.but configure complained
> that gtk+ needs to be installed. The gtk+ tgz gives no clue as to where
> the contents must be unzipped to, and I have no idea how to make that
> installation directory (or whatever it is that configure must know)
> known to configure.
>
> Help is appreciated
>
> --
> Rob
> ---------------
> If Elvis was still allive, he'd be dead by now
>
> _______________________________________________
> gtkada mailing list
> gtkada@...
> http://lists.adacore.com/mailman/listinfo/gtkada
>
_______________________________________________
gtkada mailing list
gtkada@...
http://lists.adacore.com/mailman/listinfo/gtkada

Parent Message unknown Re: installing Gtkada / GTK+ 2.0 in Ubuntu 9.04

by Rob Groen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Don 't think I need 2.14 specifically. It was the version that Adacore
on their Libre site provides.
I looked at the Synaptic package manager, but when I marked
libgtkada2-dev then it showed an enormous list of additional required
packages, including gnat 4.3, g++, X11 related etc etc, so that I
thought that libgtkada2-dev was intended for Gtkada developers. i.e.
people who work on and improve Gtkada, not a simple end user like me.
Since I already installed GNAT I also was not sure in what way this
could interfere. And since for GNAT there is only a doinstall, and not a
douninstall, I am a bit reluctant to just do "rm -r /usr/gnat" ...)
(Note I want to migrate from Windows XP to Linux/Ubuntu. I have some
past Unix experience but that was way back....)

Michael Trim wrote:

> Do you need 2.14 specifically?  If not it is easier to install the
> Ubuntu package (currently version 2.12.0), which will manage the
> dependencies for you - just type `sudo apt-get install libgtkada2-dev`
> in a terminal or install via System->Administration->Synaptic Package
> Manager.
>
> 2009/10/3 Rob Groen <robgr@...>:
>  
>> Hello all,
>>
>> I downloaded Gtkada 2.14 and gtk+2.14.5.
>>
>> I tried to install Gtkada 2.14 on Ubuntu 9.04.but configure complained
>> that gtk+ needs to be installed. The gtk+ tgz gives no clue as to where
>> the contents must be unzipped to, and I have no idea how to make that
>> installation directory (or whatever it is that configure must know)
>> known to configure.
>>
>> Help is appreciated
>>
>> --
>> Rob
>> ---------------
>> If Elvis was still allive, he'd be dead by now
>>
>> _______________________________________________
>> gtkada mailing list
>> gtkada@...
>> http://lists.adacore.com/mailman/listinfo/gtkada
>>
>>    
>
>  

--
Rob
---------------
We don't make stupid mistakes; we only encounter unavoidable errors

_______________________________________________
gtkada mailing list
gtkada@...
http://lists.adacore.com/mailman/listinfo/gtkada

Re: installing Gtkada / GTK+ 2.0 in Ubuntu 9.04

by Ludovic Brenta-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Rob Groen writes:

> Don 't think I need 2.14 specifically. It was the version that Adacore
> on their Libre site provides.
> I looked at the Synaptic package manager, but when I marked
> libgtkada2-dev then it showed an enormous list of additional required
> packages, including gnat 4.3, g++, X11 related etc etc, so that I
> thought that libgtkada2-dev was intended for Gtkada developers. i.e.
> people who work on and improve Gtkada, not a simple end user like me.
> Since I already installed GNAT I also was not sure in what way this
> could interfere. And since for GNAT there is only a doinstall, and not a
> douninstall, I am a bit reluctant to just do "rm -r /usr/gnat" ...)
> (Note I want to migrate from Windows XP to Linux/Ubuntu. I have some
> past Unix experience but that was way back....)

The GtkAda from AdaCore has the same dependencies as the Debian packages
but, since it is a source-only distribution, it lists the dependencies
in a README file for you, the user, to read and understand.  For example
it depends on GTK+ and you were correctly wondering how to install that
since you are required to install it by yourself.  The purpose of the
Debian packages is to automate all this and save you the work of
compiling everything.  The price you pay is a slightly older version of
the libraries and compiler.

The -dev packages in Debian are not for the developers of the libraries;
they are for application developers who want to use the libraries in
their programs.  (The developers of GtkAda use the sources from the
Subversion repository directly, not a package.)

So, if you are uncomfortable compiling everything and keeping track of
dependencies by hand, I suggest that Debian offers an easier solution.

(Ubuntu is a derivative of Debian and uses the Debian packages, possibly
modified.  That's why my discussion above is relevant to you.  However,
I have no involvement, control or knowledge of Ubuntu, so I am not
responsible for any bugs or discrepancies that Ubuntu may introduce in
their packages.)

--
Ludovic Brenta
Debian maintainer of libgtkada.
_______________________________________________
gtkada mailing list
gtkada@...
http://lists.adacore.com/mailman/listinfo/gtkada

Re: installing Gtkada / GTK+ 2.0 in Ubuntu 9.04

by Rob Groen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for your help. I succeeded in installing GtkAda 2.14.0. on Ubuntu 9.04

Best regards,
Rob Groen

Ludovic Brenta wrote:
Rob Groen writes:
  
Don 't think I need 2.14 specifically. It was the version that Adacore 
on their Libre site provides.
I looked at the Synaptic package manager, but when I marked 
libgtkada2-dev then it showed an enormous list of additional required 
packages, including gnat 4.3, g++, X11 related etc etc, so that I 
thought that libgtkada2-dev was intended for Gtkada developers. i.e. 
people who work on and improve Gtkada, not a simple end user like me. 
Since I already installed GNAT I also was not sure in what way this 
could interfere. And since for GNAT there is only a doinstall, and not a 
douninstall, I am a bit reluctant to just do "rm -r /usr/gnat" ...)
(Note I want to migrate from Windows XP to Linux/Ubuntu. I have some 
past Unix experience but that was way back....)
    

The GtkAda from AdaCore has the same dependencies as the Debian packages
but, since it is a source-only distribution, it lists the dependencies
in a README file for you, the user, to read and understand.  For example
it depends on GTK+ and you were correctly wondering how to install that
since you are required to install it by yourself.  The purpose of the
Debian packages is to automate all this and save you the work of
compiling everything.  The price you pay is a slightly older version of
the libraries and compiler.

The -dev packages in Debian are not for the developers of the libraries;
they are for application developers who want to use the libraries in
their programs.  (The developers of GtkAda use the sources from the
Subversion repository directly, not a package.)

So, if you are uncomfortable compiling everything and keeping track of
dependencies by hand, I suggest that Debian offers an easier solution.

(Ubuntu is a derivative of Debian and uses the Debian packages, possibly
modified.  That's why my discussion above is relevant to you.  However,
I have no involvement, control or knowledge of Ubuntu, so I am not
responsible for any bugs or discrepancies that Ubuntu may introduce in
their packages.)

  


_______________________________________________
gtkada mailing list
gtkada@...
http://lists.adacore.com/mailman/listinfo/gtkada