Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Mar 2006 13:19:07 -0800
From:      Glenn Dawson <glenn@antimatter.net>
To:        Lawrence Petrykanyn <lawrence.petrykanyn@sympatico.ca>, freebsd-questions@freebsd.org
Subject:   Re: Newbie FreeBSD/Linux Question
Message-ID:  <7.0.1.0.2.20060308131755.026e6d58@antimatter.net>
In-Reply-To: <BAYC1-PASMTP0407EAC57EDFBD3E62C61683EF0@CEZ.ICE>
References:  <BAYC1-PASMTP0407EAC57EDFBD3E62C61683EF0@CEZ.ICE>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:46 PM 3/8/2006, Lawrence Petrykanyn wrote:
>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.

Assuming you're building from source, and following their directions
found here: http://jackit.sourceforge.net/docs/faq.php#a7
you would supply that option to the configure script that you run 
before doing a make.

-Glenn


>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.
>
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




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