Ticket #136 (new defect)

Opened 1 year ago

Last modified 4 months ago

Error using DSSS to install gdc on Mac OS X

Reported by: MrTact Assigned to: Gregor
Priority: major Milestone:
Component: DSSS Version:
Keywords: Cc:

Description

This bug may affect install of gdc on Linux, as well. I'm not really clear on whether there are configurations per platform.

1. Install DSSS from the Mac OS X .dmg file. 1. From Terminal, run dsss net install gdc-gcc-4.0

Expected: GDC is installed

Actual: The install fails partway through:

+ bunzip2 -c gdc-0.24-src.tar.bz2
bunzip2: Can't open input file gdc-0.24-src.tar.bz2: No such file or directory.

The problem is in this line of the script dsssgdc:

line 20:
curl http://superb-west.dl.sourceforge.net/sourceforge/dgcc/gdc-0.24-src.tar.bz2 -o gdc-0.23-src.tar.bz2 || exit 1

Note that it's pulling version 0.24 of the bzipped tarball but writing the filename as version 0.23 . . . then subsequently trying to untar version 0.24. Seems like the -o argument could just go away.

Change History

09/21/07 01:51:28 changed by MrTact

OK, so the -o needs to stay :-) Wasn't real familiar with curl previously, I'm more of a wget guy. It just needs to write the correct filename.

(Also, sorry about the jacked up formatting. Got the ordered list wiki syntax wrong, forgot to preview it, and stupid Trac doesn't let you edit the initial comment.)

04/23/08 12:54:21 changed by rasmus

Better use the -O (captial letter "O") instead - it will name the file basename(url), which leaves less room for human errors.