LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2004, 12:34 PM   #1
alanbarnard
Member
 
Registered: Jan 2004
Location: Bradford UK
Distribution: Ubuntu Dapper Drake k7-kernel
Posts: 49

Rep: Reputation: 15
sh setup.sh -m


I have been trying to install Kylix (Delphi for Linux). The installation instructions say to use 'setup.sh'

I would very much like to hear from any other Kylix users, but I would be very grateful for any answers from general Linux users even if they are not able to comment on the particular Kylix issues.

As a complete newbie, I installed RedHat 8 (the Borland approved version is 7.2 but this does not recognise my hardware) and doubleclicked on the 'setup.sh' icon. This appeared to install the Kylix files but they were going into the wrong directories and in fact the majority of them were not being installed at all. I did a complete reinstall of Linux to be sure of getting a clean system.

I read somewhere that I should type: 'sh setup.sh -m' so I opened a terminal and did so. This time everything seemed to work and lots of convincing looking text scrolled through in the window. The files were installed in the right places and the program worked to some extent but would freeze the graphical system completely at a particular point.

Finally, being very impressed by Knoppix, I did a hard disk install of it. I tried reinstalling Kylix using the same command line. I was completely surprised to find that, after displaying a few lines of text in the window, it opened a graphical window with progress bars. This time the files were correctly installed and the freezing problem had disappeared.

Now here are my questions:

1) What happened when I doubleclicked on the setup.sh icon? Should I have done it at all?

2) Why was I told to type 'sh setup.sh -m'? Why did Borland not tell me to do this? (In fact they take it for granted that the user will know what to do with the setup file.) As Kylix is a graphical program and runs under GNOME or KDE, I would have expected the installation procedure to be purely graphical.

3) Why should the graphical window open under Debian but not under RedHat?
 
Old 03-03-2004, 03:00 PM   #2
gregaryh
Member
 
Registered: Jan 2004
Location: Utah USA
Distribution: SuSE Pro 9.0
Posts: 43

Rep: Reputation: 15
Quote:
Now here are my questions:

1) What happened when I doubleclicked on the setup.sh icon? Should I have done it at all?

2) Why was I told to type 'sh setup.sh -m'? Why did Borland not tell me to do this? (In fact they take it for granted that the user will know what to do with the setup file.) As Kylix is a graphical program and runs under GNOME or KDE, I would have expected the installation procedure to be purely graphical.

3) Why should the graphical window open under Debian but not under RedHat?
1. When you double click a .sh file in Gnome it will run it with your default shell (usually /bin/bash). But the environment is not the same as if you run it from a terminal window so that might explain why it did not install where you had anticipated.

2. By typing sh setup.sh you are running it using the shell sh, the parent shell to bash and many other shells. Why Borland did not state this is explicitly is beyond me unless they assume you know how to run a shell script already (Always a bad assumption).

3. Debian and Redhat have different settings when it comes to graphical systems. Basically no two distros are exactly alike. Perhaps the debian system had libraries that the redhat system did not.

In the Linux world installing packages is much more diverse than on other OS's. There are a multitude of ways we try to make it easier (RPM, dpkg, shell scripts) but they are all dependant on a number of assumptions about a users environment. The classic Linux way is to give you an archive of the source and have you compile it yourself. This way you can have ultimate control over how it is installed on your system. Unfortunately this is quite a daunting task for the Linux novice.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Message during 802.11b setup for Intersil Card ( prism2_usb ) setup in SoC archak Linux - Wireless Networking 0 10-13-2004 03:21 AM
[SUSE 9.1 PROF] How can I copy the setup files to my harddisk and start the setup? TheRealFalcon Linux - Distributions 1 08-07-2004 11:49 PM
Need help with ethernet setup in Gentoo( During setup proccess) MimiMimi Linux - Distributions 2 07-19-2004 01:34 PM
Change 7CD setup to 1 DVD setup GaX Mandriva 1 04-22-2004 05:23 AM
Multicast Setup/eth1 setup QuadMonk Linux - Networking 1 04-29-2002 06:52 AM


All times are GMT -5. The time now is 07:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration