Firefox 3.5 build error

Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Firefox 3.5 build error

Postby CtrlAltDelete » 03 Sep 2009, 05:35

I'm having some problems getting Firefox to build. I get this error ..

Code: Select all
  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.
CtrlAltDelete
Junior Member
 
Posts: 3
Joined: 03 Sep 2009, 05:05

Postby caesius » 03 Sep 2009, 05:46

Update your ports tree, reinstall python26, make clean firefox35 and try to install it again
caesius
Member
 
Posts: 277
Joined: 16 Nov 2008, 03:23
Location: New Zealand

Postby ale » 03 Sep 2009, 05:57

Did you build lang/python26 using WITHOUT_THREADS?
Post the output of [cmd=$]cat /var/db/ports/python26/options[/cmd]
User avatar
ale
Senior Member
 
Posts: 1064
Joined: 19 Nov 2008, 01:28
Location: Roma

Postby CtrlAltDelete » 03 Sep 2009, 06:54

here's the output
Code: Select all
 # 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
CtrlAltDelete
Junior Member
 
Posts: 3
Joined: 03 Sep 2009, 05:05

Postby SirDice » 03 Sep 2009, 07:28

Rebuild python26 with threads.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16196
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby CtrlAltDelete » 05 Sep 2009, 08:07

that did it. thanks
CtrlAltDelete
Junior Member
 
Posts: 3
Joined: 03 Sep 2009, 05:05


Return to Installation and Maintenance of FreeBSD Ports or Packages

Who is online

Users browsing this forum: Bing [Bot], free-and-bsd and 5 guests