Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error installing Compaq Tools on Gentoo Alpha
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
l_tincani
n00b
n00b


Joined: 15 Nov 2004
Posts: 34

PostPosted: Tue Nov 16, 2004 11:06 am    Post subject: Error installing Compaq Tools on Gentoo Alpha Reply with quote

My machine is an Compaq XP1000 (Tsunami), alpha ev6, 500Mhz, 2Gb ram and 10Gb hd scsi.

Code:
CHOST = alpha6-unknown-linux-gnu
CFLAGS="-mcpu=ev6 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"


and gcc:
Quote:
---------------------------------------------------------------------------------
bash-2.05b$ gcc -v
Reading specs from /usr/lib/gcc-lib/alpha6-unknown-linux-gnu/3.3.2/specs
Configured with: /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/configure --prefix=/usr --bindir=/usr/alpha6-unknown-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/alpha6-unknown-linux-gnu/3.3.2/include --datadir=/usr/share/gcc-data/alpha6-unknown-linux-gnu/3.3 --mandir=/usr/share/gcc-data/alpha6-unknown-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/alpha6-unknown-linux-gnu/3.3/info --enable-shared --host=alpha6-unknown-linux-gnu --target=alpha6-unknown-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/alpha6-unknown-linux-gnu/3.3.2/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --disable-multilib
Thread model: posix
gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
-------------------------------------------------------------------------------------------------


Installing ccc I have got this error message:

Quote:
---------------------------------------------------------------------------------------------------------
bash-2.05b# CCC_LICENSE_KEY=0123456789 emerge dev-lang/ccc
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-lang/ccc-6.5.9.001-r2 to /
>>> md5 src_uri ;-) ccc-6.5.9.001-6.alpha.rpm.crypt
>>> Unpacking source...
* Decrypting ccc distribution...
Reading passphrase from file descriptor 0
* Unpacking ccc distribution...... [ ok ]
* Applying create-comp-config.patch ... [ ok ]
* Removing unwanted documentation (USE="-doc")...
* Reorganising man structure...
>>> Source unpacked.
>>> Test phase [not enabled]: dev-lang/ccc-6.5.9.001-r2

>>> Install ccc-6.5.9.001-r2 into /var/tmp/portage/ccc-6.5.9.001-r2/image/ categ
ory dev-lang
man:
gzipping man page: ccc.1
gzipping man page: protect_headers_setup.8
prepallstrip:
strip:
strip:
usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/lnxcc
usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/bin/lnxcc_driver
>>> Completed installing into /var/tmp/portage/ccc-6.5.9.001-r2/image/

>>> Merging dev-lang/ccc-6.5.9.001-r2 to /
--- /usr/
--- /usr/bin/
Traceback (most recent call last):
File "/usr/bin/emerge", line 2991, in ?
mydepgraph.merge(mydepgraph.altlist())
File "/usr/bin/emerge", line 1839, in merge
retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug)
File "/usr/lib/portage/pym/portage.py", line 2562, in doebuild
return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["D"],mysetti
ngs["BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"])
File "/usr/lib/portage/pym/portage.py", line 2695, in merge
return mylink.merge(pkgloc,infloc,myroot,myebuild)
File "/usr/lib/portage/pym/portage.py", line 6670, in merge
return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
File "/usr/lib/portage/pym/portage.py", line 6297, in treewalk
if self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime):
File "/usr/lib/portage/pym/portage.py", line 6536, in mergeme
if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict
,thismtime):
File "/usr/lib/portage/pym/portage.py", line 6536, in mergeme
if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict
,thismtime):
File "/usr/lib/portage/pym/portage.py", line 6551, in mergeme
elif stat.S_ISREG(mydmode) or (stat.S_ISLNK(mydmode) and stat.S_ISREG(os.sta
t(mydest)[stat.ST_MODE])):
OSError: [Errno 2] No such file or directory: '/usr/bin/ccc'
-------------------------------------------------------------------------------------------------


Of course I used the right CCC_LICENSE_KEY.

Can be related to the CHOST? Or it is a problem of portage file's privilege?

After few test I wasn't able to install ccc and I have many incomplete merge messages, how can I remove those message?

Quote:
-------------------------------------------------------------------------------
bash-2.05b# emerge -pv dev-lang/ccc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
INCOMPLETE MERGE: /var/db/pkg/dev-lang/-MERGING-ccc-6.5.9.001-r3
INCOMPLETE MERGE: /var/db/pkg/dev-lang/-MERGING-ccc-6.5.9.001-r2
[ebuild N ] dev-lang/ccc-6.5.9.001-r2 -doc 0 kB

Total size of downloads: 0 kB

-----------------------------------------------------------------------------


Thanks

L
Back to top
View user's profile Send private message
l_tincani
n00b
n00b


Joined: 15 Nov 2004
Posts: 34

PostPosted: Wed Nov 17, 2004 4:18 pm    Post subject: Alpha Compaq ...create-comp-config.sh Reply with quote

I found the solution.

The previuos uninstallation (emerge -C ccc) had left a link into the /usr/bin/ccc, I have removed it and now is working well.

But configuration script:

Code:
create-comp-config.sh


isn't able to find my gcc version (3.3.2) and what header and libs I'm using!!!

How can I solve this new problem, ... installing gcc-2.95?

L
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum