compilation error - Debian

13 views
Skip to first unread message

Thomas Möhle

unread,
Apr 21, 2010, 3:57:43 AM4/21/10
to EtherPad Open Source Discussion
Hey guys,

when i try to complie it, I get this:

# bin/rebuildjar.sh
using JAR jar...
lib/mysql-connector-java-5.1.10-bin.jar has changed, rebuilding JAR
unzipping JARs...
making cached JAR....
compiling...
compiling with 'fsc'...
compiling common...
Note: net.appjet.common/util/HttpServletRequestFactory.java uses or
overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: net.appjet.common/util/HttpServletRequestFactory.java uses
unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Unable to establish connection to compilation daemon
Compilation failed.

And yes, before you ask, there is an 127.0.0.1 entry in my /etc/
hosts ;)

Thanks for your help,
TM


--
Subscription settings: http://groups.google.com/group/etherpad-open-source-discuss/subscribe?hl=en

Per Andersson

unread,
Apr 21, 2010, 6:03:29 AM4/21/10
to etherpad-open-...@googlegroups.com
On Wed, Apr 21, 2010 at 9:57 AM, Thomas Möhle <ma...@thomasmoehle.de> wrote:
> Hey guys,
>
> when i try to complie it, I get this:
>
> # bin/rebuildjar.sh
> using JAR jar...
> lib/mysql-connector-java-5.1.10-bin.jar has changed, rebuilding JAR
> unzipping JARs...
> making cached JAR....
> compiling...
> compiling with 'fsc'...
> compiling common...
> Note: net.appjet.common/util/HttpServletRequestFactory.java uses or
> overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: net.appjet.common/util/HttpServletRequestFactory.java uses
> unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> Unable to establish connection to compilation daemon
> Compilation failed.
>
> And yes, before you ask, there is an 127.0.0.1 entry in my /etc/
> hosts ;)

I hit this also, I don't really remember the steps I took to make it work...

It might be necessary to do a hackish symlink

ln -s /usr/share/java /usr/share/java/lib

Also, did you build ace first?

cd infrascructure/ace
bin/make normal etherpad


Best,
Per
Message has been deleted

Thomas Möhle

unread,
Apr 21, 2010, 7:27:02 AM4/21/10
to EtherPad Open Source Discussion
I tried both but it didn't help:

# bin/make normal etherpad
Unable to establish connection to compilation daemon


Per Andersson

unread,
Apr 21, 2010, 7:59:42 AM4/21/10
to etherpad-open-...@googlegroups.com
This might be a IPv6 issue. See http://bugs.debian.org/576568 for more
info and solution.


-- Per

Chris Ball

unread,
Apr 21, 2010, 11:33:32 AM4/21/10
to etherpad-open-...@googlegroups.com, Thomas Möhle
Hi,

> Unable to establish connection to compilation daemon
> Compilation failed.

I think the last time we saw this, it turned out to be insufficient RAM
on the compiling machine. Do you have at least 1GB on that machine?

- Chris.
--
Chris Ball <c...@laptop.org>
One Laptop Per Child

Jeff Mitchell

unread,
Apr 21, 2010, 11:41:48 AM4/21/10
to etherpad-open-...@googlegroups.com
On 4/21/2010 7:59 AM, Per Andersson wrote:
> This might be a IPv6 issue. See http://bugs.debian.org/576568 for more
> info and solution.

I can confirm that a coworker of mine ran into this problem and solved
it by turning off IPv6.

--Jeff

signature.asc

Thomas Möhle

unread,
Apr 21, 2010, 12:52:11 PM4/21/10
to EtherPad Open Source Discussion
IPv6 is disabled and i got 3,5 gigs of free ram.

Simon B.

unread,
Apr 21, 2010, 5:01:41 PM4/21/10
to EtherPad Open Source Discussion
On Apr 21, 6:52 pm, Thomas Möhle <m...@thomasmoehle.de> wrote:
> IPv6 is disabled and i got 3,5 gigs of free ram.

I "solved" this in Ubuntu by simply trying again. Perhaps the second
or third time I was also running from a different folder.

Look in ~/.tmp/ for some socket-file that should point to the
compilation server. Perhaps removing (or fixing up permissions) on
that file can help.

But as I said, trying again 2-3 times might actually be a good enough
workaround.

/Simon

John McLear

unread,
Apr 23, 2010, 6:13:21 AM4/23/10
to etherpad-open-...@googlegroups.com
Use this command:  bin/rebuildjar.sh CLEARCACHE 
Reply all
Reply to author
Forward
0 new messages