I would really appreciate if you could share the instruction on building in 
solaris 10 SPARC

thanks

jaison

On Thursday, March 3, 2011 12:33:53 PM UTC-5, Felipe Cerqueira wrote:
>
> Hi All, 
>
> After some problems, i have success in compiling memcached on solaris 
> sparc. 
>
> libmemcached was very hard to get working too. I have a version here 
> with some patches to detect and implement unsuported features on 
> solaris like getopt_long and etc... 
>
> Now, its compiled successfuly and working well on solaris sparc 9. 
>
> On solaris sparc 10, I'm getting the follow error: 
>
> -bash-3.00$ uname -a 
> SunOS server 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V490 
> -bash-3.00$ ./memcached 
> [warn] ioctl: DP_POLL: Invalid argument 
> [warn] ioctl: DP_POLL: Invalid argument 
> [warn] ioctl: DP_POLL: Invalid argument 
> [warn] ioctl: DP_POLL: Invalid argument 
> [warn] ioctl: DP_POLL: Invalid argument 
> -bash-3.00$ 
>
> -bash-3.00$ ulimit -a 
> core file size        (blocks, -c) unlimited 
> data seg size         (kbytes, -d) unlimited 
> file size             (blocks, -f) unlimited 
> open files                    (-n) 256 
> pipe size          (512 bytes, -p) 10 
> stack size            (kbytes, -s) 8192 
> cpu time             (seconds, -t) unlimited 
> max user processes            (-u) 29995 
> virtual memory        (kbytes, -v) unlimited 
> -bash-3.00$ 
>
> -bash-3.00$ truss ./memcached 
> ... 
> /1:        setsockopt(39, SOL_SOCKET, SO_SNDBUF, 0xFFBFF4FC, 4, 
> SOV_DEFAULT) 
> = 0 
> /1:        setsockopt(39, SOL_SOCKET, SO_SNDBUF, 0xFFBFF4FC, 4, 
> SOV_DEFAULT) 
> Err#132 ENOBUFS 
> /1:        bind(39, 0x0003C0A0, 16, SOV_SOCKBSD)                = 0 
> /1:        write(9, "\0", 1)                                = 1 
> /1:        write(16, "\0", 1)                                = 1 
> /1:        write(23, "\0", 1)                                = 1 
> /1:        write(30, "\0", 1)                                = 1 
> /1:        pwrite(3, "\0\0\004\001\0\0\0\0\0 $".., 24, 0)        = 24 
> /1:        ioctl(3, DP_POLL, 0xFFBFF490)                        Err#22 
> EINVAL 
> /1:        mmap(0x00010000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, 
> MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEFA0000 
> [/1:        write(2, " [", 1)                                = 1 
> warn/1:        write(2, " w a r n", 4)                                = 4 
> ] /1:        write(2, " ]  ", 2)                                = 2 
> ioctl: DP_POLL: Invalid argument/1:        write(2, " i o c t l :   D P _ 
> P 
> O".., 32)        = 32 
>
> /1:        write(2, "\n", 1)                                = 1 
> /1:        lwp_unpark(6)                                        = 0 
> /6:        lwp_park(0x00000000, 0)                                = 0 
> /6:        lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF 
> [0x0000FFFF] 
> /6:        lwp_exit() 
> /1:        lwp_wait(6, 0xFFBFF584)                                = 0 
> _exit(0) 
>
>
> I have look around for some problems on libevent on solaris 10 but 
> cant find any solution. 
>
> Thanks in advance

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to