Re: Can you relate to my Tour of Despair?

2002-07-25 Thread Roman Neuhauser

 Date: Wed, 24 Jul 2002 18:55:28 -0400 (EDT)
 From: Peter Leftwich [EMAIL PROTECTED]
 To: FreeBSD LIST [EMAIL PROTECTED]
 Subject: Can you relate to my Tour of Despair?

 # pkg_add -r agbrowser
 Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/agbrowser.tgz...
 Done.
 Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/All/linux_base-7.1.tgz...
 Done.
 
 Installation of the Linux base system is finished. The Linux kernel
 mode, which must be enabled for Linux binaries to run, is now enabled.
 Linux mode can be enabled permanently with the linux_enable variable
 of rc.conf(5).
 
 When using NIS, don't forget to edit
 yp.conf in /compat/linux/etc.
 
 Broken pipe
 
 6. Uhm, wha-?  I realize pkg_add will install dependencies but what is a
 yp.conf and doesn't it already know I changed linux_enable to YES and
 might pkg_add be fearing that I will now club it with a broken pipe?

Peter, I've never used pkg_add, nor have I ever let KDE touch my
FreeBSD boxen, so I don't know what's wrong with that. 

As for the yp.conf: it says: When using NIS. Make that If you use
NIS, is that better? If you don't use it, odds are there's even no
yp.conf in /compat/linux/etc/. and if there's one, it's completely
benign: a config file that's not used can't do any harm.

personally, I would just
% su -m
% cd /usr/ports  make update
% cd ./audio/agbrowser  make install clean

-- 
FreeBSD 4.6-STABLE
10:43AM up 8 days, 21:02, 11 users, load averages: 0.07, 0.03, 0.01

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Can you relate to my Tour of Despair?

2002-07-25 Thread Kevin Golding

Someone, quite probably Peter Leftwich, once wrote:
On Thu, 25 Jul 2002, Roman Neuhauser wrote:
[snip]
 % cd /usr/ports  make update
 % cd ./audio/agbrowser  make install clean

What does the  do?  Is it similar to the usage of ; but instead
issues the command after the  at the result of the cd?  That is, does
the double ampersand cause your shell (which is..?) to not execute the make
command in the current working dir (cwd)?

 means the second command will only run if the first was successful
whereas ; will run the second command no matter what.  You can also use
|| which will only run the second command if the first fails.

Kevin
-- 
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Can you relate to my Tour of Despair?

2002-07-24 Thread Peter Leftwich

1. We begin our tour at www.freebsd.org and click on Ported Apps.

2. At www.kde.org we were told that 2.2.2 is old and that we can install
3.0.2 but for Turbo/Mandrake/SuSE or other Linuxes, but not as easily for
FreeBSD, where we must choke on the ol' source method.

3. We search for kde and notice an interesting app near the top of the list:

Search for: [kde ] [All ][4.6-STABLE/i386  ] [Submit]
Category audio
agbrowser-0.96_1
Simple browser for Audiogalaxy under KDE2
Maintained by: [EMAIL PROTECTED]
Requires: Mesa-3.4.2_2, XFree86-libraries-4.2.0_2, agsatellite-0.520_2,
cups-base-1.1.15.1, fam-2.6.8, freetype2-2.1.2, imake-4.2.0_1, jpeg-6b_1,
kdelibs-2.2.2_3, lcms-1.08, libaudiofile-0.2.3, libiconv-1.8, libmng-1.0.3,
libxml2-2.4.23, libxslt-1.0.19, linux_base-7.1, pcre-3.7, pkgconfig-0.12.0,
png-1.2.4, python-2.2.1, qt-2.3.1_2, tiff-3.5.7
Description : Sources : Changes : Download

4. Those are a lot of requirements.  We click on Download, never knowing
what to expect but dreading our assumptions will come true...

Index of ftp://ftp.FreeBSD.org/pub/FreeBSD/branches/-current/ports/audio/agbrowser/

[Upper Directory]
Makefile. . Jan  6  2002837
distinfo. . Sep  4  2001 63
files/. . . May 20 10:03  -
pkg-comment Apr  7  2001 42
pkg-descr . Apr  7  2001312
pkg-plist . Sep 22  2001  1.36K

5. Hm, we have no idea how to tell cvsup or portupgrade to use this ftp URL
and install over the Internet, and we also admit to ourselves that Windows
XP Professional is looking better everyday despite our hatred of
monopolistic Micro$oft, so let's try this instead:

# pkg_add -r agbrowser
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/agbrowser.tgz... 
Done.
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/All/linux_base-7.1.tgz...
 Done.

Installation of the Linux base system is finished. The Linux kernel mode, which must 
be enabled for Linux binaries to run, is now enabled. Linux mode can be enabled 
permanently with the linux_enable variable of rc.conf(5).

When using NIS, don't forget to edit
yp.conf in /compat/linux/etc.

Broken pipe

6. Uhm, wha-?  I realize pkg_add will install dependencies but what is a
yp.conf and doesn't it already know I changed linux_enable to YES and
might pkg_add be fearing that I will now club it with a broken pipe?

7. All help warmly accepted.

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message