From owner-freebsd-questions@FreeBSD.ORG Wed Mar 8 20:46:57 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F163316A480 for ; Wed, 8 Mar 2006 20:46:56 +0000 (GMT) (envelope-from lawrence.petrykanyn@sympatico.ca) Received: from BAYC1-PASMTP04.bayc1.hotmail.com (bayc1-pasmtp04.bayc1.hotmail.com [65.54.191.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAF3343D46 for ; Wed, 8 Mar 2006 20:46:56 +0000 (GMT) (envelope-from lawrence.petrykanyn@sympatico.ca) Message-ID: X-Originating-IP: [70.48.251.118] X-Originating-Email: [lawrence.petrykanyn@sympatico.ca] Received: from [192.168.1.101] ([70.48.251.118]) by BAYC1-PASMTP04.bayc1.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Wed, 8 Mar 2006 12:46:55 -0800 Message-ID: <440F42BF.6090105@sympatico.ca> Date: Wed, 08 Mar 2006 15:46:55 -0500 From: Lawrence Petrykanyn User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051213 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Mar 2006 20:46:56.0124 (UTC) FILETIME=[700F4BC0:01C642F1] Cc: Subject: Newbie FreeBSD/Linux Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 20:46:57 -0000 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.