[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #19516 [Applications/Tor Browser]: TBB build from source error: exeDir was not declared



#19516: TBB build from source error: exeDir was not declared
--------------------------------------+-----------------------------------
 Reporter:  zenitur                   |          Owner:  tbb-team
     Type:  defect                    |         Status:  needs_information
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:                            |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+-----------------------------------

Comment (by zenitur):

 My build way is hard.

 1). Try to compile Firefox:
 a). Install deps.

 sudo yum-builddep firefox

 b). Install non-repository deps:

 tar xf Python-2.7.8.tgz
 cd Python-2.7.8
 ./configure --prefix=/home/zenitur/python --exec-
 prefix=/home/zenitur/python
 make
 make install
 cd ..

 tar xf yasm-1.2.0.tar.gz
 cd yasm-1.2.0
 ./configure --prefix/home/zenitur/yasm --exec-prefix=/home/zentur/yasm
 make
 make install
 cd ..

 c). Enable GCC 4.8.2 from
 http://linux.web.cern.ch/linux/devtoolset/#install

 scl enable devtoolset-2 bash
 gcc --version
 export PATH=/home/zenitur/python/bin:/home/zenitur/yasm/bin:$PATH

 d). Build Firefox

 tar xf firefox-45.2esr-source.tar.xz
 cd firefox-45.2.0esr
 cp ../mozconfig .mozconfig
 cp ../mozilla-api-key .
 cp ~/mozilla-patches/* .
 ./apply.sh
 make -f client.mk build
 cd objdir/dist
 cp -R -L -p bin ~/firefox-45.2esr

 2). Try to build Tor Browser

 a). Compare .mozconfig files

 b). Download GIT:

 git clone https://git.torproject.org/tor-browser.git

 c). Switch to the branch:

 cd tor-browser
 git checkout 6803b2f08165a02cac4621db10fc2e1d99b7b435

 d). Remove GIT hidden files and make backup

 find . -name .git -print0 | xargs -0 rm -rf
 cd ..
 tar cf tor-browser-45.2.tar tor-browser
 xz tor-browser-45.2.tar

 e). Build

 cd tor-browser
 cp ../mozconfig .mozconfig
 cp ~/mozilla-patches/* .
 ./apply.sh
 make -f client.mk configure
 make -j3 -f client.mk build

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19516#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs