4

I want to install afpfs-ng to get access to an AFP share from my Mac. I am running Debian and am following instructions from https://unix.stackexchange.com/a/175/17242, and I get

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

Does it mean there were some issues during installation? Are there any better ways of enabling AFP access on Linux?

user20997
  • 141
  • 4
  • Your question is not quite clear: do you want to compile afpfs-ng on a Mac or on Debian? (I assume it's the second). Please edit it. – Renan Mar 31 '12 at 19:42
  • 1
    I am compiling on debian, edited my question, I hope it's clear now. – user20997 Mar 31 '12 at 19:49

2 Answers2

3

On Debian there's a meta-package that contains most programs you'll need to do compilations.

apt-get build-essential

You'll also want to get the build dependancies required by afpfs-ng:

apt-get install libgcrypt-dev libfuse-dev libgmp-dev libreadline-dev libncurses-dev

(That list was obtained from http://ftp.de.debian.org/debian/pool/main/a/afpfs-ng/afpfs-ng_0.8.1-5.dsc)

bahamat
  • 39,666
  • 4
  • 75
  • 104
1

configure: error: no acceptable C compiler found in $PATH

You need to install the C compiler. Try apt-get install gcc.

Renan
  • 17,136