hi :-) i have the last *stable* version of macports % port install cvs2svn ---> Building python24 with target all Error: Target org.macports.build returned: shell command " cd "/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_python24/work/Python-2.4.4" && make all " returned error 2 Command output: Python/mactoolboxglue.c:423: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:426: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:426: error: parse error before 'cobj' Python/mactoolboxglue.c:426: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_New': Python/mactoolboxglue.c:426: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:427: error: parse error before 'UserData' Python/mactoolboxglue.c:427: warning: function declaration isn't a prototype Python/mactoolboxglue.c:427: error: parse error before 'UserData' Python/mactoolboxglue.c:427: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_Convert': Python/mactoolboxglue.c:427: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:427: 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 'MediaObj_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 'Media' Python/mactoolboxglue.c:429: warning: function declaration isn't a prototype Python/mactoolboxglue.c:429: error: parse error before 'Media' Python/mactoolboxglue.c:429: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MediaObj_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) make: *** [Python/mactoolboxglue.o] Error 1 Error: The following dependencies failed to build: py-bsddb python24 Error: Status 1 encountered during processing. what's the problem ? -- Mon CV : http://tDeContes.hd.free.fr/divers/emploi/
Thomas De Contes wrote:
i have the last *stable* version of macports
A quick note: please don't say you got the "latest", say the version number directly to make it clear for later reference.
[...] what's the problem ?
We already have that in the issue tracker: http://trac.macports.org/projects/macports/ticket/4881 Seems like you don't have all dependencies. Did you install everything from the Xcode Tools (including frameworks)? Would it be possible to add a check for these header files to the python24 port and raise an ui_error if they are not available?
Le mardi, 24 juil 2007, à 15:30 Europe/Paris, Rainer Müller a écrit :
Thomas De Contes wrote:
i have the last *stable* version of macports
A quick note: please don't say you got the "latest", say the version number directly to make it clear for later reference.
ok % port version Version: 1.5 (btw, port help version gives the same thing that port help, without explaining "version")
[...] what's the problem ?
We already have that in the issue tracker: http://trac.macports.org/projects/macports/ticket/4881
thank you :-)
Seems like you don't have all dependencies. Did you install everything from the Xcode Tools (including frameworks)?
exactly like speisert@alumni.ucsd.edu, i didn't install things that I thought i never need
Would it be possible to add a check for these header files to the python24 port and raise an ui_error if they are not available?
seeing this bug report it seems to be planned, isn't it ? but i would like to understand why python needs QuickTime CoreAudio and OpenGL, too :-) i want to install cvs2svn, it needs python, but it won't use QuickTime CoreAudio or OpenGL via python, so it would be nice that it needn't them to be installed :-) -- Mon CV : http://tDeContes.hd.free.fr/divers/emploi/
On Jul 24, 2007, at 10:56 AM, Thomas De Contes wrote:
but i would like to understand why python needs QuickTime CoreAudio and OpenGL, too :-)
Python has a lot of nice integration with those frameworks, you can turn off that support if you're sure you don't want it though.
i want to install cvs2svn, it needs python, but it won't use QuickTime CoreAudio or OpenGL via python, so it would be nice that it needn't them to be installed :-)
If you install python24 with the +puredarwin variant, it will disable the framework style build and disable the "toolbox glue" You'll be missing that functionality, but if you're sure you don't want/need it, it's an option. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
Le mardi, 24 juil 2007, à 18:04 Europe/Paris, Daniel J. Luke a écrit :
On Jul 24, 2007, at 10:56 AM, Thomas De Contes wrote:
but i would like to understand why python needs QuickTime CoreAudio and OpenGL, too :-)
Python has a lot of nice integration with those frameworks, you can turn off that support if you're sure you don't want it though.
ok :-) (i don't want python at all, i only want cvs2svn to try it)
i want to install cvs2svn, it needs python, but it won't use QuickTime CoreAudio or OpenGL via python, so it would be nice that it needn't them to be installed :-)
If you install python24 with the +puredarwin variant, it will disable the framework style build and disable the "toolbox glue"
You'll be missing that functionality, but if you're sure you don't want/need it, it's an option.
thank you :-) port install python24 +puredarwin worked fine :-) port install cvs2svn ERROR: your installation of Python does not contain a suitable DBM module -- cvs2svn cannot continue. does it really need QuickTime CoreAudio and OpenGL ? isn't there sth between ? -- Mon CV : http://tDeContes.hd.free.fr/divers/emploi/
On Jul 24, 2007, at 1:19 PM, Thomas De Contes wrote:
thank you :-) port install python24 +puredarwin worked fine :-)
port install cvs2svn ERROR: your installation of Python does not contain a suitable DBM module -- cvs2svn cannot continue.
Interesting, I believe that that should be supplied by the py-bsddb port (perhaps you have it installed, but it was built against an older or different python?) Try: sudo port -f uninstall py-bsddb sudo port clean --all py-bsddb sudo port install py-bsddb -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
Le mardi, 24 juil 2007, à 19:50 Europe/Paris, Daniel J. Luke a écrit :
On Jul 24, 2007, at 1:19 PM, Thomas De Contes wrote:
thank you :-) port install python24 +puredarwin worked fine :-)
well, why not make a script which would automaticaly try "port install python24 +puredarwin" if "port install python24" doesn't compile because of this kind of reasons ? (i mean, it would automaticaly switch when we do "port install python24")
port install cvs2svn ERROR: your installation of Python does not contain a suitable DBM module -- cvs2svn cannot continue.
Interesting, I believe that that should be supplied by the py-bsddb port (perhaps you have it installed, but it was built against an older or different python?)
Try:
sudo port -f uninstall py-bsddb sudo port clean --all py-bsddb sudo port install py-bsddb
ok, well, the problem was that i had a corrupted macports-install-directory :-) thank you for all your help :-) btw, what does "port clean --all py-bsddb" more than "port clean py-bsddb" ? -- Mon CV : http://tDeContes.hd.free.fr/divers/emploi/
On Aug 1, 2007, at 6:21 AM, Thomas De Contes wrote:
what does "port clean --all py-bsddb" more than "port clean py- bsddb" ?
If you have archive mode turned on it removes the archive. It also removes the distfile. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
participants (3)
-
Daniel J. Luke
-
Rainer Müller
-
Thomas De Contes