On 09/13/2011 07:54 PM, Christopher Jones wrote:
In the configure script there are hacks like
pythonvers=`python -c 'import sys; sys.stdout.write(sys.version[:3])'`
… so basically it picks up whatever the user has as there default
'python' version and uses that as the version. This explains why
Hi,
Looking into things a bit more, I think I find what the root build system is
doing wrong. Its not quite as simple as I first thought. I had a small typo in
the paths I was passing by hand to test things outside macports, and when I
fixed that I now get
Checking for Python.h ...
/opt/local
On Tue, Sep 13, 2011 at 07:22, Chris Jones wrote:
> I guess the root port always uses -lpython without querying the python
>> config. A symlink in this directory should not harm, so it could be added.
>>
>
> I think this is the case. The root build system doesn't allow for a
> versioned python li
Hi,
I guess the root port always uses -lpython without querying the python
config. A symlink in this directory should not harm, so it could be added.
I think this is the case. The root build system doesn't allow for a
versioned python library, only 'libpython'.
I'll try and follow this up w
On 2011-09-12 22:32 , Chris Jones wrote:
> I am trying to fix a problem with the root port and the python26 variant. The
> code for the variant is below.
>
> As far as I can tell, the configure step for the build fails because the
> python-libdir directory does not have a lib libpython.dylib fil
Hi,
I should add the variant worked fine until recently, around the time Lion was
released. I'm testing it on Lion myself.
Chris
On 12 Sep 2011, at 9:32pm, Chris Jones wrote:
> Hi,
>
> I am trying to fix a problem with the root port and the python26 variant. The
> code for the variant is bel
Hi,
I am trying to fix a problem with the root port and the python26 variant. The
code for the variant is below.
As far as I can tell, the configure step for the build fails because the
python-libdir directory does not have a lib libpython.dylib file. It only has
the versioned file libpython2.