View Single Post
  #13  
Old March 8th, 2005, 04:56 AM
mmpete mmpete is offline
Registered User
 
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
mmpete is on a distinguished road
Don't try to install using the scripts if you have spaces in your path name.

Quote:
Originally Posted by doemel
I have tried to install the latest version (3.0p1) on the latest OS X release (10.2.1) and all I get is error messages. When I enter ./configure I get the following list of error messages:

Making links in common
ln: raw.c: No such file or directory
ln: parse.c: No such file or directory
ln: nit.c: No such file or directory
ln: icmp.c: No such file or directory
ln: dispatch.c: No such file or directory
ln: conflex.c: No such file or directory
ln: upf.c: No such file or directory
ln: bpf.c: No such file or directory
ln: socket.c: No such file or directory
ln: lpf.c: No such file or directory
[... I have cut some lines that are similar to these...]
ln: discover.c: No such file or directory
ln: comapi.c: No such file or directory
ln: dhcp-options.5: No such file or directory
ln: dhcp-eval.5: No such file or directory
make[2]: *** [links] Error 1
make[1]: *** [links] Error 1
make: *** [links] Error 2


Amd when, after that, I try to make I get the following:

Making all in common
make[2]: *** No rule to make target `raw.o', needed by `libdhcp.a'. Stop.
make[1]: *** [all] Error 1
make: *** [all] Error 2


Can anyone help me with this and/or update the instructions for 10.2.1 and the latest release of DHCP?

Dominik Schmid
I had exactly the same problem with installation - the path to the directory I was trying to compile DHCP in had spaces. The easiest way around this is to try creating a symbolic link with spaces replaced by some other character - eg:

>pwd
/Rootdir/lots of spaces/dhcp-3.0.2
>cd /Rootdir
>ln -s "lots of spaces" lots_of_spaces
>cd lots_of_spaces/dhcp-3.0.2
>pwd
/Rootdir/lots_of_spaces/dhcp-3.0.2

Then run ./configure again, and it should all work!

HTH,
Alastair
Reply With Quote