-
Notifications
You must be signed in to change notification settings - Fork 145
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
CMake issue: Drop perl as a build dependency. #75
Comments
Install perl and popt libs (http://gnuwin32.sourceforge.net/packages/popt.htm)
if you want only lib |
I also had to add my own
and change
Then the build went fine. |
@Quiark it would be great if you could send clean PRs for those two changes. |
Besides the issues described here I've also encountered another one, regarding usage of "_fileno" and "fileno" availability, while trying to build the library with MSVC 2015 and gcc on Linux 64 bits. I've also attached a patch to overcome them: librsync-patch.zip . What do you think about it? On top, perl on Windows is pretty unusual, even for developers and, after checking the mkprototab.pl script, is seems its output is static. Taking these into consideration how about to generate the "prototab.h" and "prototab.c" offline, and add them as is, directly into the project? |
@marius-nicolae ... we have github PR's for that... Perl issue: |
I'm new with github and pull requests but I've managed to create one: #100 . Regarding Perl thing, it's not referring to tests as the case of #82, but it's about "mkprototab.pl" script which gets called by cmake and statically creates two files, "prototab.h" and "prototab.c", used for building the rsync library. PS. To keep this issue clean, would you like to create another specific one? |
I think this is about trying to drop perl as a build dependency. Personally I don't see much value in continuing to have prototab.[ch] auto-generated at all. They are pretty static and realistically if we want to add cmds like a whole-file checksum (see #9) it'd probably be easier to edit the *.[ch] files to add it than update the *.pl file. Dropping the perl build dependency would be more of a win than the auto-generation gives us. |
Hi,
I am trying to build from the latest master using CMake 3.6.0 and Visual Studio 2015.
Whenever I try and configure CMake I get these two errors:
PERL_EXECUTABLE-NOTFOUND
POPT_INCLUDE_DIRS-NOTFOUND
How can I make it work?
The text was updated successfully, but these errors were encountered: