Welcome, Guest. Please Login or Register
UGENE Bulletin Board
  Welcome to our forum.
  HomeHelpSearchLoginRegister  
 
 
Page Index Toggle Pages: 1
How to create UGENE binary package for Mac (Read 5850 times)
Jul 13th, 2009 at 8:43pm

Ivan Efremov   Offline
YaBB Administrator
Novosibirsk

Gender: male
Posts: 46
*****
 
1) Ensure that GCC compiler with version >= 3.3 is installed. You can install XCode v2.5 or greater to have GCC compiler. Ensure GCC is available from the command line (type gcc --version)


2) You have to install Qt SDK version >= 4.4. Its tools must be available from a command line (the common check is typing qmake -version).
It is necessary to build Qt from source in non-framework mode in order to create UGENE binary package. It is done by specifying 'no-framework' option when configuring Qt (./configure -no-framework).
Short manual on howto build Qt:
./configure -no-framework
make
sudo make install.

Link to Qt 4.5.2 sources: ftp://ftp.qtsoftware.com/qt/source/qt-mac-opensource-src-4.5.2.tar.bz2 (111 Mb)
Link to the full Qt installation: manual http://doc.qtsoftware.com/4.5/install-mac.html
The process takes couple of hours to complete.


3) Unpack UGENE sources. In order to build UGENE using GNU make tool type following in the root folder of the package:
qmake -r -spec macx-g++'
make all

Link to UGENE sources: http://ugene.unipro.ru/downloads/ugene-1.5.0.tar.gz
Check if compilation is finished successfully. The process takes approximately half of an hour.

4) The next step is creating an installation package of UGENE. Change your dir to 'installer/macosx', ensure that paths to Qt libs are correct (and all of the libraries exist) in the very bottom of  package.sh and run package.sh. Check that there were no errors.

5) Open ugene.pmproj file in Package Manager (can be found in /Development/Utilities/Package Manager folder), correct needed paths and select 'build project' option.

If everything went right you will have an installer module in installer/macosx/build folder. Just install it from Finder.
« Last Edit: Jul 14th, 2009 at 1:35pm by Ivan Efremov »  

UGENE team
IP Logged
 
Page Index Toggle Pages: 1