[csw-maintainers] sun studio in standard path within /opt/csw, for the sake of python setuptools

Mike Watters mwatters at opencsw.org
Sat May 23 16:16:56 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi rupert,
rupert THURNER wrote:
> 
> that is great to hear! i even would appreciate if the most important
> plugins make it into trac as well (not enabled by default), e.g.
> 
> easy_install http://trac-hacks.org/svn/tracwysiwygplugin/0.11/
> easy_install http://trac-hacks.org/svn/ticketdeleteplugin/0.11/
> easy_install http://trac-hacks.org/svn/ticketchangeplugin/0.11/
> easy_install http://trac-hacks.org/svn/customfieldadminplugin/0.11/
> easy_install http://trac-hacks.org/svn/tagsplugin/tags/0.6/
> easy_install http://svn.ipd.uka.de/repos/javaparty/JP/trac/plugins/tracnav-0.11/
> easy_install http://trac-hacks.org/svn/sectioneditplugin/0.11/
> easy_install http://trac-hacks.org/svn/extracturlplugin/0.11/
> easy_install http://trac-hacks.org/svn/serversideredirectplugin/0.11/
> easy_install http://trac-hacks.org/svn/masterticketsplugin/0.11/
> easy_install http://trac-hacks.org/svn/autoupgradeplugin/0.11/
> 

I am working on updating Trac in the repository. ( after I get python
re-released as separate packages.)  I will create a second package for trac,
trac_plugin_pack that contains the eggs you listed above.

also,
your last post on the google group forum link in the ticket.
the '-G' is gone because you export LDSHARED=/opt/SUNWspro/bin/cc
'''
compiler.linker_so
['/opt/studio/SOS11/SUNWspro/bin/cc', '-G']
'''
means that then setting for compiler.linker_so is
/opt/studio/SOS11/SUNWspro/bin/cc -G

os.environ settings override what python finds in its config.
export LDSHARED='/opt/SUNWspro/bin/cc -G'
would have saved the -G

you can easily play with this using the following python script
===============================================================
#! /usr/bin/env python

from distutils.ccompiler import new_compiler
from distutils.sysconfig import customize_compiler

compiler = new_compiler(None,None,None,None)
customize_compiler(compiler)

print """
*** Compiler Settings for Python ***

    Type: %s
  Linker: %s
Compiler: %s
""" % (compiler.compiler_type, compiler.linker_so, compiler.compiler)
======================================================================

$ ./pycompile.py

*** Compiler Settings for Python ***

    Type: unix
  Linker: ['/opt/studio/SOS11/SUNWspro/bin/cc', '-G']
Compiler: ['/opt/studio/SOS11/SUNWspro/bin/cc', '-DNDEBUG', '-O']

you can set various environment variables and see how that affects those settings.

- --
Thanks,
Mike

"Any intelligent fool can make things bigger, more complex,
and more violent.  It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."

* Albert Einstein 1879 - 1955
    US German-born Theoretical Physicist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkoYBVgACgkQLrhmsXMSLxdLswCg4qlEUAdZIpxfr6B/0UpQhQHj
UW4AoLk0dKQ3J5rsmkEwylnShAaWUtrh
=GqGq
-----END PGP SIGNATURE-----



More information about the maintainers mailing list