Build one-click-installer version - Files allready downloaded

  • Thread starter Wolfgang Nádasi-Donner
  • Start date
W

Wolfgang Nádasi-Donner

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
 
C

Curt Hibbs

Wolfgang said:
Hi,
=20
I moved to another problem building a own one-click-installer version f= or windows.
=20
Everithing works fine up to "nmake" (which works). The process wants t=
o download the required files via ftp,
but I have already everithing in place (I downloaded a tarball "cvs_ro= ot.tar.gz" and expanded it).
=20
What I want is to build the things from that data and not to download s=
omething (my machine for building the
stuff will even have no network access in the next 8 weeks).
=20
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).
=20
How to proceed????

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

Curt
 
W

Wolfgang Nádasi-Donner

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.
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
 
C

Curt Hibbs

Wolfgang said:
=20
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 modif= y
those directories and they will not be overwritten by subsequent builds=
 
C

Curt Hibbs

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

Curt
 
W

Wolfgang Nádasi-Donner

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).
..
.. to
I:\BuildOneClickFromNet\BuildingOneClickInstaller\extract\rubyinstaller\installer-win\stable/./Tcl/bin/tcl83.d
ll
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.
Is there a problem in the build process or in my environment?.

Best regards, Wolfgang
 
W

Wolfgang Nádasi-Donner

Hi, it's me again with problems ;-)

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
info>', 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
to
I:\BuildOneClickFromNet\BuildingOneClickInstaller\extract\rubyinstaller\installer-win\stable/./Tcl/bin/tclpip8
3.dll to
I:\BuildOneClickFromNet\BuildingOneClickInstaller\extract\rubyinstaller\installer-win\stable/./Tcl/bin/tcl83.d
ll
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.
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 downloadDownloading 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.
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 localhostDownloading 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.
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top