View Single Post
Old 12-27-2009, 08:24 AM   #4
krischik
Addict
krischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheese
 
krischik's Avatar
 
Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
Question

Quote:
Originally Posted by krischik View Post
Is there a way to influence the architecture?
Ok, I got the build files patched. However now I get:

Code:
>python setup.py install --prefix=/tmp/calibre

Setting up a source based development environment is only supported on linux. On other platforms, see the User Manual for help with setting up a development environment.
So no standard installation for OS X. Next try:

Code:
>python setup.py osx   

*
* Running osx32
*

/bin/sh: /etc/init.d/vmware: No such file or directory
/bin/sh: /etc/init.d/vmware: No such file or directory
Traceback (most recent call last):
  File "setup.py", line 99, in <module>
    sys.exit(main())
  File "setup.py", line 85, in main
    command.run_all(opts)
  File "/opt/local/var/macports/build/_Volumes_Work_MacPorts_dports_ebook_calibre/work/calibre/setup/__init__.py", line 158, in run_all
    self.run_cmd(self, opts)
  File "/opt/local/var/macports/build/_Volumes_Work_MacPorts_dports_ebook_calibre/work/calibre/setup/__init__.py", line 151, in run_cmd
    self.run_cmd(scmd, opts)
  File "/opt/local/var/macports/build/_Volumes_Work_MacPorts_dports_ebook_calibre/work/calibre/setup/__init__.py", line 154, in run_cmd
    cmd.run(opts)
  File "/opt/local/var/macports/build/_Volumes_Work_MacPorts_dports_ebook_calibre/work/calibre/setup/installer/__init__.py", line 114, in run
    self.start_vm()
  File "/opt/local/var/macports/build/_Volumes_Work_MacPorts_dports_ebook_calibre/work/calibre/setup/installer/__init__.py", line 90, in start_vm
    self.run_vm()
  File "/opt/local/var/macports/build/_Volumes_Work_MacPorts_dports_ebook_calibre/work/calibre/setup/installer/__init__.py", line 86, in run_vm
    self.__p = subprocess.Popen([self.vm])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 621, in __init__
    errread, errwrite)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1126, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
That look like a very special set-up which is close to impossible to replicate.

Martin
krischik is offline   Reply With Quote