Installing Sublime Text3 on FreeBSD-10.1-i386

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Wed Jan 21 15:01:31 UTC 2015


On Wed, 21 Jan 2015 01:49+0530, Manish Jain wrote:

> 
> > If it exits without telling you what's wrong, the check the log files
> > to see if it has written anything there. If sublime still hold its
> > tongue, then this is an example of bad programming.
> > 
> > Running "truss `which sublime`" might give you a hint of what's going
> > on.
> > 
> > Personally, I prefer builing my own ports, but that's an entirely
> > different discussion.
> 
> 
> Hi Trond,
> 
> Things not looking good. sublime exits immediately, with no message in
> /var/log/messages or dmesg.today
> 
> Running it under truss gives the following :
> 
> linux_brk(0x0,0x28136fc4,0x0,0x8048034,0x8,0x6)	 = 135405568 (0x8122000)
> linux_newuname(0xbfbfd5e6,0x31c,0x28136fc4,0x281378f8,0x39,0x6) = 0 (0x0)
> linux_mmap2(0x0,0x1000,0x3,0x22,0xffffffff,0x6)	 = 672366592 (0x28138000)
> linux_access("/etc/ld.so.preload",4)		 ERR#2 'No such file or
> directory'
> linux_open("/etc/ld.so.cache",0x0,00)		 = 3 (0x3)
> linux_fstat64(0x3,0xbfbfd2c0,0x28136fc4,0x28137880,0x3,0x6) = 0 (0x0)
> linux_mmap2(0x0,0x2fa0,0x1,0x2,0x3,0x6)		 = 672370688 (0x28139000)
> close(3)					 = 0 (0x0)
> linux_open("/lib/libtinfo.so.5",0x0,036)	 = 3 (0x3)
> read(3,"\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0"...,512) = 512 (0x200)
> linux_fstat64(0x3,0xbfbfd308,0x28136fc4,0x2813ac1a,0x8053b9d,0x6) = 0 (0x0)
> linux_mmap2(0x0,0x18c98,0x5,0x802,0x3,0x6)	 = 672382976 (0x2813c000)
> linux_mmap2(0x28152000,0x3000,0x3,0x812,0x3,0x6) = 672473088 (0x28152000)
> close(3)					 = 0 (0x0)
> linux_open("/lib/libdl.so.2",0x0,0155)		 = 3 (0x3)
> read(3,"\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0"...,512) = 512 (0x200)
> linux_fstat64(0x3,0xbfbfd2ec,0x28136fc4,0x2813b862,0x8053c04,0x6) = 0 (0x0)
> linux_mmap2(0x0,0x4074,0x5,0x802,0x3,0x6)	 = 672485376 (0x28155000)
> linux_mmap2(0x28158000,0x2000,0x3,0x812,0x3,0x6) = 672497664 (0x28158000)
> close(3)					 = 0 (0x0)
> linux_open("/lib/libc.so.6",0x0,0170)		 = 3 (0x3)
> read(3,"\^?ELF\^A\^A\^A\^C\0\0\0\0\0\0\0"...,512) = 512 (0x200)
> linux_fstat64(0x3,0xbfbfd2d0,0x28136fc4,0x2813b9ab,0x8053c2c,0x6) = 0 (0x0)
> linux_mmap2(0x0,0x1959ac,0x5,0x802,0x3,0x6)	 = 672505856 (0x2815a000)
> linux_mmap2(0x282ea000,0x3000,0x3,0x812,0x3,0x6) = 674144256 (0x282ea000)
> linux_mmap2(0x282ed000,0x29ac,0x3,0x32,0xffffffff,0x6) = 674156544
> (0x282ed000)
> close(3)					 = 0 (0x0)
> linux_mmap2(0x0,0x1000,0x3,0x22,0xffffffff,0x6)	 = 674168832 (0x282f0000)
> linux_set_thread_area(0xbfbfd79c,0x28136fc4,0x282f06c0,0x0,0x0,0x6) = 0 (0x0)
> linux_mprotect(0x282ea000,0x2000,0x1,0x28138560,0x0,0x6) = 0 (0x0)
> linux_mprotect(0x28158000,0x1000,0x1,0x281382c8,0x0,0x6) = 0 (0x0)
> linux_mprotect(0x28136000,0x1000,0x1,0x2813751c,0x0,0x6) = 0 (0x0)
> munmap(0x28139000,12192)			 = 0 (0x0)
> linux_rt_sigprocmask(0x0,0x0,0x81212dc,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_open("/dev/tty",0x8802,00)		 = 3 (0x3)
> close(3)					 = 0 (0x0)
> linux_brk(0x0,0x282ebff4,0x0,0x0,0x21000,0x6)	 = 135405568 (0x8122000)
> linux_brk(0x8143000,0x282ebff4,0x8143000,0x8122000,0x8143000,0x6) = 135540736
> (0x8143000)
> linux_open("/usr/lib/locale/locale-archive",0x8000,01) = 3 (0x3)
> linux_fstat64(0x3,0x282ecb00,0x282ebff4,0xbfbfd530,0x0,0x6) = 0 (0x0)
> linux_mmap2(0x0,0x200000,0x1,0x2,0x3,0x6)	 = 674172928 (0x282f1000)
> linux_mmap2(0x0,0x11f000,0x1,0x2,0x3,0x6)	 = 676270080 (0x284f1000)
> linux_mmap2(0x0,0x1000,0x1,0x2,0x3,0x6)		 = 672370688 (0x28139000)
> close(3)					 = 0 (0x0)
> linux_getuid(0x282ebff4,0x0,0x282b0526,0x0,0x0,0x6) = 1001 (0x3e9)
> linux_getgid(0x3e9,0x0,0x282b0526,0x0,0x0,0x6)	 = 1001 (0x3e9)
> geteuid()					 = 1001 (0x3e9)
> getegid()					 = 1001 (0x3e9)
> linux_rt_sigprocmask(0x0,0x0,0x8120b1c,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_time(0x0,0xbfbfdacc,0x0,0x0,0x0,0x6)	 = 1421784797 (0x54beb6dd)
> linux_open("/proc/meminfo",0x80000,0666)	 = 3 (0x3)
> linux_fstat64(0x3,0xbfbfb49c,0x282ebff4,0x8122aa8,0x1fff,0x6) = 0 (0x0)
> linux_mmap2(0x0,0x1000,0x3,0x22,0xffffffff,0x6)	 = 672374784 (0x2813a000)
> read(3,"\t     total:    used:\tfree:  s"...,4096) = 297 (0x129)
> close(3)					 = 0 (0x0)
> munmap(0x2813a000,4096)				 = 0 (0x0)
> linux_rt_sigaction(0x11,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigaction(0x11,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigaction(0x2,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigaction(0x2,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigaction(0x3,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigaction(0x3,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigprocmask(0x0,0x0,0x8121240,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigaction(0x3,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_newuname(0xbfbfd5b6,0x0,0x282ebff4,0xff,0x0,0x6) = 0 (0x0)
> linux_stat64("/usr/home/bourne",0xbfbfd640,0xbfbfd640) = 0 (0x0)
> linux_stat64(".",0xbfbfd5e0,0xbfbfd5e0)		 = 0 (0x0)
> linux_getpid(0x8124750,0x5f,0x0,0x0,0x0,0x6)	 = 1437 (0x59d)
> linux_open("/usr/lib/gconv/gconv-modules.cache",0x0,00) = 3 (0x3)
> linux_fstat64(0x3,0xbfbfd4ac,0x282ebff4,0x3,0x282b023f,0x6) = 0 (0x0)
> close(3)					 = 0 (0x0)
> linux_open("/usr/lib/gconv/gconv-modules",0x0,0666) = 3 (0x3)
> linux_fstat64(0x3,0xbfbfd3e0,0x282ebff4,0x8124958,0x0,0x6) = 0 (0x0)
> linux_mmap2(0x0,0x8000,0x3,0x22,0xffffffff,0x6)	 = 677445632 (0x28610000)
> read(3,"# GNU libc iconv configuration."...,32768) = 32768 (0x8000)
> read(3,"JAPANESE//\tEUC-JP//\nalias\tOSF"...,32768) = 23335 (0x5b27)
> read(3,0x28610000,32768)			 = 0 (0x0)
> close(3)					 = 0 (0x0)
> munmap(0x28610000,32768)			 = 0 (0x0)
> linux_getppid(0x8124750,0x0,0x1,0x0,0x0,0x6)	 = 1436 (0x59c)
> gettimeofday({1421784797.882516 },0x0)		 = 0 (0x0)
> getpgrp()					 = 1436 (0x59c)
> linux_rt_sigaction(0x11,0xbfbfd540,0xbfbfd4b4,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_getrlimit(0x6,0xbfbfd6ac,0x282ebff4,0x1,0x0,0x6) = 0 (0x0)
> linux_rt_sigprocmask(0x0,0x0,0x81212dc,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_open("/usr/local/bin/sublime",0x8000,00)	 = 3 (0x3)
> linux_ioctl(0x3,0x5401,0xbfbfd6f8,0xbfbfd738,0x282ebff4,0x6) ERR#25
> 'Inappropriate ioctl for device'
> linux_llseek(0x3,0x0,0x0,0xbfbfd760,0x1,0x6)	 = 0 (0x0)
> read(3,"#!/compat/linux/bin/sh\n/usr/loc"...,80) = 64 (0x40)
> linux_llseek(0x3,0x0,0x0,0xbfbfd760,0x0,0x6)	 = 0 (0x0)
> linux_getrlimit(0x7,0xbfbfd72c,0x282ebff4,0x813ede0,0x3,0x6) = 0 (0x0)
> linux_fcntl64(0xff,0x1,0xbfbfd75c,0xbfbfd75c,0x282ebff4,0x6) ERR#9 'Bad file
> descriptor'
> dup2(0x3,0xff,0xff,0xbfbfd75c,0x3,0x6)		 = 255 (0xff)
> close(3)					 = 0 (0x0)
> linux_fcntl64(0xff,0x2,0x1,0x813ede0,0x282ebff4,0x6) = 0 (0x0)
> linux_fcntl64(0xff,0x3,0x0,0x0,0x282ebff4,0x6)	 = 0 (0x0)
> linux_fstat64(0xff,0xbfbfd7d0,0x282ebff4,0x0,0x0,0x6) = 0 (0x0)
> linux_llseek(0xff,0x0,0x0,0xbfbfd790,0x1,0x6)	 = 0 (0x0)
> linux_rt_sigprocmask(0x0,0x0,0x81212dc,0x8,0x282ebff4,0x6) = 0 (0x0)
> read(255,"#!/compat/linux/bin/sh\n/usr/loc"...,64) = 64 (0x40)
> linux_rt_sigprocmask(0x0,0x0,0x81212dc,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigprocmask(0x0,0xbfbfd658,0xbfbfd5d8,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_clone(0x1200011,0x0,0x0,0x0,0x282f0728,0x6) = 1438 (0x59e)
> linux_rt_sigprocmask(0x2,0xbfbfd5d8,0x0,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigprocmask(0x0,0xbfbfd6e0,0xbfbfd660,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigprocmask(0x2,0xbfbfd660,0x0,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigprocmask(0x0,0xbfbfd6e0,0xbfbfd660,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigaction(0x2,0xbfbfd450,0xbfbfd3c4,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_waitpid(0xffffffff,0xbfbfd61c,0x0,0x0,0x0,0x6) = 1438 (0x59e)
> linux_rt_sigprocmask(0x2,0xbfbfd660,0x0,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigaction(0x2,0xbfbfd430,0xbfbfd3a4,0x8,0x282ebff4,0x6) = 0 (0x0)
> linux_rt_sigprocmask(0x0,0x0,0x81212dc,0x8,0x282ebff4,0x6) = 0 (0x0)
> read(255,0x813ee68,64)				 = 0 (0x0)
> process exit, rval = 0

Shoddy Romulan technology ... :P (A reference to Star Trek: Away Team.)

There's not much to go on, given my (limited) experience.

Maybe you should open a PR and let the maintainer and other parts of 
the community chime in.

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+


More information about the freebsd-questions mailing list