Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Stata 11 under Gnome 3


From   Antoine Terracol <[email protected]>
To   [email protected]
Subject   Re: st: Stata 11 under Gnome 3
Date   Mon, 17 Oct 2011 16:26:48 +0200

Ok, I've finally managed to get it working, with the help of another forum.

In case someone has the same problems, here are the steps that worked for me.

Setup:
- Ubuntu 11.10 (Oneiric) 64 bits
- Stata 11 MP 64 bits


Steps
#Install Stata 11

sudo mkdir /usr/local/stata11
cd /usr/local/stata11
sudo /media/stata/install
sudo ./stinit

#make a symbolic link to a library

sudo ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.4 /usr/lib/libtiff.so.3


#install packages from the reposotories

sudo apt-get install libgnomeprint-2.0

# install packages not available in the Oneiric repos, but available for Ubuntu 11.04 (Natty)

go to http://packages.ubuntu.com/natty/amd64/libs/libgtksourceview1.0-0

click on  libgtksourceview-common (<< 1.9)

download the .deb file, it should open with the software center, install it

go back to http://packages.ubuntu.com/natty/amd64/libs/libgtksourceview1.0-0

download the .deb for amd64, install again from the software center


This works on my computer, the GUI launches and does not crash upon opening the do file editor.

Antoine

On 15/10/11 19:13, Antoine Terracol wrote:
Hi David, and thanks for the link.

As a matter of fact, I have another computer for which I did an upgrade
(as opposed to a fresh install) to 11.10 (32 bits, though); and Stata
works fine.

I did manage to launch xstata in my fresh install of Oneiric 64 bits,
but opening the do file editor crashes Stata. In Ubuntu 11.04 this was
solved by installing libgtksourceview1.0-0 (as indicated in the message
you link to), but the package is not available anymore in the Oneiric
repos...
As a workaround I use gedit to send my code to Stata (using the external
tools plugin and a small script I can send to anyone interested).

If I can't find a solution maybe I'll do a fresh install of Natty,
configure Stata as indicated in your link, and then upgrade to Oneiric...

Thanks for your help, I'll report back when a solution is found.
Antoine


On 15/10/11 08:32, David Muller wrote:
Hi Antoine,

I just upgraded to 11.10 and dynamically linked Stata (both versions
12 and 11) are working fine. Have you tried following the instructions
posted previously?

http://www.stata.com/statalist/archive/2011-04/msg01297.html

If so and xstata still won't launch, does ldd report any missing
dependencies when run on the Stata executable?

Cheers,
David

On Fri, Oct 14, 2011 at 5:11 PM, Antoine Terracol
<[email protected]> wrote:
Thanks Roland,

I actually used the blog's instruction when installing in 11.04
(which uses
Gnome2) and Stata was working just fine, but it failed to launch in
11.10
(using Gnome3). The console version works without problems, it's just
the
GUI.

I'll investigate and post a solution here if I can find one.

Antoine


On 14/10/11 07:49, roland andersson wrote:

Antoine

Google on stata and ubuntu with restriction to last year gives some
information that may help.


http://jonas.ranstam.se/2011/04/19/stata-v11-with-ubuntu-11-04-natty-narwhal-unity-launcher/


I do not know the difference between Ubuntu 11.04 and 11.10.

Roland Andersson

2011/10/13 Antoine Terracol<[email protected]>:

Hi all,

has anyone managed to install and run the Stata 11 (GUI) under the new
Ubuntu 11.10 (or another GTK3 system).

After installing the dynamically linked version (64 bits), making the
symbolic links to libgtksourceview-3.0.so.0 and to libtiff.so.4
; and installing libgnomeprint2.2-0, I get the following error
message:

Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3
in the
same process is not supported

--
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.

*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/


*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/



--
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.

*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/


*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/





--
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index