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

On cygwin, make fails, unable to make win/resources.rc #1

Closed
ofaurax opened this issue Oct 28, 2014 · 6 comments
Closed

On cygwin, make fails, unable to make win/resources.rc #1

ofaurax opened this issue Oct 28, 2014 · 6 comments

Comments

@ofaurax
Copy link

ofaurax commented Oct 28, 2014

From the cygwin shell:

$ ./configure && make
Using /usr/bin/gcc to compile Cntlm
Checking endian... little endian
Checking strdup... yes
Checking socklen_t... yes
Checking gethostname... LAPTOP27
make: *** No rule to make target 'win/resources.rc', needed by 'win/resources.o'.  Stop.

I can easily test things from the client side.

@framon
Copy link
Owner

framon commented Oct 29, 2014

This repository was cloned from Ubuntu, so I do not expect it to work in Cygwin.
I have no Windows environment, but I will make an effort to fix it.

@ofaurax
Copy link
Author

ofaurax commented Oct 29, 2014

It builds if I disable the compilation of win/resources.rc in the Makefile

framon added a commit that referenced this issue Oct 30, 2014
#1

Tries to fix building in cygwin by adding win/resources.rc, which was picked up
from upstream (http://cntlm.sf.net)
@framon
Copy link
Owner

framon commented Oct 30, 2014

Please, try to build from the branch make-fails-on-cygwin

@ofaurax
Copy link
Author

ofaurax commented Oct 30, 2014

Another error:

$ ./configure && make
Using /usr/bin/gcc to compile Cntlm
Checking endian... little endian
Checking strdup... yes
Checking socklen_t... yes
Checking gethostname... INSIDE2498
Adding EXE resources
windres: can't open icon file `win/cntlm.ico': No such file or directory
Makefile:126: recipe for target 'win/resources.o' failed
make: *** [win/resources.o] Error 1

framon added a commit that referenced this issue Oct 30, 2014
#1

Tries to fix building in cygwin by adding win/cntlm.ico, which was picked up
from upstream (http://cntlm.sf.net)
@framon
Copy link
Owner

framon commented Oct 30, 2014

Sorry, but I can't check if build success.
I have made another push. Please, try again.

@ofaurax
Copy link
Author

ofaurax commented Oct 31, 2014

It builds on cygwin now, thank you.
However, the exe produced exit after some lines...
I'll investigate and try to provide a patch.
Thank you

@ofaurax ofaurax closed this as completed Oct 31, 2014
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

2 participants