1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Firefox 3.5 build error

Discussion in 'Installation and Maintenance of Ports or Packages' started by CtrlAltDelete, Sep 3, 2009.

  1. CtrlAltDelete

    CtrlAltDelete New Member

    Messages:
    3
    Likes Received:
    0
    I'm having some problems getting Firefox to build. I get this error ..

    Code:
      File "/usr/local/lib/python2.6/multiprocessing/util.py", line 12, in <module>
        import threading        # we want threading to install it's
      File "/usr/local/lib/python2.6/threading.py", line 6, in <module>
        import thread
    ImportError: No module named thread
    gmake[4]: *** [libs] Error 1
    gmake[4]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1/netwerk/locales'
    gmake[3]: *** [libs] Error 2
    gmake[3]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1/netwerk'
    gmake[2]: *** [libs_tier_necko] Error 2
    gmake[2]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1'
    gmake[1]: *** [tier_necko] Error 2
    gmake[1]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1'
    gmake: *** [default] Error 2
    *** Error code 1
    
    Stop in /usr/ports/www/firefox35.
    *** Error code 1
    
    Stop in /usr/ports/www/firefox35.
     
  2. caesius

    caesius New Member

    Messages:
    279
    Likes Received:
    0
    Update your ports tree, reinstall python26, make clean firefox35 and try to install it again
     
  3. ale

    ale New Member

    Messages:
    1,059
    Likes Received:
    0
    Did you build lang/python26 using WITHOUT_THREADS?
    Post the output of $ cat /var/db/ports/python26/options
     
  4. CtrlAltDelete

    CtrlAltDelete New Member

    Messages:
    3
    Likes Received:
    0
    here's the output
    Code:
     # cat /var/db/ports/python26/options
    # This file is auto-generated by 'make config'.
    # No user-servicable parts inside!
    # Options for python26-2.6.2_2
    _OPTIONS_READ=python26-2.6.2_2
    WITHOUT_THREADS=true
    WITHOUT_HUGE_STACK_SIZE=true
    WITHOUT_SEM=true
    WITHOUT_PTH=true
    WITH_UCS4=true
    WITH_PYMALLOC=true
    WITH_IPV6=true
    WITHOUT_FPECTL=true
    
     
  5. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,358
    Likes Received:
    0
    Rebuild python26 with threads.
     
  6. CtrlAltDelete

    CtrlAltDelete New Member

    Messages:
    3
    Likes Received:
    0
    that did it. thanks