
#14919: python3-based GHC scripts don't work on my RHEL machine -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 8.5 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): For `python2`: {{{ $ python2 Python 2.7.5 (default, May 3 2017, 07:55:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-14)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import os; print(os.environ['PATH']) /u/rgscott/Software/arcanist/bin:/u/rgscott/.cabal/bin:/u/rgscott/Software/haskell/ghc-8.2.2/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/u/rgscott/.cabal/bin:/opt/dell/srvadmin/bin:/u/rgscott/Software/hpx/bin:/u/rgscott/bin }}}
For `python3`: {{{ $ python3 Python 3.5.2 (default, Aug 19 2016, 07:40:05) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux Type "help", "copyright", "credits" or "license" for more information.
import os; print(os.environ['PATH']) /l/python3/bin }}}
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14919#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler