LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Connecting Mac's to a Linux server (netatalk) (https://www.linuxquestions.org/questions/linux-networking-3/connecting-macs-to-a-linux-server-netatalk-17137/)

nixadm 03-27-2002 02:59 PM

Connecting Mac's to a Linux server (netatalk)
 
Ok, I've been working with this a few days now, I need to share linux drives with a few macs. I got a server running RH 7.0. I've got samba working fine. But I can't seem to get netatalk working. I've downloaded it and attempted to install but apparantly I dont have "make" install, which I think is part of the gcc package.

So I popped in cd-3 and ran rpm -i make-3.79xzyzyz.rpm and it seems like it installed it but im not sure, when I type make at a command prompt, it says make not found.

From what i've read I can add this on as a module.. appletalk.o or something...or do I have to recompile this kernel? (which i've never done)

Thanks in advance.

nixadm 04-01-2002 09:06 AM

No one can help with this?
 
.

Jon- 04-01-2002 12:53 PM

Couple things. First, I thought RH included netatalk as an RPM (power tools)? Could be wrong.

Anyway, I guess if you do indeed need to compile it you need make. Try to install it as rpm -ivh make-3.79etcetc... verify it gets installed then. Then, to see what is installed

rpm -ql make

My 'make' is in /usr/bin. So, try /usr/bin/make (or whereever yours is) to verify it's there.

If you still can't compile, it sounds like your paths might be hosed, and if so you might not be able to compile anyway. Are you compiling this as root?

Yup, you can install the appletalk protocol as a module -- heck, it might already be installed. Try

insmod appletalk.
Then,
dmesg | grep -i apple

You should see something in there like:
NET4: AppleTalk 0.18 for Linux NET4.0

Incidentally, once you get this working, I'd suggest you NOT share the same samba volume with netatalk. Netatalk seperates the data fork and the resource fork of the Mac file into two seperate Linux files. This can cause some problems if the a windows client operates on the files...at least it used to be this way. Some of the problem can be fixed using something like RedEdit. But, not worth the hassle IMHO.

nixadm 04-01-2002 02:22 PM

Ok...
 
Thanks for the reply,

when I run "rpm -ql make " it says package make not installed.

so I go to the cdrom, and type "rpm - make-3.79.1-5.src.rpm" and it waits a sec (acts like its installing) then back to command line. then I type rpm -ql make again and it says not installed.

so for some reason it wont install make, is there extra commands parameters i can give rpm to tell me why or force it or something?


ok, and from the other commands I was able to confirm that appletalk.o is installed. thanks



Now if i could just get make working I could install netatalk.

Thanks for the help

:D

nixadm 04-01-2002 02:28 PM

I cant find netatalk on the cds anywhere,

Is there an RPM version anywhere?

Jon- 04-01-2002 08:18 PM

Hey Nix,

You can find RPMS galore at www.rpmfind.net. There should be a version there for Redhat.

As for your RPM, I just noticed you're trying to install the source code for make, not the compiled binary itself. So, if you look in the /usr/src/redhat/sources/ you should see the source for make. And, rpm -ql make won't work, because 'make' isn't the same as 'make-source'. Try rpm -qa | grep -i make. You'll probably see make-source, but no make.

And yes, there are "force" type flags for rpm, but you shouldn't need them unless you really know what you're doing -- usually rpm won't let you install things for a reason. And, when it doesn't, it'll usually tell you why.

You need to find make-3.79.1-5.rpm or something like that (the NON-source version).... that will install the 'make' you want. Then, you should be able to compile netatalk.

greenhornet 04-01-2002 09:12 PM

I'm running a production netatalk system that I instaleld via RPM

You can get a recent RPM distro from

ftp://ftp.redhat.com/rawhide/i386/RedHat/RPMS/

The other option is to update all the Macs to OSX and use Samba or NFS that you might already be running. Otherwise there is SMB/CIFS software you can get for OS9.

I thought it used to be on the powertools CD as well.


All times are GMT -5. The time now is 10:48 AM.