facebook

[Closed] 4.0.2 installer disk space calculation

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #239413 Reply

    Brian Wallis
    Member

    I have a problem with the installer for 4.0.2. I have seen this on earlier releases as well.

    I am running it on a Gentoo linux system. Kernel is 2.6.9, glibc is 2.3.5 and sh is bash 3.00.16. The problem is not fatal and just causes the diskspace check to fail. The initial output from running it with LAX_DEBUG set follows. Line 327 in the script has an unprotected variable used with test -z which is a bad idea since it causes a shell syntax error if the variable is not set, the variable should be in quotes! The line 327:
    > if [ ! \( -z $AVAIL_SPACE -o -z $NEEDED_SPACE \) ]; then
    should be:
    > if [ ! \( -z “$AVAIL_SPACE” -o -z “$NEEDED_SPACE” \) ]; then

    The real problem seems to be the usage of df and tail in calculating the disk space. Not sure what is going wrong there, the variable AVAIL_SPACE is ending up empty.

    > flatcat% LAX_DEBUG=1 sh ~/packages/Eclipse/EnterpriseWorkbenchInstaller_4.0.2GA_E3.1.bin
    > Preparing to install…
    > Checking for POSIX df.
    > Found POSIX df.
    > True location of the self extractor: /home/brianw/packages/Eclipse/EnterpriseWorkbenchInstaller_4.0.2GA_E3.1.bin
    > Creating installer data directory: /tmp/install.dir.12814
    > Creating installer data directory: /tmp/install.dir.12814/InstallerData
    > Gathering free-space information…
    > Space needed to complete the self-extraction: 235352 blocks
    > tail: `-1′ option is obsolete; use `-n 1′ since this will be removed in the future
    > Try `tail –help’ for more information.
    > Available space: blocks
    > Available blocks: Needed blocks: 235352 (block = 512 bytes)
    > /home/brianw/packages/Eclipse/EnterpriseWorkbenchInstaller_4.0.2GA_E3.1.bin: line 327: [: `)’ expected, found -z
    > WARNING! The amount of /tmp disk space required and/or available
    > could not be determined. The installation will be attempted anyway.

    #239414 Reply

    Brian Wallis
    Member

    Forgot to mention, the installer installs myeclipse OK after the error is printed.

    #239438 Reply

    Scott Anderson
    Participant

    Thanks for bringing this to our attention. We’ll file the bug with ZeroG as the script is actually part of InstallAnywhere.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] 4.0.2 installer disk space calculation

You must be logged in to post in the forum log in