View Single Post
Old 06-02-2005, 21:02   #1
lamont
Junior Member
 
Join Date: Nov 2003
Location: Seattle, WA
Posts: 6
V-planner on FreeBSD

Get the linux compatibility layer installed into the kernel. There are two ways of doing this:

1. Compile your kernel with COMPAT_LINUX (see FreeBSD FAQs on compiling kernels)

2. Install the linux.ko kernel module (easiest).
a. Make sure that /modules/linux.ko exists on your system
b. Type 'kldload linux.ko' to load it
c. edit /etc/rc.conf and add this line to make it load on reboots:

linux_enable="YES"

- Install /usr/ports/emulators/linux_base which is the linux 7.x emulator -- should work just by doing a 'make; make install' in that directory.

- Install the linux libjpeg library from /usr/ports/graphics/linux-jpeg -- same 'make; make install'

- Download the linux version of v-planner-3.41.2.tar.gz

- Unpack and install v-planner something like this:

% mkdir v-planner
% cd v-planner
% tar -xvzpf ../v-planner-3.41.2.tar.gz
% su
Password: <whatever>
$ cp libborqt-6.9.0-qt2.3.so /usr/compat/linux/lib
$ ln -sf libborqt-6.9.0-qt2.3.so /usr/compat/linux/lib/libborqt-6.9-qt2.3.so
$ cp v-planner /usr/local/bin

- The really weird thing is that it seems to work for me if I invoke it with an explicit path, but gives me no love when it gets invoked out of the shell's path, so:

% /usr/local/bin/v-planner

- If you're still getting missing libraries from ld-linux.so, then there's probably something other than linux_base which needs to be installed from ports, and which I've already picked up from acroread or netscape47-communicator...

(no warranty expressed or implied...)
lamont is offline Report Bad Post   Reply With Quote