Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#include <sys/tree.h> is missing on FreeBSD #30

Closed
yurivict opened this issue May 16, 2015 · 8 comments
Closed

#include <sys/tree.h> is missing on FreeBSD #30

yurivict opened this issue May 16, 2015 · 8 comments

Comments

@yurivict
Copy link

No description provided.

@wulf7
Copy link
Contributor

wulf7 commented May 18, 2015

Which version of FreeBSD are you using? sys/tree.h has been imported into source tree in 2002

Anyway I have created a pull request #31 with bundled sys/tree.h so you can try that code now

@yurivict
Copy link
Author

10.1
The file tree.h isn't missing, include is missing. I added this to quick-fix the build:

@echo "#include <sys/tree.h>" >> ${WRKSRC}/config.h

@wulf7
Copy link
Contributor

wulf7 commented May 18, 2015

Are you trying to compile libinotify out of FreeBSD port system through hacking of port`s Makefile? If so it would be a wrong way. You should run full autotools suite than configure than resulting Makefile rather than just run ports bundled Makefile

@yurivict
Copy link
Author

Free port already bypasses autotools. I was updating it to the latest version, and found that this include is missing. It was added for some other OSes, but not FreeBSD in code.

@wulf7
Copy link
Contributor

wulf7 commented May 18, 2015

The code evolved since port version. It now requires autotools

@wulf7
Copy link
Contributor

wulf7 commented May 18, 2015

Run autogen.sh && configure && make in ${WRKSRC} directory and dont run make on port bundled Makefile

@yurivict
Copy link
Author

Port doesn't use autogen.sh the way how it is defined. autogen.sh would require perl, and will take literally 20 times longer to build. So it avoids this. In any case, there is no action required. Thanks.

@dmatveev
Copy link
Owner

Thanks, Vladimir, for help with this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants