gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] GNUmed download & installation problems (Macintosh Ti


From: J Busser
Subject: Re: [Gnumed-devel] GNUmed download & installation problems (Macintosh Tiger)
Date: Fri, 28 Sep 2007 00:56:16 -0700

I updated the download (Mac) wiki page and thought I would try my Mac (PowerPC running 10.4)

On Sep 27, 2007, at 12:10 PM, Sebastian Hilbert wrote:

On debian it works for sure. On Ubuntu as well. Mac is no problem program wise. One just needs to install the prerequisites as mentioned in our wiki
and use the tgz. unpack it and run the shell script as a user.

I did as above and assume on a Mac that normally one simply does

        cd  [/directory containing the client]

and then does (with $ being my prompt)

        $ python gm-from-cvs

which gave after a few different efforts

        iMac:~/Desktop/GNUmed-0.2.7.0 jb$ python gm-from-cvs
        python: can't open file 'gm-from-cvs'

        iMac:~/Desktop/GNUmed-0.2.7.0 jb$ pythonw gm-from-cvs
/System/Library/Frameworks/Python.framework/Versions/2.3/Resources/ Python.app/Contents/MacOS/Python: can't open file 'gm-from-cvs'

        iMac:~/Desktop/GNUmed-0.2.7.0 jb$ pythonw gm-from-cvs
/System/Library/Frameworks/Python.framework/Versions/2.3/Resources/ Python.app/Contents/MacOS/Python: can't open file 'gm-from-cvs'

        iMac:~/Desktop/GNUmed-0.2.7.0 jb$ pythonw gm-from-cvs.sh
/System/Library/Frameworks/Python.framework/Versions/2.3/Resources/ Python.app/Contents/MacOS/Python: can't open file 'gm-from-cvs.sh'

At another time I got
        iMac:~/Desktop/GNUmed-0.2.7.0/client jb$ python gm-from-cvs.sh
          File "gm-from-cvs.sh", line 12
            cd ../
                ^

and even when I changed python to pythonw in gm-from-cvs I get the same errors
        # run
pythonw wxpython/gnumed.py --log-file=$LOG --conf-file=gm-from- cvs.conf --

Maybe the problem comes from python 2.3x being the default in Tiger... even after I install python 2.4.4 and open a Terminal window and type
        su python -V

I am told only 2.3x even though running
        iMac:/usr/local/bin jb$ ls
lists results including
        python
        python2.4
        pythonw
        pythonw2.4

If instead I try calling pythonw2.4 from inside /usr/local/bin
        iMac:/usr/local/bin jb$ pythonw gm-from-cvs.sh
I see
iMac:/usr/local/bin jb$ pythonw2.4 /Users/jb/Desktop/GNUmed-0.2.7.0/ client/gm-from-cvs.sh File "/Users/jb/Desktop/GNUmed-0.2.7.0/client/gm-from-cvs.sh", line 12
            cd ../
               ^
SyntaxError: invalid syntax

Does the following post explain anything?
http://www.nabble.com/Lost-among-multiple-Python-version-on-my-mac- t2661692.html




reply via email to

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