Projekat

Općenito

Profil

Akcije

Podrška #17630

Zatvoren

nmraka-2: vista: ruby windows exe, ruby installer, ruby-sqlite3

Dodano od Ernad Husremović prije više od 15 godina. Izmjenjeno prije više od 14 godina.

Status:
Zatvoreno
Prioritet:
Normalan
Odgovorna osoba:
Kategorija:
-
Početak:
15.06.2009
Završetak:
% završeno:

0%

Procjena vremena:


Fajlovi

ruby-1.8.7-p72-i386-mswin32.zip (10,8 MB) ruby-1.8.7-p72-i386-mswin32.zip Ernad Husremović, 15.06.2009 19:25
Win32OpenSSL_Light-0_9_8k.exe (1,1 MB) Win32OpenSSL_Light-0_9_8k.exe Ernad Husremović, 15.06.2009 19:31
zlib.dll (58,5 KB) zlib.dll zlib 1.2.3 Ernad Husremović, 15.06.2009 19:36
sqlite-3_6_15.zip (246 KB) sqlite-3_6_15.zip Ernad Husremović, 15.06.2009 19:40
mingw32-unzip-5.52-3.zip (336 KB) mingw32-unzip-5.52-3.zip Ernad Husremović, 15.06.2009 20:21
sqlite3-ruby-1.2.4-x86-mingw32.gem (76,5 KB) sqlite3-ruby-1.2.4-x86-mingw32.gem Ernad Husremović, 15.06.2009 22:38
msys.zip (11,4 MB) msys.zip Ernad Husremović, 15.06.2009 23:21
rubyinstaller-1.8.6-p368.msi (4,75 MB) rubyinstaller-1.8.6-p368.msi => c:\Ruby\bin ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32] Ernad Husremović, 15.06.2009 23:22
libreadline_msi.diff (2,36 KB) libreadline_msi.diff Ernad Husremović, 15.06.2009 23:28
Ruby.zip (14,3 MB) Ruby.zip c:\ruby\ sa viste-a Ernad Husremović, 23.06.2009 15:40

Povezani tiketi 1 (0 otvoreno1 zatvoren)

korelira sa harbour - Podrška #17627: nmraka-2: vista instalacija harbour mingw, hbsqlit3ZastarjeloErnad Husremović15.06.2009

Akcije
Akcije #1

Izmjenjeno od Ernad Husremović prije više od 15 godina

ocra-1.1.0 Documentation

  • rubyforge.org/projects/ocra/
  • github.com/larsch/ocra/

DESCRIPTION:

OCRA (One-Click Ruby Application) builds Windows executables from Ruby source code. The executable is a self-extracting, self-running executable that contains the Ruby interpreter, your source code and any additionally needed ruby libraries or DLL.

Akcije #2

Izmjenjeno od Ernad Husremović prije više od 15 godina

http://github.com/oneclick/rubyinstaller/tree/master

MinGW One-Click Installer: Bootstrapping Recipes

This project attempts to generate a development sandbox that will be used to
compile Ruby and it's components using MinGW tools. Our goal is to offer a
simplified way to boost your productivity and ease the path for anyone who
would like to contribute to the One-Click Ruby Installer for Windows.

These are a work-in-progress collection of Rake recipes that download, compile
and check MinGW utils required to build Ruby 1.8 (at this time) and it's depen-
dencies.

It depends on Rake (a Ruby make tool) and you can find most of the recipes for
each component inside recipes/ directory.

Layout and organization explained:

The recipes are distributed in the following layout:

compiler/*.rake: here resides the recipes to download and prepare the compiler
to be used to build the interpreter (MinGW for now).

interpreter/*.rake: the idea is to provide a series of recipes that would allow
one to build other interpreters besides Matz's Ruby (Rubinius, JRuby, etc).

dependencies/*.rake: this contains the dependencies needed to be downloaded,
compiled and included for the interpreter to work properly. At this time only
readline, zlib and openssl are included.

installer/*.rake: here we will store the basic recipes to generate MSI packages
(using the WiX toolset) or any other kind of package.

= Requirements:

At this time you require to have a working Ruby installation (current stable
One-Click release is enough).

In case you don't use OCI for this, you need:

- Ruby 1.8.5 at least (mswin32 or mingw32 implementation will work) -- Not cygwin!
- Rake 0.7.3 or greater
- Zlib extension and DLL (zlib1.dll) available in the PATH (could be in system32
or your RUby bin directory)

=== Build options:
without specifying any options, 1.8.6 is built.
rake ruby19 builds 1.9.1
rake CHECKOUT=1 builds 1.8.6 svn latest
rake ruby19 CHECKOUT=1 builds 1.9.1 svn latest
rake ruby19 CHECKOUT=1 TRUNK=1 builds 1.9 trunk latest (1.9.2dev).

NOTE: Avoid extracting this project into a PATH with spaces, MSYS have issues
mounting fstab for MinGW.

To generate the Microsoft Windows Installer (MSI), you require have dotNET 2.0
for WiX toolset to work and dotNET 3.5 for Paraffin utility.

NOTE: On Vista, run the rake task from an administrator command prompt or "/bin/patch"
will fail during the build.

Akcije #3

Izmjenjeno od Ernad Husremović prije više od 15 godina

  • Naslov promijenjeno iz ruby windows exe u ruby windows exe, ruby installer

$ git clone git://github.com/oneclick/rubyinstaller.git

Initialized empty Git repository in c:/devel/git/rubyinstaller/.git/
remote: Counting objects: 1382, done.
remote: Compressing objects: 100% (728/728), done.
remote: Total 1382 (delta 652), reused 1133 (delta 509)/s
Receiving objects: 100% (1382/1382), 331.60 KiB | 86 KiB/s, done.
Resolving deltas: 100% (652/652), done.

Akcije #4

Izmjenjeno od Ernad Husremović prije više od 15 godina

c:\ruby-1.8.7\rubygems-1.3.4\rubygems-1.3.4>ruby setup.rb install

Installing RubyGems
Installing gem executable
Removing old source_cache files
Removing old RubyGems RDoc and ri
Installing rubygems-1.3.4 ri into c:/ruby-1.8.7/lib/ruby/gems/1.8/doc/rubygems-1.3.4/ri
..

Akcije #7

Izmjenjeno od Ernad Husremović prije više od 15 godina

staviti u c:\ruby-1.8.7\bin

extrahovati ovaj zlib dll i preimenovati zlib1.dll u zlib.dll

Akcije #8

Izmjenjeno od Ernad Husremović prije više od 15 godina

c:\ruby-1.8.7\rubygems-1.3.4\rubygems-1.3.4>gem install rake --no-ri --no-rdoc

Successfully installed rake-0.8.7
1 gem installed

Akcije #9

Izmjenjeno od Ernad Husremović prije više od 15 godina

proje toga je setovan path na c:\ruby-1.8.7\bin

Akcije #12

Izmjenjeno od Ernad Husremović prije više od 15 godina

rezime:
  1. otpakovao ruby 1.8.7 u c:\ruby-1.8.7
  2. u njegov poddirektorij bin stavio zlibdll.dll
  3. instalirao openssl (dll-ovi otišli u sistemski windows direktorij)
Akcije #13

Izmjenjeno od Ernad Husremović prije više od 15 godina

nakon toga u c:\devel\git\rubyinstaller> rake default

Akcije #14

Izmjenjeno od Ernad Husremović prije više od 15 godina

ovaj rake task kupi mingw binaries, binutils itd potrebne za pravljenje installer-a

Akcije #15

Izmjenjeno od Ernad Husremović prije više od 15 godina

sqlite3 konzola

instalirao sqlite3 u c:\devel\bin\sqlite3

C:\devel\git\harbour\harbour\contrib\hbsqlit3\tests>c:\devel\bin\sqlite3 test.sqlite3

SQLite version 3.6.15
Enter ".help" for instructions
Enter SQL statements terminated with a ";" 
sqlite> .schema
CREATE TABLE t1( id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, age INTEGER );

sqlite> select * from t1;
1|Bob|52
2|Fred|40
3|Sasha|25
4|Ivet|28
5|Andy|17
6|Mary|19

Akcije #16

Izmjenjeno od Ernad Husremović prije više od 15 godina

C:\devel\git\harbour\harbour\contrib\hbsqlit3\tests>dir sqlite3_1.exe

 Volume in drive C is ACER
 Volume Serial Number is DC98-768C

 Directory of C:\devel\git\harbour\harbour\contrib\hbsqlit3\tests

15.06.2009  18:41         1.693.211 sqlite3_1.exe
               1 File(s)      1.693.211 bytes
               0 Dir(s)  14.260.928.512 bytes free

Akcije #17

Izmjenjeno od Ernad Husremović prije više od 15 godina

ruby sqlite3

C:\devel\git\harbour\harbour\contrib\hbsqlit3\tests>gem search -r sqlite3

*** REMOTE GEMS ***

activerecord-jdbcsqlite3-adapter (0.9.1)
dbd-sqlite3 (1.2.4)
do_sqlite3 (0.9.12)
jdbc-sqlite3 (3.6.3.054)
sqlite3-ruby (1.2.4)

C:\devel\git\harbour\harbour\contrib\hbsqlit3\tests>gem install sqlite3-ruby --n
o-ri --no-rdoc

Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3-ruby:
        ERROR: Failed to build gem native extension.

c:/ruby-1.8.7/bin/ruby.exe extconf.rb
checking for fdatasync() in rt.lib... no
checking for sqlite3.h... no

nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.

Akcije #18

Izmjenjeno od Ernad Husremović prije više od 15 godina

  • Naslov promijenjeno iz ruby windows exe, ruby installer u ruby windows exe, ruby installer, ruby-sqlite3
Akcije #19

Izmjenjeno od Ernad Husremović prije više od 15 godina

rubyinstaller, ruby 1.8.6 mingw

prvo unzip\bin fajlovi idu u c:\ruby\1.8.7

e sad idemo napraviti ruby 1.8.6 mingw

c:\devel\git\rubyinstaller> rake

c:\devel\git\rubyinstaller\sandbox>mkdir c:\ruby-1.8.6-mingw

c:\devel\git\rubyinstaller\sandbox>xcopy /s ruby18_mingw\* c:\ruby-1.8.6-mingw

Akcije #20

Izmjenjeno od Ernad Husremović prije više od 15 godina

idemo sa njim probyti napraviti ruby sqlite

C:\devel\git\sqlite3-ruby>set path=c:\ruby-1.8.6-mingw\bin;%PATH%

C:\devel\git\sqlite3-ruby>ruby --version

ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32]

Akcije #21

Izmjenjeno od Ernad Husremović prije više od 15 godina

C:\devel\git\sqlite3-ruby>gem install rake rake-native --no-ri --no-rdoc

Successfully installed rake-0.8.7
1 gem installed

C:\devel\git\sqlite3-ruby>rake native

Akcije #22

Izmjenjeno od Ernad Husremović prije više od 15 godina

C:\devel\git\sqlite3-ruby>rake vendor:sqlite3

(in C:/devel/git/sqlite3-ruby)
c:/devel/git/rubyinstaller/sandbox/mingw/bin/dlltool.exe --dllname vendor/sqlite
3/lib/sqlite3.dll --def vendor/sqlite3/lib/sqlite3.def --output-lib vendor/sqlit
e3/lib/sqlite3.lib
c:/devel/git/rubyinstaller/sandbox/mingw/bin/dlltool.exe: Path components stripp
ed from dllname, 'vendor/sqlite3/lib/sqlite3.dll'.
mkdir -p vendor/sqlite3/include
cd vendor
'wget' is not recognized as an internal or external command,
operable program or batch file.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  991k  100  991k    0     0  77170      0  0:00:13  0:00:13 --:--:--  107k
cd -
cd vendor/sqlite3/include
unzip C:/devel/git/sqlite3-ruby/vendor/sqlite-amalgamation-3_6_14_1.zip
Archive:  C:/devel/git/sqlite3-ruby/vendor/sqlite-amalgamation-3_6_14_1.zip
  inflating: sqlite3.c
  inflating: sqlite3.h
  inflating: sqlite3ext.h
touch sqlite3.h
cd -

Akcije #23

Izmjenjeno od Ernad Husremović prije više od 15 godina

C:\devel\git\sqlite3-ruby>copy "c:\Qt\2009.02\mingw\bin\mingw32-make.exe" "c:\Qt\2009.02\mingw\bin\make.exe"

        1 file(s) copied.

Akcije #24

Izmjenjeno od Ernad Husremović prije više od 15 godina

ne mogu napraviti nijednu ekstenziju

C:\devel\git\sqlite3-ruby>rake native

(in C:/devel/git/sqlite3-ruby)
cd tmp/i386-mingw32/sqlite3_api
make
make: *** No rule to make target `ruby.h', needed by `sqlite3_api_wrap.o'.  Stop
.

Akcije #25

Izmjenjeno od Ernad Husremović prije više od 15 godina

mingw\msys je rješenje compilaciju ruby.ext-a

C:\devel\git\rubyinstaller>set PATH
Path=*C:\devel\git\rubyinstaller\sandbox\msys\bin*;C:\WINDOWS\system32;C:\WINDOWS;
C:\WINDOWS\System32\Wbem;C:\Program Files\CMake 2.6\bin;c:\qt\2009.02\qt\bin;c:\
Qt\2009.02\bin;c:\Qt\2009.02\mingw\bin;c:\harbour\bin;C:\Program Files\Git\cmd;c
:\Ruby\bin;c:\PostgreSql\8.3\bin

C:\devel\git\rubyinstaller>gem install eventmachine

Building native extensions.  This could take a while...
Successfully installed eventmachine-0.12.8
1 gem installed
Installing ri documentation for eventmachine-0.12.8...
Installing RDoc documentation for eventmachine-0.12.8...

Akcije #26

Izmjenjeno od Ernad Husremović prije više od 15 godina

c:\devel\git\sqlite3-ruby>rake native gem

(in c:/devel/git/sqlite3-ruby)
cp tmp/i386-mingw32/sqlite3_api/sqlite3_api.so lib/sqlite3_api.so
WARNING:  description and summary are identical
  Successfully built RubyGem
  Name: sqlite3-ruby
  Version: 1.2.4
  File: sqlite3-ruby-1.2.4-x86-mingw32.gem
mv sqlite3-ruby-1.2.4-x86-mingw32.gem pkg/sqlite3-ruby-1.2.4-x86-mingw32.gem

Akcije #27

Izmjenjeno od Ernad Husremović prije više od 15 godina

c:\devel\git\sqlite3-ruby>gem install pkg\sqlite3-ruby-1.2.4-x86-mingw32.gem

Successfully installed sqlite3-ruby-1.2.4-x86-mingw32
1 gem installed
Installing ri documentation for sqlite3-ruby-1.2.4-x86-mingw32...

u prilogu je mingw32 gem

Akcije #28

Izmjenjeno od Ernad Husremović prije više od 15 godina

lib se učitava:

c:\devel\git\sqlite3-ruby>irb

irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'sqlite3'
=> true

Akcije #29

Izmjenjeno od Ernad Husremović prije više od 15 godina

Akcije #30

Izmjenjeno od Ernad Husremović prije više od 15 godina

ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32]

Akcije #31

Izmjenjeno od Ernad Husremović prije više od 15 godina

da bi napravio msi ruby, morao sam ispraviti *.wxs fajlove u kojima su definicije fajlova koji se dodaju u installer.

i tu sam izbacio readline5.dll, readline.so

Akcije #32

Izmjenjeno od Ernad Husremović prije više od 15 godina

najviše se napatih na ovom ne mogu naći ruby.h problemu ...

Akcije #33

Izmjenjeno od Ernad Husremović prije više od 15 godina

  • Naslov promijenjeno iz ruby windows exe, ruby installer, ruby-sqlite3 u nmraka-2: vista: ruby windows exe, ruby installer, ruby-sqlite3

uh dok dođem do ove viste pa ona sažvaće updateove što je pokupila treba mi po sahata

Akcije #34

Izmjenjeno od Ernad Husremović prije više od 15 godina

evo dole mi popup viče "Make windows better" - ma razguli džuli dosta što vas moram koristit' još da vas pravim better

Akcije #35

Izmjenjeno od Ernad Husremović prije više od 15 godina

Akcije #36

Izmjenjeno od Ernad Husremović prije više od 14 godina

  • Status promijenjeno iz Dodijeljeno u Zatvoreno
Akcije

Također dostupno kao Atom PDF