Installing Sublime Text3 on FreeBSD-10.1-i386

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Tue Jan 20 07:59:33 UTC 2015


On Mon, 19 Jan 2015 20:50+0530, Manish Jain wrote:

> 
> On 01/19/2015 18:58, Manish Jain wrote:
> > 
> > On 01/16/2015 18:31, Trond Endrestøl wrote:
> > > On Fri, 16 Jan 2015 18:03+0530, Manish Jain wrote:
> > > 
> > > > Hi,
> > > > 
> > > > Has anyone managed to fully port Sublime Text/Sublime Text3 to
> > > > FreeBSD-10.1-i386 ? Running st3 on my system gets me the famous
> > > > "GLIBC_2.11 not found" message.
> > > 
> > > These two ports are not native to FreeBSD, but precompiled Linux
> > > executables, AFAICT.
> > > 
> > > On my system, editors/sublime{,3} needs:
> > > 
> > > emulators/linux_base-c6
> > > accessibility/linux-c6-atk
> > > graphics/linux-c6-cairo
> > > textproc/linux-c6-expat
> > > x11-fonts/linux-c6-fontconfig
> > > graphics/linux-c6-gdk-pixbuf2
> > > x11-toolkits/linux-c6-gtk2
> > > graphics/linux-c6-jpeg
> > > x11-toolkits/linux-c6-pango
> > > graphics/linux-c6-png
> > > graphics/linux-c6-tiff
> > > x11/linux-c6-xorg-libs
> > > 
> > > Maybe you should check the condition of the "Linuxulator" ports
> > > installed on your system. The above list would be a good start.
> > 
> > 
> > Hi,
> > 
> > I tried installing as per your advice. base-c6 asked me to remove
> > base-f10 with 'pkg delete'. That done I installed all the ports in your
> > list. Now running 'make install' in sublime3 gives me Error Code 1 :
> > 
> > > linux-sublime-3.0.65 depends on file: /compat/linux/etc/fedora-release
> > > - not found
> > > ===>    Verifying install for /compat/linux/etc/fedora-release in
> > > /usr/ports/emulators/linux_base-f10
> > > 
> > > ===>  linux_base-f10-10_7 conflicts with installed package(s):
> > >       linux_base-c6-6.6
> > > They will not build together.
> > 
> > Thanks for any help.
> > 
> > 
> > Regards
> > 
> > Manish Jain
> > +91-98995-82709
> 
> 
> Hi Trond,
> 
> Running portsnap fetch/extract/update lets the install complete, but then
> sublime exits immediately :
> 
> /home/bourne/wine/oed # sublime
> /home/bourne/wine/oed # type sublime
> sublime is hashed (/usr/local/bin/sublime)
> /home/bourne/wine/oed # sublime
> /home/bourne/wine/oed # ps waux | grep subl
> bourne     64416   0.0  0.1  10320   1816  2  S+    8:46PM   0:00.00 grep subl
> /home/bourne/wine/oed #

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.

-- 
+-------------------------------+------------------------------------+
| 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