Re: py25-scipy failing due to arch flags set in python25 PortGroup
On May 30, 2011, at 19:49, Adam Mercer wrote: Those lines probably need to be added to py25-scipy and py-scipy. Thanks, that did the trick (with the python25 version, I haven't got python24 installed at the moment). I tried backporting that and other changes in py25-scipy to py-scipy but it's not building; I continue to investigate. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
py25-scipy failing due to arch flags set in python25 PortGroup
Hi In try to fix a build error in py25-scipy (#29644[1]) it's failing with: :info:build Undefined symbols: :info:build _Py_BuildValue, referenced from: :info:build _f2py_rout__fftpack_destroy_dct1_cache in _fftpackmodule.o :info:build _f2py_rout__fftpack_destroy_dct2_cache in _fftpackmodule.o :info:build _f2py_rout__fftpack_destroy_ddct1_cache in _fftpackmodule.o :info:build _f2py_rout__fftpack_destroy_ddct2_cache in _fftpackmodule.o snip I've found a similar report of the same error on the SciPy mailing list: http://mail.scipy.org/pipermail/scipy-dev/2009-November/013412.html and the solution was found to be that overwriting CFLAGS, LDFLAGS, and FFLAGS with -arch x86_64 was leading to this error and simply not setting these fixed the build. http://mail.scipy.org/pipermail/scipy-dev/2009-December/013429.html These flags are set in the python25 PortGroup and commenting out the setting the these variables allows the build to succeed. So this is the same problem as was reported on the SciPy mailing list, and the same solution works. I imagine these flags are set so that the build arch is respected, but they are causing a problem in this case I'm not sure of the best way to proceed. Is there a way I can tell the PortGroup not to set these flags? Doing this will mean that this port can only build the architecture on which it is running, do we have a syntax for specifying that? Cheers Adam [1] https://trac.macports.org/ticket/29644 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: py25-scipy failing due to arch flags set in python25 PortGroup
On May 30, 2011, at 10:21, Adam Mercer wrote: In try to fix a build error in py25-scipy (#29644[1]) it's failing with: :info:build Undefined symbols: :info:build _Py_BuildValue, referenced from: :info:build _f2py_rout__fftpack_destroy_dct1_cache in _fftpackmodule.o :info:build _f2py_rout__fftpack_destroy_dct2_cache in _fftpackmodule.o :info:build _f2py_rout__fftpack_destroy_ddct1_cache in _fftpackmodule.o :info:build _f2py_rout__fftpack_destroy_ddct2_cache in _fftpackmodule.o snip I've found a similar report of the same error on the SciPy mailing list: http://mail.scipy.org/pipermail/scipy-dev/2009-November/013412.html and the solution was found to be that overwriting CFLAGS, LDFLAGS, and FFLAGS with -arch x86_64 was leading to this error and simply not setting these fixed the build. http://mail.scipy.org/pipermail/scipy-dev/2009-December/013429.html These flags are set in the python25 PortGroup and commenting out the setting the these variables allows the build to succeed. So this is the same problem as was reported on the SciPy mailing list, and the same solution works. I imagine these flags are set so that the build arch is respected, The python24 and python25 portgroups were recently updated to include this capability, but this was backported from the python26 and python27 portgroups which already had it for some time. Are the py26-scipy and py27-scipy ports affected? If not, see what's different about them. It looks to me that, for example, py26-scipy contains these lines which are not in py25-scipy: python.add_archflagsno universal_variant no Those lines probably need to be added to py25-scipy and py-scipy. but they are causing a problem in this case I'm not sure of the best way to proceed. Is there a way I can tell the PortGroup not to set these flags? -arch flags are not appropriate when using a non-Apple compiler, such as you do in the gcc variants in py*-scipy, but I thought MacPorts was supposed to know this and not append the -arch flags in that case (and use -m32/-m64 options instead as applicable). Doing this will mean that this port can only build the architecture on which it is running, do we have a syntax for specifying that? I don't believe we do. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25
Le 11 juin 09 à 20:03, Ryan Schmidt a écrit : On Jun 11, 2009, at 07:02, Thomas De Contes wrote: Le 11 juin 09 à 06:55, Ryan Schmidt a écrit : I don't believe running ./configure will modify an existing macports.conf. ok, i will remove it have i also to remove all macports/etc/macports/*.conf files ? You don't have to remove them, but I don't believe MacPorts updates them if they exist. MacPorts does not update them by default the best would be that MacPorts updates them regarding what's on ./ configure cli, and preserve what has been manually set and not specified on ./configure cli if it's not possible, no matter, i can remove them :-) I hesitate simply between removing only macports/etc/macports/ macports.conf or all macports/etc/macports/*.conf and other files ? Which other files? in case where there would be some other files that MacPorts wouldn't update, and that may cause some things broken ps : thank you for answers on other threads :-) (i won't reply to each) -- Téléassistance / Télémaintenance http://www.portparallele.com/ThomasDECONTES/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25
On Jun 11, 2009, at 07:02, Thomas De Contes wrote: Le 11 juin 09 à 06:55, Ryan Schmidt a écrit : I don't believe running ./configure will modify an existing macports.conf. ok, i will remove it have i also to remove all macports/etc/macports/*.conf files ? You don't have to remove them, but I don't believe MacPorts updates them if they exist. and other files ? Which other files? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25
On Jun 10, 2009, at 16:26, Thomas De Contes wrote: because it tries to Activate the aleady compiled python25, despite the fact that i recompiled MacPorts with differents options Then you will need to uninstall that python25 and recompile it. Note that you don't need to recompile MacPorts to change applications_dir or most of the other variables. All it does when you use --with-applications-dir is that it writes the value of that argument to the macports.conf file. So you can edit that file yourself later to change the values. but i want to maintain a script which is able to install MacPorts or update it, according to that which it needs Good idea, I have one of those too! well, is it possible to update macports.conf with ./configure (except deleting it) ? i looked at ./configure --help but i didn't find anything (but i don't know it very well) I don't believe running ./configure will modify an existing macports.conf. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25
Le 2 mai 09 à 21:57, Joshua Root a écrit : Thomas De Contes wrote: last annoying thing (i hope) : Error: Target org.macports.activate returned: can't create directory /Applications/MacPorts: permission denied is there a way to set an other path than /Applications/MacPorts please ? like with ./configure --prefix= If you run `./configure --help` you will see the --with- applications-dir option. thank you :-) i find help not explicit enough, about what each option is used for i can't confirm that it works, because it tries to Activate the aleady compiled python25, despite the fact that i recompiled MacPorts with differents options on top of that, it don't want to recompile python25 even if i do port clean python25 before ! what should i do ? -- Téléassistance / Télémaintenance http://www.portparallele.com/ThomasDECONTES/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25
On May 30, 2009, at 08:47, Thomas De Contes wrote: Le 2 mai 09 à 21:57, Joshua Root a écrit : Thomas De Contes wrote: is there a way to set an other path than /Applications/MacPorts please ? like with ./configure --prefix= If you run `./configure --help` you will see the --with- applications-dir option. thank you :-) i find help not explicit enough, about what each option is used for You can also read the Guide: http://guide.macports.org/chunked/internals.configuration-files.html i can't confirm that it works, because it tries to Activate the aleady compiled python25, despite the fact that i recompiled MacPorts with differents options Then you will need to uninstall that python25 and recompile it. Note that you don't need to recompile MacPorts to change applications_dir or most of the other variables. All it does when you use --with-applications-dir is that it writes the value of that argument to the macports.conf file. So you can edit that file yourself later to change the values. on top of that, it don't want to recompile python25 even if i do port clean python25 before ! what should i do ? Since the port is already installed (though not activated), you need to uninstall it in order to get it to recompile. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Installation of PLplot with python25
Dear PLplot port maintainer: Right now, I would like to run plplot from python. Actually an installation plplot with python succeeded because port installed command shows that plplot @5.9.2_1+gcc43+python25 (active) . However there is no example of python in /opt/local/share/plplot5.9.2/examples, also python can't detect python module of plplot when running python. I had got same results of installation on 3 Macs, one has been used, two Macs are flesh. Please let me know how to solve that problem. Sincerely, Hiro -- Hiroyasu Yasuda Research Center for Natural Hazard Disaster Recovery Niigata University Ikarashi 2-no-cho, Nis-ku, Niigata, 950-2181, Japan Phone +81-25-262-7053 Facsimile +81-25-262-7050 E-mail h...@gs.niigata-u.ac.jp .´ ̄`. : (` : `. `´ : `・--´ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25
Le 27 avr. 09 à 09:09, Anders F Björklund a écrit : Rainer Müller wrote: For one thing, if you are running on Mac OS X you are not running on pure darwin; ah ? i thought that pure darwin was the UNIX layer under the GUI, not only the OS for those who don't have GUI at all No, puredarwin is http://puredarwin.org. why are they different ? what is the advantage for apple to maintaing 2 different versions of darwin ?? The +puredarwin variant also applies to the Apple OS releases darwin8 and darwin7 etc, in addition to PureDarwin's darwin9. so, port install python25 +puredarwin doesn't works because of a bug, it's not right ? Technically it currently reads Darwin, without Carbon/Cocoa. Usually implies using X11 instead, for the graphic interface. if it doesn't use Carbon/Cocoa it uses X11 instead ? the puredarwin variant isn't command line only ? -- Téléassistance / Télémaintenance http://www.portparallele.com/ThomasDECONTES/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25
Thomas De Contes wrote: Le 27 avr. 09 à 09:09, Anders F Björklund a écrit : Rainer Müller wrote: For one thing, if you are running on Mac OS X you are not running on pure darwin; ah ? i thought that pure darwin was the UNIX layer under the GUI, not only the OS for those who don't have GUI at all No, puredarwin is http://puredarwin.org. why are they different ? what is the advantage for apple to maintaing 2 different versions of darwin ?? Apple doesn't maintain PureDarwin. It's a separate project to make a usable OS using the Darwin sources released by Apple. Apple used to release bootable disk images containing only the open source Darwin components, which is what is referred to in the paragraph quoted below. The +puredarwin variant also applies to the Apple OS releases darwin8 and darwin7 etc, in addition to PureDarwin's darwin9. so, port install python25 +puredarwin doesn't works because of a bug, it's not right ? You shouldn't select platform variants manually, as it says in their descriptions. MacPorts will select the applicable ones automatically. The fact that you *can* select platform variants manually is a bug, which will be fixed in MacPorts 1.8. Technically it currently reads Darwin, without Carbon/Cocoa. Usually implies using X11 instead, for the graphic interface. if it doesn't use Carbon/Cocoa it uses X11 instead ? the puredarwin variant isn't command line only ? The puredarwin variant is designed to be selected when you are running Darwin and the closed-source Mac OS X components are not present. (Actually we just check for the existence of /System/Library/Frameworks/Carbon.framework.) It has nothing to do with what GUI is used, if any. - Josh ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25
Le 2 mai 09 à 18:23, Joshua Root a écrit : Thomas De Contes wrote: Le 27 avr. 09 à 09:09, Anders F Björklund a écrit : Rainer Müller wrote: For one thing, if you are running on Mac OS X you are not running on pure darwin; ah ? i thought that pure darwin was the UNIX layer under the GUI, not only the OS for those who don't have GUI at all No, puredarwin is http://puredarwin.org. why are they different ? what is the advantage for apple to maintaing 2 different versions of darwin ?? Apple doesn't maintain PureDarwin. It's a separate project to make a usable OS using the Darwin sources released by Apple. Apple used to release bootable disk images containing only the open source Darwin components, which is what is referred to in the paragraph quoted below. ah, ok, and this bootable disk images are not compatible with mac os x ? curious, but i jump over that to go to work :-) The +puredarwin variant also applies to the Apple OS releases darwin8 and darwin7 etc, in addition to PureDarwin's darwin9. so, port install python25 +puredarwin doesn't works because of a bug, it's not right ? You shouldn't select platform variants manually, as it says in their descriptions. MacPorts will select the applicable ones automatically. The fact that you *can* select platform variants manually is a bug, i was going to say that ... which will be fixed in MacPorts 1.8. nice :-) Technically it currently reads Darwin, without Carbon/Cocoa. Usually implies using X11 instead, for the graphic interface. if it doesn't use Carbon/Cocoa it uses X11 instead ? the puredarwin variant isn't command line only ? The puredarwin variant is designed to be selected when you are running Darwin and the closed-source Mac OS X components are not present. (Actually we just check for the existence of /System/Library/Frameworks/Carbon.framework.) It has nothing to do with what GUI is used, if any. well, maybe the puredarwin variant was not what i want, even when it worked but let me insist : i think it would be nice to have a variant of python which use only command line, and no GUI at all is it realistic ? i don't need python myself, and i only have other ports that depend on it (and the puredarwin variant was enough) so the complete variant makes waste disk space, cpu time, dependencies, ... last annoying thing (i hope) : Error: Target org.macports.activate returned: can't create directory /Applications/MacPorts: permission denied is there a way to set an other path than /Applications/MacPorts please ? like with ./configure --prefix= -- Téléassistance / Télémaintenance http://www.portparallele.com/ThomasDECONTES/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25
Thomas De Contes wrote: last annoying thing (i hope) : Error: Target org.macports.activate returned: can't create directory /Applications/MacPorts: permission denied is there a way to set an other path than /Applications/MacPorts please ? like with ./configure --prefix= If you run `./configure --help` you will see the --with-applications-dir option. - Josh ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25
Rainer Müller wrote: For one thing, if you are running on Mac OS X you are not running on pure darwin; ah ? i thought that pure darwin was the UNIX layer under the GUI, not only the OS for those who don't have GUI at all No, puredarwin is http://puredarwin.org. The +puredarwin variant also applies to the Apple OS releases darwin8 and darwin7 etc, in addition to PureDarwin's darwin9. See Binary at http://www.opensource.apple.com/darwinsource/ Technically it currently reads Darwin, without Carbon/Cocoa. Usually implies using X11 instead, for the graphic interface. But for most people it is easier to just use FreeBSD instead :-) --anders ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
python25
hi :-) port install python25 +darwin_8+puredarwin + port install python25 +darwin_8+puredarwin --- Fetching python25 --- Verifying checksum(s) for python25 --- Extracting python25 --- Applying patches to python25 --- Configuring python25 --- Building python25 Error: Target org.macports.build returned: shell command lipo /Users/ thomas/Documents/prgm/bin/autoinstall/macports/var/macports/build/ _Users_thomas_Documents_prgm_bin_autoinstall_macports_var_macports_sourc es_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.4/ libpython2.5.dylib -output /Users/thomas/Documents/prgm/bin/ autoinstall/macports/var/macports/build/ _Users_thomas_Documents_prgm_bin_autoinstall_macports_var_macports_sourc es_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.4/ libpython2.5.dylib -thin `lipo -info /Users/thomas/Documents/prgm/bin/ autoinstall/macports/var/macports/build/ _Users_thomas_Documents_prgm_bin_autoinstall_macports_var_macports_sourc es_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.4/ libpython2.5.a | tail -n 1 | sed -e 's/.*architecture: \(.*\)/\1/'` returned error 1 Command output: lipo: can't open input file: /Users/thomas/Documents/ prgm/bin/autoinstall/macports/var/macports/build/ _Users_thomas_Documents_prgm_bin_autoinstall_macports_var_macports_sourc es_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.4/ libpython2.5.dylib (No such file or directory) Error: Status 1 encountered during processing. what's the problem ? checking Mac OS X version... 10.4.11 checking Xcode version... 2.4.1 -- Téléassistance / Télémaintenance http://www.portparallele.com/ThomasDECONTES/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25
Thomas De Contes wrote: hi :-) port install python25 +darwin_8+puredarwin + port install python25 +darwin_8+puredarwin --- Fetching python25 --- Verifying checksum(s) for python25 --- Extracting python25 --- Applying patches to python25 --- Configuring python25 --- Building python25 Error: Target org.macports.build returned: shell command lipo /Users/thomas/Documents/prgm/bin/autoinstall/macports/var/macports/build/_Users_thomas_Documents_prgm_bin_autoinstall_macports_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.4/libpython2.5.dylib -output /Users/thomas/Documents/prgm/bin/autoinstall/macports/var/macports/build/_Users_thomas_Documents_prgm_bin_autoinstall_macports_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.4/libpython2.5.dylib -thin `lipo -info /Users/thomas/Documents/prgm/bin/autoinstall/macports/var/macports/build/_Users_thomas_Documents_prgm_bin_autoinstall_macports_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.4/libpython2.5.a | tail -n 1 | sed -e 's/.*architecture: \(.*\)/\1/'` returned error 1 Command output: lipo: can't open input file: /Users/thomas/Documents/prgm/bin/autoinstall/macports/var/macports/build/_Users_thomas_Documents_prgm_bin_autoinstall_macports_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.4/libpython2.5.dylib (No such file or directory) Error: Status 1 encountered during processing. what's the problem ? checking Mac OS X version... 10.4.11 checking Xcode version... 2.4.1 Why are you specifying +darwin_8+puredarwin on the command line? For one thing, if you are running on Mac OS X you are not running on pure darwin; for another, if you run `port variants python25`, you will see that both of those variants say Platform variant, do not select manually. - Josh ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25
Le 26 avr. 09 à 16:41, Joshua Root a écrit : Why are you specifying +darwin_8+puredarwin on the command line? do you have acces to De :dl...@geeklair.net Objet : Rép : error with python24 Date : 24 juillet 2007 18:04:42 HAEC ? it's one reason For one thing, if you are running on Mac OS X you are not running on pure darwin; ah ? i thought that pure darwin was the UNIX layer under the GUI, not only the OS for those who don't have GUI at all for another, if you run `port variants python25`, you will see that both of those variants say Platform variant, do not select manually. ok well, is there any solution ? -- Téléassistance / Télémaintenance http://www.portparallele.com/ThomasDECONTES/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25
Thomas De Contes wrote: Le 26 avr. 09 à 16:41, Joshua Root a écrit : Why are you specifying +darwin_8+puredarwin on the command line? do you have acces to De : dl...@geeklair.net Objet : Rép : error with python24 Date :24 juillet 2007 18:04:42 HAEC ? it's one reason As already said in this thread and the linked ticket http://trac.macports.org/ticket/4881, you should have a *full* Xcode installation. For one thing, if you are running on Mac OS X you are not running on pure darwin; ah ? i thought that pure darwin was the UNIX layer under the GUI, not only the OS for those who don't have GUI at all No, puredarwin is http://puredarwin.org. for another, if you run `port variants python25`, you will see that both of those variants say Platform variant, do not select manually. ok well, is there any solution ? 1) Install Xcode without deselecting any packages 2) Do not select any platform variants, but let MacPorts make the decision for you. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Macports and Python25 problem in KDE install
I have been trying to install kde 3. I keep getting an error when it gets to the python build. Python is installed I see it in my applications/mac ports directory. For some reason I don't understand it says it is unregistered? Here is the error output: Error: Target org.macports.activate returned: Image error: /Applications/MacPorts/MacPython 2.5/Build Applet.app/Contents/Info.plist already exists and does not belong to a registered port. Unable to activate port python25. Error: The following dependencies failed to build: kdebase3 kdelibs3 unsermake py25-zlib python25 libusb kdenetwork3 openslp kdepim3 gpgme gnupg libgpg-error pth kdeaccessibility3 opensync py25-gobject py25-numeric sqlite3 swig bison gsed php5 apache2 apr apr-util db46 autoconf213 gawk curl libmcrypt mhash python_select ruby kdeutils3 Error: Status 1 encountered during processing. Any help apreciated. John ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Macports and Python25 problem in KDE install
On Apr 4, 2009, at 9:25 AM, John B wrote: I have been trying to install kde 3. I keep getting an error when it gets to the python build. Python is installed I see it in my applications/mac ports directory. For some reason I don't understand it says it is unregistered? Here is the error output: Error: Target org.macports.activate returned: Image error: /Applications/MacPorts/MacPython 2.5/Build Applet.app/Contents/Info.plist already exists and does not belong to a registered port. Unable to activate port python25. Error: The following dependencies failed to build: kdebase3 kdelibs3 unsermake py25-zlib python25 libusb kdenetwork3 openslp kdepim3 gpgme gnupg libgpg-error pth kdeaccessibility3 opensync py25-gobject py25-numeric sqlite3 swig bison gsed php5 apache2 apr apr-util db46 autoconf213 gawk curl libmcrypt mhash python_select ruby kdeutils3 Error: Status 1 encountered during processing. Force the activate of python. Namely: sudo port -f activate python25 then try again. Cheers! Frank ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Do I really need to install python25 when Leopard already has Python 2.5?
On Tue, Nov 04, 2008 at 11:53:48AM -0800, Dave Llopis said: I want to install a port that has a dependency on python25. Shouldn't the Leopard-supplied Python 2.5 effectively fulfill this requirement? No, see: http://trac.macports.org/wiki/FAQ#WhyisMacPortsusingitsownlibraries In most cases there's a good reason why a given port ends up wanting python25, usually because it needs some py25- port; which port were you attempting to install? Bryan If so, is there a proper way for me to either: a) Convince the dependent port that the dependency is met or b) Convince the dependent port that it doesn't depend on python25 Thanks! ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Do I really need to install python25 when Leopard already has Python 2.5?
Ah, good point, thanks. What I was *really* after was iPython for Python 2.6, which turns out not to have even been completed yet! Instead, py25-ipython is what I'm trying to install. I see that it requires py25-scientific, which isn't supplied by Leopard. I also have python26 installed, so it seemed a bit ridiculous to install a third copy of Python. It's not like it's any great burden to install python25: I was mostly interested in using this as an opportunity to learn more about port dependency management in general. On Tue, Nov 4, 2008 at 12:14, Bryan Blackburn [EMAIL PROTECTED] wrote: On Tue, Nov 04, 2008 at 11:53:48AM -0800, Dave Llopis said: I want to install a port that has a dependency on python25. Shouldn't the Leopard-supplied Python 2.5 effectively fulfill this requirement? No, see: http://trac.macports.org/wiki/FAQ#WhyisMacPortsusingitsownlibraries In most cases there's a good reason why a given port ends up wanting python25, usually because it needs some py25- port; which port were you attempting to install? Bryan If so, is there a proper way for me to either: a) Convince the dependent port that the dependency is met or b) Convince the dependent port that it doesn't depend on python25 Thanks! ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Do I really need to install python25 when Leopard already has Python 2.5?
On Tue, Nov 04, 2008 at 12:57:42PM -0800, Dave Llopis said: Ah, good point, thanks. What I was *really* after was iPython for Python 2.6, which turns out not to have even been completed yet! Instead, py25-ipython is what I'm trying to install. I see that it requires py25-scientific, which isn't supplied by Leopard. I also have python26 installed, so it seemed a bit ridiculous to install a third copy of Python. The python26 port isn't useful right now, as there are no py26- ports, and no way to create them for most people (those running MacPorts 1.6); fixing the underlying issue with this is one of the final bits before we get a 1.7 beta released... For now I'd say, if at all possible, go with the 2.5 version of stuff. Bryan It's not like it's any great burden to install python25: I was mostly interested in using this as an opportunity to learn more about port dependency management in general. On Tue, Nov 4, 2008 at 12:14, Bryan Blackburn [EMAIL PROTECTED] wrote: On Tue, Nov 04, 2008 at 11:53:48AM -0800, Dave Llopis said: I want to install a port that has a dependency on python25. Shouldn't the Leopard-supplied Python 2.5 effectively fulfill this requirement? No, see: http://trac.macports.org/wiki/FAQ#WhyisMacPortsusingitsownlibraries In most cases there's a good reason why a given port ends up wanting python25, usually because it needs some py25- port; which port were you attempting to install? Bryan If so, is there a proper way for me to either: a) Convince the dependent port that the dependency is met or b) Convince the dependent port that it doesn't depend on python25 Thanks! ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
python25 install woes
Dear all, [MacBook 2.2 GHz Intel Core 2 Duo; Mac OS X 10.5.4; macports 1.600] I'm pretty new to macports, but these dependency tracking installing paradigms are a tremendous contribution to open-source, kudos all. Unfortunately, macports is making me tear my hair out. After uninstalling everything and doing selfupdate I try again: port install python25 goes as expected and install python_select followed by python_select python25 seems to do its job; however: my old leopard installed python command-line interpreter that I get in a terminal window used to give me a command history. Using the up and down arrow keys, I could step back and forward through my recent commands. Now with the macports installation of python25, the python cli gives me giberish in response to up and down arrows: ^[[A and ^[[B If I set an env variable thus: setenv PYTHONHOME /System/Library/Frameworks/Python.framework/Versions/2.5/ and invoke python, I get the apple installed Python 2.5.2 (r252:60911, Oct 29 2008, 10:49:16) [GCC 4.0.1 (Apple Inc. build 5488)] on darwin which still has the old arrow behavior, so I'm confident that the problem is not with Terminal. After some reading, I gathered that this might have something to do with readline. So I tried sudo port install py25-readline which fails with the following error: Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-readline/work/Python-2.5.2/Modules /opt/local/bin/python2.5 setup.py build returned error 1 Command output: running build running build_ext building 'readline' extension creating build creating build/temp.macosx-10.3-i386-2.5 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c readline.c -o build/temp.macosx-10.3-i386-2.5/readline.o unable to execute -DNDEBUG: No such file or directory error: command '-DNDEBUG' failed with exit status 1 Error: Status 1 encountered during processing. I'm not even sure if readline's got anything to do with my command history problem, but this doesn't look good all the same. I can live with two python installations; I can even live with the fact that I'll have to port install all of the modules that I had accumulated in /Library/Python/2.5/site-packages; but I really don't want to do without my command line history. Can anyone give me a clue as to where the problem lies, or what I've done wrong? Jon ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25 install woes
On Oct 29, 2008, at 2:43 PM, Jon Crump wrote: After some reading, I gathered that this might have something to do with readline. So I tried sudo port install py25-readline Which is what you want to do. which fails with the following error: Error: Target org.macports.build returned: shell command cd /opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_python_py25-readline/work/Python-2.5.2/ Modules /opt/local/bin/python2.5 setup.py build returned error 1 Command output: running build running build_ext building 'readline' extension creating build creating build/temp.macosx-10.3-i386-2.5 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/ include -I/opt/local/Library/Frameworks/Python.framework/Versions/ 2.5/include/python2.5 -c readline.c -o build/temp.macosx-10.3- i386-2.5/readline.o unable to execute -DNDEBUG: No such file or directory error: command '-DNDEBUG' failed with exit status 1 Error: Status 1 encountered during processing. http://trac.macports.org/wiki/LeopardProblems It's a bug. Workaround: sudo port clean --work py25-readline sudo port install py25-readline -- Daniel J. Luke ++ | * [EMAIL PROTECTED] * | | *-- http://www.geeklair.net -* | ++ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | ++ PGP.sig Description: This is a digitally signed message part ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: python25 install woes
Daniel, On Wed, 29 Oct 2008, Daniel J. Luke wrote: http://trac.macports.org/wiki/LeopardProblems Doh! Am I redfaced: number ONE in the Recurrent Problems on Leopard! In my defense; however, I had found this earlier and tried it, but by then the whole installation was foobar and it didn't help. Then after the whole uninstall/install process, I had forgotten what I'd learned. It's a bug. Workaround: sudo port clean --work py25-readline sudo port install py25-readline Anyway, You're good; not to mention really really fast! That worked a treat. Many thanks, Jon ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Upgrading python25 - python26
Python 2.6 is now released and a port for it is available on MacPorts. Could you tell me if there is any straightforward way to upgrade Python 2.5 and packages dependent on it (all installed using MacPorts) to the version 2.6? One could find all the packages that depend on py25, remove them, remove py25, install py26 and reinstall all the packages that were removed. But I am hoping there is an easier way. Thanks, Uldis [ http://captsolo.net/info/ ] ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Upgrading python25 - python26
On Fri, Oct 03, 2008 at 03:38:36PM +0100, Uldis Bojars said: Python 2.6 is now released and a port for it is available on MacPorts. Could you tell me if there is any straightforward way to upgrade Python 2.5 and packages dependent on it (all installed using MacPorts) to the version 2.6? One could find all the packages that depend on py25, remove them, remove py25, install py26 and reinstall all the packages that were removed. But I am hoping there is an easier way. Note that there are currently no py26- ports at all, so there's really nothing to reinstall module-wise to use 2.6 as yet. Since this would get messy fast (another group of modules duplicating py- and py25-), jmr@'s ticket 16723 [1] will hopefully be the future, getting rid of all the duplication. Bryan [1] - http://trac.macports.org/ticket/16723 Thanks, Uldis [ http://captsolo.net/info/ ] ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Python25: wrong sys.path for pythonw2.5
On Feb 9, 2008, at 9:24 AM, Bas den Hond wrote: But if I call pythonw2.5 to execute the program, the modules are not found. The problem is clearly the search path, which is somehow different for pythonw2.5. Is there a way to solve this, or should I just report a bug? MacPorts' version of Python2.5 doesn't provide pythonw25: what you are executing is the version provided by Apple in your $PATH (/usr/bin/pythonw2.5). -Guido ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Python25: wrong sys.path for pythonw2.5
Thanks for your explanation. This clears it up, but of course it begs the question: why does python25 not come with a pythonw2.5 command? How could I possibly use the py25-wxpython module without it? Is this a MacPort problem of does it just come with Python25? Best regards, Bas Op 9 feb 2008, om 09:41 heeft Guido Soranzio het volgende geschreven: On Feb 9, 2008, at 9:24 AM, Bas den Hond wrote: But if I call pythonw2.5 to execute the program, the modules are not found. The problem is clearly the search path, which is somehow different for pythonw2.5. Is there a way to solve this, or should I just report a bug? MacPorts' version of Python2.5 doesn't provide pythonw25: what you are executing is the version provided by Apple in your $PATH (/usr/bin/pythonw2.5). -Guido ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: [MacPorts] #12873: Python25 upgrade 2 does not work with Mac OSX 10.3.9, fix attached
MacPorts wrote: #12873: Python25 upgrade 2 does not work with Mac OSX 10.3.9, fix attached ---+ Reporter: [EMAIL PROTECTED] | Owner: [EMAIL PROTECTED] Type: defect| Status: closed Priority: Normal| Milestone: Port Bugs Component: ports | Version: 1.5.0 Resolution: fixed |Keywords: Python25 ---+ Comment (by [EMAIL PROTECTED]): Because the ticket was closed before verification, and I'm not on the CC list, it disappeared from the tickets I'm watching. Just checked, and it does install here It doesn't install a link from python to python2.5, but that's another issue. Thanks! The symlink can be created by using the port python_select. As we provide multiple python versions, there is no other solution possible. $ sudo port install python_select $ sudo python_select python25 Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Problems compiling Python25 MPlayer on 10.5 with Case-sensitive filesystem
Well, I re-installed XCode 3.0 and then re did the sudo find / -ls new_find.txt to see what files were added. Macintosh:~ sck$ grep -i quicktime/quicktime.h find.txt new_find.txt find.txt:5776618 -rw-rw-r--1 _devdocs wheel 218 May 2 2007 /Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/QuickTime/QuickTime.html find.txt:5139498 lrwxr-xr-x1 root wheel 77 Oct 29 23:50 /Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/QuickTime/QuickTime.h - ../../../../System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h new_find.txt:41021178 -rw-rw-r--1 _devdocs wheel 218 May 2 2007 /Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/QuickTime/QuickTime.html new_find.txt:41196218 lrwxr-xr-x1 root wheel 77 Dec 23 07:34 /Developer/SDKs/MacOSX10.3.9.sdk/Developer/Headers/CFMCarbon/QuickTime/QuickTime.h - ../../../../System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h new_find.txt:40386508 lrwxr-xr-x1 root wheel 77 Dec 23 07:31 /Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/QuickTime/QuickTime.h - ../../../../System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h Macintosh:~ sck$ So, according to find, there's only the new 10.3 sdk file added... Originally when I did the XCode install I did not install WebObjects or 10.3 SDK, but this time I installed everything and it worked... So, officially, I don't understand, but I comply and am happy... :) Scott paul beard wrote: On Dec 22, 2007 12:48 AM, Scott C. Kennedy [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Is anyone else seeing this? On my 10.5.1 laptop with a cast-sensitive filesystem, I am unable to compile the latest python25... Macintosh:include sck$ sudo port upgrade python25 --- Building python25 with target all Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.1 make all returned error 2 Command output: Python/mactoolboxglue.c:425: error: 'cobj' undeclared (first use in this function) do you have the right SDKs installed? This is familiar and I think it has been resolved by installed the QuickTime SDK. 1. http://lists.macosforge.org/pipermail/macports-users/2007-September/005718.html -- Paul Beard / www.paulbeard.org/ http://www.paulbeard.org/ [EMAIL PROTECTED]/[EMAIL PROTECTED] http://[EMAIL PROTECTED]/[EMAIL PROTECTED] ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Problems compiling Python25 MPlayer on 10.5 with Case-sensitive filesystem
On Dec 23, 2007 8:56 AM, Scott C. Kennedy [EMAIL PROTECTED] wrote: Well, I re-installed XCode 3.0 and then re did the sudo find / -ls new_find.txt to see what files were added. Macintosh:~ sck$ grep -i quicktime/quicktime.h find.txt new_find.txt find.txt:5776618 -rw-rw-r--1 _devdocs wheel 218 May 2 2007 /Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/QuickTime/QuickTime.html find.txt:5139498 lrwxr-xr-x1 root wheel 77 Oct 29 23:50 /Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/QuickTime/QuickTime.h - ../../../../System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h new_find.txt:41021178 -rw-rw-r--1 _devdocs wheel 218 May 2 2007 /Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/QuickTime/QuickTime.html new_find.txt:41196218 lrwxr-xr-x1 root wheel 77 Dec 23 07:34 /Developer/SDKs/MacOSX10.3.9.sdk/Developer/Headers/CFMCarbon/QuickTime/QuickTime.h - ../../../../System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h new_find.txt:40386508 lrwxr-xr-x1 root wheel 77 Dec 23 07:31 /Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/QuickTime/QuickTime.h - ../../../../System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h Macintosh:~ sck$ So, according to find, there's only the new 10.3 sdk file added... Originally when I did the XCode install I did not install WebObjects or 10.3 SDK, but this time I installed everything and it worked... So, officially, I don't understand, but I comply and am happy... :) It's software: it doesn't have to make sense. This is looking like a FAQ or FEP (frequently encountered problem). -- Paul Beard / www.paulbeard.org/ [EMAIL PROTECTED]/[EMAIL PROTECTED] ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Problems compiling Python25 MPlayer on 10.5 with Case-sensitive filesystem
On Dec 23, 2007, at 11:56 AM, Scott C. Kennedy wrote: Well, I re-installed XCode 3.0 and then re did the sudo find / -ls new_find.txt to see what files were added. Macintosh:~ sck$ grep -i quicktime/quicktime.h find.txt new_find.txt find.txt:5776618 -rw-rw-r--1 _devdocs wheel 218 May 2 2007 /Developer/Documentation/DocSets/ com.apple.ADC_Reference_Library.CoreReference.docset/Contents/ Resources/Documents/documentation/QuickTime/QuickTime.html find.txt:5139498 lrwxr-xr-x1 root wheel 77 Oct 29 23:50 /Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/ CFMCarbon/QuickTime/QuickTime.h - ../../../../System/Library/ Frameworks/QuickTime.framework/Headers/QuickTime.h new_find.txt:41021178 -rw-rw-r--1 _devdocs wheel 218 May 2 2007 /Developer/Documentation/DocSets/ com.apple.ADC_Reference_Library.CoreReference.docset/Contents/ Resources/Documents/documentation/QuickTime/QuickTime.html new_find.txt:41196218 lrwxr-xr-x1 root wheel 77 Dec 23 07:34 /Developer/SDKs/MacOSX10.3.9.sdk/ Developer/Headers/CFMCarbon/QuickTime/QuickTime.h - ../../../../ System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h new_find.txt:40386508 lrwxr-xr-x1 root wheel 77 Dec 23 07:31 /Developer/SDKs/MacOSX10.4u.sdk/ Developer/Headers/CFMCarbon/QuickTime/QuickTime.h - ../../../../ System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h Macintosh:~ sck$ So, according to find, there's only the new 10.3 sdk file added... Originally when I did the XCode install I did not install WebObjects or 10.3 SDK, but this time I installed everything and it worked... So, officially, I don't understand, but I comply and am happy... :) Scott Too late to check now, but if you notice, QuickTime/QuickTime.h is a symlink to .../Headers/QuickTime.h which wasn't captured in your grep results. Perhaps .../Headers/QuickTime.h was what was missing in your original install... I agree with Paul, this is almost certainly an error with the QuickTime SDK (re-)install and not specific to case-sensitivity. Thanks, Eric ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Problems compiling Python25 MPlayer on 10.5 with Case-sensitive filesystem
Is anyone else seeing this? On my 10.5.1 laptop with a cast-sensitive filesystem, I am unable to compile the latest python25... Macintosh:include sck$ sudo port upgrade python25 --- Building python25 with target all Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.1 make all returned error 2 Command output: Python/mactoolboxglue.c:425: error: 'cobj' undeclared (first use in this function) nor MPlayer versions... Macintosh:include sck$ sudo port install MPlayer Password: --- Building MPlayer with target all Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_MPlayer/work/MPlayer-1.0rc2 make all returned error 2 Command output: /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include -I/usr/X11/include -c -o video_out.o video_out.c /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include -I/usr/X11/include -c -o vo_mpegpes.o vo_mpegpes.c /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include -I/usr/X11/include -c -o vo_null.o vo_null.c /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include -I/usr/X11/include -c -o vo_yuv4mpeg.o vo_yuv4mpeg.c /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include -I/usr/X11/include -c -o vo_macosx.o vo_macosx.m In file included from vo_macosx.m:9: vo_macosx.h:13:32: error: QuickTime/QuickTime.h: No such file or directory So, I did a full find of my drives, and did a case insensitive search and found... Macintosh:include sck$ grep -i QuickTime/QuickTime.h ~/find.txt 5776618 -rw-rw-r--1 _devdocs wheel 218 May 2 2007 /Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/QuickTime/QuickTime.html 5139498 lrwxr-xr-x1 root wheel 77 Oct 29 23:50 /Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/QuickTime/QuickTime.h - ../../../../System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h Just wondering if its a tweaked config of mine, or is there a case issue? Scott PS Yes I did a 'sudo port clean' before I tried the compiles PPS I've been having a few case-sensitive issues, though not with MacPorts. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Oddity with Python25 and Xcode 2.5
I have the same problem. However, performing a port selfupdate did not resolve it for me. -- On Nov 24, 2007, at 5:24 PM, Ryan Schmidt wrote: On Nov 24, 2007, at 19:10, John Wilder wrote: I was having a problem with installing python25 (2.5.1_3) where it would error on executing libtool with the diagnostic: ld: for architecture ppc ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: restFP saveFP libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Right: http://trac.macports.org/projects/macports/ticket/13322 That ticket has been fixed though so a sudo port selfupdate should allow you to install python25 without problem. I recently upgraded to 10.4.11/Xcode 2.5/gcc4.0.1 from 10.3.9/ gcc3.3 on a g4. Previously I had been able to install python25 successfully on 10.3.9 and was upgrading to the latest version. I found that I could overcome this two ways: 1. modifiying patch-Makefile.pre.in to have -L/usr/lib/gcc/powerpc- apple-darwin8/4.0.1/ -llibgcc [+ -current_version $(VERSION) -lSystem -lSystemStubs -L/usr/lib/ gcc/powerpc-apple-darwin8/4.0.1/ -llibgcc $(LDFLAGS)].. 2. adding a soft link in /usr/lib to /usr/lib/gcc/powerpc-apple- darwin8/4.0.1/libgcc.a (ln -s /usr/lib/gcc/powerpc-apple- darwin8/4.0.1/libgcc.a libgcc4.a) and then modifying patch- Makefile.pre.in to have -lgcc4 [+ -current_version $(VERSION) -lSystem -lSystemStubs -lgcc4 $ (LDFLAGS)]. Since I don't have an intel Mac, I can only assume that linking to / usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a may help there. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Oddity with Python25 and Xcode 2.5
Problem solved after I sudo'd the following: 1. port selfupdate 2. port clean --all python25 3. port install python25 -- On Nov 25, 2007, at 2:39 AM, Nathan Brazil wrote: I have the same problem. However, performing a port selfupdate did not resolve it for me. -- On Nov 24, 2007, at 5:24 PM, Ryan Schmidt wrote: On Nov 24, 2007, at 19:10, John Wilder wrote: I was having a problem with installing python25 (2.5.1_3) where it would error on executing libtool with the diagnostic: ld: for architecture ppc ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: restFP saveFP libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Right: http://trac.macports.org/projects/macports/ticket/13322 That ticket has been fixed though so a sudo port selfupdate should allow you to install python25 without problem. I recently upgraded to 10.4.11/Xcode 2.5/gcc4.0.1 from 10.3.9/ gcc3.3 on a g4. Previously I had been able to install python25 successfully on 10.3.9 and was upgrading to the latest version. I found that I could overcome this two ways: 1. modifiying patch-Makefile.pre.in to have -L/usr/lib/gcc/powerpc- apple-darwin8/4.0.1/ -llibgcc [+ -current_version $(VERSION) -lSystem -lSystemStubs -L/usr/lib/ gcc/powerpc-apple-darwin8/4.0.1/ -llibgcc $(LDFLAGS)].. 2. adding a soft link in /usr/lib to /usr/lib/gcc/powerpc-apple- darwin8/4.0.1/libgcc.a (ln -s /usr/lib/gcc/powerpc-apple- darwin8/4.0.1/libgcc.a libgcc4.a) and then modifying patch- Makefile.pre.in to have -lgcc4 [+ -current_version $(VERSION) -lSystem -lSystemStubs -lgcc4 $ (LDFLAGS)]. Since I don't have an intel Mac, I can only assume that linking to /usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a may help there. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Oddity with Python25 and Xcode 2.5
I was having a problem with installing python25 (2.5.1_3) where it would error on executing libtool with the diagnostic: ld: for architecture ppc ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: restFP saveFP libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 I recently upgraded to 10.4.11/Xcode 2.5/gcc4.0.1 from 10.3.9/gcc3.3 on a g4. Previously I had been able to install python25 successfully on 10.3.9 and was upgrading to the latest version. I found that I could overcome this two ways: 1. modifiying patch-Makefile.pre.in to have -L/usr/lib/gcc/powerpc- apple-darwin8/4.0.1/ -llibgcc [+ -current_version $(VERSION) -lSystem -lSystemStubs -L/usr/lib/gcc/ powerpc-apple-darwin8/4.0.1/ -llibgcc $(LDFLAGS)].. 2. adding a soft link in /usr/lib to /usr/lib/gcc/powerpc-apple- darwin8/4.0.1/libgcc.a (ln -s /usr/lib/gcc/powerpc-apple- darwin8/4.0.1/libgcc.a libgcc4.a) and then modifying patch- Makefile.pre.in to have -lgcc4 [+ -current_version $(VERSION) -lSystem -lSystemStubs -lgcc4 $ (LDFLAGS)]. Since I don't have an intel Mac, I can only assume that linking to / usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a may help there. Hope this helps, John ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Oddity with Python25 and Xcode 2.5
On Nov 24, 2007, at 19:10, John Wilder wrote: I was having a problem with installing python25 (2.5.1_3) where it would error on executing libtool with the diagnostic: ld: for architecture ppc ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: restFP saveFP libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Right: http://trac.macports.org/projects/macports/ticket/13322 That ticket has been fixed though so a sudo port selfupdate should allow you to install python25 without problem. I recently upgraded to 10.4.11/Xcode 2.5/gcc4.0.1 from 10.3.9/ gcc3.3 on a g4. Previously I had been able to install python25 successfully on 10.3.9 and was upgrading to the latest version. I found that I could overcome this two ways: 1. modifiying patch-Makefile.pre.in to have -L/usr/lib/gcc/powerpc- apple-darwin8/4.0.1/ -llibgcc [+ -current_version $(VERSION) -lSystem -lSystemStubs -L/usr/lib/ gcc/powerpc-apple-darwin8/4.0.1/ -llibgcc $(LDFLAGS)].. 2. adding a soft link in /usr/lib to /usr/lib/gcc/powerpc-apple- darwin8/4.0.1/libgcc.a (ln -s /usr/lib/gcc/powerpc-apple- darwin8/4.0.1/libgcc.a libgcc4.a) and then modifying patch- Makefile.pre.in to have -lgcc4 [+ -current_version $(VERSION) -lSystem -lSystemStubs -lgcc4 $ (LDFLAGS)]. Since I don't have an intel Mac, I can only assume that linking to / usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a may help there. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Mac OS X 10.3 support (was: Re: Installing python25 on OS X 10.3 failed)
Sadly, there's no way to figure out how many OS X 10.3 users exist. This number is probably the most important one to take into account deciding whether MacPorts should support OS X 10.3 or not. Assuming Apple supports OSs as long as there're fair amount of users, this might be a good idea to support MacPorts on OSs Apple officially supports. (10.3 - 10.5?) Letting Apple decidess it might be a better On Nov 20, 2007 7:30 AM, Ryan Schmidt [EMAIL PROTECTED] wrote: On Nov 19, 2007, at 14:02, Weissmann Markus wrote: 10.3 is not officially supported anymore*) and I do not even have access to a 10.3 box. I'll happily add any patch for 10.3 that does not conflict with 10.4 or 10.5 but I don't have a way of testing it. -Markus *) which doesn't mean anyone will break stuff on purpose This is the first I've heard of 10.3 not being supported anymore. Historically MacPorts has supported the current Mac OS X release and the previous one, and granted, 10.5 was just released. But a lot of ports aren't working so great on Leopard right now [1]. If a decision is made to drop 10.3 support, I would hope that we would wait until the 10.5 bug reports stop bucketing in and we can honestly say that the MacPorts experience on 10.5 is at least as good as it was on 10.4. And we are currently far from that. Note that the new guide [2] does not seem to indicate what versions of Mac OS X are supported. It should so indicate, fairly near the top. [1] http://trac.macports.org/projects/macports/query? status=newstatus=assignedstatus=reopenedsummary=% 7Eleopardorder=priority [2] http://geeklair.net/new_macports_guide/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Mac OS X 10.3 support (was: Re: Installing python25 on OS X 10.3 failed)
Official MacPorts policy has been that we support the two most recent versions of Mac OS. Which at the present means Tiger and Leopard. That doesn't mean that we'll go out of our way to break older versions, but that we don't promise we won't. A particularly good example of why this is probably a good idea is the current situation where we'd like to add additional support for launchd and startupitems. Launchd wasn't available on Panther, and to add new support for launchd startupitems will likely mean that ports relying on the feature will gradually become inoperable on Panther, where it will be too hard to maintain compatibility using SystemStarter features. To continue supporting a the 3-year-old Panther OS would mean restricting support for the newer versions, or creating an overly-complicated implementation. James On Nov 22, 2007, at 6:16 AM, js wrote: Sadly, there's no way to figure out how many OS X 10.3 users exist. This number is probably the most important one to take into account deciding whether MacPorts should support OS X 10.3 or not. Assuming Apple supports OSs as long as there're fair amount of users, this might be a good idea to support MacPorts on OSs Apple officially supports. (10.3 - 10.5?) Letting Apple decidess it might be a better On Nov 20, 2007 7:30 AM, Ryan Schmidt [EMAIL PROTECTED] wrote: On Nov 19, 2007, at 14:02, Weissmann Markus wrote: 10.3 is not officially supported anymore*) and I do not even have access to a 10.3 box. I'll happily add any patch for 10.3 that does not conflict with 10.4 or 10.5 but I don't have a way of testing it. -Markus *) which doesn't mean anyone will break stuff on purpose This is the first I've heard of 10.3 not being supported anymore. Historically MacPorts has supported the current Mac OS X release and the previous one, and granted, 10.5 was just released. But a lot of ports aren't working so great on Leopard right now [1]. If a decision is made to drop 10.3 support, I would hope that we would wait until the 10.5 bug reports stop bucketing in and we can honestly say that the MacPorts experience on 10.5 is at least as good as it was on 10.4. And we are currently far from that. Note that the new guide [2] does not seem to indicate what versions of Mac OS X are supported. It should so indicate, fairly near the top. [1] http://trac.macports.org/projects/macports/query? status=newstatus=assignedstatus=reopenedsummary=% 7Eleopardorder=priority [2] http://geeklair.net/new_macports_guide/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Mac OS X 10.3 support (was: Re: Installing python25 on OS X 10.3 failed)
BTW, Does Official support mean anything? Just another name of priority? On Nov 22, 2007 11:48 PM, James Berry [EMAIL PROTECTED] wrote: Official MacPorts policy has been that we support the two most recent versions of Mac OS. Which at the present means Tiger and Leopard. That doesn't mean that we'll go out of our way to break older versions, but that we don't promise we won't. A particularly good example of why this is probably a good idea is the current situation where we'd like to add additional support for launchd and startupitems. Launchd wasn't available on Panther, and to add new support for launchd startupitems will likely mean that ports relying on the feature will gradually become inoperable on Panther, where it will be too hard to maintain compatibility using SystemStarter features. To continue supporting a the 3-year-old Panther OS would mean restricting support for the newer versions, or creating an overly-complicated implementation. James On Nov 22, 2007, at 6:16 AM, js wrote: Sadly, there's no way to figure out how many OS X 10.3 users exist. This number is probably the most important one to take into account deciding whether MacPorts should support OS X 10.3 or not. Assuming Apple supports OSs as long as there're fair amount of users, this might be a good idea to support MacPorts on OSs Apple officially supports. (10.3 - 10.5?) Letting Apple decidess it might be a better On Nov 20, 2007 7:30 AM, Ryan Schmidt [EMAIL PROTECTED] wrote: On Nov 19, 2007, at 14:02, Weissmann Markus wrote: 10.3 is not officially supported anymore*) and I do not even have access to a 10.3 box. I'll happily add any patch for 10.3 that does not conflict with 10.4 or 10.5 but I don't have a way of testing it. -Markus *) which doesn't mean anyone will break stuff on purpose This is the first I've heard of 10.3 not being supported anymore. Historically MacPorts has supported the current Mac OS X release and the previous one, and granted, 10.5 was just released. But a lot of ports aren't working so great on Leopard right now [1]. If a decision is made to drop 10.3 support, I would hope that we would wait until the 10.5 bug reports stop bucketing in and we can honestly say that the MacPorts experience on 10.5 is at least as good as it was on 10.4. And we are currently far from that. Note that the new guide [2] does not seem to indicate what versions of Mac OS X are supported. It should so indicate, fairly near the top. [1] http://trac.macports.org/projects/macports/query? status=newstatus=assignedstatus=reopenedsummary=% 7Eleopardorder=priority [2] http://geeklair.net/new_macports_guide/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Mac OS X 10.3 support (was: Re: Installing python25 on OS X 10.3 failed)
On Nov 22, 2007, at 7:26 AM, js wrote: BTW, Does Official support mean anything? Just another name of priority? I said official policy, not official support. MacPorts provides no official support for anything, though unofficial and informal support is available through this email list and the irc channel. ;) The use of the work support in my mail below can all be considered to mean is able to work with, rather than technical support. James On Nov 22, 2007 11:48 PM, James Berry [EMAIL PROTECTED] wrote: Official MacPorts policy has been that we support the two most recent versions of Mac OS. Which at the present means Tiger and Leopard. That doesn't mean that we'll go out of our way to break older versions, but that we don't promise we won't. A particularly good example of why this is probably a good idea is the current situation where we'd like to add additional support for launchd and startupitems. Launchd wasn't available on Panther, and to add new support for launchd startupitems will likely mean that ports relying on the feature will gradually become inoperable on Panther, where it will be too hard to maintain compatibility using SystemStarter features. To continue supporting a the 3-year-old Panther OS would mean restricting support for the newer versions, or creating an overly-complicated implementation. James On Nov 22, 2007, at 6:16 AM, js wrote: Sadly, there's no way to figure out how many OS X 10.3 users exist. This number is probably the most important one to take into account deciding whether MacPorts should support OS X 10.3 or not. Assuming Apple supports OSs as long as there're fair amount of users, this might be a good idea to support MacPorts on OSs Apple officially supports. (10.3 - 10.5?) Letting Apple decidess it might be a better On Nov 20, 2007 7:30 AM, Ryan Schmidt [EMAIL PROTECTED] wrote: On Nov 19, 2007, at 14:02, Weissmann Markus wrote: 10.3 is not officially supported anymore*) and I do not even have access to a 10.3 box. I'll happily add any patch for 10.3 that does not conflict with 10.4 or 10.5 but I don't have a way of testing it. -Markus *) which doesn't mean anyone will break stuff on purpose This is the first I've heard of 10.3 not being supported anymore. Historically MacPorts has supported the current Mac OS X release and the previous one, and granted, 10.5 was just released. But a lot of ports aren't working so great on Leopard right now [1]. If a decision is made to drop 10.3 support, I would hope that we would wait until the 10.5 bug reports stop bucketing in and we can honestly say that the MacPorts experience on 10.5 is at least as good as it was on 10.4. And we are currently far from that. Note that the new guide [2] does not seem to indicate what versions of Mac OS X are supported. It should so indicate, fairly near the top. [1] http://trac.macports.org/projects/macports/query? status=newstatus=assignedstatus=reopenedsummary=% 7Eleopardorder=priority [2] http://geeklair.net/new_macports_guide/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Mac OS X 10.3 support (was: Re: Installing python25 on OS X 10.3 failed)
Apple is still supporting 10.3 updates to itunes, quicktime and security are regular. I hope it will still be supported by macports as well. Marco On Nov 20, 2007, at 2:40 AM, Anders F Björklund wrote: Ryan Schmidt wrote: On Nov 19, 2007, at 14:02, Weissmann Markus wrote: 10.3 is not officially supported anymore*) and I do not even have access to a 10.3 box. This is the first I've heard of 10.3 not being supported anymore. Historically MacPorts has supported the current Mac OS X release and the previous one, and granted, 10.5 was just released. But a lot of ports aren't working so great on Leopard right now [1]. If a decision is made to drop 10.3 support, I would hope that we would wait until the 10.5 bug reports stop bucketing in and we can honestly say that the MacPorts experience on 10.5 is at least as good as it was on 10.4. And we are currently far from that. Last thing I heard was that support for *Jaguar* and OpenDarwin was to be dropped (a lot of ports still have darwin 6 and puredarwin blocks), but that Panther would continue to be supported - even if Apple doesn't really issue updates for it anymore. At least historically, kitty-2 dies* when the new one is born. Outside of MacPorts, I'm still supporting Mac OS X 10.3 while stock lasts but that is mostly because the SDKs and Rosetta make it possible to build and test somewhat on Leopard even... (and partly because I think Panther has probably been the best Mac OS X release so far for me, out of the five - as I'm still using it) --anders PS. Just noticed that they pulled the link to Mac OS X 10.4 too, http://www.apple.com/macosx/tiger/ ... ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Installing python25 on OS X 10.3 failed
Hi [EMAIL PROTECTED], 10.3 is not officially supported anymore*) and I do not even have access to a 10.3 box. I'll happily add any patch for 10.3 that does not conflict with 10.4 or 10.5 but I don't have a way of testing it. -Markus *) which doesn't mean anyone will break stuff on purpose On 17.11.2007, at 11:58, js wrote: Created trac ticket for this. http://trac.macports.org/projects/macports/ticket/13322#comment:2 Nox, Changeset 29606 seems to have something to do with this problem. http://trac.macports.org/projects/macports/changeset/29606 But I'm not sure why above changes make python build fails. Could you give me a hand to solve this, please? --- Markus W. Weissmann http://www.mweissmann.de/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Mac OS X 10.3 support (was: Re: Installing python25 on OS X 10.3 failed)
On Nov 19, 2007, at 14:02, Weissmann Markus wrote: 10.3 is not officially supported anymore*) and I do not even have access to a 10.3 box. I'll happily add any patch for 10.3 that does not conflict with 10.4 or 10.5 but I don't have a way of testing it. -Markus *) which doesn't mean anyone will break stuff on purpose This is the first I've heard of 10.3 not being supported anymore. Historically MacPorts has supported the current Mac OS X release and the previous one, and granted, 10.5 was just released. But a lot of ports aren't working so great on Leopard right now [1]. If a decision is made to drop 10.3 support, I would hope that we would wait until the 10.5 bug reports stop bucketing in and we can honestly say that the MacPorts experience on 10.5 is at least as good as it was on 10.4. And we are currently far from that. Note that the new guide [2] does not seem to indicate what versions of Mac OS X are supported. It should so indicate, fairly near the top. [1] http://trac.macports.org/projects/macports/query? status=newstatus=assignedstatus=reopenedsummary=% 7Eleopardorder=priority [2] http://geeklair.net/new_macports_guide/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Mac OS X 10.3 support (was: Re: Installing python25 on OS X 10.3 failed)
Ryan Schmidt wrote: On Nov 19, 2007, at 14:02, Weissmann Markus wrote: 10.3 is not officially supported anymore*) and I do not even have access to a 10.3 box. This is the first I've heard of 10.3 not being supported anymore. Historically MacPorts has supported the current Mac OS X release and the previous one, and granted, 10.5 was just released. But a lot of ports aren't working so great on Leopard right now [1]. If a decision is made to drop 10.3 support, I would hope that we would wait until the 10.5 bug reports stop bucketing in and we can honestly say that the MacPorts experience on 10.5 is at least as good as it was on 10.4. And we are currently far from that. Last thing I heard was that support for *Jaguar* and OpenDarwin was to be dropped (a lot of ports still have darwin 6 and puredarwin blocks), but that Panther would continue to be supported - even if Apple doesn't really issue updates for it anymore. At least historically, kitty-2 dies* when the new one is born. Outside of MacPorts, I'm still supporting Mac OS X 10.3 while stock lasts but that is mostly because the SDKs and Rosetta make it possible to build and test somewhat on Leopard even... (and partly because I think Panther has probably been the best Mac OS X release so far for me, out of the five - as I'm still using it) --anders PS. Just noticed that they pulled the link to Mac OS X 10.4 too, http://www.apple.com/macosx/tiger/ ... ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Installing python25 on OS X 10.3 failed
Created trac ticket for this. http://trac.macports.org/projects/macports/ticket/13322#comment:2 Nox, Changeset 29606 seems to have something to do with this problem. http://trac.macports.org/projects/macports/changeset/29606 But I'm not sure why above changes make python build fails. Could you give me a hand to solve this, please? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Installing python25 on OS X 10.3 failed
Hi, I was trying to install python25 but I've got errors below ranlib libpython2.5.a libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -L/opt/local/lib ld: for architecture ppc ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: restFP saveFP libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Error: Status 1 encountered during processing. When I fetch python configure make myself, that works without any problem. Any Idea? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
python25 not a valid ppc64 mach-o file error while trying to install gimp
Hi, When trying to install the GIMP, I get this little nasty: freds-computer:~ fred$ sudo port install -f gimp-app Password: --- Building python25 with target all Error: Target org.macports.build returned: shell command cd /opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ python25/work/Python-2.5.1 make all returned error 2 Command output: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib ld64 failed: in libpython2.5.a(__.SYMDEF), not a valid ppc64 mach-o file libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Error: The following dependencies failed to build: gimp2 py25-gtk py25-cairo py25-numeric python25 py25-gobject Error: Status 1 encountered during processing. Now, I tried installing python 2.5 independently with a package, that seemed to work fine, but I still get the same error (I was hoping it would detect the installed dependency and move on, but alas, it does not). Any help overcoming this setback would be greatly appreciated, because I'm running out of ideas right now. Sincerely, Fred ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: python25 not a valid ppc64 mach-o file error while trying to install gimp
On Oct 25, 2007, at 12:57, Fred Brown Althot wrote: When trying to install the GIMP, I get this little nasty: freds-computer:~ fred$ sudo port install -f gimp-app Password: --- Building python25 with target all Error: Target org.macports.build returned: shell command cd / opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang _python25/work/Python-2.5.1 make all returned error 2 Command output: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib ld64 failed: in libpython2.5.a(__.SYMDEF), not a valid ppc64 mach- o file libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Error: The following dependencies failed to build: gimp2 py25-gtk py25-cairo py25-numeric python25 py25-gobject Error: Status 1 encountered during processing. Now, I tried installing python 2.5 independently with a package, that seemed to work fine, but I still get the same error (I was hoping it would detect the installed dependency and move on, but alas, it does not). Any help overcoming this setback would be greatly appreciated, because I'm running out of ideas right now. You are presumably on a 64-bit PowerPC machine, as in a G5? What version of Mac OS X, Xcode and MacPorts are you using? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: python25 not a valid ppc64 mach-o file error while trying to install gimp
Actually, I'm on an Intel mac. Sorry, should have mentioned that from the start. Intel Mac, OS X 10.4 Using the latest version of macports. After running into this problem, I tried installing the universal macpython 2.5.1 with the .mpkg, ran port install again, same problem. On 25-Oct-07, at 2:41 PM, Ryan Schmidt wrote: On Oct 25, 2007, at 12:57, Fred Brown Althot wrote: When trying to install the GIMP, I get this little nasty: freds-computer:~ fred$ sudo port install -f gimp-app Password: --- Building python25 with target all Error: Target org.macports.build returned: shell command cd / opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lan g_python25/work/Python-2.5.1 make all returned error 2 Command output: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib ld64 failed: in libpython2.5.a(__.SYMDEF), not a valid ppc64 mach- o file libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Error: The following dependencies failed to build: gimp2 py25-gtk py25-cairo py25-numeric python25 py25-gobject Error: Status 1 encountered during processing. Now, I tried installing python 2.5 independently with a package, that seemed to work fine, but I still get the same error (I was hoping it would detect the installed dependency and move on, but alas, it does not). Any help overcoming this setback would be greatly appreciated, because I'm running out of ideas right now. You are presumably on a 64-bit PowerPC machine, as in a G5? What version of Mac OS X, Xcode and MacPorts are you using? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: python25 not a valid ppc64 mach-o file error while trying to install gimp
On Oct 25, 2007, at 14:24, Fred Brown Althot wrote: On 25-Oct-07, at 2:41 PM, Ryan Schmidt wrote: On Oct 25, 2007, at 12:57, Fred Brown Althot wrote: When trying to install the GIMP, I get this little nasty: freds-computer:~ fred$ sudo port install -f gimp-app Password: --- Building python25 with target all Error: Target org.macports.build returned: shell command cd / opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_la ng_python25/work/Python-2.5.1 make all returned error 2 Command output: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/ lib ld64 failed: in libpython2.5.a(__.SYMDEF), not a valid ppc64 mach-o file libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Error: The following dependencies failed to build: gimp2 py25- gtk py25-cairo py25-numeric python25 py25-gobject Error: Status 1 encountered during processing. Now, I tried installing python 2.5 independently with a package, that seemed to work fine, but I still get the same error (I was hoping it would detect the installed dependency and move on, but alas, it does not). Any help overcoming this setback would be greatly appreciated, because I'm running out of ideas right now. You are presumably on a 64-bit PowerPC machine, as in a G5? What version of Mac OS X, Xcode and MacPorts are you using? Actually, I'm on an Intel mac. Sorry, should have mentioned that from the start. Intel Mac, OS X 10.4 Using the latest version of macports. After running into this problem, I tried installing the universal macpython 2.5.1 with the .mpkg, ran port install again, same problem. MacPorts is designed to use its own software only, not any software you've installed manually outside of MacPorts. There are some carefully-chosed exceptions, but I don't think python is one of them. So if you're not on a 64-bit PowerPC machine, I wonder why it's complaining that something is not a valid ppc64 mach-o file. Are any of your ports compiled universally? (Did you say sudo port install foo +universal for any foo?) ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: python25 not a valid ppc64 mach-o file error while trying to install gimp
The only +universal I used was on python25 itself after the GIMP install first started giving me that error, and I think it resulted in the same error again. That's when I gave the maybe it checks for dependencies independently of installing them chance a try with the .mpkg, and as you said, that was futile. On 25-Oct-07, at 3:25 PM, Ryan Schmidt wrote: On Oct 25, 2007, at 14:24, Fred Brown Althot wrote: On 25-Oct-07, at 2:41 PM, Ryan Schmidt wrote: On Oct 25, 2007, at 12:57, Fred Brown Althot wrote: When trying to install the GIMP, I get this little nasty: freds-computer:~ fred$ sudo port install -f gimp-app Password: --- Building python25 with target all Error: Target org.macports.build returned: shell command cd / opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_l ang_python25/work/Python-2.5.1 make all returned error 2 Command output: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/ local/lib ld64 failed: in libpython2.5.a(__.SYMDEF), not a valid ppc64 mach-o file libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Error: The following dependencies failed to build: gimp2 py25- gtk py25-cairo py25-numeric python25 py25-gobject Error: Status 1 encountered during processing. Now, I tried installing python 2.5 independently with a package, that seemed to work fine, but I still get the same error (I was hoping it would detect the installed dependency and move on, but alas, it does not). Any help overcoming this setback would be greatly appreciated, because I'm running out of ideas right now. You are presumably on a 64-bit PowerPC machine, as in a G5? What version of Mac OS X, Xcode and MacPorts are you using? Actually, I'm on an Intel mac. Sorry, should have mentioned that from the start. Intel Mac, OS X 10.4 Using the latest version of macports. After running into this problem, I tried installing the universal macpython 2.5.1 with the .mpkg, ran port install again, same problem. MacPorts is designed to use its own software only, not any software you've installed manually outside of MacPorts. There are some carefully-chosed exceptions, but I don't think python is one of them. So if you're not on a 64-bit PowerPC machine, I wonder why it's complaining that something is not a valid ppc64 mach-o file. Are any of your ports compiled universally? (Did you say sudo port install foo +universal for any foo?) ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: python25 not a valid ppc64 mach-o file error while trying to install gimp
On 10/25/07, Fred Brown Althot [EMAIL PROTECTED] wrote: Hi, When trying to install the GIMP, I get this little nasty: freds-computer:~ fred$ sudo port install -f gimp-app Password: --- Building python25 with target all Error: Target org.macports.build returned: shell command cd /opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ python25/work/Python-2.5.1 make all returned error 2 Command output: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib ld64 failed: in libpython2.5.a(__.SYMDEF), not a valid ppc64 mach-o file This python25/ld64 issue has come up before. Is there something that needs to be addressed here? the most recent fix I saw required an update to XCode to 2.4.1. -- Paul Beard / www.paulbeard.org/ [EMAIL PROTECTED]/[EMAIL PROTECTED] ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: python25 not a valid ppc64 mach-o file error while trying to install gimp
On Oct 25, 2007, at 14:34, Fred Brown Althot wrote: On 25-Oct-07, at 3:25 PM, Ryan Schmidt wrote: On Oct 25, 2007, at 14:24, Fred Brown Althot wrote: On 25-Oct-07, at 2:41 PM, Ryan Schmidt wrote: On Oct 25, 2007, at 12:57, Fred Brown Althot wrote: When trying to install the GIMP, I get this little nasty: freds-computer:~ fred$ sudo port install -f gimp-app Password: --- Building python25 with target all Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_ lang_python25/work/Python-2.5.1 make all returned error 2 Command output: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/ local/lib ld64 failed: in libpython2.5.a(__.SYMDEF), not a valid ppc64 mach-o file libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Error: The following dependencies failed to build: gimp2 py25- gtk py25-cairo py25-numeric python25 py25-gobject Error: Status 1 encountered during processing. Now, I tried installing python 2.5 independently with a package, that seemed to work fine, but I still get the same error (I was hoping it would detect the installed dependency and move on, but alas, it does not). Any help overcoming this setback would be greatly appreciated, because I'm running out of ideas right now. You are presumably on a 64-bit PowerPC machine, as in a G5? What version of Mac OS X, Xcode and MacPorts are you using? Actually, I'm on an Intel mac. Sorry, should have mentioned that from the start. Intel Mac, OS X 10.4 Using the latest version of macports. After running into this problem, I tried installing the universal macpython 2.5.1 with the .mpkg, ran port install again, same problem. MacPorts is designed to use its own software only, not any software you've installed manually outside of MacPorts. There are some carefully-chosed exceptions, but I don't think python is one of them. So if you're not on a 64-bit PowerPC machine, I wonder why it's complaining that something is not a valid ppc64 mach-o file. Are any of your ports compiled universally? (Did you say sudo port install foo +universal for any foo?) The only +universal I used was on python25 itself after the GIMP install first started giving me that error, and I think it resulted in the same error again. That's when I gave the maybe it checks for dependencies independently of installing them chance a try with the .mpkg, and as you said, that was futile. It looks like this has been reported in our issue tracker already: http://trac.macosforge.org/projects/macports/ticket/12887 I don't see a solution there yet. But, in this prior thread: http://lists.macosforge.org/pipermail/macports-users/2007-October/ 006062.html The issue was that someone was using Xcode 2.2 and upgrading to 2.4.1 fixed it. Again, what version of Xcode do you have? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: python25 not a valid ppc64 mach-o file error while trying to install gimp
On 25-Oct-07, at 3:44 PM, Ryan Schmidt wrote: On Oct 25, 2007, at 14:34, Fred Brown Althot wrote: On 25-Oct-07, at 3:25 PM, Ryan Schmidt wrote: On Oct 25, 2007, at 14:24, Fred Brown Althot wrote: On 25-Oct-07, at 2:41 PM, Ryan Schmidt wrote: On Oct 25, 2007, at 12:57, Fred Brown Althot wrote: When trying to install the GIMP, I get this little nasty: freds-computer:~ fred$ sudo port install -f gimp-app Password: --- Building python25 with target all Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports _lang_python25/work/Python-2.5.1 make all returned error 2 Command output: libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/ local/lib ld64 failed: in libpython2.5.a(__.SYMDEF), not a valid ppc64 mach-o file libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Error: The following dependencies failed to build: gimp2 py25- gtk py25-cairo py25-numeric python25 py25-gobject Error: Status 1 encountered during processing. Now, I tried installing python 2.5 independently with a package, that seemed to work fine, but I still get the same error (I was hoping it would detect the installed dependency and move on, but alas, it does not). Any help overcoming this setback would be greatly appreciated, because I'm running out of ideas right now. You are presumably on a 64-bit PowerPC machine, as in a G5? What version of Mac OS X, Xcode and MacPorts are you using? Actually, I'm on an Intel mac. Sorry, should have mentioned that from the start. Intel Mac, OS X 10.4 Using the latest version of macports. After running into this problem, I tried installing the universal macpython 2.5.1 with the .mpkg, ran port install again, same problem. MacPorts is designed to use its own software only, not any software you've installed manually outside of MacPorts. There are some carefully-chosed exceptions, but I don't think python is one of them. So if you're not on a 64-bit PowerPC machine, I wonder why it's complaining that something is not a valid ppc64 mach-o file. Are any of your ports compiled universally? (Did you say sudo port install foo +universal for any foo?) The only +universal I used was on python25 itself after the GIMP install first started giving me that error, and I think it resulted in the same error again. That's when I gave the maybe it checks for dependencies independently of installing them chance a try with the .mpkg, and as you said, that was futile. It looks like this has been reported in our issue tracker already: http://trac.macosforge.org/projects/macports/ticket/12887 I don't see a solution there yet. But, in this prior thread: http://lists.macosforge.org/pipermail/macports-users/2007-October/ 006062.html The issue was that someone was using Xcode 2.2 and upgrading to 2.4.1 fixed it. Again, what version of Xcode do you have? Ah-AH! I see a light at the end of this tunnel! I'm using 2.2, I'll upgrade and let you know how it goes... ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
RE: Can't install python25
btw @Instruct ICC : AFAIK port configure foo doesnt take config options -- it merely starts the configure phase of the port instalation. Configuration tags are set via the portfile which you can inspect with port cat foo if you are curious. Some others are set in port itself (like macos I see configure.args --enable-shared \ --mandir=${prefix}/share/man \ --disable-framework So I'd have to edit configure.args here if a variant was not available? How could I make a new variant? (Just asking. No need yet. I suppose I should also inform the maintainer?) Ahh, I see variant universal { configure.args-append --enable-universalsdk } Why is this Macports low level stuff getting interesting to me? I have work to do. ;) universalsdk does not play well with MacPorts and the current universal support does work with latest Xcode Developer Tools. Actually, I was pointing out that I see the configure.args entry and the variant entry in the portfile. My point is, is this where I'd make my modifications coming from a background of: ./configure make make install ? _ Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
RE: Can't install python25
btw @Instruct ICC : AFAIK port configure foo doesnt take config options -- it merely starts the configure phase of the port instalation. Configuration tags are set via the portfile which you can inspect with port cat foo if you are curious. Some others are set in port itself (like macos I see configure.args --enable-shared \ --mandir=${prefix}/share/man \ --disable-framework So I'd have to edit configure.args here if a variant was not available? How could I make a new variant? (Just asking. No need yet. I suppose I should also inform the maintainer?) Ahh, I see variant universal { configure.args-append --enable-universalsdk } Why is this Macports low level stuff getting interesting to me? I have work to do. ;) universalsdk does not play well with MacPorts and the current universal support does work with latest Xcode Developer Tools. Anthony, I don't think he cares about universalsdk specifically. He was just asking how to create a variant in general, and was showing an example he found. To the original poster: there is a MacPorts guide being written which explains how to write ports, which you may read if you're interested. It's currently at: http://geeklair.net/new_macports_guide/ If you have other work to do, you certainly don't need to be interested in making your own ports. You can submit tickets in Trac and assign them to the port's maintainer and leave the work for them to do. But for ports whose maintainers are busy, or which have no maintainers, the ticket may just sit there for awhile. That's the fun of a community-driven project. :) Thanks. Sorry for the hotmail ads. It's scary how interested I'm getting into Macports. Boo! _ Help yourself to FREE treats served up daily at the Messenger Café. Stop by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Can't install python25
On 10-Oct-07, at 2:16 AM, Ryan Schmidt wrote: On Oct 9, 2007, at 13:49, Igor Foox wrote: On 9-Oct-07, at 2:26 PM, Igor Foox wrote: I've tried installing python25 using macports and am having some difficulties. I've created a bug report at https:// svn.macosforge.org/projects/macports/ticket/12887 which has all the build errors that I'm getting. Has anyone else encountered this? Since the Trac install at svn.macosforge.org requires one to authenticate to even view the ticket I believe servers are currently being moved/changed so perhaps there's weirdness because of that. However, I believe https access has always required authentication for everything. If you just want people to look at a ticket, post an http (not https) URL. Whoops, my bad. I was just copy/pasting the URL and I didn't notice that it was https. :-) I'll repost my errors here as well. If I try to issue 'sudo port install python25' I get the following: [snip] libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib ld64 failed: in libpython2.5.a(__.SYMDEF), not a valid ppc64 mach- o file libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Error: Status 1 encountered during processing. treason:~/Documents/Programming/schedulator igorfoox$ --- If I try running 'sudo port install python25 +universal', I get the following: [snip] 590.23.2 libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -arch i386 - arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -L/opt/local/lib libtool: unknown option character `r' in: -arch [snip] It's suspicious that your libtool does not recognize -arch. Do you have a weird libtool installed? What does which libtool show? It should show /usr/bin/libtool. What does libtool -V show? On Mac OS X 10.4.10 with Xcode 2.4.1, it should show Apple Computer, Inc. version cctools-622.5. Ah! Seems like you've hit the nail on the head. I had XCode 2.2.1 installed with libtool version 590.23.2. When I upgraded to XCode 2.4.1 with libtool version 622.5 I managed to install python25 correctly. Thanks for the help! Igor ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
RE: Can't install python25
btw @Instruct ICC : AFAIK port configure foo doesnt take config options -- it merely starts the configure phase of the port instalation. Configuration tags are set via the portfile which you can inspect with port cat foo if you are curious. Some others are set in port itself (like macos I see configure.args --enable-shared \ --mandir=${prefix}/share/man \ --disable-framework So I'd have to edit configure.args here if a variant was not available? How could I make a new variant? (Just asking. No need yet. I suppose I should also inform the maintainer?) Ahh, I see variant universal { configure.args-append --enable-universalsdk } Why is this Macports low level stuff getting interesting to me? I have work to do. ;) _ Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Can't install python25
Hi, I've tried installing python25 using macports and am having some difficulties. I've created a bug report at https://svn.macosforge.org/ projects/macports/ticket/12887 which has all the build errors that I'm getting. Has anyone else encountered this? Thanks, Igor ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Can't install python25
On 9-Oct-07, at 3:02 PM, paul beard wrote: On 10/9/07, Igor Foox [EMAIL PROTECTED] wrote: On 9-Oct-07, at 2:26 PM, Igor Foox wrote: Hi, I've tried installing python25 using macports and am having some difficulties. I've created a bug report at https:// svn.macosforge.org/projects/macports/ticket/12887 which has all the build errors that I'm getting. Has anyone else encountered this? Thanks, Igor Since the Trac install at svn.macosforge.org requires one to authenticate to even view the ticket I'll repost my errors here as well. If I try to issue 'sudo port install python25' I get the following: treason:~/Documents/Programming/schedulator igorfoox$ sudo port clean python25 Password: --- Cleaning python25 treason:~/Documents/Programming/schedulator igorfoox$ sudo port install python25 --- Fetching python25 --- Verifying checksum(s) for python25 --- Extracting python25 --- Applying patches to python25 --- Configuring python25 --- Building python25 with target all Error: Target org.macports.build returned: shell command cd /opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang _py thon25/work/Python-2.5.1 make all returned error 2 Command output: Modules/main.c:186: warning: function declaration isn't a prototype /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -o Modules/ gcmodule.o Modules/gcmodule.c /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/ threadmodule.c -o Modules/threadmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/ signalmodule.c -o Modules/signalmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/ posixmodule.c -o Modules/posixmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/ errnomodule.c -o Modules/errnomodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/ pwdmodule.c -o Modules/pwdmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/ _sre.c -o Modules/_sre.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/ _codecsmodule.c -o Modules/_codecsmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/ zipimport.c -o Modules/zipimport.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/ symtablemodule.c -o Modules/symtablemodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -c ./Modules/ xxsubtype.c -o Modules/xxsubtype.o /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - I. -I./Include -I/opt/local/include -DPy_BUILD_CORE -DSVNVERSION= \`LC_ALL=C svnversion .`\ -o Modules/getbuildinfo.o ./Modules/ getbuildinfo.c rm -f libpython2.5.a ar cr libpython2.5.a Modules/getbuildinfo.o ar cr libpython2.5.a Modules/_typesmodule.o ar cr libpython2.5.a Parser/acceler.o Parser/grammar1.o Parser/ listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/ bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o ar cr libpython2.5.a Objects/abstract.o Objects/boolobject.o Objects/ bufferobject.o Objects/cellobject.o Objects/classobject.o Objects/ cobject.o Objects/codeobject.o Objects/complexobject.o Objects/ descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/ genobject.o Objects/fileobject.o Objects/floatobject.o Objects/ frameobject.o Objects/funcobject.o Objects/intobject.o
RE: Can't install python25
Excellent question :-) I have no idea. Is there some constant that macports uses to determine the architecture? I mean can I tweak something somewhere for it not to think that I'm running on a) a PPC machine b) on 64 bits (my machine is an Intel Core Duo with OS X 10.4.10) Thanks, Igor I just installed python25 yesterday on 2 separate Intel Macs without problems. Mac Pro: Quad-Core 2 Duo MacBook Pro: Core 2 Duo I'll try the Mac Mini today: Core Duo. All on 10.4.10 How about: port clean python25 port selfupdate port install python25 sudo as needed ;) _ Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Can't install python25
On 9-Oct-07, at 6:17 PM, Instruct ICC wrote: Excellent question :-) I have no idea. Is there some constant that macports uses to determine the architecture? I mean can I tweak something somewhere for it not to think that I'm running on a) a PPC machine b) on 64 bits (my machine is an Intel Core Duo with OS X 10.4.10) Thanks, Igor I just installed python25 yesterday on 2 separate Intel Macs without problems. Mac Pro: Quad-Core 2 Duo MacBook Pro: Core 2 Duo I'll try the Mac Mini today: Core Duo. All on 10.4.10 How about: port clean python25 port selfupdate port install python25 sudo as needed ;) I'm trying to install on a MBP as well (although Core Duo). That sequence is essentially the same as I was doing before, because everything was up to date already. Igor ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
RE: Can't install python25 (configure target?)
Well, it built on the Mac Mini Intel Core Duo. I did port selfupdate but it didn't need updating, then port install python25 and no problems. Had it failed, my theory was to run the configure target and try to set the architecture to i386 or i686. man gcc says i386. I'm not sure how to do that. port configure python25 arch=i386 There were no complaints, but I don't know if that is correct. Maybe you can explore that or someone on the list will reply how it's done. But the kicker is you shouldn't have to be doing this. _ Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Can't install python25
On Oct 9, 2007, at 6:37 PM, Igor Foox wrote: On 9-Oct-07, at 6:17 PM, Instruct ICC wrote: Excellent question :-) I have no idea. Is there some constant that macports uses to determine the architecture? I mean can I tweak something somewhere for it not to think that I'm running on a) a PPC machine b) on 64 bits (my machine is an Intel Core Duo with OS X 10.4.10) Thanks, Igor I just installed python25 yesterday on 2 separate Intel Macs without problems. Mac Pro: Quad-Core 2 Duo MacBook Pro: Core 2 Duo I'll try the Mac Mini today: Core Duo. All on 10.4.10 How about: port clean python25 port selfupdate port install python25 sudo as needed ;) I'm trying to install on a MBP as well (although Core Duo). That sequence is essentially the same as I was doing before, because everything was up to date already. Igor Igor, Id try looking for config problems on your set up since many others have installed the port with no problem. what does your ENV look like ? (path etc) Do you have anything installed in /usr/local/{share | bin | include | lib} ? good luck! W. btw @Instruct ICC : AFAIK port configure foo doesnt take config options -- it merely starts the configure phase of the port instalation. Configuration tags are set via the portfile which you can inspect with port cat foo if you are curious. Some others are set in port itself (like macos ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Error installing python25
On 25/09/2007, at 23.44, Weissmann Markus wrote: Hi Rene, port(1) exptects [1] a full XCode installation (the default XCode installation + X11 SDK). I'd say that at least the Quicktime SDK is missing on your system. -Markus Hi Markus That did just the trick - thanks. -- Rene ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Error installing python25
Hi Rene, port(1) exptects [1] a full XCode installation (the default XCode installation + X11 SDK). I'd say that at least the Quicktime SDK is missing on your system. -Markus [1] http://trac.macosforge.org/projects/macports/wiki/InstallingMacPorts On 24.09.2007, at 20:06, René Mølsted wrote: I'm trying to get Python 2.5 installed but get this error in return. I'm running: Macports Version: 1.520 Mac OS X (PPC) 10.4.10 Xcode Version: 2.4.1 root# port install python25 --- Fetching python25 --- Verifying checksum(s) for python25 --- Extracting python25 --- Applying patches to python25 --- Configuring python25 --- Building python25 with target all Error: Target org.macports.build returned: shell command cd /opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ python25/work/Python-2.5.1 make all returned error 2 Command output: Python/mactoolboxglue.c:425: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:428: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:428: error: parse error before 'cobj' Python/mactoolboxglue.c:428: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_New': Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:429: error: parse error before 'UserData' Python/mactoolboxglue.c:429: warning: function declaration isn't a prototype Python/mactoolboxglue.c:429: error: parse error before 'UserData' Python/mactoolboxglue.c:429: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_Convert': Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:430: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:430: error: parse error before 'cobj' Python/mactoolboxglue.c:430: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MediaObj_New': Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:431: error: parse error before 'Media' Python/mactoolboxglue.c:431: warning: function declaration isn't a prototype Python/mactoolboxglue.c:431: error: parse error before 'Media' Python/mactoolboxglue.c:431: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MediaObj_Convert': Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first use in this function) make: *** [Python/mactoolboxglue.o] Error 1 Error: Status 1 encountered during processing. root# -- Rene ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users --- Markus W. Weissmann http://www.mweissmann.de/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Error installing python25
I'm trying to get Python 2.5 installed but get this error in return. I'm running: Macports Version: 1.520 Mac OS X (PPC) 10.4.10 Xcode Version: 2.4.1 root# port install python25 --- Fetching python25 --- Verifying checksum(s) for python25 --- Extracting python25 --- Applying patches to python25 --- Configuring python25 --- Building python25 with target all Error: Target org.macports.build returned: shell command cd /opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_py thon25/work/Python-2.5.1 make all returned error 2 Command output: Python/mactoolboxglue.c:425: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:428: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:428: error: parse error before 'cobj' Python/mactoolboxglue.c:428: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_New': Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:429: error: parse error before 'UserData' Python/mactoolboxglue.c:429: warning: function declaration isn't a prototype Python/mactoolboxglue.c:429: error: parse error before 'UserData' Python/mactoolboxglue.c:429: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_Convert': Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:430: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:430: error: parse error before 'cobj' Python/mactoolboxglue.c:430: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MediaObj_New': Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:431: error: parse error before 'Media' Python/mactoolboxglue.c:431: warning: function declaration isn't a prototype Python/mactoolboxglue.c:431: error: parse error before 'Media' Python/mactoolboxglue.c:431: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MediaObj_Convert': Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first use in this function) make: *** [Python/mactoolboxglue.o] Error 1 Error: Status 1 encountered during processing. root# -- Rene ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Some python25 ports for science
Hi, I have created few ports for python 2.5 modules related to mathematics, science, and engineering. Ipython, matplotlib, numpy, pyrex and pytables 2.0 as well as other few other port they depend on. I join the ports to this email. Hope this could help somebody else or they could be integrated in the standard ports list after some cleaning. Regards, David various_python25_ports.tar.bz2 Description: BZip2 compressed data ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: python25 port and libpython?
Hi Jon, Is libpython (e.g., libpython2.5.dylib) installed by the python25 Portfile? It wasn't on my build, and indeed no file with a .dylib extension appears in port contents python25. I note that the Portfile for python24 contains a chunk of code for destrooting things into place (including libpython.25.dylib) that python25 does not have. Since the maintainer for both ports is the same, it might be best for you to contact the maintainer directly to find out exactly why things are the way they are. Kind regards, Maun Suang -- Boey Maun Suang (Boey is my surname) Email: boeyms at macports dot org ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Make Python25 the default Python Installation
Hello, I've just installed Python 2.5 using Macports. Unfortunately, the system (OS X) still uses Python 2.3.x, which comes installed with OS X, as its default Python installation. I've already tried: sudo port activate python25 which yielded a message saying that that already was the active python version (which is logical, it is the only Python version I installed using MacPorts). Any help would be highly appreciated! L. Holland ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Make Python25 the default Python Installation
On 29 Dec, 2006, at 14:16, js wrote: OS X's /usr/bin/python is just a symlink to python2.3 $ file /usr/bin/python file /usr/bin/python /usr/bin/python: symbolic link to `python2.3' So if you want to use python2.5, replace the link with the one to /opt/local/bin/python2.5 Better yet, change the search path of your shell to have /opt/local/ bin at the start of $PATH. Replacing files in /usr/bin is IMHO a bad thing, who knows what might break if you do that. Ronald smime.p7s Description: S/MIME cryptographic signature ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
python25 and py-* ports
Greetings, Two things about the python25 port: - It has been recently updated from 2.5rc1 to 2.5, but the port description still says This is a BETA version. - Most of the py-* ports (I haven't checked them all) depend on the python24 port, so although they would probably perfectly work, it's basically not possible to install them for Python 2.5 using MacPorts. Or is it ? -- Luc Heinrich - [EMAIL PROTECTED] - http://www.honk-honk.com ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users