Error trying to install samba 2.2.7

Booting, installing, newbie
Post Reply
Message
Author
plockery
Posts: 26
Joined: Mon 13 Jun 2005, 09:28

Error trying to install samba 2.2.7

#1 Post by plockery »

I need the samba daemon installed so a windows pc can see the puppy pc. But the samba daemon in not installed in puppy - I can't find it anyway.
So I tried to install samba 2.2.7 from source.
This is the same version listed in the packages.txt file.

But when I untar and run ./configure it stops near the end of the process with this error:

checking for poptGetContext in -lpopt... yes
checking whether to use included popt... no
checking configure summary... configure: error: summary failure. Aborting config

The config.log returns this at the end of the file:

configure:14097: checking for poptGetContext in -lpopt
configure:14116: gcc -o conftest -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lpopt -lnsl -ldl -lnsl -lresolv 1>&5
configure:14140: checking whether to use included popt
configure:14155: checking configure summary
configure:14164: gcc -o conftest -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lnsl -ldl -lnsl -lresolv -lpopt 1>&5
In file included from configure:14161:
In file included from ./tests/summary.c:1:
In file included from /usr/include/stdio.h:34:
/usr/lib/tcc/include/stddef.h:5: identifier expected
configure: failed program was:
#line 14160 "configure"
#include "confdefs.h"
#include "./tests/summary.c"

Does anyone understand this error?
Is it saying that it is a problem with tiny cc?

Peter

User avatar
papaschtroumpf
Posts: 250
Joined: Fri 17 Jun 2005, 04:23

#2 Post by papaschtroumpf »

you're right, the sambe daemon is not included in puppy, just the client tools.

As an alternative you can setup an FTP server on the puppy machine and the windows machine can access it with their browser. I know it's not the same though.
Mandriva LE 2005 user and puppy newbie

plockery
Posts: 26
Joined: Mon 13 Jun 2005, 09:28

#3 Post by plockery »

I saw the post about setting up an ftp server, but dont know how to do this.
I installed gtkftpd with pupget.
Whe i click on it to open it, however, i don't know what to do from there.
Everything is blank and the bottom status bar just says "starting server..." and seems to stay that way.

If you could send me in the right direction that would be great.

Peter

User avatar
papaschtroumpf
Posts: 250
Joined: Fri 17 Jun 2005, 04:23

#4 Post by papaschtroumpf »

haven't tried using it yet to be honest.
I'll give it a try and post back here if nobody has by then.
Also I thing that starting the SQL thingy (called quisp I think?) also starts an FTP server.
Mandriva LE 2005 user and puppy newbie

User avatar
papaschtroumpf
Posts: 250
Joined: Fri 17 Jun 2005, 04:23

#5 Post by papaschtroumpf »

this link in the old forum might help: http://www.goosee.com/puppy/sforum/simp ... light=ftpd
but also look at this one: http://www.goosee.com/puppy/sforum/simp ... light=ftpd

looks like you would have to try it and form your own opinion about how well it works.
Mandriva LE 2005 user and puppy newbie

User avatar
papaschtroumpf
Posts: 250
Joined: Fri 17 Jun 2005, 04:23

#6 Post by papaschtroumpf »

I can't get gtkftpd to perform properly for me.
I'm going to look into alternatives, or maybe make my own based on linux-ftpd which is a small port ofthe freeBSD ftpd. Only problem is that it doesn't have a GUI, so one will need to be invented LD
Mandriva LE 2005 user and puppy newbie

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#7 Post by Ian »

To set up a ftp server you need some files as well as the FTP server daemon, ftpd.
The files are:
/etc/services, which Puppy has
/etc/passwd, " " "
/etc/ftpusers, not in Puppy
/etc/ftpaccess, " " "

Post Reply