cairo-xlib.h error when installing gtk

2006-08-08 Thread Alan Curtis

When doing a portupgrade, I ran into this error. Any ideas?

gdkdrawable-x11.c:32:24: cairo-xlib.h: No such file or directory
gdkdrawable-x11.c: In function `_gdk_x11_drawable_update_size':
gdkdrawable-x11.c:264: warning: implicit declaration of function
`cairo_xlib_surface_set_size'
gdkdrawable-x11.c: In function `gdk_x11_ref_cairo_surface':
gdkdrawable-x11.c:1479: warning: implicit declaration of function
`cairo_xlib_surface_create'
gdkdrawable-x11.c:1482: warning: assignment makes pointer from integer
without a cast
gdkdrawable-x11.c:1484: warning: implicit declaration of function
`cairo_xlib_surface_create_for_bitmap'
gdkdrawable-x11.c:1487: warning: assignment makes pointer from integer
without a cast
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20/gdk/x11.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20/gdk.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20/gdk.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20.
*** Error code 1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error when installing /usr/ports/x11-toolkits/gtk20

2006-08-07 Thread Alan Curtis

When doing a portupgrade, I ran into this error. Any ideas?

gdkdrawable-x11.c:32:24: cairo-xlib.h: No such file or directory
gdkdrawable-x11.c: In function `_gdk_x11_drawable_update_size':
gdkdrawable-x11.c:264: warning: implicit declaration of function
`cairo_xlib_surface_set_size'
gdkdrawable-x11.c: In function `gdk_x11_ref_cairo_surface':
gdkdrawable-x11.c:1479: warning: implicit declaration of function
`cairo_xlib_surface_create'
gdkdrawable-x11.c:1482: warning: assignment makes pointer from integer
without a cast
gdkdrawable-x11.c:1484: warning: implicit declaration of function
`cairo_xlib_surface_create_for_bitmap'
gdkdrawable-x11.c:1487: warning: assignment makes pointer from integer
without a cast
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20/gdk/x11.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20/gdk.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20/gdk.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20.
*** Error code 1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


postfix fatal: open database sasl_passwd.db: No such file or directory

2006-04-22 Thread Alan Curtis
Postfix is broken and I have tried various things to get it running  
again.


I did

make deinstall clean
make install clean

But that failed because I had the wrong mysql version which was
required by dovecote.
I deinstalled and installed both dovecote and mysql and restored all
the config files I could think of and now I get the following message
in maillog

Apr 21 10:59:06 ** dovecot: imap-login: Login: user=acurtis,
method=PLAIN, rip=**, lip=**, TLS
Apr 21 10:59:58 ** postfix/smtp[957]: fatal: open database
sasl_passwd.db: No such file or directory
Apr 21 10:59:59 ** postfix/master[650]: warning: process
/usr/local/libexec/postfix/smtp pid 957 exit status 1
Apr 21 10:59:59 ** postfix/master[650]: warning:
/usr/local/libexec/postfix/smtp: bad command startup -- throttling

I tried
postmap hash:sasl_passwd
and reloading postfix, but get the same messages.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: postfix smtp_sasl_auth

2006-04-21 Thread Alan Curtis
Thanks for everyone's help. I have tried various things to get postfix
running again.

I was confused by 'make config' not working, but Paul explained that so I did

make deinstall clean
make install clean

But that failed because I had the wrong mysql version which was
required by dovecote.
I deinstalled and installed both dovecote and mysql and restored all
the config files I could think of and now I get the following message
in maillog

Apr 21 10:59:06 ** dovecot: imap-login: Login: user=acurtis,
method=PLAIN, rip=128.33.80.129, lip=192.168.1.100, TLS
Apr 21 10:59:58 ** postfix/smtp[957]: fatal: open database
sasl_passwd.db: No such file or directory
Apr 21 10:59:59 ** postfix/master[650]: warning: process
/usr/local/libexec/postfix/smtp pid 957 exit status 1
Apr 21 10:59:59 ** postfix/master[650]: warning:
/usr/local/libexec/postfix/smtp: bad command startup -- throttling

I tried
postmap hash:sasl_passwd
and reloading postfix, but get the same messages.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


postfix smtp_sasl_auth

2006-04-19 Thread Alan Curtis
I had postfix set up to use  smtp_sasl_auth for outgoing mail. But now
it's broken and I get this message in maillog.

Apr 19 15:11:23  postfix/smtp[17464]: warning:
smtp_sasl_auth_enable is true, but SASL support is not compiled in
Apr 19 15:11:23  postfix/smtp[17464]: warning: TLS has been
selected, but TLS support is not compiled in

I think I must have broken something during a port upgrade. How do I fix this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


installing dovecot: no dovecot-openssl.conf

2006-01-10 Thread Alan Curtis
I have installed /usr/ports/dovecot.

When I try to start it, using '/usr/local/etc/rc.d dovecot start' it complains
Error: Can't use SSL certificate /etc/ssl/certs/dovecot.pem: No such
file or directory
Reading '/usr/local/share/doc/dovecot/configuration.txt' says
If you need to create new SSL certificate, edit dovecot-openssl.cnf and
run mkcert.sh.
but I cannot find a file 'dovecot-openssl.cnf' or 'mkcert.sh' and have
no 'etc/ssl/certs/' (or /usr/share/ssl or /usr/local/share/ssl)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


DNS setup

2005-07-03 Thread Alan Curtis
I am running FreeBSD 5.3-STABLE behind a Linksys Wireless Access  
Point and Firewall and a DSL modem. My ISP assigns me a dynamic IP  
address which changes on a regular basis and the root domain and  
Domain Name Servers associated with that domain also change. I have  
seen at least 3 different root domains.


I have a number of machines on my wireless network and I would like  
them to be able to find one another. To do this I have assigned them  
fixed IP addresses.


My problem how to assign the Domain Name Servers for all the  
machines. I point them all at the Linksys, which seems to work most  
of the time, but occasionally network traffic gets really slow and I  
suspect that its a DNS problem.


Can I set up something on my FreeBSD server to help solve this problem?

Alan










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


Re: DNS setup

2005-07-03 Thread Alan Curtis


On Jul 3, 2005, at 4:17 PM, Leon Messner wrote:


On Sun, Jul 03, 2005 at 11:07:41AM -0400, Alan Curtis wrote:


I am running FreeBSD 5.3-STABLE behind a Linksys Wireless Access
Point and Firewall and a DSL modem. My ISP assigns me a dynamic IP
address which changes on a regular basis and the root domain and
Domain Name Servers associated with that domain also change. I have
seen at least 3 different root domains.

I have a number of machines on my wireless network and I would like
them to be able to find one another. To do this I have assigned them
fixed IP addresses.

My problem how to assign the Domain Name Servers for all the
machines. I point them all at the Linksys, which seems to work most
of the time, but occasionally network traffic gets really slow and I
suspect that its a DNS problem.

Can I set up something on my FreeBSD server to help solve this  
problem?


Alan



Hi,
if you're looking for a application serving you DNS look at
http://cr.yp.to/djbdns.html for HowTo's and software. I use it for a
similar setup as you have and also you can win $500 if you find the
first security hole in the latest releases.



I tried following the instructions at http://cr.yp.to/djbdns/run- 
cache-x.html. Got as far as


5. As root, tell svscan about the new service, and use svstat to  
check that the service is up:


 ln -s /etc/dnscache /service
 sleep 5
 svstat /service/dnscache


and was told ...

/service/dnscache: unable to chdir: file does not exist

Alan








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


Re: DNS setup

2005-07-03 Thread Alan Curtis


On Jul 3, 2005, at 11:57 AM, Alejandro Pulver wrote:


On Sun, 3 Jul 2005 11:07:41 -0400
Alan Curtis [EMAIL PROTECTED] wrote:



I am running FreeBSD 5.3-STABLE behind a Linksys Wireless Access
Point and Firewall and a DSL modem. My ISP assigns me a dynamic IP
address which changes on a regular basis and the root domain and
Domain Name Servers associated with that domain also change. I have
seen at least 3 different root domains.

I have a number of machines on my wireless network and I would like
them to be able to find one another. To do this I have assigned them
fixed IP addresses.

My problem how to assign the Domain Name Servers for all the
machines. I point them all at the Linksys, which seems to work most
of the time, but occasionally network traffic gets really slow and I
suspect that its a DNS problem.

Can I set up something on my FreeBSD server to help solve this
problem?

Alan




Hello,

If you think the problem is on your ISP DNS servers, you have two
alternatives:

1) Set up a local DNS server on all the machines of the network.

2) Set up a DNS server on one machine, that answers queries to all the
   machines of the network.

If you want more detailed information about them (like how to set them
up), ask me.



I do need some clear instructions. I tried djbdns without success  
(see another post) and also the instructions under 'Domain Name  
System (DNS)' in the FreeBSD Handbook.


I added named_enable=YES to /etc/rc.conf. Used the default  
configuration file without any zone (as suggested in the Handbook).  
There is no 'ndc' on my machine. I assume I must use 'rndc' instead.  
Ran 'rndc start' and was told


rndc: connect failed: connection refused

Saw nothing in /var/log/messages or /var/log/console.log

Alan


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


Re: DNS setup

2005-07-03 Thread Alan Curtis


On Jul 3, 2005, at 7:01 PM, Alejandro Pulver wrote:


If you want examples I can provide you some.

Then let me know if you want option 1) or 2) so I can help you with  
the

next step.

1) Have an independent DNS server on each machine (there is one for
   Windows called TreeWalk - free -, that is the same as named).

2) Put a DNS server on *one* machine, and that DNS server is used  
by all

   the machines on the network.



I would like to implement 2.

Thanks for your help.

Alan


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


Re: DNS problem?

2005-06-09 Thread Alan Curtis
On 6/8/05, John Brooks [EMAIL PROTECTED] wrote:
  I am running a FreeBSD server behind a Linksys Wireless Access
  Point / Router (BEFW11S4). Its local address is 192.168.1.1. The
  Linksys is attached to a DSL modem.  In my /etc/rc.conf file I have
  defaultrouter=192.168.1.1
  which works most of the time. However occasionally, all network
  traffic freezes, I cannot login to the server using ssh and my
  mailing lists and websites do not function. If, at my server, I type
  host someip.com it reports 'no server can be found' or some similar
  message (I sorry, I didn't note down the exact message) - a reboot
  has fixed the problem.
 
  I assume that the problem is that the server is unable to find a DNS
  server. Is that right?
 
 Probably...
 
  Do I have it right that I should point defaultrouter at the firewall?
 
 Assuming that the firewall is your gateway to the outside world, then
 yes.
 
  How do I tell FreeBSD about other DNS servers to use if the firewall
  route fails?
 
 If your resolving dns servers as listed in /etc/resolv.conf are outside
 the firewall, then they cannot be reached if the default route is down.
 Likewise if your resolving dns servers are inside or on the firewall, then
 their queries will never be answered. The effect is the same, you don't get
 an answer. Unless they have some cached results that have not yet timed out,
 but even with the cached answer you still cannot reach the destination,
 so the end effect is the same - you know where to go but cannot get there.
 
  Why does pointing defaultrouter at the filewall fail?
 
 Cable unplugged, switch down, nic dead, firewall down, upstream isp out,
 isp router down, electricity out, hard drive on firewall crashed, dsl/cable
 modem out, telco burped, and so forth for another hundred possible
 reasons...
 
 You could start troubleshooting by these steps:
 
 1) ping 127.0.0.1
 2) ping ip of local machine
 3) ping localhost
 4) ping hostname of local machine
 5) ping another host on same lan by ip address
 6) ping another host on same lan by hostname (if any exist in /etc/hosts)
 7) ping interior ip of firewall (192.168.1.1)
 8) ping exterior ip of firewall
 9) ping default gateway of firewall
 10) ping ip address of some internet host (yahoo.com = 66.94.234.13)
 
 As you proceed down this list it will give you clues as to what is wrong,
 and tell you where to look. Good luck...
 
 


Thank you John.

I will try this series of pings the next time my server freezes. I did
try something similiar, if not so methodical last time it froze and
could ping most things on the interior. The firewall was still working
as I could still access the outside using other computers on the
network, so I think the problem was with the server somehow.

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


DNS problem?

2005-06-08 Thread Alan Curtis
I am running a FreeBSD server behind a Linksys Wireless Access  
Point / Router (BEFW11S4). Its local address is 192.168.1.1. The  
Linksys is attached to a DSL modem.  In my /etc/rc.conf file I have

defaultrouter=192.168.1.1
which works most of the time. However occasionally, all network  
traffic freezes, I cannot login to the server using ssh and my  
mailing lists and websites do not function. If, at my server, I type  
host someip.com it reports 'no server can be found' or some similar  
message (I sorry, I didn't note down the exact message) - a reboot  
has fixed the problem.


I assume that the problem is that the server is unable to find a DNS  
server. Is that right?

 Do I have it right that I should point defaultrouter at the firewall?
How do I tell FreeBSD about other DNS servers to use if the firewall  
route fails?

Why does pointing defaultrouter at the filewall  fail?

Thanks

Alan



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


Re: RPC: Timed out

2005-03-29 Thread Alan Curtis
On Mar 29, 2005, at 9:20 AM, Lowell Gilbert wrote:
Alan Curtis [EMAIL PROTECTED] writes:
I am trying to find out why I can mount my FreeBSD disk as an NFS
share on one of my Macs but not the other.
When I ran
$ showmount -e
on my FreeBSD machine, I got the expected response
Exports list on localhost:
/usr   192.168.1.101 192.168.1.102
which includes both the Macs. But when I ran it on my Mac
$ showmount -e 192.168.1.100
I got this error
RPC: Timed out: Can't do Exports rpc
so I went back to the FreeBSD machine and tried again
$ showmount -e localhost
and now get the same error (almost)
RPC: Timed out
showmount: can't do exports rpc
Any ideas what is wrong?
Which machine works, which doesn't, and are you sure there are no
firewalls involved?

192.168.1.101 works, 192.168.1.102 does not.
Both firewalls are off (for now for purposes of diagnosis).
I think the key is something to do with why
$ showmount -e localhost
on the FreeBSD box sometimes works and sometimes does not.
Alan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RPC: Timed out

2005-03-28 Thread Alan Curtis
I am trying to find out why I can mount my FreeBSD disk as an NFS share 
on one of my Macs but not the other.

When I ran
$ showmount -e
on my FreeBSD machine, I got the expected response
Exports list on localhost:
/usr   192.168.1.101 192.168.1.102
which includes both the Macs. But when I ran it on my Mac
$ showmount -e 192.168.1.100
I got this error
RPC: Timed out: Can't do Exports rpc
so I went back to the FreeBSD machine and tried again
$ showmount -e localhost
and now get the same error (almost)
RPC: Timed out
showmount: can't do exports rpc
Any ideas what is wrong?
Alan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


starting mt-daapd

2005-01-28 Thread Alan Curtis
I installed mt-daapd and used the default config file in
but when I try to start it using
/usr/local/etc/rc.d/mt-daapd.sh start
I get the following message
Invalid config directive:
Error reading config file (/usr/local/etc/mt-daapd.conf)
I deleted all the empty lines and now get the message
2005-01-29 02:53:24: Starting rendezvous daemon
2005-01-29 02:53:24: Starting signal handler
2005-01-29 02:53:24: Loading playlists
2005-01-29 02:53:24: Initializing database
2005-01-29 02:53:24: Starting mp3 scan
2005-01-29 02:53:24: Starting web server from 
/usr/local/share/mt-daapd/admin-root on port 3689
2005-01-29 02:53:24: Rendezvous pipe closed... Exiting
2005-01-29 02:53:24: Aborting

in the log file.
How do I get this thing running?
Alan

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


mDNS, daapd iTunes etc

2005-01-26 Thread Alan Curtis
I am trying to get mDNSResponder and daapd running on my FreeBSD 5.3  
server.

I tried the instructions in this previous post.
http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/ 
070463.html

There seem to be three (or four or five?) ports that refer to mDNS.
1. mdnsd
2. mDNSResponder
3. p5-Net-Rendezvous
there are also
4. Howl
5. gmdns
On the advice of the post mentioned above, I installed  
p5-Net-Rendezvous but then looked in vain for
/usr/local/bin/mDNSResponder

So which should I use and how do I configure it?
Alan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mDNS, daapd iTunes etc

2005-01-26 Thread Alan Curtis
I am trying to get mDNSResponder and daapd running on my FreeBSD 5.3  
server.

I tried the instructions in this previous post.
http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/ 
070463.html

There seem to be three (or four or five?) ports that refer to mDNS.
1. mdnsd
2. mDNSResponder
3. p5-Net-Rendezvous
there are also
4. Howl
5. gmdns
On the advice of the post mentioned above, I installed  
p5-Net-Rendezvous but then looked in vain for
/usr/local/bin/mDNSResponder

So which should I use and how do I configure it?
Alan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mDNS, daapd iTunes etc

2005-01-26 Thread Alan Curtis

- Original Message - From: Alan Curtis [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Wednesday, January 26, 2005 12:38 PM
Subject: mDNS, daapd iTunes etc

I am trying to get mDNSResponder and daapd running on my FreeBSD 5.3 
server.

I tried the instructions in this previous post.
http://lists.freebsd.org/pipermail/freebsd-questions/2005-January/ 
070463.html

There seem to be three (or four or five?) ports that refer to mDNS.
1. mdnsd
2. mDNSResponder
3. p5-Net-Rendezvous
there are also
4. Howl
5. gmdns
On the advice of the post mentioned above, I installed  
p5-Net-Rendezvous but then looked in vain for
/usr/local/bin/mDNSResponder

So which should I use and how do I configure it?
Alan


On Jan 26, 2005, at 6:25 PM, Thomas Foster wrote:
Hi Alan,
Check out the following article:
http://www.section6.net/help/daapd.php
This works great for me, let me know if you have any additional 
problems or questions

T
I followed exactly the proceedure described in 
http://www.section6.net/help/daapd.php and got this error when I 
started mdns.sh.

cannot create /var/log/mdns.log: Permission denied
I also should note that the port /usr/port/net/mDNSResponder now puts a 
file mdns.sh in /usr/local/etc/rc.d which starts

/usr/local/sbin/mdnsd
so I am more confused.
Alan

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


Re: mDNS, daapd iTunes etc

2005-01-26 Thread Alan Curtis
OK, I got it working. Sort of. With some offline help from Thomas 
Foster (with Thanks).

I deinstalled and reinstalled mDNSResponder.
That port now puts a file  mdns.sh in /usr/local/etc/rc.d which starts 
mdnsd -- whatever that is.

I created a new file mDNSResponder.sh which contains the mdns.sh script 
from http://www.section6.net/help/daapd.php. I set up everything else 
as detailed there.

I rebooted.
And I am able to see the server from iTunes on my mac.
However, most of the songs have neither artist or any other tag and the 
time field says Continuous.

How do I fix that?
And does anyone know what all these versions of mdns are?
Alan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


netatalk, NFS, OS X and backup

2005-01-07 Thread Alan Curtis
I need some advice about integrating my FreeBSD server with some Macs 
running OS X.

I have a server running FreeBSD 5.3 with NFS and netatalk enabled, a 
Powerbook G4 running OS X 10.3.7 and they are connected through a 
wireless network. I used the Powerbook to administer the server using 
ssh, which works well. I would also like to use the server to backup 
files (for multiple users) from the Powerbook. I have played around 
with both NFS and netatalk (afpd) and both seem to be working, in that 
I can manually mount the shares on the Powerbook. I have got the NFS 
share to automount on the Powerbook but not the afp share. I can copy 
files to and from both the nfs and afp mounted shares, including 
resource forks. I have played with various backup utilities including 
rsync, psync and rdiff-backup with varying degrees of success.

Some observations/questions
1. netatalk afp seems consistently and significantly faster than nfs. 
Is this to be expected or might I have a problem with nfs? If so how do 
I diagnose and fix it?

2. I would prefer to use nfs, because I can automount it on the 
Powerbook and run a cron (actually anacron) script to backup the 
multiple users. I haven't yet worked out how (or if) I can do this with 
afp (this is really a Mac question I know).

3. I would like to use a backup scheme which is automatic, invisible to 
the user, yet configured in a way that the archive can be navigated, 
and files appear in folders on the Mac finder in a consistent way (with 
resource forks set up correctly).

All of this seems almost possible, yet I don't seem to have got it just 
right yet. Has anyone one any insight they can spread or experiences 
they can share of a similar set up?

Alan

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


[no subject]

2004-12-06 Thread Alan Curtis
While following the instructions in /usr/ports/UPDATING to upgrade 
mpeg4ip (dated 2004111), I got the following error.

Error: shared library avcodec.0 does not exist
*** Error code 1
Alan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error updating mpeg4ip

2004-12-06 Thread Alan Curtis
While following the instructions in /usr/ports/UPDATING to upgrade 
mpeg4ip (dated 2004111), I got the following error.

Error: shared library avcodec.0 does not exist
*** Error code 1
Alan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error updating mpeg4ip

2004-12-06 Thread Alan Curtis
On Dec 6, 2004, at 4:01 PM, Kris Kennaway wrote:
On Mon, Dec 06, 2004 at 10:24:28AM -0500, Alan Curtis wrote:
While following the instructions in /usr/ports/UPDATING to upgrade
mpeg4ip (dated 2004111), I got the following error.
Error: shared library avcodec.0 does not exist
*** Error code 1
That usually means you forgot to first update the ports upon which
mpeg4ip depends.  Use e.g. portupgrade to do this.

I first got error first using portupgrade -a. I think the process in 
/usr/ports/UPDATING handles the dependencies, does it not?

For reference, this is what I did.
  pkg_delete -f /var/db/pkg/mpeg4ip*
  pkg_delete -f /var/db/pkg/faad*
  cd /usr/ports/multimedia/mpeg4ip-libmp4v2  make install clean
  cd /usr/ports/audio/faad  make install clean
  cd /usr/ports/multimedia/mpeg4ip  make install clean
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error updating mpeg4ip

2004-12-06 Thread Alan Curtis
On Dec 6, 2004, at 4:57 PM, Kris Kennaway wrote:
On Mon, Dec 06, 2004 at 04:47:40PM -0500, Alan Curtis wrote:
On Dec 6, 2004, at 4:01 PM, Kris Kennaway wrote:
On Mon, Dec 06, 2004 at 10:24:28AM -0500, Alan Curtis wrote:
While following the instructions in /usr/ports/UPDATING to upgrade
mpeg4ip (dated 2004111), I got the following error.
Error: shared library avcodec.0 does not exist
*** Error code 1
That usually means you forgot to first update the ports upon which
mpeg4ip depends.  Use e.g. portupgrade to do this.

I first got error first using portupgrade -a. I think the process in
/usr/ports/UPDATING handles the dependencies, does it not?
For reference, this is what I did.
  pkg_delete -f /var/db/pkg/mpeg4ip*
  pkg_delete -f /var/db/pkg/faad*
  cd /usr/ports/multimedia/mpeg4ip-libmp4v2  make install clean
  cd /usr/ports/audio/faad  make install clean
  cd /usr/ports/multimedia/mpeg4ip  make install clean
No, that doesn't update all the dependencies.
I'm sorry. I had forgotten the other piece. avcodec.0 was reported to 
come from ffmpeg, which is also referred to in UPDATING. UPDATING says 
to

  1) Remove old ffmpeg
  pkg_delete -f /var/db/pkg/ffmpeg*
  2) Install updated ffmpeg
  3) Rebuild all ports that depend on ffmpeg due to the shared
  library version bump
  cd /var/db/pkg  portupgrade -rf ffmpeg* -x ffmpeg*
which I did first, but
cd /usr/ports/multimedia/mpeg4ip  make install clean
still gives the error,
===   mpeg4ip-1.1_1 depends on shared library: avcodec.0 - not found
===Verifying install for avcodec.0 in /usr/ports/multimedia/ffmpeg
===   Returning to build of mpeg4ip-1.1_1
Error: shared library avcodec.0 does not exist
*** Error code 1
Am I doing things in the wrong order? What order should I do what to 
install mpeg4ip?

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


starting netatalk

2004-12-03 Thread Alan Curtis
I am trying to use netatalk-2.0.1 on FreeBSD 4.10-RELEASE.
I can start afpd manually by
/usr/local/sbin/afpd -s /usr/local/etc/AppleVolumes.system -f 
/usr/local/etc/AppleVolumes.default

and can access the share from my Mac OS X machine.
There is a script /usr/local/etc/rc.d/netatalk.sh that is supposed to 
start afpd at startup. I cannot get that to work.

I tried adding a netatalk.conf file with afpd=yes. I tried editing 
the netatalk.sh file line

afpd_enable=${afpd_enable-NO}
to
afpd_enable=${afpd_enable-YES}
and a number of other things. But as I obviously don't know what I'm 
doing, I thought I'd ask.

Thanks
Alan

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


Error installing kernel: crt1.o

2004-12-03 Thread Alan Curtis
I am building a custom kernel. It complied with no errors but
make install KERNCONF=MYKERNEL
failed with the following error
install -o root -g wheel -m 444  crt1.o crti.o crtn.o gcrt1.o /usr/lib
install: crt1.o: No such file or directory
*** Error code 71
Stop in /usr/src/lib/csu/i386-elf.
*** Error code 1
Stop in /usr/src/lib.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
There is a 'crt1.o' file in /usr/lib.
What is wrong?
Alan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error installing kernel: crt1.o

2004-12-03 Thread Alan Curtis
I am building a custom kernel. It complied with no errors but
make install KERNCONF=MYKERNEL
failed with the following error
install -o root -g wheel -m 444  crt1.o crti.o crtn.o gcrt1.o /usr/lib
install: crt1.o: No such file or directory
*** Error code 71
Stop in /usr/src/lib/csu/i386-elf.
*** Error code 1
Stop in /usr/src/lib.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
There is a 'crt1.o' file in /usr/lib.
What is wrong?
Alan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sendmail, simple mail list problem

2004-11-20 Thread Alan Curtis
I have set up sendmail to use my ISP outgoing mail server as a relay 
for mail from my server using the instructions I found here

http://www.leo.org/~barner/freebsd/articles/mailsetup/article.html
I use dyndns so that everyone can find myserver (as 
myserver.dyndns.net). I can send and receive mail on my server.

I am also using a simple mailing list with about 15 subscribers that I 
set up using a mail alias
(i.e. with the line 'mylist: : include:/usr/home/alan/lists/mylist.txt')

I can send mail to anyone on the list by sending mail to 
[EMAIL PROTECTED] from any of my email accounts and from my 
account at my ISP (call it [EMAIL PROTECTED]). Other users have also 
successfully sent mail to the list. However, a subset of the users also 
use my ISP and their mail to the list gets bounced by the ISP server.

The error message in the bounced email is
553 You are not authorized to send mail as [EMAIL PROTECTED]
501 5.6.0 Data format error
So [EMAIL PROTECTED] and [EMAIL PROTECTED] can send mail 
to the list but not [EMAIL PROTECTED].

Any suggestions on how to fix this?
Thanks
Alan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wiki on FreeBSD

2004-10-12 Thread Alan Curtis
On Oct 11, 2004, at 10:29 AM, Andy Smith wrote:
On Sat, Oct 09, 2004 at 01:38:56PM -0400, Alan Curtis wrote:
I am looking for an easy to install wiki that an
apache/perl/php/whatever novice like me can install without getting a
migrane. Any suggestions?
I use MediaWiki on http://freebsdwiki.org/
FreeBSD-specific instructions are here:
http://meta.wikimedia.org/wiki/Running_MediaWiki_on_FreeBSD
Almost all the requirements, including Apache, PHP and MySQL, work
fine from ports.
Just to close this thread, thanks for everyone's suggestions. I 
successfully installed MediaWiki. I was very easy as I had already 
installed and set up mysql trying to install phpwiki. MediaWiki looks 
just what I want.

Alan

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


Re: Wiki on FreeBSD

2004-10-12 Thread Alan Curtis
On Oct 11, 2004, at 10:29 AM, Andy Smith wrote:
On Sat, Oct 09, 2004 at 01:38:56PM -0400, Alan Curtis wrote:
I am looking for an easy to install wiki that an
apache/perl/php/whatever novice like me can install without getting a
migrane. Any suggestions?
I use MediaWiki on http://freebsdwiki.org/
FreeBSD-specific instructions are here:
http://meta.wikimedia.org/wiki/Running_MediaWiki_on_FreeBSD
Almost all the requirements, including Apache, PHP and MySQL, work
fine from ports.
Just to close this thread, thanks for everyone's suggestions. I 
successfully installed MediaWiki. I was very easy as I had already 
installed and set up mysql trying to install phpwiki. MediaWiki looks 
just what I want.

Alan

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


Wiki on FreeBSD

2004-10-09 Thread Alan Curtis
In a previous post under a phpwiki subject thread, I claimed to have 
successfully installed phpwiki. I lied. Although I did install it and 
can edit pages from my laptop, I cannot edit pages from any other 
machine, including the server I installed it on; I am asked to login 
with a username and password. This may have something to do with the 
note the Richard Lynch wrote, but as I am not literate in php, I don't 
know where to begin to solve this problem. I started down this route as 
I was successful in installing phpwiki on my Mac OS X laptop.

So I gave up on phpwiki and tried kwiki instead. It was advertized as 
'easy to install'. Indeed it was. I installed it but cannot get it to 
work. I can access the .cgi pages but they give me the text and do not 
run the program. The instructions must assume some step that I have not 
taken.

I am looking for an easy to install wiki that an 
apache/perl/php/whatever novice like me can install without getting a 
migrane. Any suggestions?

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


Re: phpwiki

2004-10-08 Thread Alan Curtis
On Oct 6, 2004, at 3:32 PM, Glenn Sieb wrote:
Alan Curtis said the following on 10/6/2004 3:14 PM:
I installed php4-mysql. Is there more I have to do? ?php phpinfo(); 
? does not indicate any mysql stuff and phpwiki still does not work. 
There is probably some option I have to set when compiling php?
Did you restart Apache?

I successfully installed the phpwiki port with mysql support. This is 
what I did.

1. installed the port from /usr/ports/www/phpwiki
2. copied /usr/local/www/data-dist/phpwiki to my html data directory
3. installed mysql server and client ports
4. installed php4-mysql port
5. used the instructions at /usr/local/share/doc/phpwiki/ and 
http://www.macdevcenter.com/pub/a/mac/2003/06/05/wiki.html to configure 
mysql

6. edited phpwiki/index.php to activate the mysql stuff
7. followed the instructions at 
http://phpwiki.sourceforge.net/phpwiki/FrequentlyAskedQuestions
and added

foreach ($_REQUEST as $k = $v) $$k = $v;
 if (isset($_SERVER['QUERY_STRING'])) $QUERY_STRING = 
$_SERVER['QUERY_STRING'];
 if (isset($_SERVER['PHP_AUTH_USER'])) $PHP_AUTH_USER = 
$_SERVER['PHP_AUTH_USER'];
 if (isset($_SERVER['PHP_AUTH_PW'])) $PHP_AUTH_PW = 
$_SERVER['PHP_AUTH_PW'];

to the top of index.php and admin.php.
8. restarted Apache
and it (finally) seems to work.
A bit longer and more involved than advertised, but an interesting 
puzzle.

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


phpwiki

2004-10-06 Thread Alan Curtis
I am trying to install the phpwiki port using mysql, following the 
instructions in /usr/local/share/doc/phpwiki. I get to testing the 
installation by loading http://localhost/phpwiki/index.php and I get 
the error

Fatal error: Call to undefined function: mysql_pconnect()
Any suggestions?
Alan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: phpwiki

2004-10-06 Thread Alan Curtis
I installed php4-mysql. Is there more I have to do? ?php phpinfo(); ? 
does not indicate any mysql stuff and phpwiki still does not work. 
There is probably some option I have to set when compiling php?

Alan
On Oct 6, 2004, at 2:37 PM, Sheets, Jason (OZ CEEDR) wrote:
mysql_pconnect is MySQL functionality, make sure your PHP installation
has MySQL support.
You can find out by making a page named putting ?php phpinfo(); ? and
then visiting it in your web browser.
Jason

-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-freebsd-
[EMAIL PROTECTED] On Behalf Of Alan Curtis
Sent: Wednesday, October 06, 2004 12:27 PM
To: [EMAIL PROTECTED]
Subject: phpwiki
I am trying to install the phpwiki port using mysql, following the
instructions in /usr/local/share/doc/phpwiki. I get to testing the
installation by loading http://localhost/phpwiki/index.php and I get
the error
Fatal error: Call to undefined function: mysql_pconnect()
Any suggestions?
Alan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-
[EMAIL PROTECTED]

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


Re: Getting mod_dav to work

2004-08-13 Thread Alan Curtis
On Aug 13, 2004, at 1:38 AM, Christian Laursen wrote:
Alan Curtis [EMAIL PROTECTED] writes:
I would like to install the mod_dav port to allow me to make webDAV
connections from my OS X machine to my FreeBSD server.
I am using
FreeBSD 4.10-RELEASE
apache 1.3.13
mod_dav-1.0.3_1
I installed everything and then followed the instructions from the
mod_dav website and put the following lines in my httpd.conf file.
DAVLockDB /var/db/DAVLock
DAVMinTimeout 600
DAVDepthInfinity On
Location /usr/home/alan/www/dav 
DAV on
/Location
You should probably use Location / or Directory 
/usr/home/alan/www/dav
instead.

Location refers to a URI, not a path in the local filesystem.
Thanks. Location / worked.
Alan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Getting mod_dav to work

2004-08-12 Thread Alan Curtis
I would like to install the mod_dav port to allow me to make webDAV  
connections from my OS X machine to my FreeBSD server.

I am using
FreeBSD 4.10-RELEASE
apache 1.3.13
mod_dav-1.0.3_1
I installed everything and then followed the instructions from the  
mod_dav website and put the following lines in my httpd.conf file.

DAVLockDB /var/db/DAVLock
DAVMinTimeout 600
DAVDepthInfinity On
Location /usr/home/alan/www/dav 
DAV on
/Location
I restarted apache.
I made www the owner and group of /usr/home/alan/www/dav
I can access /usr/home/alan/www/dav through a browser.
But, using the Goliath dav client, I get an error message and the  
following log file

== Outgoing Request ==
OPTIONS / HTTP/1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Goliath/1.0.1 (Macintosh-Carbon; PPC)
Host: 192.168.1.100
Connection: Close

== Incoming Response ==
HTTP/1.1 200 OK
Date: Fri, 13 Aug 2004 01:25:03 GMT
Server: Apache/1.3.31 (Unix) DAV/1.0.3
Content-Length: 0
Allow: GET, HEAD, OPTIONS, TRACE
Connection: close

== Outgoing Request ==
PROPFIND / HTTP/1.1
MIME-Version: 1.0
Content-Type: text/xml
User-Agent: Goliath/1.0.1 (Macintosh-Carbon; PPC)
Content-Length: 187
Host: 192.168.1.100
Depth: 1
?xml version=1.0 encoding=utf-8 ?
propfind  
xmlns=DAV:propgetlastmodified/getcontentlength/resourcetype/ 
getcontenttype/lockdiscovery/resourcetype//prop/propfind

== Incoming Response ==
HTTP/1.1 405 Method Not Allowed
Date: Fri, 13 Aug 2004 01:25:03 GMT
Server: Apache/1.3.31 (Unix) DAV/1.0.3
Allow: GET, HEAD, OPTIONS, TRACE
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
HTMLHEAD
TITLE405 Method Not Allowed/TITLE
/HEADBODY
H1Method Not Allowed/H1
The requested method PROPFIND is not allowed for the URL /index.html.P
HR
ADDRESSApache/1.3.31 Server at my.ip.address Port 80/ADDRESS
/BODY/HTML

I am a FreeBSD and apache novice, so any help would be appreciated.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]