ccc install

2003-05-07 Thread Richard Fillion
I installed ccc on my box to see if i could get better performance out
of some apps with it instead of gcc.  I followed these instructions :

http://www.geocrawler.com/archives/3/241/2001/3/0/5451555/

And ccc now runs, but i cant compile anything. 

[EMAIL PROTECTED]:~/dev/C$ cat helloworld.c 
   #include 
   main(){
printf("Hello World\n");
   }
[EMAIL PROTECTED]:~/dev/C$ ccc helloworld.c -o helloworld
cc: Severe: /usr/include/stdio.h, line 34: Cannot find file 
specified in #include directive. (noinclfilef)
# include 
--^

Are the gcc include files not compatible with ccc ones?  Also...is this
even worth my time?  Should i just flag the hell out of gcc to get
performance?  Do usual apps even compile with ccc?

Richard Fillion
[EMAIL PROTECTED] 



signature.asc
Description: This is a digitally signed message part


CCC Install

2003-06-17 Thread Kris Amy
Hi,

Just trying to install CCC today and dpkg reports this error.

Setting up ccc (6.5.9.001-1) ...

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)


Any ideas?

Kris


pgp8KoIbSHrzX.pgp
Description: PGP signature


Re: ccc install

2003-05-08 Thread Adam C Powell IV
Richard Fillion wrote:
I installed ccc on my box to see if i could get better performance out
of some apps with it instead of gcc.  I followed these instructions :
http://www.geocrawler.com/archives/3/241/2001/3/0/5451555/
This is ancient, you can now "apt-get install ccc" and follow the 
instructions so its script installs the ccc RPM "properly".

And ccc now runs, but i cant compile anything. 

[EMAIL PROTECTED]:~/dev/C$ cat helloworld.c 
  #include 
  main(){
   printf("Hello World\n");
  }
[EMAIL PROTECTED]:~/dev/C$ ccc helloworld.c -o helloworld
cc: Severe: /usr/include/stdio.h, line 34: Cannot find file 
specified in #include directive. (noinclfilef)
# include 
--^

I haven't seen this problem, but YMMV.
Note that I can't get cxx to work in unstable, but that shouldn't affect 
ccc.

Please let me know if uninstalling the aliened rpm and reinstalling via 
the .deb works.

Thanks,
--
-Adam P.
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6
Welcome to the best software in the world today cafe! 





Re: ccc install

2003-05-08 Thread Richard Fillion
It may be ancient, but it "works".  I tried "apt-get install ccc" and
followed the instructions, but... seeing how i could not get the exact
version number for ccc that it wanted, i dont think it installed
properly.  I renmaed the rpm to match what the script was looking for,
but then afterwards it was complaining about a lack of
/usr/doc/ccc-x.x.x .  So i figured i'd try out other ways.

Richard Fillion
[EMAIL PROTECTED]


On Thu, 2003-05-08 at 12:59, Adam C Powell IV wrote:
> Richard Fillion wrote:
> 
> >I installed ccc on my box to see if i could get better performance out
> >of some apps with it instead of gcc.  I followed these instructions :
> >
> >http://www.geocrawler.com/archives/3/241/2001/3/0/5451555/
> >
> This is ancient, you can now "apt-get install ccc" and follow the 
> instructions so its script installs the ccc RPM "properly".
> 
> >And ccc now runs, but i cant compile anything. 
> >
> >[EMAIL PROTECTED]:~/dev/C$ cat helloworld.c 
> >   #include 
> >   main(){
> >printf("Hello World\n");
> >   }
> >[EMAIL PROTECTED]:~/dev/C$ ccc helloworld.c -o helloworld
> >cc: Severe: /usr/include/stdio.h, line 34: Cannot find file 
> >specified in #include directive. (noinclfilef)
> ># include 
> >--^
> >
> I haven't seen this problem, but YMMV.
> 
> Note that I can't get cxx to work in unstable, but that shouldn't affect 
> ccc.
> 
> Please let me know if uninstalling the aliened rpm and reinstalling via 
> the .deb works.
> 
> Thanks,
> -- 
> 
> -Adam P.
> 
> GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6
> 
> Welcome to the best software in the world today cafe! 
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



signature.asc
Description: This is a digitally signed message part


Re: ccc install

2003-05-08 Thread Adam C Powell IV
Well, "works" is relative, apparently from your description it doesn't 
quite work.

Which version of ccc did the .deb ask for, and which do you have?  And 
which version of the ccc deb were you trying to install?  The script 
does a couple of things to make this work which are somewhat 
non-trivial, and could have solve the problem you are seeing.

Richard Fillion wrote:
It may be ancient, but it "works".  I tried "apt-get install ccc" and
followed the instructions, but... seeing how i could not get the exact
version number for ccc that it wanted, i dont think it installed
properly.  I renmaed the rpm to match what the script was looking for,
but then afterwards it was complaining about a lack of
/usr/doc/ccc-x.x.x .  So i figured i'd try out other ways.
Richard Fillion
[EMAIL PROTECTED]
On Thu, 2003-05-08 at 12:59, Adam C Powell IV wrote:
 

Richard Fillion wrote:
   

I installed ccc on my box to see if i could get better performance out
of some apps with it instead of gcc.  I followed these instructions :
http://www.geocrawler.com/archives/3/241/2001/3/0/5451555/
 

This is ancient, you can now "apt-get install ccc" and follow the 
instructions so its script installs the ccc RPM "properly".
   

And ccc now runs, but i cant compile anything. 

[EMAIL PROTECTED]:~/dev/C$ cat helloworld.c 
 #include 
 main(){
  printf("Hello World\n");
 }
[EMAIL PROTECTED]:~/dev/C$ ccc helloworld.c -o helloworld
cc: Severe: /usr/include/stdio.h, line 34: Cannot find file 
specified in #include directive. (noinclfilef)
# include 
--^

 

I haven't seen this problem, but YMMV.
Note that I can't get cxx to work in unstable, but that shouldn't affect 
ccc.

Please let me know if uninstalling the aliened rpm and reinstalling via 
the .deb works.

--
-Adam P.
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6
Welcome to the best software in the world today cafe! 





Re: ccc install

2003-05-08 Thread Adam C Powell IV
Richard Fillion wrote:
Maintainer: Adam C. Powell, IV <[EMAIL PROTECTED]>  
Architecture: alpha
Version: 6.2.9.506-4

This package installs the file ccc-6.2.9.506-1.alpha.rpm from the above
website.
ccc-6.4.9.005-1.alpha.rpm<--- thats what i had to download from the
website.
As we say in New York, "Akhaa!"  The website and sid/sarge .deb should 
be 6.5.9.31, I think the sid/sarge .deb is installable in woody, since 
it only depends on gcc-2.95.

Holy crap, you're the maintainer, i guess my problem is in good hands
then. eheh.
Well, I like to think so, but the truth is that I'm just the guy who 
volunteered, there are many people on this list who know quite a bit 
more than I.

I think the problem is an incompatibility between those 2
rpms.  I'm doing all of this on Debian Woody, should i try sarge's "ccc"
or sid's?
Both (sid and sarge are both 6.5.9.31).
Zeen,
--
-Adam P.
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6
Welcome to the best software in the world today cafe! 





Re: ccc install

2003-05-09 Thread T. Weyergraf



Hi all,

>> Richard Fillion wrote:
> 
> >I installed ccc on my box to see if i could get better performance out
> >of some apps with it instead of gcc.  I followed these instructions :
> >
> >http://www.geocrawler.com/archives/3/241/2001/3/0/5451555/
> >
> This is ancient, you can now "apt-get install ccc" and follow the 
> instructions so its script installs the ccc RPM "properly".

Old ghosts always come back to haunt you ;-)
When i did the original posting about installing ccc, I was under
the impression, that the Debian-install method already was
on it's way.
I haven't tried the apt-get install for ccc, since i persistently install
my ccc by hand ( just to make sure it gets a grasp of my relativly
strange gcc/glibc/includes setup ).

If desired, I could do an "up-to-date" version of the orginal document,
just to have a fallback-method at hand. I do prefer the apt-get
method, since it's the Debian way. But unfortunately, my old document
pops up every few months or so. Since I did it, i feel somehow 
responsible for keeping it up to date.

Comments ?

Regards,
Thomas Weyergraf ( still on alpha as a happy user ;-)

-- 
Thomas Weyergraf[EMAIL 
PROTECTED]
My Favorite IA64 Opcode-guess ( see arch/ia64/lib/memset.S )
"br.ret.spnt.few" - got back from getting beer, did not spend a lot.





Re: ccc install

2003-05-09 Thread Ionut Georgescu
Hi,

sincerely, I have found installing ccc with alien and dpkg easier than
using apt-get. After spending hours hunting for the right versions, I
ended up downloading the latest versions from the HP web site and trying
my luck with alien -c. The only package that made some trouble was ccc,
as it was trying to do some cleanup work after previous installs. I had
none, as it was a fresh woody and it failed.

You can find the summary of my ccc 'experience' at 

http://www.physik.tu-cottbus.de/~george/unix/ccc.html

Good luck!
Ionut


On Thu, May 08, 2003 at 01:59:19PM -0400, Adam C Powell IV wrote:
> Richard Fillion wrote:
> 
> >I installed ccc on my box to see if i could get better performance out
> >of some apps with it instead of gcc.  I followed these instructions :
> >
> >http://www.geocrawler.com/archives/3/241/2001/3/0/5451555/
> >
> This is ancient, you can now "apt-get install ccc" and follow the 
> instructions so its script installs the ccc RPM "properly".
> 
> >And ccc now runs, but i cant compile anything. 
> >
> >[EMAIL PROTECTED]:~/dev/C$ cat helloworld.c 
> >  #include 
> >  main(){
> >   printf("Hello World\n");
> >  }
> >[EMAIL PROTECTED]:~/dev/C$ ccc helloworld.c -o helloworld
> >cc: Severe: /usr/include/stdio.h, line 34: Cannot find file 
> >specified in #include directive. (noinclfilef)
> ># include 
> >--^
> >
> I haven't seen this problem, but YMMV.
> 
> Note that I can't get cxx to work in unstable, but that shouldn't affect 
> ccc.
> 
> Please let me know if uninstalling the aliened rpm and reinstalling via 
> the .deb works.
> 
> Thanks,
> -- 
> 
> -Adam P.
> 
> GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6
> 
> Welcome to the best software in the world today cafe! 
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."




Re: ccc install

2003-05-13 Thread Adam C Powell IV
Hello,
They usually get back to me within a day or two, I'd be surprised if you 
didn't already have the key by now...

Richard Fillion wrote:
OK Now i see what i was doing wrong on their website.  I now have the
deb, but no password.  I applyed for the educational license, and am
waiting for that.  How long does that usually take?  And btw...i dont
mind at all if  you cc to the mailing list.  I'm sure i'm not the only
person out there who has this problem.
Richard Fillion
[EMAIL PROTECTED]
On Fri, 2003-05-09 at 11:28, Adam C Powell IV wrote:
 

The ccc .deb description says:
Compaq does not allow redistribution of their software. Therefore, this
package requires the user to fetch the ccc RPM archive separately
from their web site at http://www.support.compaq.com/alpha-tools/ .  When you
install this package you will be guided through that process.
When I go through that page, then click through "Enhtusiast and 
Education" license and fill in the fields, it sends me to 
ftp://ftp.compaq.com/pub/products/linuxdevtools/latest/downloads.html 
which has (encrypted) 6.5.9.001-6 (not 6.5.9.31 like I said earlier, 
that was the cxx version).

I hope that works for you, please let me know.
[BTW, do you mind that I replied back to the list last time?]
Richard Fillion wrote:
   

ftp://ftp.compaq.com/pub/products/C-Cxx/linux/compaq_c_v62/docs/ccc/download_files_.htm
That provides 
ccc-6.5.6.002-1.alpha.rpm

unstable ccc wants:
ccc-6.5.9.001-6.alpha.rpm
Will it make a difference?
Richard Fillion
[EMAIL PROTECTED]
On Thu, 2003-05-08 at 22:53, Adam C Powell IV wrote:
 

Richard Fillion wrote:
   

Maintainer: Adam C. Powell, IV <[EMAIL PROTECTED]>  
Architecture: alpha
Version: 6.2.9.506-4

This package installs the file ccc-6.2.9.506-1.alpha.rpm from the above
website.
ccc-6.4.9.005-1.alpha.rpm<--- thats what i had to download from the
website.
 

As we say in New York, "Akhaa!"  The website and sid/sarge .deb should 
be 6.5.9.31, I think the sid/sarge .deb is installable in woody, since 
it only depends on gcc-2.95.
   

Holy crap, you're the maintainer, i guess my problem is in good hands
then. eheh.
 

Well, I like to think so, but the truth is that I'm just the guy who 
volunteered, there are many people on this list who know quite a bit 
more than I.
   

I think the problem is an incompatibility between those 2
rpms.  I'm doing all of this on Debian Woody, should i try sarge's "ccc"
or sid's?
 

Both (sid and sarge are both 6.5.9.31).
--
-Adam P.
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6
Welcome to the best software in the world today cafe! 





ccc install bombs

2003-05-27 Thread Timothy Timmons
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).





Re: CCC Install

2003-06-17 Thread Ionut Georgescu
Hi,

where does gcc point to ? is it gcc 3.3, 3.3 or 2.95 ? Please search for this
problem in the archives. It's been discussed before. I think it's because -V is
no longer supported in gcc 3.3

Ionut

On Tue, Jun 17, 2003 at 10:15:10PM +1000, Kris Amy wrote:
> Hi,
> 
> Just trying to install CCC today and dpkg reports this error.
> 
> Setting up ccc (6.5.9.001-1) ...
> 
> 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)
> 
> 
> Any ideas?
> 
> Kris



-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."




Re: CCC Install

2003-06-18 Thread Timothy Timmons
Yeah, I had the same problem. There were posts I made regarding it
last month. Check out the archives for the list, last month.

Simply change the symlink for gcc to point to gcc-2.95 temporarily,
then once you install ccc, change the link back to gcc-3.2 or 3.3
if you are running testing/unstable.

Tim


On Tue, Jun 17, 2003 at 05:59:00PM +0200, Ionut Georgescu wrote:
> Hi,
> 
> where does gcc point to ? is it gcc 3.3, 3.3 or 2.95 ? Please search for this
> problem in the archives. It's been discussed before. I think it's because -V 
> is
> no longer supported in gcc 3.3
> 
> Ionut
> 
> On Tue, Jun 17, 2003 at 10:15:10PM +1000, Kris Amy wrote:
> > Hi,
> > 
> > Just trying to install CCC today and dpkg reports this error.
> > 
> > Setting up ccc (6.5.9.001-1) ...
> > 
> > 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)
> > 
> > 
> > Any ideas?
> > 
> > Kris




more on Ccc install problem

2003-05-27 Thread Timothy Timmons
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  
specified in #include directive. (noinclfilef)
# include 
--^

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 [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 




Re: more on Ccc install problem

2003-05-27 Thread Ionut Georgescu
You're not paying attention !! When I wrote that gcc-path, I
intentionally left out the specs part !!!

Just try again.

On Tue, May 27, 2003 at 06:16:36PM -0400, Timothy Timmons wrote:
> 
> 
> On Tue, May 27, 2003 at 11:29:56PM +0200, Ionut Georgescu wrote:
> > 
> > gcc-path is what gcc-2.95 -v tells you !! Example:
> > 
> > [EMAIL PROTECTED]:~> gcc-2.95 -v
> > Reading specs from /usr/lib/gcc-lib/alpha-linux/2.95.4/specs
> > gcc version 2.95.4 20011002 (Debian prerelease)
> > 
> > so gcc-path is /usr/lib/gcc-lib/alpha-linux/2.95.4/
> > 
> 
> Oops. Hehe
> 
> However, the thing is still bombing on me :(
> 
> Here's what I did:
> 
> LX:~/gnupg-1.2.2# /usr/bin/gcc-2.95 -v
> Reading specs from /usr/lib/gcc-lib/alpha-linux/2.95.4/specs
> gcc version 2.95.4 20011002 (Debian prerelease)
> 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/lib/gcc-lib/alpha-linux/2.95.4/specs
> Error: Unable to find GCC at /usr/lib/gcc-lib/alpha-linux/2.95.4/specs. 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/lib/gcc-lib/alpha-linux/2.95.4/specs
> 
> 
> > I have also written down some notes from my personal experience with ccc:
> > 
> > http://www.physik.tu-cottbus.de/~george/unix/ccc.html
> > 
> 
> Thanks, :)
> 
> If I don't get this working right either through dpkg --configure or the 
> create-comp-config.sh
> script soon I'm just going to make .debs like you explain how to on that 
> page. Then install them
> that way and see what happens. I think I'll make .debs anyways just for 
> archival purposes, and
> for using them to install on other alphas. 
> 
> -Tim
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."




Re: more on Ccc install problem

2003-05-27 Thread Timothy Timmons
Below is the full output, I however believe I see what the problem is..

These two lines:

+ env -i 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 
gcc -v -V 2.95.4

and later gcc returns this:

gcc: `-V' must come at the start of the command line

Hehehe.

I'll try changing that in the script and see what happens.

Thanks



LX:~# sh -x 
/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 |less
+ 
SAVE_PROG_NAME=/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh
+ SAVE_ARGS=ccc-6.5.9.001-6 /usr/lib/gcc-lib/alpha-linux/2.95.4
+ CCC_VERSION=ccc-6.5.9.001-6
+ '[' ccc-6.5.9.001-6 = '' ']'
+ GCC_PATH=/usr/lib/gcc-lib/alpha-linux/2.95.4
++ dirname /usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh
+ . /usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/probe_linux.sh init
-bash: less: command not found
++ probe_dist
++ DIST_OS=UNKNOWN
++ DIST_VENDOR=UNKNOWN
++ DIST_FILES=
++ '[' -r '/etc/*-release' ']'
++ '[' -r /etc/debian_version ']'
++ DIST_FILES= /etc/debian_version
++ '[' '!' ' /etc/debian_version' = '' ']'
++ DIST_OS=Linux
++ '[' -r /etc/kondara-release ']'
++ '[' -r /etc/redhat-release ']'
++ '[' -r /etc/SuSE-release ']'
++ '[' -r /etc/turbolinux-release ']'
++ '[' -r /etc/debian_version ']'
++ DIST_VENDOR=debian
++ echo ccc-6.5.9.001-6
++ cut -b 1-3
+ PREFIX=ccc
+ '[' ccc '!=' cxx -a ccc '!=' ccc ']'
+ '[' ccc = cxx ']'
+ PROD_NAME=C
+ CCC_ROOT=/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux
+ echo 'Installed as ccc-6.5.9.001-6'
+ '[' debian = UNKNOWN ']'
+ cat /etc/debian_version
+ check_gcc_usage
+ '[' /usr/lib/gcc-lib/alpha-linux/2.95.4 = '' ']'
+ '[' '!' -r /usr/lib/gcc-lib/alpha-linux/2.95.4/specs ']'
+ PGM=int main(int argc, char **argv) {return 0;}
+ echo 'int main(int argc, char **argv) {return 0;}'
++ basename /usr/lib/gcc-lib/alpha-linux/2.95.4
+ GCC_VER=2.95.4
+ env -i 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 
gcc -v -V 2.95.4 
/tmp/ccc_install10006.c -o /tmp/ccc_install10006
+ cat - /tmp/ccc_install10006.log
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
+ cleanup
+ rm -f /tmp/ccc_install10006 /tmp/ccc_install10006.c /tmp/ccc_install10006.log
+ '[' ccc = cxx ']'
+ cat
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
+ exit 1


On Wed, May 28, 2003 at 12:37:54AM +0200, Ionut Georgescu wrote:
> Try putting 'sh -x' in front of the command. Pipe it into less or
> something, to see what the darn thing is actually trying to do.
> 
> 
> 




Re: more on Ccc install problem

2003-05-27 Thread Timothy Timmons
I must admit I don't really know what I'm doing, but it seems to me
you CAN'T run gcc with both -v and -V at the same time. 

LX:~# gcc -v -V 2.95.4
gcc: `-V' must come at the start of the command line
LX:~# gcc -V 2.95.4 -v
gcc: couldn't run `alpha-linux-gcc-2.95.4': No such file or directory
LX:~# gcc -V 2.95.4
gcc: couldn't run `alpha-linux-gcc-2.95.4': No such file or directory

Also it would appear the -V option is broken by itself too, but again
it could need something else I don't know about. Either that, or the
current gcc-2.95/alpha in unstable is broken.

I don't really know what to try next.

-Tim



On Tue, May 27, 2003 at 06:48:11PM -0400, Timothy Timmons wrote:
> Below is the full output, I however believe I see what the problem is..
> 
> These two lines:
> 
> + env -i 
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
>  gcc -v -V 2.95.4
> 
> and later gcc returns this:
> 
> gcc: `-V' must come at the start of the command line
> 
> Hehehe.
> 
> I'll try changing that in the script and see what happens.
> 
> Thanks
> 
> 
> 
> LX:~# sh -x 
> /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 |less
> + 
> SAVE_PROG_NAME=/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh
> + SAVE_ARGS=ccc-6.5.9.001-6 /usr/lib/gcc-lib/alpha-linux/2.95.4
> + CCC_VERSION=ccc-6.5.9.001-6
> + '[' ccc-6.5.9.001-6 = '' ']'
> + GCC_PATH=/usr/lib/gcc-lib/alpha-linux/2.95.4
> ++ dirname 
> /usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh
> + . /usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/probe_linux.sh init
> -bash: less: command not found
> ++ probe_dist
> ++ DIST_OS=UNKNOWN
> ++ DIST_VENDOR=UNKNOWN
> ++ DIST_FILES=
> ++ '[' -r '/etc/*-release' ']'
> ++ '[' -r /etc/debian_version ']'
> ++ DIST_FILES= /etc/debian_version
> ++ '[' '!' ' /etc/debian_version' = '' ']'
> ++ DIST_OS=Linux
> ++ '[' -r /etc/kondara-release ']'
> ++ '[' -r /etc/redhat-release ']'
> ++ '[' -r /etc/SuSE-release ']'
> ++ '[' -r /etc/turbolinux-release ']'
> ++ '[' -r /etc/debian_version ']'
> ++ DIST_VENDOR=debian
> ++ echo ccc-6.5.9.001-6
> ++ cut -b 1-3
> + PREFIX=ccc
> + '[' ccc '!=' cxx -a ccc '!=' ccc ']'
> + '[' ccc = cxx ']'
> + PROD_NAME=C
> + CCC_ROOT=/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux
> + echo 'Installed as ccc-6.5.9.001-6'
> + '[' debian = UNKNOWN ']'
> + cat /etc/debian_version
> + check_gcc_usage
> + '[' /usr/lib/gcc-lib/alpha-linux/2.95.4 = '' ']'
> + '[' '!' -r /usr/lib/gcc-lib/alpha-linux/2.95.4/specs ']'
> + PGM=int main(int argc, char **argv) {return 0;}
> + echo 'int main(int argc, char **argv) {return 0;}'
> ++ basename /usr/lib/gcc-lib/alpha-linux/2.95.4
> + GCC_VER=2.95.4
> + env -i 
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
>  gcc -v -V 2.95.4 
> /tmp/ccc_install10006.c -o /tmp/ccc_install10006
> + cat - /tmp/ccc_install10006.log
> 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
> + cleanup
> + rm -f /tmp/ccc_install10006 /tmp/ccc_install10006.c 
> /tmp/ccc_install10006.log
> + '[' ccc = cxx ']'
> + cat
> 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
> + exit 1
> 
> 
> On Wed, May 28, 2003 at 12:37:54AM +0200, Ionut Georgescu wrote:
> > Try putting 'sh -x' in front of the command. Pipe it into less or
> > something, to see what the darn thing is actually trying to do.
> > 
> > 
> > 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 




Re: more on Ccc install problem (fixed it)

2003-05-27 Thread Timothy Timmons
Oops. I just realized it's gcc-3.3 that won't take -v and -V at the
same time. gcc-2.95 WILL fine though. I simply changed the symlink
in /usr/bin for gcc to point to gcc-2.95 and it ran correctly!

Hehehe.


On Tue, May 27, 2003 at 07:20:24PM -0400, Timothy Timmons wrote:
> I must admit I don't really know what I'm doing, but it seems to me
> you CAN'T run gcc with both -v and -V at the same time. 
> 
> LX:~# gcc -v -V 2.95.4
> gcc: `-V' must come at the start of the command line
> LX:~# gcc -V 2.95.4 -v
> gcc: couldn't run `alpha-linux-gcc-2.95.4': No such file or directory
> LX:~# gcc -V 2.95.4
> gcc: couldn't run `alpha-linux-gcc-2.95.4': No such file or directory
> 
> Also it would appear the -V option is broken by itself too, but again
> it could need something else I don't know about. Either that, or the
> current gcc-2.95/alpha in unstable is broken.
> 
> I don't really know what to try next.
> 
> -Tim
> 
> 
> 
> On Tue, May 27, 2003 at 06:48:11PM -0400, Timothy Timmons wrote:
> > Below is the full output, I however believe I see what the problem is..
> > 
> > These two lines:
> > 
> > + env -i 
> > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
> >  gcc -v -V 2.95.4
> > 
> > and later gcc returns this:
> > 
> > gcc: `-V' must come at the start of the command line
> > 
> > Hehehe.
> > 
> > I'll try changing that in the script and see what happens.
> > 
> > Thanks
> > 
> > 
> > 
> > LX:~# sh -x 
> > /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 |less
> > + 
> > SAVE_PROG_NAME=/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh
> > + SAVE_ARGS=ccc-6.5.9.001-6 /usr/lib/gcc-lib/alpha-linux/2.95.4
> > + CCC_VERSION=ccc-6.5.9.001-6
> > + '[' ccc-6.5.9.001-6 = '' ']'
> > + GCC_PATH=/usr/lib/gcc-lib/alpha-linux/2.95.4
> > ++ dirname 
> > /usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/create-comp-config.sh
> > + . /usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/probe_linux.sh init
> > -bash: less: command not found
> > ++ probe_dist
> > ++ DIST_OS=UNKNOWN
> > ++ DIST_VENDOR=UNKNOWN
> > ++ DIST_FILES=
> > ++ '[' -r '/etc/*-release' ']'
> > ++ '[' -r /etc/debian_version ']'
> > ++ DIST_FILES= /etc/debian_version
> > ++ '[' '!' ' /etc/debian_version' = '' ']'
> > ++ DIST_OS=Linux
> > ++ '[' -r /etc/kondara-release ']'
> > ++ '[' -r /etc/redhat-release ']'
> > ++ '[' -r /etc/SuSE-release ']'
> > ++ '[' -r /etc/turbolinux-release ']'
> > ++ '[' -r /etc/debian_version ']'
> > ++ DIST_VENDOR=debian
> > ++ echo ccc-6.5.9.001-6
> > ++ cut -b 1-3
> > + PREFIX=ccc
> > + '[' ccc '!=' cxx -a ccc '!=' ccc ']'
> > + '[' ccc = cxx ']'
> > + PROD_NAME=C
> > + CCC_ROOT=/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux
> > + echo 'Installed as ccc-6.5.9.001-6'
> > + '[' debian = UNKNOWN ']'
> > + cat /etc/debian_version
> > + check_gcc_usage
> > + '[' /usr/lib/gcc-lib/alpha-linux/2.95.4 = '' ']'
> > + '[' '!' -r /usr/lib/gcc-lib/alpha-linux/2.95.4/specs ']'
> > + PGM=int main(int argc, char **argv) {return 0;}
> > + echo 'int main(int argc, char **argv) {return 0;}'
> > ++ basename /usr/lib/gcc-lib/alpha-linux/2.95.4
> > + GCC_VER=2.95.4
> > + env -i 
> > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
> >  gcc -v -V 2.95.4 
> > /tmp/ccc_install10006.c -o /tmp/ccc_install10006
> > + cat - /tmp/ccc_install10006.log
> > 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
> > + cleanup
> > + rm -f /tmp/ccc_install10006 /tmp/ccc_install10006.c 
> > /tmp/ccc_install10006.log
> > + '[' ccc = cxx ']'
> > + cat
> > 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
> > + exit 1
> > 
> > 
> > On Wed, May 28, 2003 at 12:37:54AM +0200, Ionut Georgescu wrote:
> > > Try putting 'sh -x' in front of the command. Pipe it into less or
> > > something, to see what the darn thing is actually trying to do.
> > > 
> > > 
> > > 
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 




Re: more on Ccc install problem (fixed it)

2003-05-29 Thread Adam C Powell IV
Timothy Timmons wrote:
Oops. I just realized it's gcc-3.3 that won't take -v and -V at the
same time. gcc-2.95 WILL fine though. I simply changed the symlink
in /usr/bin for gcc to point to gcc-2.95 and it ran correctly!
So now it all works?
I wonder what the problem could have been.  The postinst script should 
properly use the full gcc-2.95 path when invoking create-comp-config.sh...

For future reference, instead of purging and reinstalling, you should be 
able to just do "dpkg-reconfigure ccc".
--

-Adam P.
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6
Welcome to the best software in the world today cafe!