Great, that worked.
Unfortunately, jruby core dumps when I try to use it:(
$ ./jruby --ng-server &
[1] 29950
NGServer started on all interfaces, port 2113.
$ ./jruby --ng -e "puts 1"
java.io.EOFException
Segmentation Fault (core dumped)
at java.io.DataInputStream.readFully(DataInputStream.java:178)
at java.io.DataInputStream.readFully(DataInputStream.java:152)
at com.martiansoftware.nailgun.NGSession.run(Unknown Source)
--
Chris
On Fri, Jun 12, 2009 at 3:34 PM, Ole Christian Rynning<
oc@...> wrote:
> Try for instance adding this to your Makefile:
>
> ngsolaris: src/c/ng.c
> ${CC} ${CFLAGS} -lsocket -lnsl -o ng src/c/ng.c
>
>> make ngsolaris
>
> oc
>
> On Fri, Jun 12, 2009 at 9:29 PM, Ole Christian Rynning<
oc@...> wrote:
>> You need -lsocket -lnsl on Solaris...
>>
>> oc
>>
>> On Fri, Jun 12, 2009 at 8:11 PM, Chris Evans<
evans.chris@...> wrote:
>>> I'm trying to get nailgun running under jruby 1.3, but I can't get it
>>> to compile on Solaris. Has anybody had any luck, or can point me to a
>>> compiled binary? I tried using a binary I compiled on linux, but that
>>> didn't work.
>>>
>>> This is the message I get when running "make":
>>>
>>> Building ng client. To build a Windows binary, type 'make ng.exe'
>>> gcc -Wall -pedantic -s -O3 -o ng src/c/ng.c
>>> Undefined first referenced
>>> symbol in file
>>> recv /var/tmp//ccYFECtY.o
>>> send /var/tmp//ccYFECtY.o
>>> gethostbyname /var/tmp//ccYFECtY.o
>>> socket /var/tmp//ccYFECtY.o
>>> connect /var/tmp//ccYFECtY.o
>>> ld: fatal: Symbol referencing errors. No output written to ng
>>> collect2: ld returned 1 exit status
>>> make: *** [ng] Error 1
>>>
>>> --
>>> Chris
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>
http://xircles.codehaus.org/manage_email>>>
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>
http://xircles.codehaus.org/manage_email>
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email