Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Mar 2006 15:46:55 -0500
From:      Lawrence Petrykanyn <lawrence.petrykanyn@sympatico.ca>
To:        freebsd-questions@freebsd.org.
Subject:   Newbie FreeBSD/Linux Question
Message-ID:  <440F42BF.6090105@sympatico.ca>

next in thread | raw e-mail | index | archive | help
Hi!

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), config.h.in, configure, configure.ac 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.

Thanks,
Lawrence

JACK README

Welcome to JACK, the Jack Audio Connection Kit.

Please see the website (http://jackit.sf.net/) 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
following:

----------------------------

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?440F42BF.6090105>