Kylix in FreeBSD

andi payn andi_payn at speedymail.org
Mon Nov 10 19:19:42 PST 2003


On Thu, 2003-11-06 at 06:09, Marco van de Voort wrote:
> > * jasaorp <jasaorp at yahoo.com.br> [031031 04:59]:
> > Getting the Kylix IDE to function on FreeBSD has been one of the ongoing
> > hair-pulling tasks I undertake every few months.  The installer alone is
> > a pain in the ass, since it performs "compatibility checks" in such
> > Linux-centric ways as hard-coding /bin/bash into the shell scripts, and
> > searching for shared libraries by name from hard-coded paths.  (GTK
> > especially gives the installer fits because FreeBSD's gtk library has a
> > -x11 at the end of the name.)  But once you work around those issues
> > with some creative symlinking and script editing, the console tools
> > install fairly painlessly.

A while back, someone put together a howto for installing Kylix on
Mandrake (which, despite being a linux distro, also has the "wrong"
names for many libraries, such as gtk-x11). If this is still being
maintained, it might have some useful hints for getting/keeping it
working on FreeBSD.

> If you futs with getting Kylix to run under FreeBSD, don't forget the
> special glibc requirements that some versions of Kylix have. Maybe you
> should probably simply replace the entire /compat userland with the userland
> of a distro that Kylix supprorts _with_ kylix extra patches installed?

I managed to get Kylix sort of working by booting to linux, installing
Kylix, rebooting to FreeBSD, then copying most of /mnt/linux to
/compat/linux. Unfortunately, this also broke nearly all of my other
linux ports.... 

Is there some documentation on what exactly FreeBSD expects to find
there? For example, if I wanted to build a linux_base-mdk9.2, so I could
more easily run all the binaries I have built/installed on a Mandrake
9.2 system, where would I start?




More information about the freebsd-hackers mailing list