Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
FTP problems
I'm major noob with linux :oops:
But i learn fast, and I'm a big windows geek....
So i tried to set up an ftp server, I downloaded pure-ftpd-1.0.19.orig
and followed the instructions, which told be to first ./configure to have it auto configure most options....
Here is the error message I got -
[code:1]
configre: error: no acceptable C compiler found in $PATH[/code:1]
$PATH seems like a variable from php, do i just need to define it?
Do i need to install a compiler?
SuSE 9.1 Personal - KDE 3.1 ( ? )
gcc lost
Hi
try ls /usr/bin/gcc*
if any exists, link this to /usr/bin/gcc with ln -s
Suerte
SuSE Personal does not come packaged with a compiler.
You'll have to install GCC. You can find the SuSE RPM's to install them at ftp.suse.com/pub/suse/i386/9.1/suse/i586/
Which, incidentally, you can also find an RPM of pure-ftp so you could install it that way.
To make your life even easier, go into YAST -> Software -> Change Source of Installation -> Add
Then put 'ftp.suse.com' in the server name, and 'pub/suse/i386/9.1/suse/i586' in the directory entry. Now save it, go to Install / Remove Software, and all those packages at SuSE's FTP site will show up in YaST. You can install them directly from there.
Suse 9.1 Personal edition doesn't ship with gcc, or any compiler actually.
Thanks to Scribbler for this solution:
Original von Scribbler
You'll need to install gcc. In Yast, go to Software -> Change Source of Installation and add a new ftp source. Put ftp.suse.com in the host, and /pub/suse/i386/9.1/suse/i586/ as the directory. When you finish that, ensure that it is Enabled.
Then go to Install/Remove software and do a search for gcc. Select the gcc packages and let Yast install them.
Alternatively, you can just go to ftp.suse.com/pub/suse/i386/9.1/suse/i586/ via your browser and download the packages individually.
Hehheh had I known you were posting that, I wouldn'ta spent all that time re entering it
Well I tried the YaST way, and this is the error message....
[code:1]
Unable to create installation source from URL 'ftp://ftp.suse.com/pub/sus/i386/9.1/suse/i586
Details:
ERROR(InstSrc:E_no_instsrc_on_media)
Try Again?[/code:1]
So I dl'ed these 'RPM's'......
But how do I use them? Do i just ./rpm?
I suppose that if you click them in Konqueror an package managment utility will appear. Probably related to Yast but can also be kpackage. (I don't know SuSE that well nowadays.)
You can also use the command line and type
[code:1]rpm -Uvh <the rpm files>[/code:1]
to have them installed. If one (or more) dependency fails you will be warned and you will have to fecth the corresponding packages and repeat the process.
Thats why it's better that you should invest some time on getting that Yast Software update working instead of going right to the command line (or Kpackage for example). Yast downloads all dependencies for you when you choose to install a package.
I think that SuSE now uses some kind of patch RPMs that are much smaller and can be used when you are just updating. Yast should do a best use of those packages too.
Oh! I checked the address you used and the path does not exist but the one that Scribbler sugested exists. Maybe you mispelled and didn't notice.
ok, I ran the rpm for ftp and it said it is alrdy installed... Any idea where it might have installed it? I don't think linux has a 'Program Files' or I would look.... I'll surf around, maybe i'll get lucky.
m4ktub, some research discovered it is
[code:1]rpm -ivh rpm_package.rpm[/code:1]
Is this what you meant?
Original von Pozican
m4ktub, some research discovered it is
[code:1]rpm -ivh rpm_package.rpm[/code:1]
Is this what you meant?
rpm -ivh == fresh install
rpm -Uvh == upgrade existing package
-- rm -fr /etc/whitehouse
-- Gentoo | udev | Xorg 6.8.2 | 2.6.14-r4 | KDE 3.5.0
The -vh flags are only for visual improvement
v -- verbose
h -- hashing (make the output pretty, put a line of #'s for the installation progress
Original von Pozican
ok, I ran the rpm for ftp and it said it is alrdy installed... Any idea where it might have installed it? I don't think linux has a 'Program Files' or I would look.... I'll surf around, maybe i'll get lucky.
Run
[code:1]less <rpm file>[/code:1]
or
[code:1]rpm -qilp <package file on local disk>[/code:1]
To get information about the package and a list of files it contains. I'm not sure that you can use the "i" and "l" flags together.
As some confusion appeared with the last command:
- q - query
- i - show package info
- l - list all files in package
- p - use the given package file
[/list:u]
Check a man page with "man rpm" or read it on the web like in http://www.rpm.org/max-rpm/rpm.8.html