Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RQL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
RQL
Commits
c66b74feb9d9
Commit
c66b74feb9d9
authored
15 years ago
by
Alexandre Fayolle
Browse files
Options
Downloads
Patches
Plain Diff
finalized the doc
parent
6525ffdaa1af
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/rql_windows.txt
+42
-28
42 additions, 28 deletions
doc/rql_windows.txt
with
42 additions
and
28 deletions
doc/rql_windows.txt
+
42
−
28
View file @
c66b74fe
...
...
@@ -2,6 +2,9 @@
=========================
:author: Alexandre Fayolle
:date: 2009/09/09
RQL can use either logilab.constraint or gecode to perform type
inference. This document explains how the gecode support can be added
for the Windows platform.
...
...
@@ -9,7 +12,7 @@
The short way
-------------
Download and install http://ftp.logilab.org/pub/rql/
XXX
Download and install http://ftp.logilab.org/pub/rql/
rql-0.23.0.win32-py2.5.exe
The long way
------------
...
...
@@ -32,5 +35,5 @@
- g++-mingw
- some text editor of your choice (nano, vim...)
* mingw: download the following files:
* mingw
_
: download the following files:
...
...
@@ -36,5 +39,3 @@
- `gcc-g++-4.4.0-bin <http://sourceforge.net/projects/mingw/files/GCC%20Version%204/Current%20Release_%20gcc-4.4.0/gcc-c%2B%2B-4.4.0-mingw32-bin.tar.gz/download>`
- `gcc-g++-4.4.0-dll <http://sourceforge.net/projects/mingw/files/GCC%20Version%204/Current%20Release_%20gcc-4.4.0/gcc-c%2B%2B-4.4.0-mingw32-dll.tar.gz/download>`
- `gcc-g++-4.4.0-bin <http://sourceforge.net/projects/mingw/files/GCC%20Version%204/Current%20Release_%20gcc-4.4.0/gcc-c%2B%2B-4.4.0-mingw32-bin.tar.gz/download>`_
...
...
@@ -40,3 +41,3 @@
- `gcc-
core
-4.4.0-
bin
<http://sourceforge.net/projects/mingw/files/GCC%20Version%204/Current%20Release_%20gcc-4.4.0/gcc-c
ore
-4.4.0-mingw32-
bin
.tar.gz/download>`
- `gcc-
g++
-4.4.0-
dll
<http://sourceforge.net/projects/mingw/files/GCC%20Version%204/Current%20Release_%20gcc-4.4.0/gcc-c
%2B%2B
-4.4.0-mingw32-
dll
.tar.gz/download>`
_
...
...
@@ -42,3 +43,3 @@
- `gcc-core-4.4.0-
dll
<http://sourceforge.net/projects/mingw/files/GCC%20Version%204/Current%20Release_%20gcc-4.4.0/gcc-core-4.4.0-mingw32-
dll
.tar.gz/download>`
- `gcc-core-4.4.0-
bin
<http://sourceforge.net/projects/mingw/files/GCC%20Version%204/Current%20Release_%20gcc-4.4.0/gcc-core-4.4.0-mingw32-
bin
.tar.gz/download>`
_
...
...
@@ -44,3 +45,3 @@
- `g
mp-4.2.4
-dll <http://sourceforge.net/projects/mingw/files/GCC%20Version%204/Current%20Release_%20gcc-4.4.0/g
mp-4.2.4
-mingw32-dll.tar.gz/download>`
- `g
cc-core-4.4.0
-dll <http://sourceforge.net/projects/mingw/files/GCC%20Version%204/Current%20Release_%20gcc-4.4.0/g
cc-core-4.4.0
-mingw32-dll.tar.gz/download>`
_
...
...
@@ -46,3 +47,3 @@
- `mp
fr-
2.4
.1
-dll <http://sourceforge.net/projects/mingw/files/GCC%20Version%204/Current%20Release_%20gcc-4.4.0/mp
fr-
2.4
.1
-mingw32-dll.tar.gz/download>`
- `
g
mp
-4.
2.4-dll <http://sourceforge.net/projects/mingw/files/GCC%20Version%204/Current%20Release_%20gcc-4.4.0/
g
mp
-4.
2.4-mingw32-dll.tar.gz/download>`
_
...
...
@@ -48,5 +49,3 @@
- `binutils-2.19.1-bin <http://sourceforge.net/projects/mingw/files/GNU%20Binutils/Current%20Release_%20GNU%20binutils-2.19.1/binutils-2.19.1-mingw32-bin.tar.gz/download>`
- `w32api-3.13-dev <http://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/Current%20Release_%20w32api-3.13/w32api-3.13-mingw32-dev.tar.gz/download>`
- `mpfr-2.4.1-dll <http://sourceforge.net/projects/mingw/files/GCC%20Version%204/Current%20Release_%20gcc-4.4.0/mpfr-2.4.1-mingw32-dll.tar.gz/download>`_
...
...
@@ -52,3 +51,3 @@
- `
m
in
gwrt-3.15.2-dev
<http://sourceforge.net/projects/mingw/files/
MinGW%20Runtime/mingwrt-3.15.2/mingwrt-3.15.2
-mingw32-
dev
.tar.gz/download>`
- `
b
in
utils-2.19.1-bin
<http://sourceforge.net/projects/mingw/files/
GNU%20Binutils/Current%20Release_%20GNU%20binutils-2.19.1/binutils-2.19.1
-mingw32-
bin
.tar.gz/download>`
_
...
...
@@ -54,5 +53,3 @@
- `pthreads-2.8.0-dll
<http://sourceforge.net/projects/mingw/files/GCC%20Version%204/Current%20Release_%20gcc-4.4.0/pthreads-w32-2.8.0-mingw32-dll.tar.gz/download>`
NON!!!! ne pas installer ça pête tout
- `w32api-3.13-dev <http://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/Current%20Release_%20w32api-3.13/w32api-3.13-mingw32-dev.tar.gz/download>`_
...
...
@@ -58,4 +55,4 @@
-
XXX FIXME add missing build deps
-
`mingwrt-3.15.2-dev <http://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.15.2/mingwrt-3.15.2-mingw32-dev.tar.gz/download>`_
...
...
@@ -60,5 +57,5 @@
Create c:\MinGW. Launch a cygwin shell, go to /cygdrive/c/MinGW and
Create
``
c:\MinGW
``
. Launch a cygwin shell, go to
``
/cygdrive/c/MinGW
``
and
untar all the mingw tarballs
...
...
@@ -63,4 +60,4 @@
untar all the mingw tarballs
Edit /etc/profile and go to the place where the PATH environment
Edit
``
/etc/profile
``
and go to the place where the
``
PATH
``
environment
variable is set. Change the line to *prepend*
...
...
@@ -66,3 +63,3 @@
variable is set. Change the line to *prepend*
/cygdrive/c/MinGW/bin:/cygdrive/c/MinGW/libexec/mingw32/4.4.0 to the PATH
``
/cygdrive/c/MinGW/bin:/cygdrive/c/MinGW/libexec/mingw32/4.4.0
``
to the
``
PATH
``
...
...
@@ -68,6 +65,5 @@
* download and untar Gecode 3.1.0 source distribution from
http://www.gecode.org/download/gecode-3.1.0.tar.gz
* download and untar `Gecode 3.1.0 source distribution <http://www.gecode.org/download/gecode-3.1.0.tar.gz>`_.
Compiling gecode
...
...
@@ -89,5 +85,6 @@
run::
$ make
$ make CXXFLAGS="-I. -O1 -DNDEBUG -Wextra -Wall -pipe -ggdb \
-fno-strict-aliasing -ffast-math -mthreads -DGECODE_BUILD_SUPPORT -static-libgcc"
...
...
@@ -93,5 +90,6 @@
and be patient
While this run, consider renting some Bollywood movie (I enjoyed `this one
<http://www.imdb.com/title/tt0172684/>`_) and watching it.
Compiling the C extension in rql
...
...
@@ -100,7 +98,12 @@
in a Windows shell (aka "DOS Console"), go the the rql directory and
run::
$ python setup.py build_ext -c mingw32 \
-Ic:\temp\gecode-3.1.0 \
-Lc:\temp\gecode-3.1.0
$ set PATH=%PATH%;c:\MinGW\bin;c:\MinGW\libexec\mingw32\4.4.0
$ python setup.py build_ext -c mingw32 \
-Ic:\temp\gecode-3.1.0 \
-Lc:\temp\gecode-3.1.0
--in-place
Test
~~~~
...
...
@@ -106,2 +109,13 @@
You're done.
Open a new console (to get the default ``PATH``). Go to the parent
directory of rql. Launch the Python interpreter, and type::
>>> import rql.analyze
If this works, congratulation, you're done.
.. _cygwin: http://www.cygwin.com
.. _mingw: http://www.mingw.org
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment