no-ip


Forum: HD Install
Topic: no-ip
started by: Error403

Posted by Error403 on June 10 2004,16:19
Hi all!
Has any of you ever had any luck installing no-ip's updater?  The readme says to run Make, but Make doesn't seem to be included in DSL  :/
Thanks for all the help

Error403

Posted by woverin on June 11 2004,03:09
DSL does not come with GCC compiler by default due to the limited space problem. Howerver, you can get it back via
First restoring the dpkg repository
as root run
Code Sample

dpkg-restore
apt-get install gcc g++ make

That should do the trick.

Posted by ke4nt1 on June 12 2004,02:48
Each time I try this, I get an error about ...

g++: Depends g++ 2.95 , but it is not going to be installed.
E: Broken packages

GCC was fine , but make has errors too ...

What ver of DSL are you using, and sucessfully running
this request ?

73
ke4nt

Posted by Error403 on June 12 2004,03:54
I get the same problem that you said ke4nt1
So I'll just wait a little...  Maybe that's something to think up as a .dsl ?

Posted by roberts on June 12 2004,06:52
Try changing your sources list to unstable
make gcc g++ installs fine.

Posted by Error403 on June 12 2004,12:50
Quote (roberts @ June 12 2004,02:52)
Try changing your sources list to unstable

ummmm...
Excuse my ignorance, but how do you do that?

Thanks

Posted by ke4nt1 on June 12 2004,14:21
I added the line ...
"deb < http://ftp.us.debian.org/debian/ > unstable main non-free contrib"
to the top of my "/etc/apt/sources.list" file, and rem'd out the others with a
leading "#"

Now gcc installs fine from apt-get , but g++ and make both give me this error..

Setting up libc6 (2.3.2.dsl-13)
date: invalid date 'Sat Jun 12 16:03:46 UTC 2004'
dpkg: error processing libc6 (--configure):
subprocess post-instalation script returned error exit status 1
Errors were encountered while processing:
 libc6
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ttyp0[damnsmall]#

Now, I type date, and the answer is..
Sat Jun 12 18:14:27 CEST 2004

but my taskbar says 06/12/2004 09:14AM (which IS the correct time)
I'm in Central Time, and in Daylight Savings period, so I'm
5 hours behind CST which IS currently 14:14:27 CST

Where are the extra 4 hours coming from in the DATE command?,
and where are the extra 2 hours coming from in the error listed?,
Is that really the cause of the error?

NOTE: "Keisangi" had this same error back in April.. no reply
NOTE: "edard" had this same error back in May.. no reply
NOTE: This is the same error I get when doing a apt-get upgrade...

73
ke4nt

Posted by ke4nt1 on June 12 2004,17:30
I have verified that my hwclock to sysclock were off...fixed
Both now on UTC..  no change...
Still get same error when attempting apt-get install g++ or make

I verified that /etc/localtime is symlinked to /usr/share/zoneinfo/US/Central

Could not find a /etc/sysconfig/clock file to add UTC to...
any ideas??

73
ke4nt

Posted by roberts on June 12 2004,17:34
1. boot from 0.7.1 cdrom
2. did a hard drive install  selected enhance option
3. boot from hard drive
4. use menu to enable-apt
5. edit /etc/apt/sources.list ( changed stable to unstable )
6. apt-get update
7. apt-get install make gcc g++

Everything loaded fine.
8. edit hello.c
9 gcc hello.c
10 ./a.out  

It worked.

Posted by ke4nt1 on June 12 2004,18:08
OK, I did a fresh 0.7.1 pristine burn... 4x no problems ... ok
dpkg-restore ... ok
changes /etc/apt/sources.list from stable to unstable...  ok
apt-get update ...  ok
apt-get install gcc g++ make

same error as before...
It seems to think that I'm in Pacific standard time, since the
time listed as UTC is 2 hours ahead of the actual UTC
(If I were in the west coast, it would be correct.)

Ex:
My LOCAL time is 12:58 (CST)
The UTC time IS 17:58
The DPKG Error says it's 19:58 UTC !!

This would only work if it was 12:58 PST, not CST

I'm not crazy here, and I have duplicated your successful effort from
a clean boot of 0.7.1

Will this only work from a HD Install??

?????

73
ke4nt

Posted by ke4nt1 on June 12 2004,18:36
Yes, this worked fine from a hdinstall....
but libc6 still gave me some lines about UTC being 7 hours ahead of me,
(not 5, as it should be)
and CEST was 9 hours ahead of me...
Go figure...

Ever since mydsl-load was created, i never seem to run from HDInstall...
Simply pop the cd in the drive, and reboot...
My HD has been a repository of .dsl's, .tar.gz's, mp3's, mpg's, and stuff...
I've got 5-6 different DSL cdr's, each made for a different computer in
the house, with different themes, files, and uses for everyone here..

Thanks,

73
ke4nt

Posted by roberts on June 12 2004,22:03
The process should work from liveCD if you have enough memory. But you will need to first install the gnu-utils.dsl.  That would be like the "enhanced" hard drive install option except for liveCD.
Posted by kid on June 27 2004,01:32
i advise you to try it this way:

echo 'deb < http://ftp.cprm.net/pub/debian > experimental main' > /etc/apt/sources.list
echo 'deb < http://ftp.cprm.net/pub/debian > unstable main' >> /etc/apt/sources.list

apt-get update
apt-get -t experimental install gcc-3.4 g++-3.4 make
cd /usr/bin; ln -sf gcc-3.4 gcc; ln -sf g++-3.4 g++

that way you will get the latest release of gcc :)

Posted by Grim on June 27 2004,17:32
Quote
Hi all!
Has any of you ever had any luck installing no-ip's updater?  The readme says to run Make, but Make doesn't seem to be included in DSL  :/
Thanks for all the help

You don't need make to install no-ip, use the pre-built binary noip2-Linux found in the binaries directory of the expanded tarball.  If you would have read a little farther, it tells you what to do if you don't have make on your system:
Quote
If you do not have 'make' installed and you have an i686 Linux machine with libc6, a binary for i686 systems is located in the binaries directory called noip2-Linux. Copy that binary to the build directory  
Code Sample
cp binaries/noip2-Linux noip2

But since you don't have make to begin with, change the above to
Code Sample
cp binaries/noip2-Linux /usr/local/bin/noip2

Quote
###########################################################################
HOW TO USE THE CLIENT WITHOUT READING THE REST OF THIS TEXT

Usual operation?
/usr/local/bin/noip2 -C configure a client <==Do this after you've copied the binary to /usr/local/bin
/usr/local/bin/noip2 run a client
/usr/local/bin/noip2 -S display info about running clients
/usr/local/bin/noip2 -D pid toggle the debug state for client pid
/usr/local/bin/noip2 -K pid terminate client pid

Have more than one internet access device?
/usr/local/bin/noip2 -M -c file start additional instances

###########################################################################

Posted by Grim on June 28 2004,01:54
Before you try kid's advice, I recommend you read the  < Sid FAQ >  first.  There is almost never a good reason to run experimental.  Ever.
Posted by JeremyD on July 12 2004,17:45
I'm not trying to install no-ip, but my problems run parrallel to those mentioned here.


Heres what I've done....

Fresh HD install...ok
Dpkg-restore...ok
edit etc/apt/sources.list file...ok
apt-get update...ok

Now, when i run apt-get install gcc g++ make I get this error...

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


Any ideas how to get around this? Make is a hard thing to live without ;)

Posted by ke4nt1 on July 12 2004,18:12
See this thread, look for roberts post

< http://damnsmalllinux.org/cgi-bin....9;st=10 >

Or click "search" above..
enter keywords - "gcc" "g++" "make"
select - "all open forums"
select - "this year" and "newer"
click "search" near bottom..

73
ke4nt

Posted by JeremyD on July 14 2004,18:10
Quote (ke4nt1 @ July 12 2004,14:12)
See this thread, look for roberts post

< http://damnsmalllinux.org/cgi-bin....9;st=10 >

Or click "search" above..
enter keywords - "gcc" "g++" "make"
select - "all open forums"
select - "this year" and "newer"
click "search" near bottom..

73
ke4nt

Ummm.. Re-rerad my post, and then read his. I have done all those steps, as I mentioned in my first post. I am still getting the error.

I tried following the other steps taken by a user, but just like he did, I keep running around chasing dependancies down, eventually getting to one that doesnt install.

Posted by ke4nt1 on July 14 2004,19:57
I've tried twice from freshly installed copies of DSL 0.7.1 or DSL 0.7.2

Both times, no problem....

Quote
No problem getting gcc g++ and make using the following:

1. boot from 0.7.1 cdrom
2. did a hard drive install  selected enhance option
3. boot from hard drive
4. use menu to enable-apt
5. edit /etc/apt/sources.list ( changed stable to unstable )
6. apt-get update
7. apt-get install make gcc g++


Boot from a pristine copy of 0.7.1 or 0.7.2
Do not include any other .dsl's or extensions..  boot clean.

Make sure you select "extended" when asked during the
Hard Drive Install..... Otherwise you r system will use busybox,
instead of The Gnu Utils...

The changing of apt from Stable to Unstable is the key,
otherwise, I get the same errors as you..

Make sure after editing the /etc/apt/sources.list file,
you rerun apt-get update again...

73
ke4nt

Posted by cbagger01 on July 15 2004,01:42
When you edited your /etc/apt/sources.list file were you able to sucessfully save the file?

If you look at the file in emelfm, it should show a newer timestamp.

You might want to edit it using the following command from an xterminal window:

sudo scite /etc/apt/sources.list

(for version 7.1) or

sudo beaver /etc/apt/sources.list

(for version 7.2).

Hope this helps.

Posted by JeremyD on July 15 2004,17:19
Quote (cbagger01 @ July 14 2004,21:42)
When you edited your /etc/apt/sources.list file were you able to sucessfully save the file?

If you look at the file in emelfm, it should show a newer timestamp.

You might want to edit it using the following command from an xterminal window:

sudo scite /etc/apt/sources.list

(for version 7.1) or

sudo beaver /etc/apt/sources.list

(for version 7.2).

Hope this helps.

Yup. Its saved just fine. I've even tried to apt-get some apps that are available on the unstable branch. No problems (well, up until the point I need to run make!!).
Posted by JeremyD on July 15 2004,17:37
I followed the advice given on this page - < http://mail.plug.linux.org.au/pipermail/plug/2001-July/022235.html >

I got libc6 to install!!!! Now to try to get everything else installed!

Posted by JeremyD on July 15 2004,17:47
Ok...Now it just run into more problems...

If I apt-get libc6 i tells me that i have the newest version.

Now, if I apt-get libc6-dev it says "The following packages have unmet dependancies:
libc6-dev: Depends: libc6 (=2.2.5-11.5) but 2.3.2dsl-13 is to be installed
E: Broken packages"



I love dsl, but living without make is impossible. Im seriously considering just using another distro on this machine :(

Posted by JeremyD on July 29 2004,17:23
Anyone get any further than me on this?



I just did a fresh install to make sure I wasnt doing anything differently....

Fresh hd install
dpkg-restore
edit /etc/apt/sources.list to include unstable
apt-get update
apt-get install gcc g++ make


same error still!!!!



I'm giving up on this soon......

Posted by ke4nt1 on July 29 2004,20:58
I'm guessing that the script in the HD install pulls from the gnu-utils.dsl
file when you select the "enhanced" HD option during the HDInstall.
So, even though you selected "enhanced" before, your HDinstall
may not truly be enhanced. ( it does request an internet connection )

Now that i've corrected the file, thanks to your heads-up,
Try again with your HDInstall, or simply install the new
gnu-utils in the usual myDSL way...

Both dpkg-restore = ( Enable Apt ) = dsl-dpkg.dsl
and
gnu-utils = enhanced HDInstall
need to be loaded to your box before trying to
edit /etc/apt/sources.list , and apt-get update, and
apt-get install gcc g++ make..

Let me know...

73
ke4nt

Posted by ke4nt1 on July 29 2004,21:44
Jeremy D

I'm thinking my last post was correct...
I just tested the gcc g++ make install routine from a LiveCD

Worked fine...

I think the steps listed in this thread are correct...
The incorrect gnu-utils file was killing your process..
Here's what I did, similar to , but a little different because of the LiveCD

Booted the liveCD using "dsl base"
This started a pristine DSL 0.7.3 environment
used the myDSLgui on the desktop to install
1. gnu-utils.dsl
2. dsl-dpkg.dsl

I opened a shell (XTerminal ) , "sudo su" to root,
and "scite /etc/apt/sources.list"

added a " un" in front of the word "stable" in the uncommented line.
File Save / File Exit ..... back to the shell

"apt-get update" and see the unstable sources lists creating
"apt-get install gcc g++ make"

and watched it go...    complete..  no errors..
back to the shell prompt...

A picture is worth 1000 words


Jeremy D, try it one-more-time, and see what you get..

73
ke4nt

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.