gnumed-devel
[Top][All Lists]
Advanced

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

[Gnumed-devel] Success again using MacPorts


From: Jim Busser
Subject: [Gnumed-devel] Success again using MacPorts
Date: Tue, 15 Jun 2010 08:50:39 -0700

On 2010-06-15, at 1:23 AM, Sebastian Hilbert wrote:

> Go to http://www.gitorious.org/gnumed/gnumed/commits/rel-0-7-patches
> and grab the tar.gz. Unzip it e.g. to /tmp and run gm-from-vcs.sh

Done. Below capturing what an unsophisticated user (like me, not thinking 
carefully) might encounter after installing MacPorts... note the testing below 
is without an internet connection:

**************************************************
SCENARIO
1) problem of failure to complete a few installation requirements?
e.g. failure to redirect calls to python to the MacPorts python 2.6 per
        sudo ln -s 
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 python
QUESTION:
- note for the YIELD below, I did not yet already do either of the above, nor 
did I already do the step in the next 2 lines... do you think the link above 
and the python_select below would achieve the same thing: ?
        sudo port install python_select
        sudo python_select python26
        
YIELD:

MacBook:~ djb$ cd /Users/djb/Downloads/gnumed-gnumed/gnumed/gnumed/client 
MacBook:client djb$ sh ./gm-from-vcs.sh
-------------------------------------------------
./gm-from-vcs.sh: line 38: git: command not found
Running from Git branch: 
-------------------------------------------------
GNUmed startup: Running from local source tree.
-----------------------------------------------
Creating module import symlink ...
 real dir: /Users/djb/Downloads/gnumed-gnumed/gnumed/gnumed/client
     link: /Users/djb/Downloads/gnumed-gnumed/gnumed/gnumed/Gnumed
Adjusting PYTHONPATH ...
/Users/djb/Downloads/gnumed-gnumed/gnumed/gnumed/Gnumed/pycommon/gmTools.py:11: 
DeprecationWarning: the MimeWriter module is deprecated; use the email package 
instead
  import urllib2 as wget, decimal, StringIO, MimeWriter, mimetypes, mimetools
DISPATCHER WARNING: connect(): unknown signal [test_result_mod_db]
DISPATCHER WARNING: connect(): unknown signal [substance_intake_mod_db]
Xlib:  extension "RANDR" missing on display "/tmp/launch-uvUcuj/org.x:0".

COMMENT / QUESTIONS:
- does the user lose any advantage (line 38) from not having installed git?
- to what do the DISPATCHER warnings relate (as it proved unrelated to the lack 
of an internet connection)?
- seemed to hang on the last line Xlib... would it be explained by lack of 
having made the symlink from python to MacPorts' python26 or do you suspect I 
only just didn't wait long enough for X11 to have been called the first time?


******************************************
SCENARIO
2) after retrying, after the symlink above was done (the retry hardly took any 
time)

MacBook:client djb$ sudo ln -s 
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 python
Password:
MacBook:client djb$ sh ./gm-from-vcs.sh
-------------------------------------------------
./gm-from-vcs.sh: line 38: git: command not found
Running from Git branch: 
-------------------------------------------------
GNUmed startup: Running from local source tree.
-----------------------------------------------
Adjusting PYTHONPATH ...
/Users/djb/Downloads/gnumed-gnumed/gnumed/gnumed/Gnumed/pycommon/gmTools.py:11: 
DeprecationWarning: the MimeWriter module is deprecated; use the email package 
instead
  import urllib2 as wget, decimal, StringIO, MimeWriter, mimetypes, mimetools
DISPATCHER WARNING: connect(): unknown signal [test_result_mod_db]
DISPATCHER WARNING: connect(): unknown signal [substance_intake_mod_db]
Xlib:  extension "RANDR" missing on display "/tmp/launch-uvUcuj/org.x:0".

COMMENT / QUESTIONS
- the above succeeded to raise the GNUmed client login dialog

PNG image


AND AFTER CLICKING "Cancel" ...

OnInit returned false, exiting...
MacBook:client djb$ 

and then, once I had an internet connection:

PNG image



reply via email to

[Prev in Thread] Current Thread [Next in Thread]