This was committed: r29606 | nox@macports.org | 2007-10-02 23:59:41 +0300 (Ti, 02 Lok 2007) | 8 lines python25 (closes #12803): * Added dynamic library build. * Added gettext dependency (for the _locale core module). * Fixed the "_environ not defined" bug. * Reworked post-destroot stage to use `move` instead of `system cd mv`. * Added md5 checksum. * Rewritten livecheck.regex to something cooler. Ok, this seems to work as advertised, but if, as I did, one drops disable-framework (to do the framework install that is really needed), the result is this: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/Library/Frameworks/Python.framework/ Versions/2.5/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib /usr/bin/gcc-4.0 -L/opt/local/lib -u _PyMac_Error Python.framework/ Versions/2.5/Python -o python.exe \ Modules/python.o \ -L. -lpython2.5 -ldl i686-apple-darwin8-gcc-4.0.1: Python.framework/Versions/2.5/Python: No such file or directory make: *** [python.exe] Error 1 With the previous version I could build a framework install, albeit a bit misconfigured, but this breaks it. I'll look into this, but I don't have much time to use at the moment, so I'd be grateful of anyone's help here. ! ! Jyrki Wahlstedt ! http://www.wahlstedt.fi/jyrki/ ! ! Our life is no dream; but it ought to become one and perhaps will. ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386
Le 4 oct. 07 à 12:26, Jyrki Wahlstedt a écrit :
This was committed: r29606 | nox@macports.org | 2007-10-02 23:59:41 +0300 (Ti, 02 Lok 2007) | 8 lines
python25 (closes #12803): * Added dynamic library build. * Added gettext dependency (for the _locale core module). * Fixed the "_environ not defined" bug. * Reworked post-destroot stage to use `move` instead of `system cd mv`. * Added md5 checksum. * Rewritten livecheck.regex to something cooler.
Ok, this seems to work as advertised, but if, as I did, one drops disable-framework (to do the framework install that is really needed), the result is this: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/Library/Frameworks/ Python.framework/Versions/2.5/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib /usr/bin/gcc-4.0 -L/opt/local/lib -u _PyMac_Error Python.framework/ Versions/2.5/Python -o python.exe \ Modules/python.o \ -L. -lpython2.5 -ldl i686-apple-darwin8-gcc-4.0.1: Python.framework/Versions/2.5/Python: No such file or directory make: *** [python.exe] Error 1
What is the framework install really needed? To solve your problem, you only need to disable the Makefile.pre.in patch. Anyway, it seems the Makefile framework target is broken: `$(INSTALL) -d -m $(DIRMODE) $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION) ` does not install in $(DESTDIR). `-install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$ (VERSION)/Python` should not include $(DESTDIR).
With the previous version I could build a framework install, albeit a bit misconfigured, but this breaks it. I'll look into this, but I don't have much time to use at the moment, so I'd be grateful of anyone's help here.
! ! Jyrki Wahlstedt ! http://www.wahlstedt.fi/jyrki/ ! ! Our life is no dream; but it ought to become one and perhaps will. ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386
-- Anthony Ramine, the infamous MacPorts Trac slave. nox@macports.org
On 4.10.2007, at 13.42, N_Ox wrote:
Le 4 oct. 07 à 12:26, Jyrki Wahlstedt a écrit :
This was committed: r29606 | nox@macports.org | 2007-10-02 23:59:41 +0300 (Ti, 02 Lok 2007) | 8 lines
python25 (closes #12803): * Added dynamic library build. * Added gettext dependency (for the _locale core module). * Fixed the "_environ not defined" bug. * Reworked post-destroot stage to use `move` instead of `system cd mv`. * Added md5 checksum. * Rewritten livecheck.regex to something cooler.
Ok, this seems to work as advertised, but if, as I did, one drops disable-framework (to do the framework install that is really needed), the result is this: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/Library/Frameworks/ Python.framework/Versions/2.5/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib /usr/bin/gcc-4.0 -L/opt/local/lib -u _PyMac_Error Python.framework/ Versions/2.5/Python -o python.exe \ Modules/python.o \ -L. -lpython2.5 -ldl i686-apple-darwin8-gcc-4.0.1: Python.framework/Versions/2.5/ Python: No such file or directory make: *** [python.exe] Error 1
What is the framework install really needed?
E.g. py25-wxpython…
To solve your problem, you only need to disable the Makefile.pre.in patch.
Thanks, have to try!
Anyway, it seems the Makefile framework target is broken: `$(INSTALL) -d -m $(DIRMODE) $(PYTHONFRAMEWORKDIR)/Versions/$ (VERSION)` does not install in $(DESTDIR). `-install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$ (VERSION)/Python` should not include $(DESTDIR).
With the previous version I could build a framework install, albeit a bit misconfigured, but this breaks it. I'll look into this, but I don't have much time to use at the moment, so I'd be grateful of anyone's help here.
-- Anthony Ramine, the infamous MacPorts Trac slave. nox@macports.org
! ! Jyrki Wahlstedt ! http://www.wahlstedt.fi/jyrki/ ! ! Our life is no dream; but it ought to become one and perhaps will. ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386
On 4.10.2007, at 14.04, Jyrki Wahlstedt wrote:
E.g. py25-wxpython…
To solve your problem, you only need to disable the Makefile.pre.in patch.
Thanks, have to try!
Hmm, I added patch-delete the file mentioned, but the result was: make: *** No rule to make target `libpython2.5.dylib', needed by `python.exe'. Stop. Warning: the following items did not execute (for python25): org.macports.destroot org.macports.build So, back to … ! ! Jyrki Wahlstedt ! http://www.wahlstedt.fi/jyrki/ ! ! Our life is no dream; but it ought to become one and perhaps will. ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386
Le 4 oct. 07 à 13:04, Jyrki Wahlstedt a écrit :
On 4.10.2007, at 13.42, N_Ox wrote:
Le 4 oct. 07 à 12:26, Jyrki Wahlstedt a écrit :
This was committed: r29606 | nox@macports.org | 2007-10-02 23:59:41 +0300 (Ti, 02 Lok 2007) | 8 lines
python25 (closes #12803): * Added dynamic library build. * Added gettext dependency (for the _locale core module). * Fixed the "_environ not defined" bug. * Reworked post-destroot stage to use `move` instead of `system cd mv`. * Added md5 checksum. * Rewritten livecheck.regex to something cooler.
Ok, this seems to work as advertised, but if, as I did, one drops disable-framework (to do the framework install that is really needed), the result is this: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/Library/Frameworks/ Python.framework/Versions/2.5/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib /usr/bin/gcc-4.0 -L/opt/local/lib -u _PyMac_Error Python.framework/Versions/2.5/Python -o python.exe \ Modules/python.o \ -L. -lpython2.5 -ldl i686-apple-darwin8-gcc-4.0.1: Python.framework/Versions/2.5/ Python: No such file or directory make: *** [python.exe] Error 1
What is the framework install really needed?
E.g. py25-wxpython…
So that's py25-wxpython which is having a problem. No port should require modifications on other ports to install.
To solve your problem, you only need to disable the Makefile.pre.in patch.
Thanks, have to try!
Anyway, it seems the Makefile framework target is broken: `$(INSTALL) -d -m $(DIRMODE) $(PYTHONFRAMEWORKDIR)/Versions/$ (VERSION)` does not install in $(DESTDIR). `-install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$ (VERSION)/Python` should not include $(DESTDIR).
With the previous version I could build a framework install, albeit a bit misconfigured, but this breaks it. I'll look into this, but I don't have much time to use at the moment, so I'd be grateful of anyone's help here.
-- Anthony Ramine, the infamous MacPorts Trac slave. nox@macports.org
! ! Jyrki Wahlstedt ! http://www.wahlstedt.fi/jyrki/ ! ! Our life is no dream; but it ought to become one and perhaps will. ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386
-- Anthony Ramine, the infamous MacPorts Trac slave. nox@macports.org
On 4.10.2007, at 15.51, N_Ox wrote:
Le 4 oct. 07 à 13:04, Jyrki Wahlstedt a écrit :
On 4.10.2007, at 13.42, N_Ox wrote:
Le 4 oct. 07 à 12:26, Jyrki Wahlstedt a écrit :
This was committed: r29606 | nox@macports.org | 2007-10-02 23:59:41 +0300 (Ti, 02 Lok 2007) | 8 lines
python25 (closes #12803): * Added dynamic library build. * Added gettext dependency (for the _locale core module). * Fixed the "_environ not defined" bug. * Reworked post-destroot stage to use `move` instead of `system cd mv`. * Added md5 checksum. * Rewritten livecheck.regex to something cooler.
Ok, this seems to work as advertised, but if, as I did, one drops disable-framework (to do the framework install that is really needed), the result is this: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/Library/Frameworks/ Python.framework/Versions/2.5/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/ lib /usr/bin/gcc-4.0 -L/opt/local/lib -u _PyMac_Error Python.framework/Versions/2.5/Python -o python.exe \ Modules/python.o \ -L. -lpython2.5 -ldl i686-apple-darwin8-gcc-4.0.1: Python.framework/Versions/2.5/ Python: No such file or directory make: *** [python.exe] Error 1
What is the framework install really needed?
E.g. py25-wxpython…
So that's py25-wxpython which is having a problem. No port should require modifications on other ports to install.
I wouldn't do this conclusion. It is clearly stated in wxPython documentation. Moreover, framework install is something that should work, even if it isn't used…
To solve your problem, you only need to disable the Makefile.pre.in patch.
Thanks, have to try!
Anyway, it seems the Makefile framework target is broken: `$(INSTALL) -d -m $(DIRMODE) $(PYTHONFRAMEWORKDIR)/Versions/$ (VERSION)` does not install in $(DESTDIR). `-install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$ (VERSION)/Python` should not include $(DESTDIR).
With the previous version I could build a framework install, albeit a bit misconfigured, but this breaks it. I'll look into this, but I don't have much time to use at the moment, so I'd be grateful of anyone's help here.
-- Anthony Ramine, the infamous MacPorts Trac slave. nox@macports.org
! ! Jyrki Wahlstedt ! http://www.wahlstedt.fi/jyrki/ ! ! Our life is no dream; but it ought to become one and perhaps will. ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386
-- Anthony Ramine, the infamous MacPorts Trac slave. nox@macports.org
Le 4 oct. 07 à 15:05, Jyrki Wahlstedt a écrit :
On 4.10.2007, at 15.51, N_Ox wrote:
Le 4 oct. 07 à 13:04, Jyrki Wahlstedt a écrit :
On 4.10.2007, at 13.42, N_Ox wrote:
Le 4 oct. 07 à 12:26, Jyrki Wahlstedt a écrit :
<snip>
What is the framework install really needed?
E.g. py25-wxpython…
So that's py25-wxpython which is having a problem. No port should require modifications on other ports to install.
I wouldn't do this conclusion. It is clearly stated in wxPython documentation. Moreover, framework install is something that should work, even if it isn't used…
But you do need to go around modifying the python25 Portfile. I haven't said these softwares are broken, just their ports ;) Back on topic, disable both Makefile.pre.in and configure patches and try again.
<snip> ! ! Jyrki Wahlstedt ! http://www.wahlstedt.fi/jyrki/ ! ! Our life is no dream; but it ought to become one and perhaps will. ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386
-- Anthony Ramine, the infamous MacPorts Trac slave. nox@macports.org
N_Ox wrote:
Le 4 oct. 07 à 12:26, Jyrki Wahlstedt a écrit :
This was committed: r29606 | nox@macports.org | 2007-10-02 23:59:41 +0300 (Ti, 02 Lok 2007) | 8 lines
python25 (closes #12803): * Added dynamic library build. * Added gettext dependency (for the _locale core module). * Fixed the "_environ not defined" bug. * Reworked post-destroot stage to use `move` instead of `system cd mv`. * Added md5 checksum. * Rewritten livecheck.regex to something cooler.
Ok, this seems to work as advertised, but if, as I did, one drops disable-framework (to do the framework install that is really needed), the result is this: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib /usr/bin/gcc-4.0 -L/opt/local/lib -u _PyMac_Error Python.framework/Versions/2.5/Python -o python.exe \ Modules/python.o \ -L. -lpython2.5 -ldl i686-apple-darwin8-gcc-4.0.1: Python.framework/Versions/2.5/Python: No such file or directory make: *** [python.exe] Error 1
What is the framework install really needed?
As a general note, having a framework install of Python 2.5 is important, as right now you're stuck on 2.4 for any PyQt apps or anything else that needs a window. It also should be possible to have a framework Python 2.4 and framework Python 2.5 installed at the same time, so I suggest having them install in two totally different different locations, such as $prefix/Library/Frameworks (for 2.4) and $prefix/Library/Frameworks-Python2.5 otherwise the version $prefix/Library/Frameworks/Python.framework/Versions/Current can't point to either framework. Blair -- Blair Zajac, Ph.D. http://www.orcaware.com/svn/
participants (3)
-
Blair Zajac
-
Jyrki Wahlstedt
-
N_Ox