[go: up one dir, main page]

File: README.WINDOWS

package info (click to toggle)
tora 1.3.16-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 11,604 kB
  • ctags: 10,426
  • sloc: cpp: 100,338; sh: 5,034; perl: 1,482; makefile: 566; xml: 69
file content (60 lines) | stat: -rw-r--r-- 2,600 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Build notes for how TOra has been getting built with the Commercial 
release of Qt for Windows.

    1. Unpack the source in Linux (On a drive accessible from Windows).
    2. Run  configure  from  Linux.  This  will  run  all the uic and moc
       commands  that  are  needed  (It  is  vital  that you use the same
       version  of  Qt  on  Windows  and Linux in this step since the moc
       output can differ between Qt versions).
    3. Build it in Windows using Visual Studio where I simply include all
       the files needed (Everything except the old mysql provider and the
       Oracle preload file I think). Up until yesterday I have been using
       Visual  Studio  6.0,  but  I compiled TOra sourcecode using Visual
       Studio .Net 2003 too so that works great also.
       

Building with MINGW.

    At the moment this only works with QT3/Windows Free Edition port 
    (http://kde-cygwin.sourceforge.net/qt3-win32/index.php).

    The makefiles were only tested in Mingw MSYS environment so it is 
    advised that you obtain and install full MINGW and MSYS packages
    from http://www.mingw.org. It is also necessary to have Perl 
    installed (ActiveState perl package will do).
    
    This requires compiling QT with mingw as well because no binaries
    for QT3/Windows Free Edition port have yet been made available.
    
    1. Get QT3/Windows Free Edition from CVS as specified 
         http://kde-cygwin.sourceforge.net/qt3-win32/compile-mingw.php
       
    2. Follow QT build instruction for MINGW here 
         http://kde-cygwin.sourceforge.net/qt3-win32/compile-mingw.php
       with the addition of the following: 
         when running configure.bat add -rtti command line parameter
         
    3. Obtain TOra sources from CVS
    
    4. Rename Makefile.migw to Makefile in your TOra directory
    
    5. Edit Makefile and change path for PERL (and optionally for 
       INSTALLDIR). Optionally edit the TARGET to set the desirable 
       executable. Also check the CFLAGS_GLOB and LFLAGS_GLOB for the 
       debug option (-g) depending on whether you want debug executable
       or not.
    
    6. Ensure that your environment has QTDIR and ORACLE_HOME variables 
       setup properly.
       
    7. Run 'make' in MSYS environment from TOra directory.
    
    8. Optionally run 'make install' - this will strip down the executable
       and copy the necessary files (not yet all of them) to the install 
       directory (INSTALLDIR)
       
Please report any bugs should you find them as this port is still in the
experimental stage.