more on Ccc install problem
Some more info incase it helps, I'm running unstable. I already did an apt-get dist-upgrade
unstable this weekend, and I've done an apt-get update and apt-get upgrade today.
To verify ccc is really broken and that gcc works fine:
LX:~# ccc -fast hello.c -o ccc-test
cc: Severe: /usr/include/stdio.h, line 34: Cannot find file <stddef.h> specified in #include directive. (noinclfilef)
# include <stddef.h>
--^
LX:~# /usr/bin/gcc-2.95 hello.c -o ccc-test
LX:~# ./ccc-test
Hello World
LX:~# /usr/bin/gcc-3.3 hello.c -o ccc-test
LX:~# ./ccc-test
Hello World
I also tried running the create-comp-config.sh manually, here are the results:
LX:~/gnupg-1.2.2# /usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh ccc-6.5.9.001-6 /usr/bin/gcc-2.95
Error: Unable to find GCC at /usr/bin/gcc-2.95. GCC must be installed.
Aborting
If you can correct the problem, you can rerun this script manually
by entering a command in the following format:
create-comp-config.sh ccc-version [gcc-path]
The current invocation of create-comp-config.sh was:
/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh ccc-6.5.9.001-6 /usr/bin/gcc-2.95
Also tried running like this:
LX:~/gnupg-1.2.2# /usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh ccc-version /usr/bin/gcc-2.95
/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh: line 516:
/usr/lib/compaq/ccc-version/alpha-linux/bin/.version: No such file or directory
/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh: line 528:
/usr/lib/compaq/ccc-version/alpha-linux/bin/.version: No such file or directory
Error: Unable to find GCC at /usr/bin/gcc-2.95. GCC must be installed.
Aborting
If you can correct the problem, you can rerun this script manually
by entering a command in the following format:
create-comp-config.sh ccc-version [gcc-path]
The current invocation of create-comp-config.sh was:
/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh ccc-version /usr/bin/gcc-2.95
And like this too:
LX:~/gnupg-1.2.2# /usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh ccc-6.5.9.001-6
/usr/bin/gcc-3.3
Error: Unable to find GCC at /usr/bin/gcc-3.3. GCC must be installed.
Aborting
If you can correct the problem, you can rerun this script manually
by entering a command in the following format:
create-comp-config.sh ccc-version [gcc-path]
The current invocation of create-comp-config.sh was:
/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh ccc-6.5.9.001-6 /usr/bin/gcc-3.3
Any help would be greatly appreciated.
Thanks,
Tim
On Tue, May 27, 2003 at 03:59:16PM -0400, Timothy Timmons wrote:
> Earlier I was running the install for ccc until I find out HP encrypts the CCC rpm the
> installer expects with gnupg. When I was trying to do an apt-get install ccc, saturday
> I had to abort it when it got the ccc setup and expected the decrypted ccc rpm.
>
> However, their form mail cgi for submitting a request for a key was broken on saturday,
> I emailed their webmaster and amazingly it got fixed yesterday. So, I got a key and
> decrypted the rpm package for ccc, then tried to run an apt-get install ccc again.
> Said it was already installed, so I did an apt-get remove ccc and then a dpkg --purge
> ccc, and did another apt-get install ccc... but now it bombs like this when it gets
> to the ccc configure script...
>
>
> Error: gcc -V 2.95.4 failed to compile and link "int main(int argc, char **argv) {return 0;}".
> The ccc installation expects a working installation of GCC.
> gcc: `-V' must come at the start of the command line
> Aborting
>
> If you can correct the problem, you can rerun this script manually
> by entering a command in the following format:
>
> create-comp-config.sh ccc-version [gcc-path]
>
> The current invocation of create-comp-config.sh was:
>
> /usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh ccc-6.5.9.001-6
> /usr/lib/gcc-lib/alpha-linux/2.95.4
> dpkg: error processing ccc (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> ccc
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>
> Both gcc-3.3 and gcc-2.95 seem to work and compile things fine.. however it seems the default
> output is set to a.out and not ELF (maybe that's normal for linux/alpha but I don't know).
>
>
>
> --
> To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
Reply to: