Compiling jnext on ubuntu

13 views
Skip to first unread message

Gaëtan

unread,
Sep 29, 2008, 7:19:54 PM9/29/08
to jNext discussion group
Hi,
I'm trying to build the jnext 1.0.8.1 extension on ubuntu, but i got
lot's of errors.
For fileReader
gaetan@gaetan-laptop:/tmp/jncore-src/jnext-extensions/filereader$ make
-f nbproject/Makefile-Release.mk SUBPROJECTS= .build-conf
mkdir -p build/Release/GNU-Linux-x86/_ext/home/amnon/jncore/jnext-
extensions/filereader/../common
g++ -c -O2 -fPIC -o build/Release/GNU-Linux-x86/_ext/home/amnon/
jncore/jnext-extensions/filereader/../common/plugin.o ../common/
plugin.cpp
../common/plugin.cpp: In function ‘void g_sleep(unsigned int)’:
../common/plugin.cpp:58: error: ‘useconds’ no se declaró en este
ámbito
make: *** [build/Release/GNU-Linux-x86/_ext/home/amnon/jncore/jnext-
extensions/filereader/../common/plugin.o] Error 1
i solved it changing useconds to mseconds in line 58 of common/
plugin.cpp,
then modifying the SocketsW.h to add missing header and dealing with
cast i managed to compile sockets.so.
When i try to use it i have those messages "Error Can't find
ClientSocket" and "error initializing ClientSocket".

What could i do?

Cheers

Gaëtan

Gaëtan

unread,
Sep 30, 2008, 12:46:22 PM9/30/08
to jNext discussion group
After spending various hours in investigation i found that the
sockets.js and jnext.js changed between 1.0.7 and 1.0.8.1 and that
it's mandatoy to have a reverse DNS to create socket since the connect
do a gethostbyaddr before the real connect.

Cheers

Gaëtan

Gaëtan

unread,
Sep 30, 2008, 12:46:46 PM9/30/08
to jNext discussion group
After spending various hours in investigation i found that the
sockets.js and jnext.js changed between 1.0.7 and 1.0.8.1 and that
it's mandatoy to have a reverse DNS to create socket since the connect
do a gethostbyaddr before the real connect.

Cheers

Gaëtan

On 29 sep, 19:19, Gaëtan <gaetan.duchauss...@gmail.com> wrote:

Amnon

unread,
Sep 30, 2008, 12:50:05 PM9/30/08
to jNext discussion group
Sorry, my bad - I forgot to check the Linux version after making
another set of modifications on Windows. I'll release a fix shortly.

Gaëtan Duchaussois

unread,
Sep 30, 2008, 12:54:24 PM9/30/08
to jn...@googlegroups.com
i should i've checked before the deadline on linux and firefox3. My bad too
But what about the gethostbyaddr?

Cheers

Gaëtan

2008/9/30 Amnon <amnon...@gmail.com>

Amnon David

unread,
Sep 30, 2008, 3:49:39 PM9/30/08
to jn...@googlegroups.com
Since the deadline wasn't advertised, I take all the blame :-) There
wasn't that much traffic yet so I didn't think too much about it but
I'll start making announcements regarding release dates and features
from now on.

regarding the gethostbyaddr - this is due to some thoughtless copy and
paste on my side - sorry for the time wasted, I'll also include a fix
for this.

-Amnon


Gaëtan Duchaussois wrote:
> i should i've checked before the deadline on linux and firefox3. My
> bad too
> But what about the gethostbyaddr?
>
> Cheers
>
> Gaëtan
>
> 2008/9/30 Amnon <amnon...@gmail.com <mailto:amnon...@gmail.com>>
>
>
> Sorry, my bad - I forgot to check the Linux version after making
> another set of modifications on Windows. I'll release a fix shortly.
>
> On Sep 30, 2:19 am, Gaëtan <gaetan.duchauss...@gmail.com
> <mailto:gaetan.duchauss...@gmail.com>> wrote:
> > Hi,
> > I'm trying to build the jnext 1.0.8.1 <http://1.0.8.1> extension

Amnon

unread,
Oct 1, 2008, 3:27:01 PM10/1/08
to jNext discussion group
I've just checked in the fixes for the Linux socket sources and
verified they compile and run correctly on both Windows and Linux.
I've also updated the Perl server code to demonstrate the UDP sockets
(similar to the Python server).

You can get the updates sources from the site (http://jnext.org) or
getting the latest branch (24) using bzr (http://jnext.org/core)

Thanks for letting me know about the problem

-Amnon


On Sep 30, 10:49 pm, Amnon David <amnon.da...@gmail.com> wrote:
> Since the deadline wasn't advertised, I take all the blame :-) There
> wasn't that much traffic yet so I didn't think too much about it but
> I'll start making announcements regarding release dates and features
> from now on.
>
> regarding the gethostbyaddr - this is due to some thoughtless copy and
> paste on my side - sorry for the time wasted, I'll also include a fix
> for this.
>
> -Amnon
>
> Gaëtan Duchaussois wrote:
> > i should i've checked before the deadline on linux and firefox3. My
> > bad too
> > But what about the gethostbyaddr?
>
> > Cheers
>
> > Gaëtan
>
> > 2008/9/30 Amnon <amnon.da...@gmail.com <mailto:amnon.da...@gmail.com>>
Reply all
Reply to author
Forward
0 new messages