troglobit / pimd

PIM-SM/SSM multicast routing for UNIX and Linux
http://troglobit.com/projects/pimd/
BSD 3-Clause "New" or "Revised" License
200 stars 90 forks source link

pimd-2.3.0-dev: *** No rule to make target `libite/strlcpy.o', needed by `pimd'. - SOLVED #52

Closed HubertMa closed 9 years ago

HubertMa commented 9 years ago

libite-1.0.0 installed. Looks OK, though tempfile.c:25:2: warning: #warning O_TMPFILE missing on your system, tempfile() may not work! [-Wcpp]

Now I want to make pimd-2.3.0-dev and it breaks with *\ No rule to make target libite/strlcpy.o', needed bypimd'.

HubertMa commented 9 years ago

I had to manually add the path to strlcpy.o, pidfile.o and strtonum.o in config.mk because they are not in the same path as pimd.

troglobit commented 9 years ago

Hi @HubertMa, great to see you trying out the latest (unreleased) pimd!

You shouldn't need to install libite ... all you need to do is run the configure script. It is supposed to set up the paths and build flags for your target.

./configure && make

That should work. I'm testing this out on both OpenBSD 5.7 and Ubuntu Linux 14.04 LTS, and it works there. What system do you have?

troglobit commented 9 years ago

Seriously, since my last post I've now also tested building on Debian Jessie. Without a hitch.

What did you do to get that build error?

HubertMa commented 9 years ago

I first downloaded pimd-2.3.0-dev from github on my desktop PC, unzipped it, tared it and transferred to my wlan router running debian 7.1 in a very "downstripped" fashion (low memory, no unnecessary software). make told me about missing libite stuff, so I did the same trick for libite-1.0.0. After that I tried again to make pimd and this brought up the above error.

troglobit commented 9 years ago

OK.

First of all, you may be better off running an official release rather than bleeding edge master :wink: Official releases are available here https://github.com/troglobit/pimd/releases or at my FTP ftp://ftp.troglobit.com/pimd/ ... since you downloaded it yesterday I've done several bug fixes, and it's not complete yet. That's just a word of caution.

Secondly, I'm very glad you figured out how to make it build for you! I wish you the best of luck! :smiley:

Third, I will try to make it clearer in the GitHub interface how to use (download and build) the software. I've never been a fan of GitHub's automated download links ...

HubertMa commented 9 years ago

Thank you, I'll go for V 2.2.1.