Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ [1] 2 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Compiler, gcc and g++< Next Oldest | Next Newest >
PhrozenFear Offline





Group: Members
Posts: 127
Joined: Feb. 2004
Posted: Mar. 09 2004,18:38 QUOTE

Okay, here's the deal.  I'm loving DSL - it's great, fast, efficient, and powerful.  However, I want to make my own little custom version that includes the gcc compiler, and the corresponding g++ linker.  So, I went to knoppix.net and got me a remastering howto, and it worked great.  Made a temp copy of dsl on a mounted disk, dpkg-restore to give me apt-get, then apt-get to do what I want.  And then this is what I get for error when I try and apt-get install g++:

Code Sample
root@ttyp0[root]# apt-get install g++
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 g++: Depends: g++-2.95 but it is not going to be installed
E: Broken packages


I then go apt-get install g++ g++-2.95 and I get:

Code Sample
The following packages have unmet dependencies:
 g++-2.95: Depends: libstdc++2.10-dev (>= 1:2.95.4) but it is not going to be installed
E: Broken packages


So I go and follow the chain, and so on and so forth, so eventually I'm at apt-get install g++ g++-2.95 libstdc++2.10-dev libc6-dev libc6


Code Sample
The following packages have unpet dependencies:
 libc6-dev: Depends: libc6 (= 2.2.5-11.5) but 2.3.2.ds1-10 is to be installed
E: Broken packages


That's the part that confuses me - I can't install an older version of libc6, or a newer version of libc6-dev, so I'm at a loss for words here.  Anyone know of a way that I can work this thing out ?  I need a compiler, because I'm doing a c++ programming course in school, and DSL is a wonderful alternative to Fedora on my old Pentium 233 laptop - it takes almost 10 mins to load, while DSL takes maybe 3 or 4.

Thanks in advance.

>>PhrozenFear


--------------
>>PhrozenFear

73, VE6MSP

I find your lack of penguin disturbing. -- Darth Tux
Back to top
Profile PM ICQ AOL MSN YIM 
Dan Offline





Group: Members
Posts: 29
Joined: Dec. 2003
Posted: Mar. 09 2004,22:34 QUOTE

try changing  /etc/apt/sources.list to testing, do an 'apt-get update' and then try again.
Back to top
Profile PM 
PhrozenFear Offline





Group: Members
Posts: 127
Joined: Feb. 2004
Posted: Mar. 10 2004,03:25 QUOTE

*lost*  What do you mean change it to testing ?  I'm still a newb at this - My main original flavour of linux was Redhat and the like - my main desktop at home runs Fedora Core 1.

>>PhrozenFear


--------------
>>PhrozenFear

73, VE6MSP

I find your lack of penguin disturbing. -- Darth Tux
Back to top
Profile PM ICQ AOL MSN YIM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Mar. 10 2004,04:52 QUOTE

Try this:

Open an xterminal window (Rxvt) and type:

sudo su
scite /etc/apt/sources.list


Then while in Scite, look for the line of text that does not begin with a pound sign character or '#'.  The '#' character is a "comment", REM or "remark" command.  All commands after the '#' on a line are then ignored.

So add a '#' sign in front of the above mentioned line.

Then Delete the '#' sign in front of the line that mentions 'testing' in it.

Finally, save the file to disk.

When you return to the Xterminal window, then type

apt-get update


and the apt program will download all of the package information associated with the 'testing' Debian program tree.  This tree will probably contain a newer version of the dependent program and may resolve your errors when trying to install a compiler.

See HTTP://www.debian.org      for more details on how the whole thing works.

Good Luck.
Back to top
Profile PM 
PhrozenFear Offline





Group: Members
Posts: 127
Joined: Feb. 2004
Posted: Mar. 10 2004,07:49 QUOTE

Thanks for that - I knew about commentedness, but I didn't know which file, nor what to edit out.  Again, thanks.  I'll try it in the morning and see where we go from there.

Now, a question - what's scite ?  Is that some sort of editor ?

>>PhrozenFear


--------------
>>PhrozenFear

73, VE6MSP

I find your lack of penguin disturbing. -- Darth Tux
Back to top
Profile PM ICQ AOL MSN YIM 
16 replies since Mar. 09 2004,18:38 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ [1] 2 3 4 >/
reply to topic new topic new poll
Quick Reply: Compiler

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code