port installation problems progress

2004-05-20 Thread paul beard
I had been having some problems installing ports: they manifested as 
configure misreading the system type and setting up libtool so it 
wouldn't build shared libs.

After some correspondence with a FreeBSD team member and a port 
maintainer, I decided to start afresh with a kernel and world 
reinstall. This led me to the solution. The email excerpted below 
mentioned almost the same error I was seeing:

http://www.atm.tut.fi/list-archive/freebsd-stable/msg04153.html
For the last week or so, I've been having trouble building kernels 
against a
RELENG_4 source tree.  A 'make buildkernel' from /usr/src fails as 
follows:

perl5 /usr/src/sys/kern/vnode_if.pl -h /usr/src/sys/kern/vnode_if.src
syntax error at /usr/src/sys/kern/vnode_if.pl line 135, near {}
Execution of /usr/src/sys/kern/vnode_if.pl aborted due to compilation
errors.
I took the advice suggested below.
http://www.atm.tut.fi/list-archive/freebsd-stable/msg04174.html
I believe I have these resolved.
If anybody's interested, it took a reboot, buildworld followed by an 
install
from /usr/src/gnu/usr.bin/perl, then buildkernel went fine.  At Mike
Tansca's suggestion, I'd tried a buildworld (against a fresh source 
tree),
and I was getting cc errors - the reboot appears to have fixed those.  
My
build machine is now happily running a new kernel/world.

Some packages are building OK but I still see issues on some ports.
Any ideas how this might have gotten into this state and how I can 
resolve it completely?
--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


lingering problems with ports collection

2004-05-25 Thread paul beard
I have been having (and reporting) some problems with my ports  
collection and I can't seem to get them resolved. For some reason, the  
system is rejecting the ports collection like a mismatched organ.

http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/ 
040320.html
http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/ 
thread.html#38348

The upshot is that I can't reliably build ports due to some problems  
with shared libs not getting built.

Configure doesn't see this as a freeBSD system, but as some hybrid  
GNU/FreeBSD beast and sometimes sets the host type as  
unknown-kfreebsd-GNU. Then I find that while a port is recorded as  
installed, ports that depend on its shlibs fail. I can test this by  
making a package when I make the port, but the port is installed before  
packaging, so the end result is that I may have a package recorded as  
installed but I know i can't rely on it. (that seems backwards to me:  
what if I only want to build packages w/o installing them? can i do  
that?

To resolve this, I have:
built a new kernel and world from fresh sources (in the process finding  
another problem to do with /usr/src/gnu/usr.bin/perl needing to  
rebuilt).

tossed my whole ports directory and moved aside the pkg database,  
pulling a fresh tree from CVS.

Still I see these problems. Also, dependencies don't get built  
automatically: if I build sysutils/portupgrade, I don't get prompted to  
build security/openssl or even lang/ruby: pkgdb will tell me, but not  
the ports tools themselves.

What sometimes helps is to change the USE_LIBTOOL directive from 13 and  
15: libtool 1.3 seems to be part of my problem. But that's not always  
working.

To be clear, I can build and install just from the source directory  
(/usr/ports/{PORTNAME}/work/portname). But that doesn't get it  
registered and if I got back up to the port's directory, the make  
commands will kick back errors I didn't see in the source directory.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


one for the archives

2004-06-06 Thread paul beard
I had posted a couple of questions about my system suddenly refusing to 
build shared libraries and making my ports tool-based builds fail. The 
symptoms were that the host type was being misread as kfreebsd/gnu 
suggesting I had some Debian/FreeBSD frankenhost, and shared libraries 
would fail to build on most ports.

With some research from Pav Lucistnik [EMAIL PROTECTED], a rogue file 
-- /usr/include/features.h -- was discovered and removed. It's dated 
Nov 21, 2001, and is claimed by no package so I have no idea how it got 
there. But as far as I can tell, that was the culprit.

I will add this info to the PR as well.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com

Re: Office 2000 Pro

2003-09-14 Thread paul beard
Martin Rubenstein wrote:
My question for you is simply;  Will FreeBSD support windows Office 2000 
Pro?My wife _must_ use MS Office for work at home in order to be 
compatible with her work in the office.  Powerpoint, Word, Access, Excel 
 Outlook.
The question might be better phrased as will MSFT support 
FreeBSD and I think we know the answer.

Why not buy a bargain-basement commodity PC for Office and network 
it through the freebsd system (some protection from the worms is 
always good)?



--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Serenity through viciousness.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's the difference between FreeBSD and OpenBSD?

2003-09-17 Thread paul beard
Lucas Holt wrote:

Darwin (Apple's distro)  isn't done yet for x86 platforms.  Mac OS X 
runs the darwin system.

Actually, it is running on x86 hardware and has for some time.

http://developer.apple.com/darwin/projects/darwin/

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Real programmers don't write in FORTRAN.  FORTRAN is for pipe stress
freaks and crystallography weenies.  FORTRAN is for wimp engineers who
wear white socks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to get system information

2003-09-28 Thread paul beard
Per olof Ljungmark wrote:
I am wondering how to find out system hardware information from a
running system, I know for instance pciconf(8) but what are the
corresponding ones for memory, cpu etc?


more /var/run/dmesg.boot  to get the info at boot time.
vmstat 5 5 will give you 5 items 5 sconds apart to show you procs, 
memory,
page, disks, faults and cpu info.

Thanks, that was a good start. Now, if I wanted to see more detailed 
info on the processor than the dmesg.boot output:

Origin = GenuineIntel  Id = 0x673  Stepping = 3

Like cache size etc.?
You could try seeing what values are available through SNMP, if 
you're interested in dynamic values like memory usage, CPU usage, 
disk usage, etc. Manufacturing details on the CPU won't change 
between reboots, but there should be other ways to find that out.

dmesg.boot gives me all this data, some of which might be useful 
for what you're after.

CPU: Pentium II/Pentium II Xeon/Celeron (233.29-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x634  Stepping = 4
Features=0x80f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
A university is what a college becomes when the faculty loses interest
in students.
-- John Ciardi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to get system information

2003-09-28 Thread paul beard
Per olof Ljungmark wrote:
I am wondering how to find out system hardware information from a
running system, I know for instance pciconf(8) but what are the
corresponding ones for memory, cpu etc?


more /var/run/dmesg.boot  to get the info at boot time.
vmstat 5 5 will give you 5 items 5 sconds apart to show you procs, 
memory,
page, disks, faults and cpu info.

Thanks, that was a good start. Now, if I wanted to see more detailed 
info on the processor than the dmesg.boot output:

Origin = GenuineIntel  Id = 0x673  Stepping = 3

Like cache size etc.?
You could try seeing what values are available through SNMP, if 
you're interested in dynamic values like memory usage, CPU usage, 
disk usage, etc. Manufacturing details on the CPU won't change 
between reboots, but there should be other ways to find that out.

dmesg.boot gives me all this data, some of which might be useful 
for what you're after.

CPU: Pentium II/Pentium II Xeon/Celeron (233.29-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x634  Stepping = 4
Features=0x80f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
A university is what a college becomes when the faculty loses interest
in students.
-- John Ciardi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD on a Mac G3?

2003-10-10 Thread Paul Beard
 
On Friday, October 10, 2003, at 09:09AM, Mykroft Holmes IV [EMAIL PROTECTED] wrote:

While there is a Ports system for Darwin/OS X, called GNUDarwin, avoid 
it, as it is notorious for breaking the basic OS install without asking.

or you can use the DarwinPorts collection, which has Apple support behind it (longtime 
FreeBSD users will recognize Jordan Hubbard is: he's on the DarwinPorts team). 

Fink is a better alternative, it's pretty much a port of the Debian 
package management system, with somewhat improved source handling. As it 
dumps all downloaded software in /sw, it doesn't break the base install. 
Very nifty. Works very well.

I used Fink for quite a while but it seemed to lose focus on reliability. I moved to 
darwinports (which offers source code ports and packages) and it seems to work just 
fine. 

--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re:

2003-10-15 Thread paul beard
[mail not sent directly: msn.com isn't accepting mail right now]

lawrencejr johnson wrote:
Hello,

I'm would like to install BSD on my old G3 Powerbook Laptop. Whare can I 
find out How to do this, if it is possible ?
You can't. But you can install Darwin, the non-graphical UNIX core 
of Mac OS X, and do a lot of the same things.

http://www.opendarwin.org/en/news.php#29

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Innovation is hard to schedule.
-- Dan Fylstra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Should I upgrade to 4.9?

2003-10-29 Thread paul beard
Dragoncrest wrote:
The mail server is my only mission critical machine right now, 
so that's why I'm asking this.  It's the only box I can't afford to have 
go down.  
I think you answer your own question. As a practical matter, I 
think 4.9 is a maintenance release on the 4.x branch, so if it 
ain't broke, don't fix it.



--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Reader, suppose you were an idiot.  And suppose you were a member of
Congress.  But I repeat myself.
-- Mark Twain
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: Re: kernel make error.

2003-10-30 Thread Paul Beard
Reply-to: risto phario [EMAIL PROTECTED]
 

From: risto phario [EMAIL PROTECTED]
TO: paul beard [EMAIL PROTECTED]
CC: 
Date: Thu Oct 30, 2003 11:38:05 AM PST
Subject: Re: kernel make error.

Ok, I have attached the error msg. Thanks.

Risto


- Original Message -
From: paul beard [EMAIL PROTECTED]
Date: Wed, 29 Oct 2003 21:21:26 -0800
To: risto phario [EMAIL PROTECTED]
Subject: Re: kernel make error.

 risto phario wrote:
  Hi, I was hoping you could help me out a bit. I am new to
  FreeBSD and was trying to compile a custom kernel. I ran config
  on it and everything went good. I did make depend, and
  everything went good. Then I did make and it gave me an error.
  I am new to FreeBSD so I have no idea what to do. I have
  attched a copy of my custom kernel MYKERNEL. Any help with
  this problem would be great!!! Thank you.
 
 Sending the error message would be a big help.
 
 
 
 -- 
 Paul Beard
 http://paulbeard.no-ip.org/movabletype/
 whois -h whois.networksolutions.com ha=pb202
 
 Kansas state law requires pedestrians crossing the highways at
 night to
 wear tail lights.
 

-- 
___
Get your free email from http://mymail.bsdmail.com

Powered by Outblaze


makeerr
Description: Binary data
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mozilla 1.5 errors?

2003-11-01 Thread paul beard
What's wrong here? I've updated ports today, if that's useful to 
know.

===  Building for mozilla-1.5_1,2
/usr/local/bin/gmake -C config export
gmake[1]: Entering directory 
`/opt/ports/www/mozilla/work/mozilla/config'
gmake[2]: Entering directory 
`/opt/ports/www/mozilla/work/mozilla/config/mkdepend'
cppsetup.c
cc -o host_cppsetup.o -c -O -pipe  -DXP_UNIX -O3 
-DINCLUDEDIR=\/usr/include\ -DOBJSUFFIX=\.o\ 
-DPREINCDIR=\include\   -I../../dist/include/mkdepend 
-I../../dist/include 
-I/opt/ports/www/mozilla/work/mozilla/dist/include/nspr 
-I/usr/local/include -I/usr/local/include 
-I/opt/ports/www/mozilla/work/mozilla/dist/include/nspr  cppsetup.c
In file included from cppsetup.c:28:
def.h:29: X11/Xos.h: No such file or directory
def.h:30: X11/Xfuncproto.h: No such file or directory
gmake[2]: *** [host_cppsetup.o] Error 1
gmake[2]: Leaving directory 
`/opt/ports/www/mozilla/work/mozilla/config/mkdepend'
gmake[1]: *** [export] Error 2
gmake[1]: Leaving directory 
`/opt/ports/www/mozilla/work/mozilla/config'
gmake: *** [default] Error 2
*** Error code 2

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Remember, even if you win the rat race -- you're still a rat.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mozilla 1.5 errors [resolved?]

2003-11-02 Thread paul beard
I reported some problems with building Mozilla [1.5] from ports, 
specifically this one:

In file included from cppsetup.c:28:
def.h:29: X11/Xos.h: No such file or directory
def.h:30: X11/Xfuncproto.h: No such file or directory
gmake[2]: *** [host_cppsetup.o] Error 1
gmake[2]: Leaving directory 
`/opt/ports/www/mozilla/work/mozilla/config/mkdepend'
gmake[1]: *** [export] Error 2
gmake[1]: Leaving directory 
`/opt/ports/www/mozilla/work/mozilla/config'
gmake: *** [default] Error 2
*** Error code 2

I ended up tracking down what port owned Xos.h 
[XFree86-4-libraries] and rebuilding/installing it. At that point, 
Mozilla would build and install just fine.

However, it wouldn't run: it need libintl.so.4 and I have 
libintl.so.5 installed. The simple workaround was to symlink the 
needed file from the one I had and that seems to be working. 
libintl.so.* is installed by gettext. I have no idea what the Real 
Solution for this is, but I leave these workaround steps in the 
archive in case anyone finds them useful .



--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Greener's Law:
Never argue with a man who buys ink by the barrel.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mozilla 1.5 errors [resolved?]

2003-11-02 Thread paul beard
Kris Kennaway wrote:
On Sun, Nov 02, 2003 at 02:02:31PM -0800, paul beard wrote:


I ended up tracking down what port owned Xos.h 
[XFree86-4-libraries] and rebuilding/installing it. At that point, 
Mozilla would build and install just fine.

However, it wouldn't run: it need libintl.so.4 and I have 
libintl.so.5 installed.


As you've discovered, your installed packages are inconsistent.  At
some point you updated the gettext port without rebuilding everything
that depends on it, so packages that were linked against the old
library (libintl.so.4) can no longer function because you removed it.
The fix is to rebuild everything that depends on gettext by doing e.g.
portupgrade -r gettext.
Roger that. Thanks for the solution.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Alden's Laws:
(1) Giving away baby clothes and furniture is the major cause
of pregnancy.
(2) Always be backlit.
(3) Sit down whenever possible.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mozilla 1.5 errors?

2003-11-03 Thread paul beard
Lowell Gilbert wrote:
paul beard [EMAIL PROTECTED] writes:


What's wrong here? I've updated ports today, if that's useful to know.


Just built fine for me.  -STABLE.

Anything funny in your make.conf?
My problem was that some ports were out of sync.



--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
A bachelor is a selfish, undeserving guy who has cheated some 
woman out
of a divorce.
		-- Don Quinn

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recommendations for wireless networking and FreeBSD

2003-11-03 Thread paul beard
Toni Schmidbauer wrote:
On Mon, Nov 03, 2003 at 10:14:19AM -0800, John DeStefano wrote:


I've just moved into an apartment in which drilling and
running wires is taboo.  Has anyone delved successfully into
the realms of wireless networking their FreeBSD groups?  My
main server is running 4.8-STABLE, and I have a client
machine running 5.1-RELEASE (which has been suspect to a lack
of driver support for its onboard NIC in FBSD anyway), but I
am not married to any of these releases and would
up/downgrade if a solution was available. I'd also prefer a
Wireless-G access point and adapter solution if possible, as
opposed to the much slower B solutions available.


man 4 wi. there you can find a list of support cards.
man 4 an has the straight dope on the aironet driver: I have been 
using it for awhile with FreeBSD 4.4 - 4.8.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
A formal parsing algorithm should not always be used.
-- D. Gries
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MySQL 3 server problems: mysqlclient.10 not found?

2004-03-16 Thread paul beard
I have been trying to complete a portupgrade and something seems to be 
wrong: mysql323-server won't build. It seems to have a dependency on a 
file -- mysqlclient.10 -- that's part of mysql323-client but isn't 
found.

===   Compressing manual pages for mysql-client-3.23.58_2
===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib/mysql
===   Registering installation for mysql-client-3.23.58_2
===   Returning to build of mysql-server-3.23.58_2
Error: shared library mysqlclient.10 does not exist
*** Error code 1
Stop in /opt/ports/databases/mysql323-server.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com

Re: MySQL 3 server problems: mysqlclient.10 not found?

2004-03-17 Thread paul beard
On Mar 16, 2004, at 11:00 PM, Ryan Merrick wrote:

What is in #/usr/local/lib/mysql ?

You should have something like:
...
lrwxrwxrwx  1 root  wheel  20 Feb 28 22:29 libmysqlclient.so - 
libmysqlclient.so.10
-rwxr-xr-x  1 root  wheel  132515 Nov  7 17:57 libmysqlclient.so.10

[/usr/home/paul]:: ls -l /usr/local/lib/mysql | grep mysql
lrwxr-xr-x  1 root  wheel  37 Mar 16 11:04 libmysqlclient.10 - 
/usr/local/lib/mysql/libmysqlclient.a
-rw-r--r--  1 root  wheel  188848 Oct  5 19:24 libmysqlclient.a
lrwxrwxrwx  1 root  wheel  20 Mar 16 16:06 libmysqlclient.so - 
libmysqlclient.so.10
-rwxr-xr-x  1 root  wheel  132515 Oct  5 19:24 libmysqlclient.so.10
-rw-r--r--  1 root  wheel  222510 Mar 16 14:08 libmysqlclient_r.a

I ended up using pkg_add to fix this: not entirely satisfactory, but 
I'm up and running.
--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


port questions (why do I find myself fudging symlinks to make stuff work?)

2004-03-29 Thread paul beard
[ please cc me as I am not on the list]

I have been trying to upgrade cups to 1.1.20 and have been running into 
some problems with libraries not being found (specifically jpeg.9 and 
tiff.4). After a few different iterations of pkg_add, portupgrade, 
portinstall, and accompanying pkg_delete, pkg_deinstall, make install, 
etc., I finally tried symlinking the .so files to the numbered versions 
that don't seem to exist and all seems to be well.

 ln -s /usr/local/lib/libjpeg.a /usr/local/lib/libjpeg.so.9
 ln -s /usr/local/lib/libtiff.a /usr/local/lib/libtiff.so.4
pkgdb doesn't seem to have any problems (I have run it enough times 
today), cvsup has done its magic a couple of times.

I thought portinstall/upgrade -rR would fix any out-of-date ports and 
make everything happy? What am I doing wrong to make this libraries not 
get installed?



--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com

Re: port questions (why do I find myself fudging symlinks to make stuff work?)

2004-03-30 Thread paul beard
On Mar 30, 2004, at 12:23 AM, Matthew Seaman wrote:

A more interesting question would be what output do you get
from:
% pkg_info -g jpeg-\* tiff-\*
[/usr/local/lib]# ls -l libjpeg* libtiff*
-rw-r--r--  1 root  wheel  159384 Mar 30 08:04 libjpeg.a
-r--r--r--  1 root  wheel  354610 Mar 29 21:11 libtiff.a
[/usr/local/lib]# pkg_info -g jpeg-\* tiff-\*
Information for jpeg-6b_2:
Mismatched Checksums:
pkg_info: /usr/local/lib/libjpeg.so doesn't exist
pkg_info: /usr/local/lib/libjpeg.so.9 doesn't exist

Information for tiff-3.6.1_1:

Mismatched Checksums:
pkg_info: /usr/local/lib/libtiff.so doesn't exist
pkg_info: /usr/local/lib/libtiff.so.4 doesn't exist

Hmm, portinstall -f on those two ports seems to get caught in some 
recursive loop. I'm going thru my entire installed base and redoing it 
all. Perhaps there's a more clueful way to do it, but unless this will 
do any harm, it seems the most thorough.

I need to explore the docs and get a better understanding of the ports 
tools: I seem to find this happening again and again.

Thanks for the quick and detailed reply.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


wrestling with b*rked package/ports collection

2004-03-30 Thread paul beard
I seem to be in a loop where expat and gettext will somehow not install 
in such a way as to serve as valid dependencies. I have rebuilt either 
directly or as part of building something else countless times, as well 
as installing from a package. For whatever reason, expat seems to be 
missing something:

Error: shared library expat.5 does not exist

portupgrade -f, installing from source, installing from a package: all 
seem to fail. And since it and/or gettext are core dependencies for 
everything else, it seems, there's not much progress being made. Any 
other sage advice?

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com

Re: port questions (why do I find myself fudging symlinks to make stuff work?)

2004-03-31 Thread paul beard
Well, after a lot of different attempts to get past this problem, it 
seems that expat isn't building all the files it needs to.

===  Building package for expat-1.95.7
Creating package /usr/ports/packages/All/expat-1.95.7.tgz
Registering depends:.
Creating gzip'd tar ball in '/usr/ports/packages/All/expat-1.95.7.tgz'
tar: lib/libexpat.so.5: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
pkg_create: make_dist: tar command failed with code 512
The missing so files are consistent with what I see when I try to build 
against an upgraded expat installation. The packaged version works just 
file: the so files are installed and all is well. But portupgrade wants 
to upgrade expat, and when it does, those missing files make everything 
else fail.

I have no idea how to resolve the issue at the port level: is there a 
workaround? and I have been pulling from CVS so this shouldn't be an 
issue of being out of sync, I don't think.

ruby is at 1.8.1, per someone else's advice, as well.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


Re: port questions (why do I find myself fudging symlinks to make stuff work?)

2004-03-31 Thread paul beard
On Mar 31, 2004, at 2:29 PM, Charles Swiger wrote:

Stop using portupgrade for a moment; do a make deinstall of the 
expat port (or use pkg_delete -f), do a make clean, and then do a 
make reinstall.

been there, done that, got the bloody knuckles to show for it.

[/usr/ports/textproc/expat2]# pkg_info -g /var/db/pkg/expat-1.95.7/
Information for expat-1.95.7:
Mismatched Checksums:
pkg_info: /usr/local/lib/libexpat.so doesn't exist
pkg_info: /usr/local/lib/libexpat.so.5 doesn't exist

I think something's broken.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


Re: port questions (why do I find myself fudging symlinks to make stuff work?)

2004-03-31 Thread paul beard
On Mar 31, 2004, at 3:28 PM, Kris Kennaway wrote:

What architecture is this on?  Some people have reported problems on
amd64 with shared libraries not being created - this appears to be
something to do with libtool, but I don't see it on my amd64 box.
It's on x86, running 4.9.

To work around mysterious port problems you can always just install
the packages instead.
I tried that, but some ports want to rebuild their dependencies and I'm 
back where I started.
--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


Re: port questions (why do I find myself fudging symlinks to make stuff work?)

2004-03-31 Thread paul beard
On Mar 31, 2004, at 4:29 PM, Kris Kennaway wrote:

You're not doing it right, then :-)

Use portupgrade with the -PP switch to force the use of packages.

What if there isn't a package for a given port? I wasn't aware there 
were packages (though I suppose for an ancient release like 4.9 there 
might be).

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


Re: port questions (why do I find myself fudging symlinks to makestuff work?)

2004-03-31 Thread paul beard
On Mar 31, 2004, at 4:59 PM, Matt Emmerton wrote:

How is 4.9 ancient?  It's the most recent release supported for 
production
use. (Refer to http://www.freebsd.org if you doubt this.)

That was a joke ;-)

You can find all the packages you want for 4.9 at
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.9-RELEASE/packages
Thanks. I'll see if those will work.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


Re: port questions (why do I find myself fudging symlinks to make stuff work?)

2004-03-31 Thread paul beard
On Mar 31, 2004, at 5:38 PM, Kris Kennaway wrote:

Well, then you can't use it :) There are certainly up-to-date packages
for the basic ports like expat that you're having problems with.
So here's my problem. I install expat and gettext from packages. Then I 
install *anything* that depends on those, and they need to be rebuilt. 
The expat build fails. The gettext fail as a result, and then all the 
rest do as well. I'm not sure how up to date they are if the ports that 
depend on them want to rebuild them.

Information for expat-1.95.6_1.tgz:

Files:
/usr/local/man/man1/xmlwf.1.gz
/usr/local/bin/xmlwf
/usr/local/include/expat.h
/usr/local/lib/libexpat.a
/usr/local/lib/libexpat.so
/usr/local/lib/libexpat.so.4
gettext 0.13.x wants expat.5, so that's not as up to date as it might 
be.

I've dropped a note to the maintainer: perhaps there's something he can 
point out.
--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


some anomalies in my system?

2004-03-31 Thread paul beard
Working through this issue with expat not building shared libs, the 
maintainer noticed this:

creating libtool
checking host system type... i386-unknown-kfreebsd4.9-gnu
checking whether to build shared libraries... no
checking whether to build static libraries... yes
what isn't letting us build shared libs and what's that funky system 
type?

Other ports don't have this issue, at least from the others I chose at 
random.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com

Re: some anomalies in my system?

2004-03-31 Thread paul beard
On Mar 31, 2004, at 7:58 PM, Kris Kennaway wrote:

 It still looks like you have a bogus
non-ports version of libtool installed that is providing the wrong
information to the configure script.
I took that as a hint to look at the versions of libtool: there wasn't 
a version I didn't have installed, so I removed them all and decided to 
let them get handled as dependencies.

Expat seems to be relying on libtool13:

===  Patching for expat-1.95.7
===  Applying FreeBSD patches for expat-1.95.7
===   expat-1.95.7 depends on file: 
/usr/local/libexec/libtool13/libtool - not found
===Verifying install for /usr/local/libexec/libtool13/libtool in 
/usr/ports/devel/libtool13
===   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Please use devel/libtool15 instead.

It is scheduled to be removed 31st December 2004.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


Re: port questions (why do I find myself fudging symlinks to make stuff work?)

2004-03-31 Thread paul beard
On Mar 31, 2004, at 7:52 PM, Kris Kennaway wrote:

You're installing out of date packages then.  The ones on the ftp site
are current and provide libexpat.so.5.
This is what's available for 4.9-RELEASE:

[/opt/ports/packages/All]# pkg_info -L expat-1.95.6_1.tgz
Information for expat-1.95.6_1.tgz:
Files:
/usr/local/man/man1/xmlwf.1.gz
/usr/local/bin/xmlwf
/usr/local/include/expat.h
/usr/local/lib/libexpat.a
/usr/local/lib/libexpat.so
/usr/local/lib/libexpat.so.4
Likewise 5.2-RELEASE: I just pulled that package and checked.

The Makefile in my ports tree has this: PORTVERSION=1.95.7.  this 
would/should give me expat.5.
--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


Re: some anomalies in my system?

2004-03-31 Thread paul beard
On Mar 31, 2004, at 8:48 PM, Kris Kennaway wrote:

I took that as a hint to look at the versions of libtool: there wasn't
a version I didn't have installed, so I removed them all and decided 
to
let them get handled as dependencies.
That's not what I asked.
I realize that, but that was the first step to getting this fixed or at 
least worked around.
--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


workaround for the expat problem

2004-03-31 Thread paul beard
I removed all the versions of libtool, and tried rebuilding expat but 
that didn't help. It would install libtool13 and I would get funky 
configure output and a failed install.

I then went into ${PORTSDIR}/textproc/expat2/work, removed the expat 
directory, re-extracted from the distfile, and ran configure, make and 
name install from there. That seemed to be OK, then I went back to 
${PORTSDIR}/textproc/expat2/ and did a make install 
WITH_PKG_REGISTER=1. That worked well enough to build gettext 0.13 with 
its dependency on libiconv. So all looks to be normal, or close to it.

If anyone has any ideas what this is all about and how best to cope 
with it going forward, I'd be grateful to know about it.

Thanks.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


Re: port questions (why do I find myself fudging symlinks to make stuff work?)

2004-03-31 Thread paul beard
On Mar 31, 2004, at 9:21 PM, Kris Kennaway wrote:

You want the packages-4-stable directory; RELEASE packages are not
updated.  See http://www.freebsd.org/ports for more details.
Ah, I see. There was an earlier email to the effect that the packages I 
needed were under 4.9-RELEASE.
--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


Re: some anomalies in my system?

2004-04-02 Thread paul beard
On Mar 31, 2004, at 9:21 PM, Kris Kennaway wrote:

OK, feel free to ignore my advice as you see fit.

Looking back through the thread, you asked if I had installed any 
non-ports software or some other variant of libtool: the answer was no. 
I didn't see any advice, so I took the initiative to find out what 
libtool might be doing. I did discover that there was a dependency on a 
deprecated version of libtool (1.3 where 1.5 seems to be the 
current/preferred version). And I was able to get around my problem by 
working from the distfiles and leaving out whatever the ports system 
was doing (that was where the inability to build shlibs was getting in 
the mix). As noted in my followup post to the list, once I installed 
from the {$PORTDIR}/work/portname directory, all went well and I have 
now resolved my problem.

Apologies if I offended. The insight on libtool is appreciated.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


Re: workaround for the expat problem

2004-04-02 Thread paul beard
On Apr 1, 2004, at 12:05 PM, Kevin D. Kinsey, DaleCo, S.P. wrote:

Users of expat2 (and its many dependencies) should do the 
following to
 properly update expat2 and all of its dependencies:
   portupgrade -rf textproc/expat2

I wish I had kept a record of how many times I ran that and had it fail.

The problem was that for some reason the expat2 port was unable to 
create and install shared libraries due to something that was getting 
picked up in the configure run. As noted in my note about the 
workaround, running the build without using the ports system 
infrastructure allowed the shlibs to be created and install and then -- 
and only then -- could the dependent ports find the expat.5 library and 
complete their upgrades.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com


libtool/shared libraries problem

2004-04-02 Thread paul beard
In the course of cleaning up this b*rked port installed, I found that 
popt wouldn't install properly. It would report no errors but ports 
that depended on it would bail out, unable to find shlibs.

configure, running under the ports system, returns this:

creating libtool
checking host system type... i386-unknown-kfreebsd4.9-gnu -- what's 
that all about?
. . . . .
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
. . . .

Cleaning out the work directory, doing a make deinstall in libtool13 
gives me this more reasonable outcome.

checking host system type... i386-unknown-freebsd4.9
. . . .
checking if libtool supports shared libraries... yes
The acid test is to see if make package will work since it seems to 
check the created files against a list that make install doesn't seem 
to do.

I just did a portinstall rpm (where I was stuck with popt being broken) 
and it installed just fine. It did however kick back the same warning I 
have seen previously that libtool13 is deprecated and libtool15 is 
preferred.

There is no warning about the popt port in UPDATING.
--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com

Re: gramofile, mkisofs howto??

2002-12-17 Thread paul beard
Stijn Hoop wrote:




An audio CD does *not* have a filesystem on it; you should not use
mkisofs to make an iso before you burn one. Instead, use something like

# burncd audio track1.wav track2.wav track3.wav fixate

Then you'll be set.

See also the handbook online, at

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html

especially the 'Duplicating Audio CDs' part.


yes, of course. Cockpit fog . . . .

I think I was fixated in mkisofs because I wanted a volume name to 
show up if I inserted the disk into one of the other Leading 
Brands' machines.

--
Paul Beard: seeking UNIX/internet engineering work
in Seattle area. Details available below:
	http://paulbeard.no-ip.org/paulbeard.html

Reader, suppose you were an idiot.  And suppose you were a member of
Congress.  But I repeat myself.
		-- Mark Twain


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


cdrdao toc-files/gcdmaster [was Re: gramofile, mkisofs howto??]

2002-12-17 Thread paul beard
It looks like what I need to use to make audio CDs that look like 
the ones I can buy (ie, you insert into a Cd drive and the name of 
the CD shows up as a mountpoint) is cdrdao. I don't see any 
options for cdrecord to write a volume label.

The port of cdrdao doesn't have the UI (gcdmaster) so I'll need to 
be making the necessary toc-files by hand. Has anyone done this? 
Any pointers?

--
Paul Beard: seeking UNIX/internet engineering work
in Seattle area. Details available below:
	http://paulbeard.no-ip.org/paulbeard.html

Truly great madness can not be achieved without significant
intelligence.
		-- Henrik Tikkanen


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


confidential to geeky@epals.com [Fwd: Undeliverable mail, returnto sender]

2002-12-17 Thread paul beard


 Original Message 
Subject: Undeliverable mail, return to sender
Date: Tue, 17 Dec 2002 12:38:23 -0800
From: [EMAIL PROTECTED]
To: paul beard [EMAIL PROTECTED]

Your message could not be delivered to [EMAIL PROTECTED] because 
their mailbox is full.  Try
resending your message at a later date.  Your orginal message is 
attached to this email.

--
Paul Beard: seeking UNIX/internet engineering work
in Seattle area. Details available below:
	http://paulbeard.no-ip.org/paulbeard.html

I found out why my car was humming.  It had forgotten the words.


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


Re: Any word on FreeBSD 5.0 release

2002-12-17 Thread paul beard
Ray Seals wrote:

I know that RC 1 was released and was wondering which mailing list would
have any traffic concerning the issues and what's going on with 5.0.



[EMAIL PROTECTED] would be my best guess. You can see the 
release schedule on the web site as well.

--
Paul Beard: seeking UNIX/internet engineering work
in Seattle area. Details available below:
	http://paulbeard.no-ip.org/paulbeard.html

It's men like him that give the Y chromosome a bad name.


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


Re: cdrdao toc-files/gcdmaster [was Re: gramofile, mkisofs howto??]

2002-12-17 Thread paul beard
Fernando Gleiser wrote:



Look at the cdrdao docs. man cdrdao has a section explaining the format
of the toc files. If that fails, you can try searching the cdrdao
mailing lists and project's web page.


Yeah, I've read those. They didn't help. Wading through the (to 
me) cryptic file format for this is joyless and it's made more os 
by the knowledge there is a UI that ships with this but isn't in 
ports.

I was hoping someone who had used cdrdao would chime in.


--
Paul Beard: seeking UNIX/internet engineering work
in Seattle area. Details available below:
	http://paulbeard.no-ip.org/paulbeard.html

Underlying Principle of Socio-Genetics:
	Superiority is recessive.


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


Re: Fwd: gkrellm2 port compile problems

2002-12-17 Thread paul beard
Sean O'Neill wrote:


I asked this of the freebsd-ports group and got no answer.  Thought 
maybe someone here might know the answer.


/usr/X11R6/lib/libpangoxft-1.0.so: undefined reference to 
`FT_Seek_Stream'
/usr/X11R6/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Short'
/usr/X11R6/lib/libpangoxft-1.0.so: undefined reference to 
`FT_Forget_Frame'
/usr/X11R6/lib/libpangoxft-1.0.so: undefined reference to 
`FT_Access_Frame'
/usr/X11R6/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Long'
gmake[1]: *** [gkrellm] Error 1

the problem appears to be with /usr/X11R6/lib/libpangoxft-1.0.so:
might be worth making sure it (pango-1.0.5) is up to date (make 
deinstall  make reinstall).

[/home/paul/src]:: pkg_info -W /usr/X11R6/lib/libpangoxft-1.0.so
/usr/X11R6/lib/libpangoxft-1.0.so was installed by package pango-1.0.5

--
Paul Beard: seeking UNIX/internet engineering work
in Seattle area. Details available below:
	http://paulbeard.no-ip.org/paulbeard.html

A raccoon tangled with a 23,000 volt line today.  The results blacked
out 1400 homes and, of course, one raccoon.
		-- Steel City News


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


Re: Drawing diagrams a-la-Visio

2002-12-21 Thread paul beard
Cliff Sarginson wrote:

Ok, thanks for the answers.
I shall have a look at the various suggestions...
I may also mail whoever makes Visio and say what an excellent X11
application it would make :)



That would be Microsoft: I wouldn't expect much  . . .

--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

I gained nothing at all from Supreme Enlightenment, and for that very
reason it is called Supreme Enlightenment.
		-- Gotama Buddha


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



Re: CDRW drive

2002-12-22 Thread paul beard
Thomas DeYoung wrote:

Hello-
I'm running 4.7 with a sony 48/24/48 cdrw drive.  I try to mount it to
burn cd's, using

sudo mount_cd9660 /dev/acd0c /cdrom

and get

mount_cd9660: /dev/acd0c: Invalid argument


if there's nothing on the CD, there's nothing to mount, no 
filesystem. You have to burn something to it first, I think.


--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

This login session: $13.99, but for you $11.88


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


Re: L0phtcrack

2002-12-23 Thread paul beard
Stacey Roberts wrote:



Why would you want to do this? Personally, I figure its prudent to ask.


It does have some legitimate uses, according to this page ( 
http://www.atstake.com/research/lc/ ):

Consider that at one of the largest technology companies, where
policy required that passwords exceed 8 characters, mix cases,
and include numbers or symbols...

* L0phtCrack obtained 18% of the passwords in 10 minutes 
* 90% of the passwords were recovered within 48 hours on a Pentium
II/300 
* The Administrator and most Domain Admin passwords were
cracked

It doesn't have to be this way. Crack-resistant passwords are
achievable and practical. But password auditing is the only
sure way to identify user accounts with weak passwords. LC4
offers an easy and adaptable way to address this threat and
find vulnerable passwords.


Take it from a 1998 Microsoft security bulletin:

consider evaluating a tool such as L0phtcrack 2.0 for
assisting in checking the quality of user passwords.




--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Laughter is the closest distance between two people.
		-- Victor Borge


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



cdrecord problems: too many coasters

2002-12-23 Thread paul beard
I have been trying to make some audio CDs from wav files and keep 
running into difficulties that aren't apparent until its too late.

Symptomatically, here's what happens. I burn the CD with cdrecord, 
specifying that the files are audio files (I have played them with 
wavplay and they're fine). I get one track to record, but all 
subsequent tracks won't play in a CD player or computer. I just 
noise (sounds like the digital equivalent of a record skipping).

here's the command I have used:

sudo /usr/local/bin/cdrecord -pad -audio -vv speed=0 -eject 
dev=0,1,0 *wav

--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Disclaimer: These opinions are my own, though for a small fee they be
yours too.
		-- Dave Haynie


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


Re: cdrecord problems: too many coasters

2002-12-24 Thread paul beard
Hanspeter Roth wrote:


Maybe you need -doa.
What does -toc say?



doa is not supported, and -toc kicks back an error that it's not 
supported either.

It's an older drive.

cd0: PINNACLE RCD5040 1.51 Removable Worm SCSI-2 device
cd0: 3.300MB/s transfers
cd0: cd present [1 x 2048 byte records]

It *has* worked but for audio CDs, just once.

--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

No one can make you feel inferior without your consent.
		-- Eleanor Roosevelt


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


Re: cdrecord problems: too many coasters

2002-12-24 Thread paul beard
I wrote:


It's an older drive.

cd0: PINNACLE RCD5040 1.51 Removable Worm SCSI-2 device
cd0: 3.300MB/s transfers
cd0: cd present [1 x 2048 byte records]

It *has* worked but for audio CDs, just once.



HMm, looking around on Google for info on this drive's mechanism 
brings me *lots* of bad news. Looks like the $20 I paid for it on 
eBay might gave been too much after all.

I couldn't have found this out before I bought it, since the 
seller didn't know what the internals were, but I know better now.

It seems to work OK for data CDs, though. How annoying.

--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

I'd love to go out with you, but the man on television told me to 
stay
tuned.


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


Re: Argument list too long: limitation in grep? bash? FreeBSD?

2002-12-24 Thread paul beard
Bill Moran wrote:

d/l the entire php documentation as individual html files.
This equates to a LOT of files in a single directory (how can
I get a count of this?)
Anyway, I'm trying to find the docs on some features that
the www.php.net's search isn't really helping on (searching
for __FILE__ doesn't search for __FILE__ ... it searches for
file, and there's too many results) so I try:
grep __FILE__ *.html
and I get the error:
-bash: /usr/bin/grep: Argument list too long
Is this a shortcoming of bash, grep or FreeBSD?  I'm assuming
it's not grep, as the command:
find . -name *.html -print | xargs grep __FILE__
yeilds:
-bash: /usr/bin/find: Argument list too long


try grep __FILE__ *.html.

to get a file coun, 'ls | wc' might work.
--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Love and scandal are the best sweeteners of tea.


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



any way to tell what kind of drive this?

2002-12-24 Thread paul beard
acd0: CD-RW IDE-CD ReWritable-2x2x6 at ata1-slave PIO3

Short of taking it out of the case, of course. burncd seems not to 
have the same inquiry tools as cdrecord.

--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

I'd love to go out with you, but the last time I went out, I never
came back.


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


Re: any way to tell what kind of drive this?

2002-12-24 Thread paul beard
Dan Nelson wrote:

In the last episode (Dec 24), paul beard said:


acd0: CD-RW IDE-CD ReWritable-2x2x6 at ata1-slave PIO3

Short of taking it out of the case, of course. burncd seems not to
have the same inquiry tools as cdrecord.



Add device atapicam to your kernel config and it will show up as a
SCSI drcom.  Then use cdrecord :)

You need to be running -current or 4-stable, though.  It went in after
4.7.


well, I'm off to run -stable then. I'm running 4.7-RELEASE and it 
ain't there, according to 'make buildkernel.'

Thanks.



--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Join the march to save individuality!


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


Re: XFree86 troubles in 5.0 RC2

2002-12-26 Thread paul beard
Stephan Assmus wrote:


So, I'm stuck. I actually installed FreeBSD to check out the Gnome and 
KDE desktop and use Gimp. I don't know in which direction to 
investigate further. Thanks for any and all help.

I would suggest installing 4.7, instead of 5.0-RC2. 5.0 hasn't 
been released yet, while 4.7 is an officially supported release.




--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Some programming languages manage to absorb change but withstand
progress.


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


cdrecord coaster problem solved

2002-12-26 Thread paul beard
I had some problems with cdrecord making audio CDs and some helpful person on this 
list suggested I use cdrdao(1) instead. Well, that turned out to be the solution. I 
did try using ATAPICAM with an IDE burner I had on hand, but it doesn't seem to be 
able to write (good thing it didn't cost anything, though perhaps I see why). 

The biggest problem I had with cdrdao was the need for a TOC file and the correct 
syntax. Turns out there are some samples in the distribution's source files. They 
don't work for me (you can't specify a driver as I need to do, just a device, and the 
device is expressed in a linux-ish style), but it's often easier to work from 
something that's broken that to start from scratch. 

It's basic as can be, but it saves me from trying to remember this stuff, and isn't 
that what scripts are all about? 

[/usr/home/paul/bin]:: more wav2toc.sh
#!/bin/sh
# usage: $0  FILES *.wav 

DIR=$1
TOCFILE=`basename $1`.toc

echo CD_DA   ${TOCFILE}
echo   ${TOCFILE}
for i in ${DIR}/*.wav
 do echo TRACK AUDIO  ${TOCFILE}
 echo PREGAP 0:1:0  ${TOCFILE}
 echo FILE \$i\ 0   ${TOCFILE} 
 echo   ${TOCFILE}
done
echo File ${TOCFILE} written

Running with a path grabs all the WAV files, creates a file based on the basename of 
the path, then writes out all the particulars. 

([EMAIL PROTECTED])-(09:18 PM / Thu Dec 26)
[/usr/home/paul/bin]:: ./wav2toc.sh ~/cdimages/That_Summer 
File That_Summer.toc written
([EMAIL PROTECTED])-(09:20 PM / Thu Dec 26)
[/usr/home/paul/bin]:: more That_Summer.toc
CD_DA

TRACK AUDIO
PREGAP 0:1:0
FILE /usr/home/paul/cdimages/That_Summer/new.wav 0

TRACK AUDIO
PREGAP 0:1:0
FILE /usr/home/paul/cdimages/That_Summer/side_1.wav 0

TRACK AUDIO
PREGAP 0:1:0
FILE /usr/home/paul/cdimages/That_Summer/side_2.wav 0

Dunno if it will be useful to anyone (like anyone else is converting vinyl LPs to CDs) 
. . . . 

and the incantation for cdrdao is as follows: I need to specify a driver for this unit 
(it's branded as a Pinnacle CDR 5040S and is allegedly supported by cdrecord as a 
workalike for a similar unit). 

sudo cdrdao write --eject --device 0,1,0 --driver teac-cdr55 toc 


--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/


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



Re: do we have to wait for PHP 4.3 port?

2002-12-30 Thread paul beard
BSD baby wrote:

Sorry: new to FreeBSD  (was an OpenBSD guy before this).

I'm impressed with how fast FreeBSD puts new releases into its ports tree.
Now that PHP 4.3 is out, I'm dying to use its new features, so I'm 
wondering if anyone knows a guesstimate on how long it should take for
PHP 4.3 to be in the cvsup'd ports tree
(/usr/ports/www/mod_php4)

I wouldn't be surprised to see it in the tree when the code freeze 
is lifted: that's about 2 weeks off, so you may want to install 
from source now and do the ports/pkg housekeeping later.


--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

If a listener nods his head when you're explaining your program, wake
him up.


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


Re: Virtual interface support?

2002-12-31 Thread paul beard
Jeff Penn wrote:



The html documentation supplied with apache2 appears to require the 
server to be running for browsing (many of the links appear broken).


why not bind it to the loopback and browse it there (assuming its 
the machine you're sitting in front of)?


--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

... My pants just went on a wild rampage through a Long Island Bowling
Alley!!


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


Re: Portupgrade vs. multiple versions of packages

2002-12-31 Thread paul beard
Brian Astill wrote:

Scott Mitchell wrote:


Hi all,

I've just spent a fun day upgrading ~180 ports that were about a year out
of date, which will teach me not to be so lazy in future :-(  Anyway,
portupgrade coped with most of this mess admirably, except for
(unsurprisingly) the KDE2 -- KDE3 upgrade.



That upgrade is a doozie.  Been there, done that!
rm -fr qt2 is (I think) the correct thing to do  (someone else on the 
list will correct me).
Then port kde3.

qt2 and qt3 will NOT live comfortably together.  So delete qt2 and all 
the apps dependent on it (that includes kde2 and its apps).
The kde3 port will look for the version of qt it needs, fail to find it, 
and fetch it for you.  Ain't that nice?


it would probably make sense to subscribe to the kde-freebsd list. 
I have learned a lot from just lurking and they work hard to make 
sure KDE stays up to date.

http://lists.csociety.org/listinfo/kde-freebsd


--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Although golf was originally restricted to wealthy, overweight
Protestants, today it's open to anybody who owns hideous clothing.
		-- Dave Barry


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


recording audio with SoundBlaster Live/pcm cards: has anyone triedthis?

2003-01-01 Thread paul beard
I have been working on recording vinyl LPs to digital files but 
have run into a problem. It turns out I misread the cryptic runes 
on the back of the sound card and was actually recording through 
the mic jack. It worked as far as I could tell -- I got sound -- 
but I now have audio that sounds suspiciously like mono.

So after tracking down the manual for the card (an SB Live! Gamer 
or Platinum w/o the Live drive), I am now using the line in and 
running the audio through an stereo receiver. But now nothing 
registers on the level indicators in gramofile.

According to Creative's open source site, audio in and out is 
supported, but there's supported and proven to work. Anyone 
have any experience with this or troubleshooting ideas I should be 
aware of?

--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

A tautology is a thing which is tautological.


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


Re: problems with gramofile

2003-01-02 Thread paul beard
Dan Malaby wrote:

Happy new year FSBD users!!

I am trying to use gramofile to get some records made into CD's, 

Me, too.


but I 
can not get gramofile to see any input. I can use the mixer and get the 
line in signal out of my PC speakers, so I know that I have signal to my 
sound card, but gramofile only makes a file with no music. 

I found that the mic input works fine but line in doesn't. I'm 
using a SoundBlasterLive, and I'm starting to wonder if my card is 
bad. It did occur to me that it may be gramofile . . . .
If there is 
anyone who is using gramofile, please tell me how you configured 
gramofile or what magic needs to be done to the kernel to make it work. 
Also I have had problems with gramofile hanging up, it does not respond 
to any mouse or keyboard input, and I need to do a kill -9 to get out.

I have found that gramofile doesn't clean up after itself very 
well: run ipcs and see if there are some semaphores that are 
blocking things up.

I did add the semaphore stuff from LINT in vain hopes of making it 
behave better . . . . but I still end up falling back on ipcs and 
ipcrm.

# System V semaphores and tunable parameters
options SYSVSEM # include support for semaphores
options SEMMAP=31   # amount of entries in semaphore map
options SEMMNI=11   # number of semaphore identifiers 
in the system
options SEMMNS=61   # number of semaphores in the system
options SEMMNU=31   # number of undo structures in the 
system
options SEMMSL=33   # max number of semaphores per id
options SEMOPM=101  # max number of operations per 
semop call
options SEMUME=11   # max number of undo entries per 
process


--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Talkers are no good doers.
		-- William Shakespeare, Henry VI


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


Re: OT: [was: recording audio with SoundBlaster Live...]

2003-01-02 Thread paul beard
Nathan Kinkade wrote:


What are your mixer settings?  Do you have the LineIn configured to
record or just for playback?  Check out the man page for mixer(8) on how
to set an input for recording.  There are also quite a few ports for
various mixer interfaces in /usr/ports/audio.



I've stared at the man page and now I think I see what needs to 
happen.

([EMAIL PROTECTED])-(07:01 PM / Thu Jan 02)
[/usr/home/paul]:: mixer recsrc =rec line1
Recording source: line1

Many thanks.

--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

The sheep that fly over your head are soon to land.


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


SBLive docs, it you need 'em

2003-01-02 Thread paul beard
The nice people at Creative have PDF manuals on line if you ever 
need one. I didn't even know what card I had until I found this 
stuff. So all the SBLive and newer cards, as well as back to the 
SB 16: it's all there.

http://www.americas.creative.com/support/


--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

All I can think of is a platter of organic PRUNE CRISPS being trampled
by an army of swarthy, Italian LOUNGE SINGERS ...


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


Re: audacity is creating (??) unwritable-by-cdrecord wave files

2003-01-03 Thread paul beard
joe wrote:

As the subject says I am creating and manipulating wav files of audio 
tap recordings.  The extent of manipulation is to join sides A  B into 
one file and do some noise reduction cleanup, and write the file in wav 
format.

then attempting to write the file to cd with cdrecord
cdrecord -v -eject speed=12 -pad -audio  file.wav results in the 
following error.

  cdrecord: Inappropriate audio coding

can you play them with wavplay? How do they sound? If they're 
mono, do you want to immortalize them on CDs? I just made that 
mistake . . . 6 times.

I don't know a lot about, just what I've managed to pick up in the 
past week or so, but I wonder if the file headers are correct for 
what you want to do. gramofile's extracts, for example, makde 
cdrecord/cdrdao complain, but once they're processed/filtered, all 
is well.

I'd suggest gramofile to capture the audio unless there's a 
compelling reason to use audacity: you can always edit in 
audactity later.


--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Why are we importing all these highbrow plays like `Amadeus'?  I 
could
have told you Mozart was a jerk for nothing.
		-- Ian Shoales


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


Re: copying audio cd's

2003-01-05 Thread paul beard
Roman Neuhauser wrote:

Having searched the archives, I'm confused.



it looks like you want this section of the handbook:
12.5.5 Duplicating Audio CDs

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html

--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

People will do tomorrow what they did today because that is what they
did yesterday.


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



Re: dos attack

2003-01-05 Thread paul beard
Michael wrote:

Thanks for all that responded. Your ideas are great but they will just
slow the dos down if even that. 

Well, that seems like it's better than nothing. I have always 
regarded DOS attacks as crimes of opportunity: as you say, it 
doesn't take a lot of smarts to pull one off.

If you make it too hard, they'll give up. So take what steps you can.

I guess no one has either thought of a
true way to stop a DOS or maybe its really impossible because your
allowing them in to begin with. 

Well, it is impossible unless you shut down your site.


I figured it was worth a shot to ask. Ill
just wait it out for now. Eventually they will go away. They can try to
take us out the game but unixhideout isnt going anywhere. So they just
better get used to being second place.


What concerns me about this thread is that by doing nothing, it 
makes the choice of UNIX as a secure OS less credible. One of the 
strengths of open source is that it allows rapid response to 
threats. By not taking what steps you can, you risk undermining 
that point.

My two cents, of course.
--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

To envision how a 4-processor system running [SunOS] 4.1.x works, 
think
of four kids and one bathroom.
		-- John DiMarco


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


Re: audio mixer doesn't work

2003-01-05 Thread paul beard
Erik Sabowski wrote:

i am running freebsd 4.7, and using the latest kde packages from freebsd.org 
(3.0.3). My soundcard is a soundblaster live. I have no problem setting up 
the soundcard, it works fine, except for the fact that the mixer does not 
work at all. using mixer from the command line does not change the 
soundlevel, nor does using another program such as xmms, opmixer, or kmix. 
any help would be appreciated.

what specific values are you trying to change and what are you 
trying to do?

can you supply the output of mixer? and tell us what you're like 
to change?


--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

If you wish to live wisely, ignore sayings -- including this one.


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


Re: glibwww port - patch does not apply

2003-01-08 Thread paul beard
Andrew wrote:

Hi there,

Maybe someone can help me, as I'm having trouble building evolution1.2.0 from 
ports. It seems to be stuck on the glibwww library, and I've had a look 
around and can't find an obvious solution. I've replaced the distfile, but I 
think the problem lies elsewhere. Anyroad, it's beyond my expertise, so if 
anyone can help, I'd really appreciate it.


try a make clean to start with a clean slate. That should remove 
the work directory and any cruft therein.


--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

BE ALERT  (The world needs more lerts ...)


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


Re: Cisco Aironet PCI card - Supported ?

2003-01-09 Thread paul beard


Does anyone know if the Cisco Aironet 350 series PCI card works under
FreeBSD-STABLE ? 

From what I can see in GENERIC and LINT, it looks like the 4500/4800

is supported as device an. 

Anyone know for sure though? 

I have a 340 card (PCMCIA) that works fine, and is identified thusly:

an0: Aironet PC4500/PC4800 at port 0x240-0x27f irq 5 slot 0 on 
pccard0
an0: Ethernet address: 00:40:96:35:ff:20
Jan  9 07:08:41 green pccardd[74]: an0: Cisco Systems (340 Series 
Wireless LAN Adapter) inserted.

might be worth asking on the mobile list about the 350.
--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Cleveland?  Yes, I spent a week there one day.


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


Re: Motd Updating

2003-01-09 Thread paul beard
Coreix Systems - UNIX Developers wrote:


Can someone tell me he name of the .c or .h file containing code to do the
updating of MOTD,
i want to add company specific support data to the source so it can be
updated to motd on a daily basis, but do not want
it to be easily accessiably be sysadmins.
i have done it through a /etc/perodic/daily/script file, but clients can
find it i want to complile it in the source.



This is what I use. I run it from cron.

#!/bin/sh
cat /dev/null  /tmp/motd.tmp
echo  /tmp/motd.tmp
uname -a  /tmp/motd.tmp
echo  /tmp/motd.tmp
/usr/games/fortune  /tmp/motd.tmp
echo  /tmp/motd.tmp
df -k  /tmp/motd.tmp
echo  /tmp/motd.tmp
uptime  /tmp/motd.tmp
cp /tmp/motd.tmp /etc/motd




--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Faith, n:
	That quality which enables us to believe what we know to be
untrue.


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



Re: Motd Updating

2003-01-09 Thread paul beard
Coreix Systems - UNIX Developers wrote:


i want to add company specific support data to the source so it can be
updated to motd on a daily basis, but do not want
it to be easily accessiably be sysadmins.
i have done it through a /etc/perodic/daily/script file, but clients can
find it i want to complile it in the source.


Sorry, I missed the bit about it not being accessbile by 
sysadmins. Though I have to wonder what you can keep a determined 
sysadmin out of, if they really want to mess with something.

Sounds more like something you could achieve with permissions 
and/or something that checksums what's in MOTD versus what should be.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Clothes make the man.  Naked people have little or no influence on
society.
		-- Mark Twain


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


Re: Motd Updating

2003-01-09 Thread paul beard
Coreix Systems - UNIX Developers wrote:


Can someone tell me he name of the .c or .h file containing code to do the
updating of MOTD,
i want to add company specific support data to the source so it can be
updated to motd on a daily basis, but do not want
it to be easily accessiably be sysadmins.
i have done it through a /etc/perodic/daily/script file, but clients can
find it i want to complile it in the source.



from motd(5):
DESCRIPTION
 The file /etc/motd is normally displayed by login(1) after a 
user has logged in but before the shell is run.  It is generally 
used for important system-wide announcements.  During system 
startup, a line containing the kernel version string is prepended 
to this file.

so perhaps you need to look into how login(1) works.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

UFO's are for real: the Air Force doesn't exist.


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


Re: Scanner for FreeBSD

2003-01-10 Thread paul beard
Pascal Giannakakis wrote:

Hello, 
 
what do I have to consider when buying a flat bed scanner for a
FreeBSD-CURRENT box? 
Is there any possibilty to share the scanner in an Network, pretty much like
a 
printer? 

sure is

Port:   sane-backends-1.0.9_1
Path:   /usr/ports/graphics/sane-backends
Info:   API for access to scanners, digitals camera, frame 
grabbers etc
Port:   sane-frontends-1.0.9
Path:   /usr/ports/graphics/sane-frontends
Info:   Tools for access to scanners, digitals camera, frame 
grabbers etc
Port:   xsane-0.90
Path:   /usr/ports/graphics/xsane
Info:   Gtk-based X11 frontend for SANE (Scanner Access Now Easy)

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

A university is what a college becomes when the faculty loses interest
in students.
		-- John Ciardi


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


Re: freebsd curiosity

2003-01-10 Thread paul beard
I kicked this thread across to advocacy when it started, so it may 
be worth following it up over there.



--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Genetics explains why you look like your father, and if you don't, why
you should.


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


Re: Drgenius with gnome2

2003-01-10 Thread paul beard
P. U. Kruppa wrote:

Hi again!

In the meantime I played around a little bit with DrGenius.

(As I teach maths and physics - ) I think it is quite a valuable
tool for visualization and exploration of geometry and and vector
geometry. It seems to be competitive to commercial systems like
dynageo's Euklid and it is part of the gnome project.

Thus it would be a good idea if someone - who knows about these
things - could write a port for it, to make it easily accessible for
students and teachers.


well, I got it built and played with it, but it crashed on me. 
Found a few other things that didn't work as well.

I can drop a bug report to the developer(s) at their site.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

The meek shall inherit the earth -- they are too weak to refuse.


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


Re: CD to MP3

2003-01-12 Thread paul beard
Dave McCoy wrote:


I have been looking for an easy way to convert music cds to mp3 files. 
The ports collection hasn't been much help on this subject. Does anyone 
know of a plug-in for xmms or an easy utililty to acomplish this.


[/usr/ports/audio]:: make search key=rip | egrep '(Port|Info)'
Port:   abcde-2.0.3_3
Info:   Front-end sh script to encode CDs in ogg or mp3 format
Port:   abcmidi-36
Info:   Convert abc music files to MIDI and PostScript
Port:   cdparanoia-3.9.8_1
Info:   A CDDA extraction tool (also known as ripper)
Port:   chordpack-0.8.0
Info:   Script to convert ChordPro files to HTML, ASCII, and TeX
Port:   glame-0.6.3
Info:   A powerful, fast, stable, and easily extensible sound 
editor for GNOME
Port:   grip-3.0.4
Info:   GTK-based front-end to external cd audio rippers and mp3 
encoders
Port:   ripenc-1.1
Info:   Script that automates the ripping, encoding, and naming of 
CD's
Port:   ripit-2.0_1
Info:   A perl-script frontend for encoding audio CDs to MP3 files
Port:   streamripper-1.0.5
Info:   Splits SHOUTcast stream into tracks
Port:   sweep-0.1.1
Info:   A sound editor for GNOME desktop

You can't go wrong with grip.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202

It's easier to fight for one's principles than to live up to them.


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


Re: What is OUT OF THE BOX

2003-08-01 Thread Paul Beard
 
On Friday, August 01, 2003, at 08:03AM, Adam [EMAIL PROTECTED] wrote:

On Fri, 2003-08-01 at 03:24, W. D. wrote:
 You will then 
 have had an out of the box experience, or OBE.

Why must we insist on confusing non-English patrons? 

OBE means 'out of body experience', and is completely different from the
current topic.

No, it means Order of the British Empire, as English-speaking patrons are doubtless 
aware.  

--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to remove ^M character

2003-08-01 Thread Paul Beard
 
On Friday, August 01, 2003, at 01:31AM, Anil Garg [EMAIL PROTECTED] wrote:

Hi,

I ftp'd a file from windows to freebsdnot its every line has ^M at its
end.
Is there some command in vi (or some way) by whcih ^M can be removed.


got room for one more? 

perl -pi -e s#\\r#\\n#g your file name

--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Quick Question

2003-08-14 Thread paul beard
Jeremy D. Pavleck wrote:
Greetings All,
 I initially tried to install FreeBSD something like 4 years ago and
failed miserably, and went to linux. (Hardware wasn't completely
compatible with FreeBSD).
 Recently my Debian server motherboard died on me, prompting me to prepare
a list of new parts for a new box. Because I still use FreeBSD everyday
(diffrent server) and the whole SCO thing, I want to try again to setup a
freebsd box. 
 To make sure I don't have a compatibility problem, I'd appreciate it if
someone would look at this wish list 

http://secure.newegg.com/app/WishR.asp?ID=385191

And tell me if, in your opinion, all of these parts would be compatible
with FBSD 5.1. (Of course, I'm mainly concerned about the MB - it's an all
in one solution, and the NIC)
Why go with 5.1? Try 4.8 for now and get used to FreeBSD. 5.2 will 
 be ready when you are.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Anybody who doesn't cut his speed at the sight of a police car is
probably parked.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange reboots

2003-08-22 Thread paul beard
zhuravlev alexander wrote:
	[ please CC me, because I am not a list subscriber ]

	Hi!

	We encounter with strange casual reboots of our server.
	Does anyone know any tactics of investigation why
	this happens. 

anything in /var/log/messages that looks interesting? do you do 
any monitoring of the system at all?

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Earth is a great, big funhouse without the fun.
-- Jeff Berner
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mod_perl 1.28 with apache 1.3.28 questions

2003-08-22 Thread paul beard
I have been trying to get mod_perl and apache to play nicely 
together and they refuse. I have a couple of problems.

1. I can't build and install mod_perl 1.28. I get and Error 1 when 
make checks to see if any version is installed. I can then go into 
work/mod_perl-1.28 and make install, but something else seems to 
be wrong. I never get it to work with apache if I do that.

[/usr/ports/www/mod_perl]# make install
===  Installing for mod_perl-1.28
===   mod_perl-1.28 depends on file: /usr/local/sbin/apxs - found
===   mod_perl-1.28 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.0/LWP.pm - found
===   Generating temporary packing list
===  Checking if www/mod_perl already installed
*** Error code 1

Stop in /usr/ports/www/mod_perl.

[/usr/ports/www/mod_perl]# pkg_info | grep mod_perl
mod_perl-1.28   Embeds a Perl interpreter in the Apache server
I get the same error, whether or not it's installed.

2. I can install from the packaged version but it is built against 
perl 5.005 as best I can tell (I enable perl-status and check in a 
browser: Embedded Perl version 5.00503 for Apache/1.3.28 (Unix) 
mod_perl/1.28 DAV/1.0.3 process 12540 ) I'm running 5.8 and I'm 
not sure that's the best way to proceed.

So ideally, I'd like to install from source through the ports 
system. As a side note, I have been through my ports/packages 
database with pkgdb: all seems to be clean, after after a few 
mismatches were cleaned up. I have also tried portinstall and 
port_upgrade: no joy there, either.

Any help?

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Non-sequiturs make me eat lampshades.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mod_perl 1.28 with apache 1.3.28 questions

2003-08-22 Thread paul beard
KONDOU, Kazuhiro wrote:
do you want to make mod_perl with Perl 5.[68] on  5.x system?
you must rewrite PERL5/PERL5/PERL_VERSION/PERL_VER in
/usr/ports/Mk/bsd.port.mk and rebuild mod_perl with portupgrade -f.
 /usr/ports/Mk/bsd.port.mk  doesn't look like anything I want to 
mess with: it reads like it has the No User Serviceable Parts 
Inside label.

if you execute cvsup/cvsync. these programs discards your changes.
if you want to save your changes in bsd.port.mk, i recommend to
use 'cvs up' from anonymous CVS repo. to sync ports tree.
more easy way, use 5.x system. :)
Well, I'm not ready for that yet. This is a production system for 
me, and I'm not tackling the 5.x learning curve just yet.

People have been running mod_perl on 4.x systems, so there must be 
a way.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Keep emotionally active.  Cater to your favorite neurosis.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade problem (was Re: orphaned port?)

2003-08-24 Thread paul beard

===  Installing for ruby-1.6.8.2003.04.19
===   Generating temporary packing list
===  Checking if lang/ruby16 already installed
*** Error code 1
Stop in /usr/ports/lang/ruby16.
*** Error code 1
I am having this problem  as well on any port I try to install. I 
have rebuilt pkgdb from scratch.

===  Installing for p5-SNMP_Session-0.95
===   Generating temporary packing list
===  Checking if net/p5-SNMP_Session already installed
*** Error code 1
Stop in /usr/ports/net/p5-SNMP_Session.
*** Error code 1
Stop in /usr/ports/net/mrtg.

Running make with -dl yields this:
===  Checking if net/p5-SNMP_Session already installed
already_installed=`/usr/sbin/pkg_info -q -O net/p5-SNMP_Session 2 
/dev/null`;  if [ -n ${already_installed} ]; then  for p in 
${already_installed}; do  prfx=`/usr/sbin/pkg_info -q -p ${p} 2 
/dev/null | /usr/bin/head -n 1 | /usr/bin/sed -ne '1s|[EMAIL PROTECTED] ||p'`; 
 if [ x/usr/local = x${prfx} ]; then  df=`/usr/sbin/pkg_info 
-q -f ${p} 2 /dev/null | /usr/bin/grep -v ^@ | /usr/bin/comm 
-12 - /usr/ports/net/p5-SNMP_Session/work/.PLIST.mktmp`;  if [ -n 
${df} ]; then  found_package=${p};  break;  fi;  fi;  done;  fi;
*** Error code 1

Then breaking it down to run just the first command makes me 
wonder what's wrong with pkg_info.

[/usr/ports/net/mrtg]:: /usr/sbin/pkg_info -q -O net/p5-SNMP_Session
pkg_info: illegal option -- O
usage: pkg_info [-cdDfGiIkLmopqrRsvVx] [-e package] [-l prefix]
[-t template] [-W filename] [pkg-name ...]
   pkg_info -a [flags]
the O option doesn't seem to be in the man page, so I'm not sure 
what's up.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
E Pluribus Unix

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: orphaned port?

2003-08-24 Thread paul beard
Michelle wrote:

That was clear and the start of the jurney. Please update libtool either
using portupgrade or do it by hand as you do before.
Jens


I still cannot upgrade libtool.  I can run make, but when I run make 
install I get the following error:

===  Installing for libtool-1.3.5_1
===   Generating temporary packing list
===  Checking if devel/libtool13 already installed
*** Error code 1
Stop in /usr/ports/devel/libtool13

I tried to run make deinstall and received the following error:
===  Deinstalling for devel/libtool13
*** Error code 1
Stop in /usr/ports/devel/libtool13.
what happens if you run make -dl install ?

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
We are all in the gutter, but some of us are looking at the stars.
-- Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: orphaned port?

2003-08-24 Thread paul beard
Michelle wrote:
On Saturday, August 23, 2003, at 05:03 PM, paul beard wrote:

Michelle wrote:


That was clear and the start of the jurney. Please update libtool 
either
using portupgrade or do it by hand as you do before.

Jens


I still cannot upgrade libtool.  I can run make, but when I run make 
install I get the following error:
===  Installing for libtool-1.3.5_1
===   Generating temporary packing list
===  Checking if devel/libtool13 already installed
*** Error code 1
Stop in /usr/ports/devel/libtool13
I tried to run make deinstall and received the following error:
===  Deinstalling for devel/libtool13
*** Error code 1
Stop in /usr/ports/devel/libtool13.


what happens if you run make -dl install ?


I get this output:

echo ===  Checking if devel/libtool13 already installed
===  Checking if devel/libtool13 already installed
already_installed=`/usr/sbin/pkg_info -q -O devel/libtool13 2 
/dev/null`;  if [ -n ${already_installed} ]; then  for p in 
${already_installed}; do  prfx=`/usr/sbin/pkg_info -q -p ${p} 2 
/dev/null | /usr/bin/head -n 1 | /usr/bin/sed -ne '1s|[EMAIL PROTECTED] ||p'`;  if [ 
x/usr/local = x${prfx} ]; then  df=`/usr/sbin/pkg_info -q -f ${p} 2 
/dev/null | /usr/bin/grep -v ^@ | /usr/bin/comm -12 - 
/usr/ports/devel/libtool13/work/.PLIST.mktmp`;  if [ -n ${df} ]; then 
 found_package=${p};  break;  fi;  fi;  done;  fi;
*** Error code 1

Stop in /usr/ports/devel/libtool13.
Well, that's what I have been getting in my recent attempts to use 
portupgrade or make install. make works just fine in the port's 
directory, but make install kicks back the same error. The error 
seems to come from
/usr/sbin/pkg_info -q -O ${portcategorydir}/${portnamedir}

The man page for pkg_info doesn't show a -O argument.

Does anyone know what that -O flag is about?



--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Lizzie Borden took an axe,
And plunged it deep into the VAX;
Don't you envy people who
Do all the things ___YOU want to do?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: orphaned port?

2003-08-24 Thread paul beard
Joe Marcus Clarke wrote:
On Sat, 2003-08-23 at 20:56, paul beard wrote:

Michelle wrote:

On Saturday, August 23, 2003, at 05:03 PM, paul beard wrote:


Michelle wrote:


That was clear and the start of the jurney. Please update libtool 
either
using portupgrade or do it by hand as you do before.

Jens


I still cannot upgrade libtool.  I can run make, but when I run make 
install I get the following error:
===  Installing for libtool-1.3.5_1
===   Generating temporary packing list
===  Checking if devel/libtool13 already installed
*** Error code 1
Stop in /usr/ports/devel/libtool13
I tried to run make deinstall and received the following error:
===  Deinstalling for devel/libtool13
*** Error code 1
Stop in /usr/ports/devel/libtool13.


what happens if you run make -dl install ?


I get this output:

echo ===  Checking if devel/libtool13 already installed
===  Checking if devel/libtool13 already installed
already_installed=`/usr/sbin/pkg_info -q -O devel/libtool13 2 
/dev/null`;  if [ -n ${already_installed} ]; then  for p in 
${already_installed}; do  prfx=`/usr/sbin/pkg_info -q -p ${p} 2 
/dev/null | /usr/bin/head -n 1 | /usr/bin/sed -ne '1s|[EMAIL PROTECTED] ||p'`;  if [ 
x/usr/local = x${prfx} ]; then  df=`/usr/sbin/pkg_info -q -f ${p} 2 
/dev/null | /usr/bin/grep -v ^@ | /usr/bin/comm -12 - 
/usr/ports/devel/libtool13/work/.PLIST.mktmp`;  if [ -n ${df} ]; then 
found_package=${p};  break;  fi;  fi;  done;  fi;
*** Error code 1

Stop in /usr/ports/devel/libtool13.
Well, that's what I have been getting in my recent attempts to use 
portupgrade or make install. make works just fine in the port's 
directory, but make install kicks back the same error. The error 
seems to come from
/usr/sbin/pkg_info -q -O ${portcategorydir}/${portnamedir}

The man page for pkg_info doesn't show a -O argument.

Does anyone know what that -O flag is about?


Yes, it's a new option in FreeBSD 4.7's pkg_info.  Install the
sysutils/pkg_install port, and you should be good to go.  If you're
already running FreeBSD 4.7 or higher, you shouldn't be seeing this
problem if your world is in sync with your kernel.
The pkg_install port should be installed automatically if you're running
an affected version of FreeBSD, but due to a bug, it was not.  This bug
is going to be fixed on the next commit to bsd.port.mk.  Until then,
installing pkg_install manually is the thing to do.
Excellent. So I'm not crazy (at least no more than usual).

Thanks.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Oh, I am a C programmer and I'm okay
I muck with indices and structs all day
And when it works, I shout hoo-ray
Oh, I am a C programmer and I'm okay
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: orphaned port?

2003-08-24 Thread paul beard
Joe Marcus Clarke wrote:
On Sat, 2003-08-23 at 20:56, paul beard wrote:

Michelle wrote:

On Saturday, August 23, 2003, at 05:03 PM, paul beard wrote:


Michelle wrote:


That was clear and the start of the jurney. Please update libtool 
either
using portupgrade or do it by hand as you do before.

Jens


I still cannot upgrade libtool.  I can run make, but when I run make 
install I get the following error:
===  Installing for libtool-1.3.5_1
===   Generating temporary packing list
===  Checking if devel/libtool13 already installed
*** Error code 1
Stop in /usr/ports/devel/libtool13
I tried to run make deinstall and received the following error:
===  Deinstalling for devel/libtool13
*** Error code 1
Stop in /usr/ports/devel/libtool13.


what happens if you run make -dl install ?


I get this output:

echo ===  Checking if devel/libtool13 already installed
===  Checking if devel/libtool13 already installed
already_installed=`/usr/sbin/pkg_info -q -O devel/libtool13 2 
/dev/null`;  if [ -n ${already_installed} ]; then  for p in 
${already_installed}; do  prfx=`/usr/sbin/pkg_info -q -p ${p} 2 
/dev/null | /usr/bin/head -n 1 | /usr/bin/sed -ne '1s|[EMAIL PROTECTED] ||p'`;  if [ 
x/usr/local = x${prfx} ]; then  df=`/usr/sbin/pkg_info -q -f ${p} 2 
/dev/null | /usr/bin/grep -v ^@ | /usr/bin/comm -12 - 
/usr/ports/devel/libtool13/work/.PLIST.mktmp`;  if [ -n ${df} ]; then 
found_package=${p};  break;  fi;  fi;  done;  fi;
*** Error code 1

Stop in /usr/ports/devel/libtool13.
Well, that's what I have been getting in my recent attempts to use 
portupgrade or make install. make works just fine in the port's 
directory, but make install kicks back the same error. The error 
seems to come from
/usr/sbin/pkg_info -q -O ${portcategorydir}/${portnamedir}

The man page for pkg_info doesn't show a -O argument.

Does anyone know what that -O flag is about?


Yes, it's a new option in FreeBSD 4.7's pkg_info.  Install the
sysutils/pkg_install port, and you should be good to go.  If you're
already running FreeBSD 4.7 or higher, you shouldn't be seeing this
problem if your world is in sync with your kernel.
The pkg_install port should be installed automatically if you're running
an affected version of FreeBSD, but due to a bug, it was not.  This bug
is going to be fixed on the next commit to bsd.port.mk.  Until then,
installing pkg_install manually is the thing to do.
One of the problems I had figuring this out for myself was that 
nothing claimed pkg_info: this command used to return nothing. My 
first instinct was to reinstall it but I had no idea how to.

[/usr/ports/www/p5-libapreq]# pkg_info -W /usr/local/sbin/pkg_info
/usr/local/sbin/pkg_info was installed by package pkg_install-20030714
--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Economics, n.:
Economics is the study of the value and meaning of J. K.
Galbraith ...
-- Mike Harding, The Armchair Anarchist's Almanac
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mod_perl configuration questions

2003-08-24 Thread paul beard
I finally got mod_perl to work properly after a few too many days: 
I was suffering from versionitis when my out-of-date pkg_info was 
getting in the way of clean installs.

What I am trying to do is install mod_perl into an existing 
CGI-enabled environment with the MovableType weblog software. The 
super-simple, hey presto instruction I have found so far don't 
help at all: I can only get faster perl code and no access to any 
static html.

Does anyone have any experience with mod_perl and plain old CGI 
they can share?

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
To generalize is to be an idiot.
-- William Blake
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mod_perl configuration questions

2003-08-24 Thread paul beard
Chuck Swiger wrote:
paul beard wrote:
[ ... ]
What I am trying to do is install mod_perl into an existing 
CGI-enabled environment with the MovableType weblog software.


By existing you mean, some vendor (MovableType?) has provided you with 
a precompiled version of Apache and you want to add mod_perl to the mix?
No, it's all compiled from source.

If so, you should look into compiling and adding the perl module via apxs.

  The super-simple, hey

presto instruction I have found so far don't help at all: I can only 
get faster perl code and no access to any static html.


When you try to add mod_perl, the result is your perl code runs faster, 
but apache no longer serves static HTML...?  If so, that is remarkably 
odd.  What does the Apache access and error log look like when you try 
to access a .gif or some such that worked before you added mod_perl?
Well, I'm glad to know my situation isn't the expected result.

I get 403 errors, which suggests I've munged my httpd.conf file 
somehow.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Universe, n.:
The problem.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mod_perl configuration questions

2003-08-24 Thread paul beard
Chuck Swiger wrote:

When you try to add mod_perl, the result is your perl code runs faster, 
but apache no longer serves static HTML...?  If so, that is remarkably 
odd.  What does the Apache access and error log look like when you try 
to access a .gif or some such that worked before you added mod_perl?

This is what I get when I uncomment the following lines:

[Sun Aug 24 09:44:13 2003] [error] access to 
/usr/www/movabletype/index.html failed for 192.168.2.10, reason: 
file permissions deny server execution

#PerlModule Apache::Registry
#Location /movabletype/
#SetHandler perl-script
#PerlHandler Apache::Registry
#Options +ExecCGI
#PerlSendHeader On
#allow from all
#/Location
--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Q:  How many heterosexual males does it take to screw in a light bulb
in San Francisco?
A:  Both of them.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mod_perl configuration questions

2003-08-24 Thread paul beard
Joey Teel wrote:

Move all the static content (html, css, images, etc.) to a different
directory (to use the example from the MT manual, use mt-static) and
modify your mt.cfg file to add/change the StaticWebPath option to point
to the location of the static files.
OK, that's sensible. But then requesting /movabletype still gives 
the error and /mt-static yields content without any css or images, 
even though all the stuff is in there.

Do i need to alias /movabletype as something else? It feels like 
there's missing step that any reasonably clever person would do 
automatically, but by definition, I'm missing.



--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
The primary requisite for any new tax law is for it to exempt enough
voters to win the next election.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mod_perl configuration questions

2003-08-24 Thread paul beard
Joey Teel wrote:

Weird, that's all I had to mine to get it working, though I probably
have a rather oddball 
setup anyway since I have mine set to call the mt.cgi file directly as
the directory index file too.

Try calling the mt.cgi file directly, and see what happens since it
looks like yours is setup to use
an index.html file instead of calling the script directly.
If i call mt.cgi, I get the admin screen.

I think it might be best to rip the whole damn thing out and start 
over.
--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202

Commitment, n.:
Commitment can be illustrated by a breakfast of ham and eggs.
The chicken was involved, the pig was committed.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mod_perl configuration questions

2003-08-25 Thread paul beard
Joey Teel wrote:

By admin screen, you mean the screen where you access the blogs and
modify them right?
That's what you're wanting it to do as long as everything else is
working correctly.  All you need to do is modify your httpd.conf file to
change the DirectoryIndex of movabletype to mt.cgi.
Change your config to the one below and it should work (it's the same
one you have already, just with the DirectoryIndex directive added):
Location /movabletype/
DirectoryIndex mt.cgi
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
allow from all
/Location
So J Random Websurfer hits the static path I have aliased, and I 
go to the admin interface. I'll try that.

Thanks.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
In West Union, Ohio, No married man can go flying without his spouse
along at any time, unless he has been married for more than 12 months.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help Required

2003-08-29 Thread paul beard
Ahmad Memon wrote:
   Hello..

   We are having presentations on different OS in our class.. and i chose
   the Unix freeBSD for my group to do a presentation on.. i would like
   some info - if possible - on this system, or anything that could help
   me with that presentation. So i thought maybe u could give me some
   tips or some websites where i could find some info that could give me
   an edge over the other students of my class.
Well, as other posters have suggested, install it and live with 
it: there's no better way.

It's a bit much to expect anyone on this mailing list to help you 
get an edge over your classmates. But doing an installation and 
learning how it really works will certainly teach you a lot.

When you have specific questions, come back and you'll get all the 
help you need (hint: this is one of the advantages of FreeBSD over 
the Leading Brand).



--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
It may be that your whole purpose in life is simply to serve as a
warning to others.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nachi Worm apparently causes Live Lock on 4.7 server

2003-08-29 Thread paul beard
James C. Durham wrote:
On Friday 29 August 2003 04:23 am, paul wrote:

James C. Durham wrote:

It turned out that we had several Windows boxes in the building that had
been infected with the Nachi worm. This causes some kind of DOS or ping
probe out onto the internet and the local LAN.
Removing the inside interface's ethernet cable caused the ping times on
the outside interface to go back to the normal .4 milliseconds to the
router.
Apparently, the blast of packets coming from the infected boxes managed
to cause a live lock condition in the server. I assume it was interrupt
bound servicing the inside interface. The packets were ICMP requests to
various addresses.
I could be way off here, but is there any way to isolate machines
that send a sudden blast of packets, either by destination address
(make a firewall rule that drops those packets) or working out
their MAC addresses and dropping their connectivity? Or scan for
open ports and block unsecured systems from connecting?


What I did was go in the switch room and look for pulsing lights on the switch 
ports and pull the cables. That fixed it, but after much agony.
well, that's a bit draconian, but effective ;-)

My questions is.. what, if any, is a technique for preventing this
condition? I know, fix the windows boxes, but  I can't continually check
the status of the virus software and patch level of the Windows boxes.
There are 250 plus of them and one of me. Users won't install upgrades
even when warned this worm thing was coming. But, i'd like to prevent
loss of service when one of Bill's boxes goes nuts!
Where I work, at the University of Washington, the network staff
were dropping as many as 200 machines *per day* off the network.
If a machine was found to have an open RPC port (we run an open
network), that was enough to get your network access cut off.
I realize these are political solutions more than technical ones,
but they may be of some use.


The trouble with that is that my users are largely untechnical and wouldn't 
have a clue what RPC is and cutting them off is not an option. Welcome to the 
world of corporate IT! It ain't a pretty job, but it pays the bills...
been there, done that, the bruises have gone down now . . .

One guy to 250 users is a bad ratio.

It seems like there should be some centralized, ie, rule-based 
controls you can put in place. And you should have some leverage 
to force autoupdates on those client machines.

I got the impression from some reading on Google Groups that there may be a 
way to tell the xl driver to use polling. I just don't know how.
Well, this is the right place to ask.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Receiving a million dollars tax free will make you feel better than
being flat broke and having a stomach ache.
-- Dolph Sharp, I'm O.K., You're Not So Hot
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


anyone have any experience with SWIG?

2003-09-05 Thread Paul Beard
I am trying to work with an extension to the gramofile analog - digital recording 
app, The stock version is in ports and works fine, but someone has written a clever 
extension to it that takes the track information for a recording (from freedb) and 
does all the track splitting, signal processing and encoding -- automagically. 

My problem is that the swig stuff doesn't build -- perhaps its for an older version -- 
and that's the key ingredient to making this work.  

With a little chainsaw modification, I have gotten a little further than the initial 
error diagnostics, but it's messy. 

The stuff I hope to use if this can be made to work can be found here:  
http://freeengineer.org/xmcd2make.html



--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD install corrupts neighboring partitions

2003-09-06 Thread paul beard
Brett Glass wrote:
I'm attempting to install FreeBSD 4.8 on a system which will boot it and 
also Windows 2000 Server. I've done this with two multiboot utilities: 
the simple boot manager that comes with FreeBSD and V Communications' 
System Commander.

In both cases, I have found that when I install FreeBSD it corrupts 
neighboring NTFS and FAT partitions. After the install, the OSes in 
these partitions fail to boot or the partitions become entirely 
unreadable. Whether I tell FreeBSD not to install an MBR or whether I 
tell it to install its boot manager, the result is the same: Neighboring 
partitions are being corrupted to the point where one can not get to 
data on them.

I realize that dual booting is not common, but I need to do it on this 
laptop. Has anyone else on the lists encountered this problem?
I have dual-booted this laptop (an IBM A20p) with Win2K and a 
succession of Linux, NetBSD, and FreeBSD. Other than the annoying 
problem of a couple years back when IBM chose to label its 
hibernation slice with the same ID as FreeBSD uses, thereby 
rendering FreeBSD unusable, it's worked just fine.

Sounds to me like the partitions are overlapping or otherwise not 
being kept away from each other, but its hard to know for sure 
without any information off the system.
--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202

A man said to the Universe: Sir, I exist!

However, replied the Universe, the fact has not created in me a
sense of obligation.
-- Stephen Crane
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Soundblaster Live! on FreeBSD 4.8?

2003-09-07 Thread paul beard
Adam McLaurin wrote:
On Sun, 2003-09-07 at 19:20, [EMAIL PROTECTED] wrote:

My understanding is that SBLive cards are not supported, and
if you get one to work you're lucky.  Is this correct, or
should they work with no problem?  Is there anything I can
try, or are there any resources to check?


This is incorrect. My SB Live has worked just fine on 4.6.2,
4.7, 4.8, and 5.1. I didn't do anything outside of what the
handbook instructed me to do.
I'd be suspicious of artsd causing you problems. I've heard of
this before, but I don't know the solution. Check the mailing
list archives.
The SBlive is fine with FreeBSD: I also had troubles when I was 
running KDE (unloading/reloading the pcm driver would lock up and 
reboot my system).

Try a different window manager or just try running a command line 
audio program before loading KDE/Xwindows and see how you get on. 
I found that artsd didn't always play well with others . . . .

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
He was so narrow minded he could see through a keyhole with both
eyes ...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Post about BSD's alleged demise on /.

2003-07-10 Thread Paul Beard
 
On Thursday, July 10, 2003, at 04:06PM, John Mills [EMAIL PROTECTED] wrote:

Freebies -

In fact there was an editorial suggestion in a recent _eWeek_ 
(should be [http://www.eweek.com], but I can't confirm that just now.)
to the point that managers concerned about SCO's litigation should 
actively test and evaluate the *BSD family, specifically mentioning 
FreeBSD's excellent reputation for server quality.

Chad Dickerson, the CTO of InfoWorld, made that suggestion in his weblog a couple of 
weeks back (possibly that's where you saw it?): I've been at him for awhile to upgrade 
to FreeBSD. 

--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: restoring disklabel from an active disk?

2002-07-25 Thread paul beard

Assuming I work out the partition sizes with the output of df -k,
is there a way to determine the starting point for the slice that
contains all my BSD partitions?

As long as I don't reboot, things seem to be hunky-dory, but
that's not the most practical way to continue.


-- 
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

http://paulbeard.no-ip.org/movabletype

Satellite Safety Tip #14:
If you see a bright streak in the sky coming at you, duck.


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



RE NEdit dead outta nowhere

2002-10-01 Thread paul beard

I have been wrestling with this OpenMotif bug disabling NEdit. I 
tried to use the information in this link, but I couldn't get 
XFree86-4-libraries to build because of some dependency on LessTif.

http://www.freebsd.org/cgi/getmsg.cgi?fetch=542242+545230+/usr/local/www/db/text/2002/freebsd-ports/20020929.freebsd-ports

It wouldn't build either. Lesstif wouldn't reinstall nor could I 
pkg_add it over the existing (damaged) version.

Fortunately, I was able to pkg_delete lesstif then pkg_add it: it 
then installed XFree96-4-libraries for me and NEdit works again.

Is this the best list to find out about pitfalls like this?

-- 
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

Don't go around saying the world owes you a living.  The world owes
you nothing.  It was here first.
-- Mark Twain


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



Re: /etc/malloc.conf? java FreeBSD expertise?

2002-10-09 Thread paul beard

paul beard wrote:
 Two questions, perhaps I should break them out.
 
 First off, why, when I use truss(1) to look at what a program is doing, 
 does it look for /etc/malloc.conf? Never finds it, carries on anyway.

I mean to say, the program being examined looks to 
/etc/malloc.conf and carries on, not truss(1).





-- 
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

The opossum is a very sophisticated animal.  It doesn't even get up
until 5 or 6 p.m.


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



Re: /etc/malloc.conf? java FreeBSD expertise?

2002-10-09 Thread paul beard

Weston M. Price wrote:
 Could you be more specific regarding the Java application. First off, what 
 version of the JDK(s) are you using? What type of application is it? Please 
 provide a few more details. 
 

Yes, of course.

java version 1.4.1
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)

The application consists of a webcrawler, a parsing engine and a 
database, similar to a search engine. In earlier versions of the 
JDK and the application, it ran well enough to display an admin 
UI: this version fails to get that far.
-- 
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ http://paulbeard.no-ip.org/movabletype/

No, `Eureka' is Greek for `This bath is too hot.'
-- Dr. Who


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



  1   2   3   >