|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Host connection seems to fail on W32 system (Cygwin)Hi all,
Somehow my distcc only compiles at the localhost. I've tried numerous things like, setting the DISTCC_HOST environment variable. Setting up a host file in the DISTCC_DIR directory. Passing the hosts as an argument with make. Nothing works, I only get it to compile on the localhost, even if I set DISTCC_FALLBACK=0 and I remove the localhost from the host file etc, it still compiles locally, even though it shouldn't. My CC looks like this: CC := distcc.exe $(CW_BINDIR)/mwccarm.exe A rule in my makefile used for building a library looks like this: make -j12 -e --directory=../lib \ CCFLAGS="$(MACRO_FLAGS_CC)" Which translated in my output window to: distcc.exe C:/Program\ Files/compiler/mwccarm.exe -lang c++ -c ./src/source.cpp -MD -o obj/ARM9-TS/Release/source.o as said, the compiling through distcc goes right, but somehow it doesn't recognize the other host. On the other host I ran distccd --deamon, with the correct allow settings. I checked firewalls. I can even telnet to the corresponding computer to port 3632, but somehow distcc won't do a thing with it. My distcc version is 2.18.3 What do I do wrong?? Can you please mail an answer to my emailaddress and not only to the list? Thanks in advance! Cheers, Martijn Reuvers __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc |
|
|
Re: Host connection seems to fail on W32 system (Cygwin)Hi all,
I investigated some more but no matter what I do, it just doesn't seem to recognize the hosts i specify with DISTCC_HOST. It *always* compiles locally. If I set DISTCC_HOSTS="localhost/1", it still compiles locally with 4 processes, instead of the maximum allowned 1. It is as if distcc just doesn't read the DISTCC_HOSTS settings. Any clue? Thanks Martijn Martijn Reuvers wrote: > Hi all, > > Somehow my distcc only compiles at the localhost. I've tried numerous things > like, setting the DISTCC_HOST environment variable. Setting up a host file > in the DISTCC_DIR directory. Passing the hosts as an argument with make. > Nothing works, I only get it to compile on the localhost, even if I set > DISTCC_FALLBACK=0 and I remove the localhost from the host file etc, it > still compiles locally, even though it shouldn't. > > My CC looks like this: > > CC := distcc.exe $(CW_BINDIR)/mwccarm.exe > > A rule in my makefile used for building a library looks like this: > > make -j12 -e --directory=../lib \ > CCFLAGS="$(MACRO_FLAGS_CC)" > > Which translated in my output window to: > > distcc.exe C:/Program\ Files/compiler/mwccarm.exe -lang c++ -c > ./src/source.cpp -MD -o obj/ARM9-TS/Release/source.o > > as said, the compiling through distcc goes right, but somehow it doesn't > recognize the other host. > > On the other host I ran distccd --deamon, with the correct allow settings. I > checked firewalls. I can even telnet to the corresponding computer to port > 3632, but somehow distcc won't do a thing with it. > > My distcc version is 2.18.3 > > What do I do wrong?? Can you please mail an answer to my emailaddress and > not only to the list? > > Thanks in advance! > > Cheers, > > > Martijn Reuvers > > __ > distcc mailing list http://distcc.samba.org/ > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/distcc > __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc |
|
|
Re: Re: Host connection seems to fail on W32 system (Cygwin)On 11/15/06, Martijn Reuvers <martijn@...> wrote:
> Hi all, > > I investigated some more but no matter what I do, it just doesn't seem to > recognize the hosts i specify with DISTCC_HOST. It *always* compiles > locally. If I set DISTCC_HOSTS="localhost/1", it still compiles locally with > 4 processes, instead of the maximum allowned 1. It is as if distcc just > doesn't read the DISTCC_HOSTS settings. Any clue? > Although I run Cygwin, I've never tried to implement distcc in that environment. I do have it running on Gentoo, though. Is there a Cygwin equivilant of distcc-config? If you run that with --get-hosts, what do you see? Also, if you enable debug logging in distcc, do you see any messages such as 'unable to distribute to xxxhost'? Do you see any logs appear on the machine the compilation is supposed to be happening on? It sounds like we need to dig into the logs a bit. __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc |
|
|
Re: Host connection seems to fail on W32 system (Cygwin)Hi Andrew,
Thanks for your post and my apologies for the delay in responding. > Although I run Cygwin, I've never tried to implement distcc in that > environment. I do have it running on Gentoo, though. Is there a > Cygwin equivilant of distcc-config? If you run that with --get-hosts, > what do you see? Also, if you enable debug logging in distcc, do you > see any messages such as 'unable to distribute to xxxhost'? Do you > see any logs appear on the machine the compilation is supposed to be > happening on? It sounds like we need to dig into the logs a bit. I went through all the logs and couldn't find anything remotely similar to: unable to distribute to xxxhost. As a matter of fact, the logs never mention a single host I specified. Not even something like: reading config file, found 3 hosts. No it simply always default to localhost :( It looks like if the host settings are never read. Furthermore I couldn't find an equivalent of distcc-config for W32 (Cygwin). If someone does have that, please let me know. Thanks for your help! Cheers, Martijn __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc |
|
|
Re: Host connection seems to fail on W32 system (Cygwin)Just in case someone on the Internet is hunting around for a solution to this problem--I had a very similar one on Gentoo Linux. Here's what I did to solve it:
1. netstat -c --inet showed me active internet connections. I could see both on the server and on the client that requests were coming into the server but nothing was going out. 2. I restarted distccd with the option --verbose (and --log-file) to get an idea of what was happening on the server. In my case, what was happening was that the command line for gcc on the server did not match what was being requested on the client. YMMV of course. |
|
|
Re: Host connection seems to fail on W32 system (Cygwin)It is normal that the gcc command line on the server will not exactly
match the distcc command line on the client. Distcc will munge the command line a bit. On 04/07/2009, at 10:36 PM, psfblair <ciriwe@...> wrote: > > Just in case someone on the Internet is hunting around for a > solution to this > problem--I had a very similar one on Gentoo Linux. Here's what I did > to > solve it: > > 1. netstat -c --inet showed me active internet connections. I could > see both > on the server and on the client that requests were coming into the > server > but nothing was going out. > > 2. I restarted distccd with the option --verbose (and --log-file) to > get an > idea of what was happening on the server. > > In my case, what was happening was that the command line for gcc on > the > server did not match what was being requested on the client. YMMV of > course. > > > -- > View this message in context: http://www.nabble.com/Host-connection-seems-to-fail-on-W32-system-%28Cygwin%29-tp7344631p24337838.html > Sent from the Distcc mailing list archive at Nabble.com. > > __ > distcc mailing list http://distcc.samba.org/ > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/distcc distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc |
| Free embeddable forum powered by Nabble | Forum Help |