Build one-click-installer version - Files allready downloaded

Hi,

I moved to another problem building a own one-click-installer version for windows.

Everithing works fine up to "nmake" (which works). The process wants to download the required files via ftp,
but I have already everithing in place (I downloaded a tarball "cvs_root.tar.gz" and expanded it).

What I want is to build the things from that data and not to download something (my machine for building the
stuff will even have no network access in the next 8 weeks).

It is relevant too, because I want to change some parts (replace the 1.8 Rexex-Engine by Onigurama - this is
the basic reason I do all these things).

How to proceed???

Thanks in advance, Wolfgang

···

--
Wolfgang Nádasi-Donner
wonado@donnerweb.de

Wolfgang Nádasi-Donner wrote:

Hi,

I moved to another problem building a own one-click-installer version for windows.

Everithing works fine up to "nmake" (which works). The process wants to download the required files via ftp,
but I have already everithing in place (I downloaded a tarball "cvs_root.tar.gz" and expanded it).

What I want is to build the things from that data and not to download something (my machine for building the
stuff will even have no network access in the next 8 weeks).

It is relevant too, because I want to change some parts (replace the 1.8 Rexex-Engine by Onigurama - this is
the basic reason I do all these things).

How to proceed???

The tarball is only downloaded when it doesn't exist in the download directory. The tarball is only unpacked and the target directory does not exist. So, now that you have made it to that state, you could modify those directories and they will not be overwritten by subsequent builds.

Curt

Hi, it's me again with problems :wink:

Meanwhile I'm confused, because with four different precondistions the building process failed in different
stages. All prerequisites named in 'ReadMe.txt' are fulfilled, a console window is opened, 'vsvars32.bat' ran
without problems and I moved to the appropriate directory for 'nmake'. Tcl/Tk was not installed, and the
german version of Visual Studio 2003 is used.

The differences are in the way of downloading the programs and in the installed Ruby version.

- Two alternatives for the Ruby version
1--> Ruby 1.8 installed by one-click Ruby installer 182-15
2--> Ruby 1.9 installed by extracting 'ruby-1.9.0-20050722-i386-mswin32' to a directory and setting Path ti
the binaries (all Ruby related entries in the registry are removed too)

- Two ways of downloading all stuff named in 'builder.rb' and 'test.rb'
A--> Leaving the files without change, manually connect to internet and start using 'nmake'
B--> Changing all http- or ftp-related text in 'builder.rb' and 'test.rb' to 'http://localhost/<specific

', downloaded everything named there (except the two things I named in an earlier mail - they were not

available), setup the IIS an connection, then start the game using 'nmake'

I will use the combination of number an letter to identify the trials. For each of them I include the final
lines of the console output and a remark.

***** 1A *****
Ruby 1.8 with download

snip >>>>>

copy Tcl/bin/tclpip83.dll

      to
I:\BuildOneClickFromNet\BuildingOneClickInstaller\extract\rubyinstaller\installer-win\stable/./Tcl/bin/tclpip8
3.dll

copy Tcl/bin/tcl83.dll

      to
I:\BuildOneClickFromNet\BuildingOneClickInstaller\extract\rubyinstaller\installer-win\stable/./Tcl/bin/tcl83.d
ll

copy Tcl/bin/msvcrt.dll

      to
I:\BuildOneClickFromNet\BuildingOneClickInstaller\extract\rubyinstaller\installer-win\stable/./Tcl/bin/msvcrt.
dll
cd
I:/BuildOneClickFromNet/BuildingOneClickInstaller/extract/rubyinstaller/installer-win/stable/download/ruby-1.8
..2
cd ext
cd tk
I:\BuildOneClickFromNet\BuildingOneClickInstaller\extract\rubyinstaller\installer-win\stable\bin\ruby
extconf.rb
../commands.rb:222:in `run': Command failed: (RuntimeError)
        from ./commands.rb:190:in `each'
        from ./commands.rb:190:in `run'
        from ./commands.rb:80:in `tcltk'
        from builder.rb:157
        from builder.rb:151:in `instance_eval'
        from ./package.rb:131:in `instance_eval'
        from ./package.rb:131:in `initialize'
        from builder.rb:151:in `new'
        from builder.rb:151
NMAKE : fatal error U1077: 'ruby.exe': R³ckgabe-Code '0x1'
Stop.

snap >>>>>

No further remarks, it still didn't work.

***** 1B *****
Ruby 1.8 using localhost

Exactly the same thing as before (1A).

***** 2A *****
Ruby 1.9 with download

snip >>>>>

Downloading freeride-0.9.4.tar.gz from rubyforge.org
Checking 'freeride-0.9.4'
copy freeride-0.9.4.tar.gz temp.tgz
        1 Datei(en) kopiert.
gzip -d freeride-0.9.4.tar.gz
rename temp.tgz freeride-0.9.4.tar.gz
tar -xf freeride-0.9.4.tar
cd freeride-0.9.4
I:/mswin-ruby19/lib/ruby/1.9/fileutils.rb:116:in `chdir': No such file or directory - freeride-0.9.4
(Errno::ENOENT)
        from I:/mswin-ruby19/lib/ruby/1.9/fileutils.rb:116:in `cd'
        from
I:/BuildOneClickWith19FromNet/BuildingOneClickInstaller/extract/rubyinstaller/installer-win/builder/command
s.rb:207:in `run'
        from
I:/BuildOneClickWith19FromNet/BuildingOneClickInstaller/extract/rubyinstaller/installer-win/builder/command
s.rb:190:in `each'
        from
I:/BuildOneClickWith19FromNet/BuildingOneClickInstaller/extract/rubyinstaller/installer-win/builder/command
s.rb:190:in `run'
        from
I:/BuildOneClickWith19FromNet/BuildingOneClickInstaller/extract/rubyinstaller/installer-win/builder/package
..rb:114:in `initialize'
        from builder.rb:170
NMAKE : fatal error U1077: 'ruby.exe': R³ckgabe-Code '0x1'
Stop.

snap >>>>>

Here an additional problem appears. During all the things to do for Tcl/Tk (which worked here) a window pooped
up telling me, that 'tcl83.dll' can't be found in path.

***** 2B *****
Ruby 1.9 using localhost

snip >>>>>

Downloading freeride-0.9.4.tar.gz from localhost
Checking 'freeride-0.9.4'
copy freeride-0.9.4.tar.gz temp.tgz
        1 Datei(en) kopiert.
gzip -d freeride-0.9.4.tar.gz

gzip: freeride-0.9.4.tar.gz: not in gzip format
I:/BuildOneClickWith19/BuildingOneClickInstaller/extract/rubyinstaller/installer-win/builder/commands.rb:222:i
n `run': C
ommand failed: (RuntimeError)
        from
I:/BuildOneClickWith19/BuildingOneClickInstaller/extract/rubyinstaller/installer-win/builder/commands.rb:19
0:in `each'
        from
I:/BuildOneClickWith19/BuildingOneClickInstaller/extract/rubyinstaller/installer-win/builder/commands.rb:19
0:in `run'
        from
I:/BuildOneClickWith19/BuildingOneClickInstaller/extract/rubyinstaller/installer-win/builder/package.rb:207
:in `unpack'
        from
I:/BuildOneClickWith19/BuildingOneClickInstaller/extract/rubyinstaller/installer-win/builder/package.rb:106
:in `initialize'
        from builder.rb:170
NMAKE : fatal error U1077: 'ruby.exe': R³ckgabe-Code '0x1'
Stop.

snap >>>>>

Trying to process 'freeride-0.9.4.tar.gz' worked fine. The additional window as named before (2A) came up too.

***** End of Trials *****

Is there an known reason for this, or do I have some environmental problems?

Best regards, Wolfgang

···

--
Wolfgang Nádasi-Donner
wonado@donnerweb.de

snip >>>>>

The tarball is only downloaded when it doesn't exist in the download
directory. The tarball is only unpacked and the target directory does
not exist. So, now that you have made it to that state, you could modify
those directories and they will not be overwritten by subsequent builds.

snap >>>>>

I found in 'builder.rb' and 'test.rb' several net-references for donwnload (I assume). I did this all manually
due to restricted modem access times (the phone is on the same line). Everithing works fine except for two
URIs:

- 'http://www.b13media.com/dev/ruby/mock-1.1.zip' does not exist ('http://www.b13media.com/' gives no
response)

- 'http://victrola/download/test.tgz' (used in 'test.rb') does not exist ('http://victrola' gives no response)

Will there be problems ahead without them?

Best regards, Wolfgang

Wolfgang Nádasi-Donner wrote:

snip >>>>>

The tarball is only downloaded when it doesn't exist in the download
directory. The tarball is only unpacked and the target directory does
not exist. So, now that you have made it to that state, you could modify
those directories and they will not be overwritten by subsequent builds.

snap >>>>>

I found in 'builder.rb' and 'test.rb' several net-references for donwnload (I assume). I did this all manually
due to restricted modem access times (the phone is on the same line). Everithing works fine except for two
URIs:

- 'http://www.b13media.com/dev/ruby/mock-1.1.zip' does not exist ('http://www.b13media.com/' gives no
response)

- 'http://victrola/download/test.tgz' (used in 'test.rb') does not exist ('http://victrola' gives no response)

Will there be problems ahead without them?

Best regards, Wolfgang

Yes, you don't really need ruby/mock, and I don't think test.rb is used from anywhere in the build process.

Curt

The message is somehow destroyed

···

--
Wolfgang Nádasi-Donner
wonado@donnerweb.de
"Curt Hibbs" <curt@hibbs.com> schrieb im Newsbeitrag news:42E7ED98.3050401@hibbs.com...
Wolfgang Nádasi-Donner wrote:

snip >>>>>

The tarball is only downloaded when it doesn't exist in the download
directory. The tarball is only unpacked and the target directory does
not exist. So, now that you have made it to that state, you could modify
those directories and they will not be overwritten by subsequent builds=

Yes, you don't really need ruby/mock, and I don't think test.rb is used
from anywhere in the build process.

Curt

Unfortunately there comes up a new problem. I have tried the original data downloaded, installed everything,
and startet the build process. One remark: I did it on two environments, one has installed Tcl/Tk, the other
has no installation, but the result was the same (protocol from machine without Tcl/Tk).

snip >>>>>

..
..

copy Tcl/bin/tcl83.dll

      to
I:\BuildOneClickFromNet\BuildingOneClickInstaller\extract\rubyinstaller\installer-win\stable/./Tcl/bin/tcl83.d
ll

copy Tcl/bin/msvcrt.dll

      to
I:\BuildOneClickFromNet\BuildingOneClickInstaller\extract\rubyinstaller\installer-win\stable/./Tcl/bin/msvcrt.
dll
cd
I:/BuildOneClickFromNet/BuildingOneClickInstaller/extract/rubyinstaller/installer-win/stable/download/ruby-1.8
..2
cd ext
cd tk
I:\BuildOneClickFromNet\BuildingOneClickInstaller\extract\rubyinstaller\installer-win\stable\bin\ruby
extconf.rb
../commands.rb:222:in `run': Command failed: (RuntimeError)
        from ./commands.rb:190:in `each'
        from ./commands.rb:190:in `run'
        from ./commands.rb:80:in `tcltk'
        from builder.rb:157
        from builder.rb:151:in `instance_eval'
        from ./package.rb:131:in `instance_eval'
        from ./package.rb:131:in `initialize'
        from builder.rb:151:in `new'
        from builder.rb:151
NMAKE : fatal error U1077: 'ruby.exe': R³ckgabe-Code '0x1'
Stop.

snap >>>>>

Is there a problem in the build process or in my environment?.

Best regards, Wolfgang

···

--
Wolfgang Nádasi-Donner
wonado@donnerweb.de