You are not logged in.

1

Wednesday, September 15th 2004, 6:48am

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 ( ? )

2

Wednesday, September 15th 2004, 7:31am

gcc lost

Hi

try ls /usr/bin/gcc*

if any exists, link this to /usr/bin/gcc with ln -s

Suerte
Salu2 a to2

My Blog

Scribbler

Beginner

Posts: 36

Location: Aurora CO

  • Send private message

3

Wednesday, September 15th 2004, 8:13am

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.

seb

Professional

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

4

Wednesday, September 15th 2004, 8:14am

Suse 9.1 Personal edition doesn't ship with gcc, or any compiler actually.

Thanks to Scribbler for this solution:

Quoted

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.

Scribbler

Beginner

Posts: 36

Location: Aurora CO

  • Send private message

5

Wednesday, September 15th 2004, 8:24am

Hehheh had I known you were posting that, I wouldn'ta spent all that time re entering it :)

6

Wednesday, September 15th 2004, 3:02pm

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?

m4ktub

Intermediate

Posts: 257

Location: Lisbon, Portugal

Occupation: Software Engineer

  • Send private message

7

Wednesday, September 15th 2004, 3:24pm

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.

8

Wednesday, September 15th 2004, 7:51pm

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.

9

Thursday, September 16th 2004, 1:20am

m4ktub, some research discovered it is

[code:1]rpm -ivh rpm_package.rpm[/code:1]


Is this what you meant?

Amoeba

Trainee

Posts: 115

Location: http://seattle.wa.u$

Occupation: Urban guerilla

  • Send private message

10

Thursday, September 16th 2004, 8:03am

Quoted

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

seb

Professional

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

11

Thursday, September 16th 2004, 10:58am

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

12

Thursday, September 16th 2004, 3:03pm

Quoted

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.

m4ktub

Intermediate

Posts: 257

Location: Lisbon, Portugal

Occupation: Software Engineer

  • Send private message

13

Thursday, September 16th 2004, 4:07pm

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