You are not logged in.



#1 2009-02-17 22:58:19

jriley
Member
From: Spartanburg, SC USA
Registered: 2008-04-08
Posts: 171
Website

Papywizard on MacOS

Has anyone out there tried to run Papywizard on Mac OS X?  With its Unix core, shouldn't it be easy?  I know Python is already installed.

I would like to give it a whirl, but just don't know where to begin.

John

Offline

 

#2 2009-02-17 22:59:52

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 7684
Website

Re: Papywizard on MacOS

I'm sure Frederic will be happy to offer some guidance.


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm  lenses, Nodal Ninja 5 Lite, Agno's Mrotator TCSshort
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket
Merlin/Orion panohead + Papywizard on Nokia 770/N800 and Windows XP/2K

Offline

 

#3 2009-02-18 00:18:36

bigwade
Member
From: NL
Registered: 2008-11-18
Posts: 302

Re: Papywizard on MacOS

jriley wrote:

Has anyone out there tried to run Papywizard on Mac OS X?  With its Unix core, shouldn't it be easy?  I know Python is already installed.

I would like to give it a whirl, but just don't know where to begin.

John

John, if someone can make GUI for installing PW, that would be GREAT !
I could even use my MacBook.
But it's a deep in the system thing.
France is a very Mac minded country but even they don't know.........
grtz
Frank

Offline

 

#4 2009-02-18 00:42:53

klausesser
Member
From: Düsseldorf, Germany
Registered: 2006-05-22
Posts: 4136
Website

Re: Papywizard on MacOS

mediavets wrote:

I'm sure Frederic will be happy to offer some guidance.

That would be very interesting!

best, Klaus


If you're going to tell people the truth, be funny or they'll kill you. - Billy Wilder

Offline

 

#5 2009-02-18 01:07:51

bigwade
Member
From: NL
Registered: 2008-11-18
Posts: 302

Re: Papywizard on MacOS

Got this mail from Frederic 18/11/2008
I hope it's oké to post it here Frederic.

QUOTE:

"I'm looking for someone to test Papywizard under MacOS. It should run
out-of-the box, or with very little adjustments. Would you like to give it
a try?

I guess python is already installed on MacOS. So, just download the
software from:

http://trac.gbiloba.org/papywizard/browser/trunk

(click on the 'Zip Archive' at the bottom of the page).

Once installed and unziped, just open a console, go to the 'trunk' dir, and
run the shell script papywizard.sh (don't know what shell you are running;
it may work using './papywizard.sh', or 'sh papywizard.sh').

It should run in simulation mode; w'll see for serial or bluetooth
connexion later."
end quote.

I'm a Macuser and not a under the hood guy so after "open a console" I stopped..
But if others can use this, do it ! smile AND REPORT !
grtz!

Last edited by bigwade (2009-02-18 01:17:25)

Offline

 

#6 2009-02-18 01:27:27

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: Papywizard on MacOS

Ok, I will give you usefull informations to install PyQt on MacOS (to run Papywizard 2, as PyGTK for Papywizard 1 does not exist). You will need to compile some stuff, but it should not be a problem...


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#7 2009-02-18 03:01:38

jriley
Member
From: Spartanburg, SC USA
Registered: 2008-04-08
Posts: 171
Website

Re: Papywizard on MacOS

What would really be great would be running it on an iPhone or iPod Touch big_smile

Offline

 

#8 2009-02-18 08:41:03

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: Papywizard on MacOS

I know nothing about ixxx development. If you can run PyQt on such plateform, then it should work.


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#9 2009-02-18 09:21:59

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: Papywizard on MacOS

Ok, here are the steps to compile/install PyQt on MacOS:

1) Install Qt:

ftp://ftp.trolltech.com/qt/source/qt-ma … -4.4.3.dmg

Check if you don't already have an official MacOS package...

2) Download sip:

http://www.riverbankcomputing.co.uk/sta … 7.9.tar.gz

3) Extract and compile sip

The following steps need to be executed in a consoel, from the dir where you downloaded sip. Us 'cd'  command to navigate through directories.

$ tar xvzf sip-4.7.9.tar.gz
$ cd sip-4.7.9
$ python configure.py
$ make
# make install

(you may need to become root to install it).

4) Download PyQt:

http://www.riverbankcomputing.co.uk/sta … 4.4.tar.gz

5) Extract and compile PyQt

$ tar xvzf PyQt-mac-gpl-4.4.4.tar.gz
$ cd PyQt-mac-gpl-4.4.4
$ python configure.py
$ make
# make install

For both sip and PyQt, have a look at the file xxxref.txt or xxxref.html, in the subdir 'doc'. There are usefull informations to install these packages.

Good luck wink


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#10 2009-02-18 12:45:22

klausesser
Member
From: Düsseldorf, Germany
Registered: 2006-05-22
Posts: 4136
Website

Re: Papywizard on MacOS

fma38 wrote:

Ok, I will give you usefull informations to install PyQt on MacOS (to run Papywizard 2, as PyGTK for Papywizard 1 does not exist). You will need to compile some stuff, but it should not be a problem...

Hi Pal!

Many guys i know would be happy to run PW from their MacBooks or PowerBooks via Bluetooth instead of buying a extra device. (i myself prefer the extra device cool)

So providing a way they could install and run PW on their partable Macs which doesn´t mean to go into command-lines would be absolutely great! Or at least a detailed description for absolute dummies of what to do step by step . . wink

Mac-users usually think different . . . tongue cool

best, Klaus

P.S.:

oops - sorry: i oversaw your latest posting.

Last edited by klausesser (2009-02-18 12:50:57)


If you're going to tell people the truth, be funny or they'll kill you. - Billy Wilder

Offline

 

#11 2009-02-18 14:00:05

numz
Member
Registered: 2008-05-21
Posts: 139

Re: Papywizard on MacOS

I have try :

fma38 wrote:

Ok, here are the steps to compile/install PyQt on MacOS:

1) Install Qt:

ftp://ftp.trolltech.com/qt/source/qt-ma … -4.4.3.dmg

Check if you don't already have an official MacOS package...

2) Download sip:

http://www.riverbankcomputing.co.uk/sta … 7.9.tar.gz

3) Extract and compile sip

The following steps need to be executed in a consoel, from the dir where you downloaded sip. Us 'cd'  command to navigate through directories.

$ tar xvzf sip-4.7.9.tar.gz
$ cd sip-4.7.9
$ python configure.py
$ make
# make install

(you may need to become root to install it).

I have a problem at point 3)

Code:

imac:sip-4.7.9 emury$ python configure.py
This is SIP 4.7.9 for Python 2.5.1 on darwin.
The SIP code generator will be installed in
/System/Library/Frameworks/Python.framework/Versions/2.5/bin.
The SIP module will be installed in /Library/Python/2.5/site-packages.
The SIP header file will be installed in
/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5.
The default directory to install .sip files in is
/System/Library/Frameworks/Python.framework/Versions/2.5/share/sip.
The platform/compiler configuration is macx-g++.
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...
imac:sip-4.7.9 emury$ make
-bash: make: command not found

Offline

 

#12 2009-02-18 16:13:11

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: Papywizard on MacOS

You need to install some development packages. I don't know well MacOS packaging strategy, but I would first try to look at official Apple repository to see if they can be installed from there. I know there are some official development things, but I don't know if you need a special OS installer or not.

Here, you first step is to install make and gcc/g++ packages.

I'll try to find where you can get them...


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#13 2009-02-18 23:10:21

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: Papywizard on MacOS

Ok, here some informations to compile/install PyQt on MacOS, given by William Kyngesburye, on PyQt mailng list (I didn't try myself, as I don't have a Mac):

1. Install Xcode.

Every new Mac should include an Xcode install disk. But this is probably out of date. Really, you should go to http://developer.apple.com/tools/xcode/index.html, Mac Dev Center and download a current version of Xcode. You need to register for a free ADC membership. Download is nearly 1GB!

2. Download and install Qt frameworks for OSX.

ftp://ftp.trolltech.com/qt/source/qt-ma … -4.4.3.dmg

Now, some OS specific stuffs...

** For Leopard (using the system Python 2.5) **

3. Download/Compile/install sip:

http://www.riverbankcomputing.co.uk/sta … 7.9.tar.gz

Code:

$ export MACOSX_DEPLOYMENT_TARGET=10.5
$ python configure.py -n -d /Library/Python/2.5/site-packages -b /usr/local/bin -e /usr/local/include -v /usr/local/share/sip -s MacOSX10.5.sdk
$ make
$ sudo make install

4. Download/compile install PyQt:

http://www.riverbankcomputing.co.uk/sta … 4.4.tar.gz

Code:

$ export QTDIR=/Developer/Applications/Qt
$ python configure.py -d /Library/Python/2.5/site-packages -b /usr/local/bin
$ make
$ sudo make install

** For Tiger and Leopard (using the python.org Python 2.5) **

3b. Download/install Python 2.5:

http://www.python.org/ftp/python/2.5.4/ … macosx.dmg

4b. Download/compile/install sip:

http://www.riverbankcomputing.co.uk/sta … 7.9.tar.gz

Code:

$ export MACOSX_DEPLOYMENT_TARGET=10.4
$ python configure.py -n -d /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages -s MacOSX10.4u.sdk
$ make
$ sudo make install

5. Download/compile install PyQt:

http://www.riverbankcomputing.co.uk/sta … 4.4.tar.gz

Code:

$ export QTDIR=/Developer/Applications/Qt
$ python configure.py -d /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages
$ make
$ sudo make install

Feel free to post your questions if you have problems.

Once all works fine, I'll do a wiki page.


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#14 2009-02-20 11:07:44

numz
Member
Registered: 2008-05-21
Posts: 139

Re: Papywizard on MacOS

I should find a little bit time to try this...
Too much work for the moment... sad

Offline

 

#15 2009-02-21 10:19:12

jeremyp
Member
From: Sydney, Australia
Registered: 2009-02-15
Posts: 33
Website

Re: Papywizard on MacOS

fma38 wrote:

Once all works fine, I'll do a wiki page.

I can confirm that papywizard runs on OSX but cannot yet test hardware operation (next week). I changed settings, loaded a preset and ran a simulation of the shoot.

Process was to build and install Qt, SIP and PyQt. I already had the developer stuff installed..

Nice big_smile


Uploaded Images

Offline

 

#16 2009-02-21 10:43:49

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 7684
Website

Re: Papywizard on MacOS

jeremyp wrote:

fma38 wrote:

Once all works fine, I'll do a wiki page.

I can confirm that papywizard runs on OSX but cannot yet test hardware operation (next week). I changed settings, loaded a preset and ran a simulation of the shoot.

Process was to build and install Qt, SIP and PyQt. I already had the developer stuff installed..

Nice big_smile

Congratulations - a world first! smile


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm  lenses, Nodal Ninja 5 Lite, Agno's Mrotator TCSshort
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket
Merlin/Orion panohead + Papywizard on Nokia 770/N800 and Windows XP/2K

Offline

 

#17 2009-02-21 11:34:35

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: Papywizard on MacOS

Great Jeremy!

Did you follow the explanations above? If not, can you tell us what you did, so we can create a wiki page?

Would you like to help to create a Papywizard MacOS package?


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#18 2009-02-21 11:50:28

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: Papywizard on MacOS

Another question: do you have bluetooth on you Mac? Did you try to use the Bluetooth Chooser in the Configuration dialog to see if scanning works (and so, the BT stuff)?


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#19 2009-02-21 18:16:00

loddie
Member
Registered: 2009-02-21
Posts: 18

Re: Papywizard on MacOS

I too am a Mac user and would like to see this PW running for Mac OSX and iphone/ipod touch.  Unfortunately, I do not have any computer skills to contribute.hmm

Offline

 

#20 2009-02-21 18:29:33

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: Papywizard on MacOS

Hello and welcome wink

Be patient: I hope Jeremy and I will soon be able to propose a binary for MacOS...


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#21 2009-02-21 19:46:31

bigwade
Member
From: NL
Registered: 2008-11-18
Posts: 302

Re: Papywizard on MacOS

jeremyp wrote:

fma38 wrote:

Once all works fine, I'll do a wiki page.

I can confirm that papywizard runs on OSX but cannot yet test hardware operation (next week). I changed settings, loaded a preset and ran a simulation of the shoot.

Process was to build and install Qt, SIP and PyQt. I already had the developer stuff installed..

Nice big_smile

WoW ! Looks gooooooooood !

Offline

 

#22 2009-02-21 20:24:29

bigwade
Member
From: NL
Registered: 2008-11-18
Posts: 302

Re: Papywizard on MacOS

loddie wrote:

I too am a Mac user and would like to see this PW running for Mac OSX and iphone/ipod touch.  Unfortunately, I do not have any computer skills to contribute.hmm

Frederic, did you manage to contact Brian Greenstone (http://www.pangeasoft.net/pano/index.html) to "rewrite" PW for an iPhone.
An iPod Touch has no BT...loddie

Offline

 

#23 2009-02-21 20:50:12

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6028
Website

Re: Papywizard on MacOS

Yes, I contacted him, but it didn't look very interested... But as neither GTK nor Qt runs on iphone, you need to re-write the entire application sad


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM + Tokina 10-17 3.5-4.5 AF DX Fisheye
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#24 2009-02-21 22:13:42

bigwade
Member
From: NL
Registered: 2008-11-18
Posts: 302

Re: Papywizard on MacOS

fma38 wrote:

Yes, I contacted him, but it didn't look very interested... But as neither GTK nor Qt runs on iphone, you need to re-write the entire application sad

just send Brian a mail....... smile

Offline

 

#25 2009-02-21 22:47:52

jriley
Member
From: Spartanburg, SC USA
Registered: 2008-04-08
Posts: 171
Website

Re: Papywizard on MacOS

BTW - in following the directions for installing everything needed for Papywizard, it may not be apparent to the uninitiated that you need to be in the directory of the downloaded, unzipped folder of sip and PyQT when executing the commands. 

A simple way to get to a directory in the terminal application for those not familiar with the terminal is to install the applescript found at http://www.entropy.ch/software/applescript/ (very easy), then go to the folder in the finder and click on the OpenTerminalHere icon in the top of the finder window.  Also nice to know: If you are in a directory in the terminal and want to open it in the finder, type "open ." without the parentheses of course, and don't forget the trailing period.

As to my install... when I got to the "sudo make install" step of the PyQT installation, it went on for quite some time in the terminal, then ended with:

/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: for architecture ppc
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: can't locate file for: -lQtCLucene
collect2: ld returned 1 exit status
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: for architecture i386
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't locate file for: -lQtCLucene
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccNJ2Tvm.out (No such file or directory)
make[1]: *** [QtHelp.so] Error 1
make: *** [all] Error 2
imac:~/Desktop/PyQt-mac-gpl-4.4.4 john$

What happened there?  Is this a fatal error?

Lastly - what instructions should I follow to install Papywizard itself?  I am guessing the ones for linux, so I ran the command python setup.py install --prefix=/usr/local while in the 1.9 Papywizard source "trunk" download from http://trac.gbiloba.org/papywizard/browser/trunk.  I had downloaded the "Zip Archive" at the bottom of the page.

First, it hung on wanting to copy the file papywizard.svg from the /debian folder to somewhere.  What the hey, I copied it from the main folder to the /debian folder and tried again.  Woops, permission denied, so I used sudo to run it.  Ok, now it quickly ran through the setup.py script without complaint.  Now what?  There is still no executable in the folder.  I guess I am stuck.  I remember just enough of unix from my grad school days to be a danger to myself tongue

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson