How can I install 'make' with a standard install?


Forum: HD Install
Topic: How can I install 'make' with a standard install?
started by: edard

Posted by edard on April 14 2004,22:30
Is there a way to add 'make' to the standard DSL 0.6.2?
This is a hard drive install on a ThinkPad 750Cs and I need make to for a .c which will allow my DualScan monitor to work with X.
Thanks

Posted by -=[KiDMaSteR]=- on April 15 2004,13:29
y, just type sudo dpkg-restore, then sudo apt-get install make; if it doesnt work try sudo apt-get install pmake and sudo ln -s /usr/bin/pmake /bin/make
Posted by edard on April 16 2004,00:29
Thanks KidMaster.  I have installed DSL 0.6.3 today and tried what you suggested with disappointing results:

"$ sudo dpkg-restore
Grabbing the compressed dpkg database and programs..
Connecting to damnsmalllinux.org....
dpkg-install.tar   100% |******|  940 KB
dpg-install.sh
dpkg.tar.bz2
/usr/sbin/dpkg-restore: line 6: dpkg-install.sh: command not found
Updating apt-get
/usr/sbin/dpkg-restore: line 8: apt-get: command not found
All Done
$ sudo apt-get install make
sudo: apt-get: command not found
$ sudo apt-get install pmake
sudo: apt-get: command not found
$ sudo ln -s /usr/bin/pmake /bin/make
$ sudo make
sudo: make: command not found
$sudo pmake
sudo: make: command not found
$

At least some progress was made and I am having fun.
What else can be done to get 'make' going?
Thanks again,

Posted by roberts on April 16 2004,06:54
From the menu select Xshells-.Root Access
Run from there. Stop all these sudo's.
Sudo, sudo, sudo, reminds me of a Phil Collins song.
Your problem is a path issue. Should be fine with the root access shell.

Posted by edard on April 16 2004,07:41
Roberts:  
Thanks for your reply.  The root problem here is that I do not have X because this is a ThinkPad 750Cs with the weird DualScan monitor.  I have a .c that is supposed to fix that but I need 'make' to use it.  What can I do to get 'make' going?

Posted by roberts on April 16 2004,07:59
Does your computer boot from cdrom? If yes, did you ever get X up with different boot options? fb800x600? Please tell me what kind of hard drive install did you do? Is is dsl-hdinstall, standard, single user? Did you use a different machine to do the install? If it was multi-user, you could login as root. If you said no to multi-user logins, then are you dumped to a shell $ prompt? What does cat .bash_profile say?
Posted by edard on April 16 2004,15:32
Thanks Roberts,
No CD ROM, I did a dsl-hdinstall, standard, multi user.  I installed from a 70 MB partition on this machine to a 260 MB partition.  I can login as root.  X never comes up.

At boot I first see:
You passed an undefined mode number. Press Enter to see video modes available:
(I can pick a 3 or 4)....

After boot I see  "box login:_"  
I can login as myself, damnsmall or root.
Then on login I get the following:
X10 fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining."

Then I get a prompt and can operate in text mode.

cat .bash_profile
#!/bin/bash
export IRCNICK=DamnSmall
SSH='env | grep SSH_CONNECTION'
if [ -z "$SSH" ]; then startx; fi
root@tty1[root]#

Thanks for you interest.  I would really like to get DamnSmall GUI runninig and there should be a way.  What I am trying to install that is supposed to fix this is called "tpdualscan.c" written by a Michael Steiner if that is any help to you.

Posted by roberts on April 16 2004,16:34
Ok, Let's start by fixing your invalid mode issue. As root try to edit /etc/lilo.conf and look for the vga=xxxx line. It is probably vga=791 change it to vga=normal. Then run the lilo command to install the changes. Then reboot.
Posted by edard on April 16 2004,16:56
OK Roberts, "vga=normal" then a reboot and no longer get the "You passed an undefined mode number....." part.  I still see the "X10:  fatal IO error...."  but can operate in text mode.
Next?

Posted by roberts on April 16 2004,19:30
Have you tried both framebuffer and xvesa? What is your video card? Might be needing a specific K drive server. That C program you mentioned is probably for Xfree86? I remember several posts about other K server code for other non-supported cards.
Posted by edard on April 16 2004,20:08
Well Darn! it does say for XFree86.  The video card is Western Digital 512K reported to be a real pain with X.  I only get a black screen when trying xvesa combinations and the X10 error using framebuffer although here I do have the text screen.  Am I screwed as far as GUI goes then?
Posted by roberts on April 16 2004,21:05
I am about out of options for you. Might search the fourms for a list of other Tiny X K drivers. If I recall someone, might be cbagger, posted some. Also might do a google search for Tiny X K drive and your video card. As a last resort do an enhanced dsl-hdinstall and try to apt-get the full X. I think Grim, posted once about that.
Posted by edard on April 16 2004,21:58
Thanks again roberts.  How can I do an enhanced install then?  The DSL "CD" is on a 70MB partition with a 260MB partition where the installation will go.  If I do a floppy boot prior to install then I am unable to do a pppconfig, required to get the modem going for an Enhanced install.  IF I do the dsl-hdinstall then set up the modem and try for an enhanced install it says that EXT2 fs goes read-only.  What am I missing here?
Posted by cbagger01 on April 16 2004,22:07
Some information on alternative KDrive servers:

Have you tried using another KDrive XWindows server instead of the Xvesa and Xfbdev servers that come with DSL?

You can download a copy from here:

< http://www.tuxfan.homeip.net:8080/rule/XFree86/kdrive/8.0/ >

After download, assign executable permissions to the file.

For example if the Trident server was used, you would do this:

chmod 755 Xtrident

Finally, edit your xsetup file and change the word
"Xvesa" into "/home/damnsmall/Xtrident" or wherever you have stored the file. Then save the edited file and type:

startx

Good Luck.

Posted by roberts on April 16 2004,22:39
For enhanced install without X, uou should be able to do the following:
boot from floppy with:
boot: knoppix 2   or  dsl 2 (if using 0.6.3)

The "2" will log you in as root without X. Then configure modem with pppconfig and pon, be sure you have internet connectivity, you can use text links browser or type ifconfig and see if you have an eth0  Then use dsl-hdinstall and be sure to choose enhanced.

Posted by roberts on April 16 2004,22:58
edard,
Oops, I forgot, you also have text issue too. So, use 0.6.3. and boot with:
boot: dsl 2 vga=normal
Then do the hdinstall and choose enhanced and multiuser

Posted by edard on April 16 2004,23:07
Thanks cbagger01...that will take some research or trial and error but I will look into it.

roberts;  when I do a floppy boot and go for a pppconfig it says /etc/ppp/peers does not exist.  Mounting /dev/hda1 (where the install is) did not help that although a regular hard drive boot does have those files.

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