Newbie FreeBSD/Linux Question

Glenn Dawson glenn at
Wed Mar 8 21:20:22 UTC 2006

At 12:46 PM 3/8/2006, Lawrence Petrykanyn wrote:
>I am a newbie trying to compile the program JACK that is required 
>for the midi sequencer Rosegarden.  This program (JACK) is not 
>available through the ports collection and is intended for a Linux 
>system.  I am running FreeBSD 5.4 with linux compatibility 
>supported.  Below is is the readme file for JACK and I have chosen 
>to follow the second option.  I have created the /mnt/ramfs 
>directory and edited my /etc/stab file as directed.  What I don't 
>understand is the last instruction of the second option listed 
>below, the line that says,
>"add --with-default-tmpdir=/mnt/ramfs to the JACK configure line 
>when you build it".
>I tried "make --with-default-tmpdir=/mnt/ramfs" and received a 
>message informing me that this is not correct Make syntax.
>Am I supposed to edit the config file(s) that accompany the source 
>code?  If so, which one(s),, configure, or 
>one of the files in the config directory of this package?
>This is probably a very simple matter, but I have googled around and 
>cannot find an answer.  Any comments, suggestions or advice would be 
>greatly appreciated.

Assuming you're building from source, and following their directions
found here:
you would supply that option to the configure script that you run 
before doing a make.


>Welcome to JACK, the Jack Audio Connection Kit.
>Please see the website ( for more information.
>NOTE: If you are using reiserfs or ext3fs or anything except ext2fs
>for the directory where JACK puts its temporary files (/tmp by
>default), then the JACK team recommends that you do *one* of the
>Mount a tmpfs on /tmp.  You should have a lot of swap space available
>in case some programs try to write very large files there.
>In your /etc/fstab add a line:
>   none        /tmp    tmpfs   defaults        0       0
>You'll probably want to reboot here, or kill X then 'mount /tmp'.
>---- OR ----
>Alternatively, you can do this without affecting your /tmp:
># mkdir /mnt/ramfs
>[edit /etc/fstab and add the following line]
>none       /mnt/ramfs      tmpfs      defaults  0 0
>Then add --with-default-tmpdir=/mnt/ramfs to the JACK configure
>line when you build it.  No clients need to be recompiled.
>Failure to do one of these could lead to extremely poor performance from JACK,
>since its normal operation will cause bursts of disk I/O that are
>completely unnecessary. This suggestion can also be used by ext2fs
>users if they wish.
>freebsd-questions at mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list