Python Class Library for Numbers package.

Ryan Schmidt ryandesign at macports.org
Mon Apr 26 11:23:02 PDT 2010


On Apr 26, 2010, at 03:22, David Nicholls wrote:

> OK, I've worked on this a bit further.
> 
> I have installed the MacPorts 'cln' package - it installs the cln/ directory in /opt/local/include/
> 
> With that in place, the calcrpn-py package installs OK. (It is needed by clnum).
> 
> The next step is to install the clnum module, as per
> http://calcrpnpy.sourceforge.net/clnumManual.html  I can't get it to find the numerous .h files that need to be included, because of a path problem.
> 
> I'm pretty sure that the problem lies in the command as given on the above web page (run from within ipython run via sudo):
> 
> run clnum_setup.py install --prefix=/usr/local
> 
> The various '.h' files have a whole bunch of #include statements with files named like 'cln/xxx.h'
> 
> A typical line is:
> 
> #include "cln/types.h"
> 
> and the install process cannot find any of the "cln/xxx.h" files.
> 
> Hoping that there was some sort of global prefix process I could use, I have tried a variety of "--prefix=..." variants without any luck.  (eg --prefix=/opt/local/include)
> 
> I could replace all the 'cln/' strings in the .h files and in clnum.cpp with '/opt/local/include/cln/' (and there are dozens of them in a lot of files) but that's pretty crude and I'm sure there's a more elegant way.
> 
> Any suggestions?

Need more specifics. If you have an in-progress portfile you're working on, can you send it to us? If you're building by hand, can you show us the exact commands you're typing and the exact error messages you get back?




More information about the macports-users mailing list