curious -- what's /tmp/fam-root ?

2012-11-14 Thread Gary Aitken
Just curious; what's the purpose of /tmp/fam-root, and what is written there?
Is it simply where the os writes stuff which is sensitive,
and putting it in a rwx-- directory avoids potential security issues
regarding file access?
or is there more to it than that?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: curious -- what's /tmp/fam-root ?

2012-11-14 Thread jb
Gary Aitken freebsd at dreamchaser.org writes:

 
 Just curious; what's the purpose of /tmp/fam-root, and what is written there?
 Is it simply where the os writes stuff which is sensitive,
 and putting it in a rwx-- directory avoids potential security issues
 regarding file access?
 or is there more to it than that?

# procstat -af |grep -i fam
23038 polkitd12 s - rw---   1   0 UDS /tmp/fam-root/fam-
23040 gam_server  4 s - rw---   1   0 UDS /tmp/fam-root/fam-
23040 gam_server  7 s - rw---   1   0 UDS /tmp/fam-root/fam-
26654 thunar  7 s - rw---   1   0 UDS /tmp/fam-jb/fam-
...
# file /tmp/fam-root/fam-
/tmp/fam-root/fam-: socket

jb
 




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


Re: curious -- what's /tmp/fam-root ?

2012-11-14 Thread Polytropon
On Wed, 14 Nov 2012 13:22:06 -0700, Gary Aitken wrote:
 Just curious; what's the purpose of /tmp/fam-root, and what is written there?
 Is it simply where the os writes stuff which is sensitive,
 and putting it in a rwx-- directory avoids potential security issues
 regarding file access?
 or is there more to it than that?

I think this is part of FAM - file alternation monitor,
and the particular directory is for root, that's why
it is user-protected. I'm not sure if this is part
of the OS, cf. port gio-fam-backend (belongs to GIO,
which probably belongs to something else that is then
required by again something else...).


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RFC: Fam/Python based script for bruteforce blocking

2009-12-26 Thread Brandon Low
On 2009-12-19 (Sat) at 03:38:26 -0900, Mel Flynn wrote:
 Well, my first problem with it is obviously that I now need python, where I 
 don't want python. In fact, my firewalls/gateways only have /bin/sh and 
 /bin/csh as scripting languages. It's one reason I switched from custom 
 sysutils/grok rules to using security/sshguard - it got me rid of perl.

That makes sense -- I'm using it on a general purpose server as opposed
to a dedicated firewall box.

 Secondly, you have matching rules coded in the script. If there would be one 
 reason to prefer this script over sshguard, it would be that I can add attack 
 patterns more easily, in config file with a syntax that's not too obscure.

Interesting thought, I will definitely make the matching rules
configurable and potentially make possible to monitor multiple logfiles
for attack patterns (potentially configurable per-logfile).

 Last but not least, you assume that once an IP is at fault, I want that IP 
 blocked permanently. In practice you end up with an extremely large table 
 that 
 might eventually be too big for a default PF table and recurring scans from 
 the same IP are not that common (you see the IP in a 12-24 hour window, then 
 not again).

You've misread the script.  IPs are expired after a configurable number
of seconds.
 
 Hope this helps.

Thanks kindly for the feedback!

--Brandon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RFC: Fam/Python based script for bruteforce blocking

2009-12-19 Thread Mel Flynn
On Thursday 17 December 2009 16:34:22 Brandon Low wrote:

 I'd love to hear other people's feedback on this approach of using FAM +
 auth.log to implement this and/or to hear of other superior approaches
 to achieving this result.

Well, my first problem with it is obviously that I now need python, where I 
don't want python. In fact, my firewalls/gateways only have /bin/sh and 
/bin/csh as scripting languages. It's one reason I switched from custom 
sysutils/grok rules to using security/sshguard - it got me rid of perl.
Secondly, you have matching rules coded in the script. If there would be one 
reason to prefer this script over sshguard, it would be that I can add attack 
patterns more easily, in config file with a syntax that's not too obscure.
Last but not least, you assume that once an IP is at fault, I want that IP 
blocked permanently. In practice you end up with an extremely large table that 
might eventually be too big for a default PF table and recurring scans from 
the same IP are not that common (you see the IP in a 12-24 hour window, then 
not again).

Hope this helps.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RFC: Fam/Python based script for bruteforce blocking

2009-12-18 Thread Matthew Seaman

Robert Huff wrote:

Brandon Low writes:


 Not sure why this didn't attach the first time.


The FreeBSD mailing list software is set to scrub all
attachments as a security measure.  To makew material available,
post it in-line, or post a URL.


The attachment eater doesn't actually eat *all* attachments.  Just the
ones with MIME types it thinks are tasty.  You can generally get stuff
through if it's marked as something innocuous like text/plain   


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: RFC: Fam/Python based script for bruteforce blocking

2009-12-18 Thread Robert Huff

Matthew Seaman writes:

  The FreeBSD mailing list software is set to scrub all
   attachments as a security measure.  To makew material available,
   post it in-line, or post a URL.
  
  The attachment eater doesn't actually eat *all* attachments.
  Just the ones with MIME types it thinks are tasty.  You can
  generally get stuff through if it's marked as something innocuous
  like text/plain

Point taken.


Robert Huff

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


RFC: Fam/Python based script for bruteforce blocking

2009-12-17 Thread Brandon Low
Hi,

I'm pretty new to FreeBSD, but when I saw how neatly it supported
file-backed tables for IP blocking I knew I'd finally want to build a
bruteforce blocking script that I'd long wanted to create on Linux.

This script is loosely based on the perl script for the same purpose
from http://home.earthlink.net/~valiantsoul/pf.html .

My script, in contrast to the above, runs as a daemon and is completely
self contained other than the blacklist file.  Of course it's up to the
user to create the bruteforce table in pf and to do something useful
with it, but once that's done just running the bruteforce.py daemon will
take care of the rest.  I've attached the script and my pf.conf.  The
only other requirements other than python are py-fam and (of course)
a configured fam.

I'd love to hear other people's feedback on this approach of using FAM +
auth.log to implement this and/or to hear of other superior approaches
to achieving this result.

Thanks for reading,

--Brandon
table bruteforce persist file /var/db/blacklist
table safe persist file /var/db/friendlist
block in all
pass in on nfe0 proto tcp from any to any port 22 keep state
pass in on nfe0 proto tcp from any to any port 80 keep state
pass in on nfe0 proto tcp from any to any port 443 keep state
pass in on nfe0 proto tcp from any to any port 25 keep state
pass in on nfe0 proto tcp from any to any port 465 keep state
pass in on nfe0 proto tcp from any to any port 993 keep state
pass in on nfe0 proto udp from any to any port 53
pass in on nfe0 proto tcp from any to any port 53 keep state
pass in on nfe0 proto udp from any to any port 123
pass in on nfe0 proto icmp
block from bruteforce
pass from safe
pass on lo0
pass out all keep state
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: RFC: Fam/Python based script for bruteforce blocking

2009-12-17 Thread Brandon Low
Not sure why this didn't attach the first time.

#!/usr/bin/env python
import errno
import logging
import optparse
import os
import re
import select
import signal
import subprocess
import sys
import time
import datetime

import _fam

def getUpdateBlocks(pfctl, expire_seconds, blacklist_filename, table, limit_n):
expire=str(expire_seconds)
blacklist=blacklist_filename
limit=limit_n

baseArgs=(pfctl, '-t', table, '-T')
def callAndLog(*args, **kwargs):
c=subprocess.Popen(baseArgs + args, stderr=subprocess.PIPE,
stdout=kwargs.get('stdout',subprocess.PIPE))
stdout,stderr=c.communicate()
if stdout: logging.info(stdout)
for line in (stderr if stderr else '').split('\n'):
if not line: continue
getattr(logging,'info' if line.find('ALTQ')  0 else 'debug')(line)

reParts=('(.*) erudite sshd\[[0-9]+\]: ',
'(?:', '|'.join(('Invalid user .* from',
'Did not receive identification string from',
'error: PAM: authentication error for root from')), ') ',
'(', '(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}',
'(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)', ')\n?')
r=re.compile(''.join(reParts))
df='%b %d %H:%M:%S'
oneDay=datetime.timedelta(days=1)
def processFile(now, ips, filename):
with open(filename, 'r') as f:
for line in f:
m=r.match(line)
if not m: continue
d=datetime.datetime.strptime(m.group(1),df).replace(now.year)
if d  now: d=d.replace(now.year-1)
if now-d  oneDay: ips[m.group(2)]=ips.get(m.group(2),0) + 1

def updateBlocks(filename):
logging.info(Updating blacklist...)
ips={}
now=datetime.datetime.now()
processFile(now, ips, filename)
logging.debug(Found %s IPs, len(ips))
logging.debug(Adding ips to pf table)
callAndLog('add', *tuple(k for k,v in ips.iteritems() if v = limit))
logging.debug(Expiring ips from pf table)
callAndLog('expire', expire)
logging.debug(Saving table state to file)
with open(blacklist,'w') as blacklistFile:
callAndLog('show', stdout=blacklistFile)
logging.debug(Done)
return updateBlocks

def main():
parser=optparse.OptionParser()
parser.add_option(-d, --debug,
action=store_true, help=Enable debug logging)
parser.add_option(-a, --auth_log,
default=/var/log/auth.log, help=Authentication log filename)
parser.add_option(-b, --blacklist,
default=/var/db/blacklist, help=Blacklist filename)
parser.add_option(-l, --log_file,
default=/var/log/bruteforce.log, help=Log filename)
parser.add_option(-p, --pfctl,
default=/sbin/pfctl, help=pfctl binary)
parser.add_option(-e, --expire, type=int,
default=604800, help=Seconds to hold a grudge)
parser.add_option(-t, --table,
default=bruteforce, help=Name of pf table to work on)
parser.add_option(-i, --limit, type=int,
default=2, help=Number of invalid logins to get blacklisted)

(opts, args)=parser.parse_args()

if args: optparse.error(No non-option arguments expected)

logging.basicConfig(filename=opts.log_file,
level=logging.DEBUG if opts.debug else logging.INFO)

fc=_fam.open()
p=select.poll()
p.register(fc, select.POLLIN|select.POLLPRI)

fr=fc.monitorFile(opts.auth_log, None)

updateBlocks=getUpdateBlocks(
opts.pfctl, opts.expire, opts.blacklist, opts.table, opts.limit)

while True:
p.poll(60)
update=False
while fc.pending():
fe=fc.nextEvent()
if fe.code in (_fam.Exists,_fam.Changed,_fam.Created): update=True
if not fe.filename==opts.auth_log: raise FAM event: wrong file
if update: updateBlocks(fe.filename)

if __name__ == __main__: main()

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


Re: RFC: Fam/Python based script for bruteforce blocking

2009-12-17 Thread Robert Huff

Brandon Low writes:

  Not sure why this didn't attach the first time.

The FreeBSD mailing list software is set to scrub all
attachments as a security measure.  To makew material available,
post it in-line, or post a URL.


Robert Huff

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


Fam Trip to TURKEY for $999 (Refundable)

2009-07-09 Thread Global Access Travel
[http://www.turkeycallingus.com/]

Exclusive Boutique Enterprise

Turkey FAM
ISTANBUL - CAPPADOCIA - KONYA - ANTALYA - PAMUKKALE - KUSADASI
9 Nights / 11 Days  $999

• 5 Continents • 150 Countries Worldwide • 100.000 Hotels •
Instant Confirmation

[http://www.turkeycallingus.com]

[http://www.turkeycallingus.com/turkey-fam/TurkeyFam.htm]
[http://www.turkeycallingus.com/turkey-fam/TurkeyFamItinerary.htm]
[http://www.turkeycallingus.com/turkey-fam/TurkeyFamRates.htm]
[http://www.turkeycallingus.com/turkey-fam/TurkeyFamServices.htm]
[http://www.turkeycallingus.com/turkey-fam/TurkeyFamHotels.htm]

Global Access proudly presents the biggest FAM Trip of the year, teaming
with Turkish Airlines and Turkish Ministry of Tourism and Culture.

As the host of ASTA IDE 2010 and European Capital of Culture 2010, Turkey
is likely to be the one of the most popular destinations in 2010. Those who
act early and get to know this beautiful country better will be able to
give a better insight to their clients and secure more bookings.

Our specially selected travel agents will stay in best hotels in each
town, be escorted by professional, top tour guides, taste exceptionally
good examples of Turkish Cuisine, and get to know Turkey in elegant way.

Join us for a luxury FAM adventure and be our special guest in our
beautiful country!

COMBINE WITH World Travel Market!

One of the biggest travel shows of Europe and the world, WTM, will be
held in London between 9-12 November 2009. Combine your London trip with
Turkey and benefit from great agent rates to see one of the most popular
tourist destinations from USA and Canada.
WE WILL REFUND YOUR MONEY BACK !

Upon booking your 20th passenger on a Global Access Travel Service, we
will refund you the whole tour price that you’ve paid for the FAM Trip.

If you book 20 or more people on a Global Access Travel Service before
the FAM Trip starts, then you will travel for free!

About Us Global Access Travel (GA) was founded in Turkey by a group of
tourism professionals and marketing experts who recognized the needs to
offer online services for accommodations, car rentals, and other travel
related services to travel agencies.
Through its sophisticated online reservation services, GA offers more
than 100,000 hotels, motels, resorts, clubs and apartments all around the
world.
Other services of GA include car rentals, transfers, special tours,
luxury services, city breaks, flight tickets and other services such as
tailor made tour packages, exhibition organizations, incentives and other
travel related services around the globe at competitive rates.

[http://www.TurkeyCallingus.com] www.TurkeyCalling.us
[http://www.turkeycallingus.com/turkey-calling-contact-us.htm]

Global Access Travel
Tel: +90 212 258 58 29 Fax: +90 212 258 34 47
E-mail : [mailto:incom...@gaturkey.com] incom...@gaturkey.com   Website:
[http://www.turkeycallingus.com/] www.TurkeyCalling.Us
This message was sent by: FamTrit turkey, Nüzhetiye Cad., istanbul, besiktas 
34357, Turkey

To be removed click here:
http://app.icontact.com/icp/mmail-mprofile.pl?r=47131041l=82243s=R179m=578549c=305227

Forward to a friend: 
http://app.icontact.com/icp/sub/forward?m=578549s=47131041c=R179cid=305227


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


Fam Trip to TURKEY for $999 (Refundable)

2009-07-09 Thread Global Access Travel
[http://www.turkeycallingus.com/]

Exclusive Boutique Enterprise

Turkey FAM
ISTANBUL - CAPPADOCIA - KONYA - ANTALYA - PAMUKKALE - KUSADASI
9 Nights / 11 Days  $999

• 5 Continents • 150 Countries Worldwide • 100.000 Hotels •
Instant Confirmation

[http://www.turkeycallingus.com]

[http://www.turkeycallingus.com/turkey-fam/TurkeyFam.htm]
[http://www.turkeycallingus.com/turkey-fam/TurkeyFamItinerary.htm]
[http://www.turkeycallingus.com/turkey-fam/TurkeyFamRates.htm]
[http://www.turkeycallingus.com/turkey-fam/TurkeyFamServices.htm]
[http://www.turkeycallingus.com/turkey-fam/TurkeyFamHotels.htm]

Global Access proudly presents the biggest FAM Trip of the year, teaming
with Turkish Airlines and Turkish Ministry of Tourism and Culture.

As the host of ASTA IDE 2010 and European Capital of Culture 2010, Turkey
is likely to be the one of the most popular destinations in 2010. Those who
act early and get to know this beautiful country better will be able to
give a better insight to their clients and secure more bookings.

Our specially selected travel agents will stay in best hotels in each
town, be escorted by professional, top tour guides, taste exceptionally
good examples of Turkish Cuisine, and get to know Turkey in elegant way.

Join us for a luxury FAM adventure and be our special guest in our
beautiful country!

COMBINE WITH World Travel Market!

One of the biggest travel shows of Europe and the world, WTM, will be
held in London between 9-12 November 2009. Combine your London trip with
Turkey and benefit from great agent rates to see one of the most popular
tourist destinations from USA and Canada.
WE WILL REFUND YOUR MONEY BACK !

Upon booking your 20th passenger on a Global Access Travel Service, we
will refund you the whole tour price that you’ve paid for the FAM Trip.

If you book 20 or more people on a Global Access Travel Service before
the FAM Trip starts, then you will travel for free!

About Us Global Access Travel (GA) was founded in Turkey by a group of
tourism professionals and marketing experts who recognized the needs to
offer online services for accommodations, car rentals, and other travel
related services to travel agencies.
Through its sophisticated online reservation services, GA offers more
than 100,000 hotels, motels, resorts, clubs and apartments all around the
world.
Other services of GA include car rentals, transfers, special tours,
luxury services, city breaks, flight tickets and other services such as
tailor made tour packages, exhibition organizations, incentives and other
travel related services around the globe at competitive rates.

[http://www.TurkeyCallingus.com] www.TurkeyCalling.us
[http://www.turkeycallingus.com/turkey-calling-contact-us.htm]

Global Access Travel
Tel: +90 212 258 58 29 Fax: +90 212 258 34 47
E-mail : [mailto:incom...@gaturkey.com] incom...@gaturkey.com   Website:
[http://www.turkeycallingus.com/] www.TurkeyCalling.Us
This message was sent by: FamTrit turkey, Nüzhetiye Cad., istanbul, besiktas 
34357, Turkey

To be removed click here:
http://app.icontact.com/icp/mmail-mprofile.pl?r=47129463l=82243s=6XVJm=578549c=305227

Forward to a friend: 
http://app.icontact.com/icp/sub/forward?m=578549s=47129463c=6XVJcid=305227


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


cannot compile linphone due to compile error message in gio-fam-backend

2008-12-31 Thread Zhang Weiwu
Hello.

I failed to compile linphone on my FreeBSD 6-1 (yes I know it's old but
as it has been working well for the last several years I got no motivate
to upgrade it unless have to). The last error message says:

[from gio-fam-backend ]:

cannot find -lgio-2.0

It seems I miss a package that provides gio-2.0. But what is that
package? I tried to google this error message without luck.

Thanks for help getting me having linphone installed. The whole compile
error message is below:

Script started on Thu Jan  1 11:18:29 2009
===  Installing for linphone-base-2.1.1_1,1
===   linphone-base-2.1.1_1,1 depends on executable: pkg-config - found
===   linphone-base-2.1.1_1,1 depends on file: 
/usr/local/lib/gio/modules/libgiofam.so - not found
===Verifying install for /usr/local/lib/gio/modules/libgiofam.so in 
/usr/ports/devel/gio-fam-backend
===  Building for gio-fam-backend-2.16.5
/bin/sh ../../libtool --tag=CC   --mode=link cc -DG_LOG_DOMAIN=\GLib-GIO\ 
-I../.. -I../../glib -I../../gmodule -I../../gio -DG_DISABLE_CAST_CHECKS 
-DGIO_MODULE_DIR=\/usr/local/lib/gio/modules\ -DGIO_COMPILATION 
-DG_DISABLE_DEPRECATED -O2 -pipe -march=pentium-mmx -fno-strict-aliasing -Wall 
-export_dynamic -avoid-version -module -no-undefined -export-symbols-regex 
'^g_io_module_(load|unload)' -L/usr/local/lib -lintl -o libgiofam.la -rpath 
/usr/local/lib/gio/modules libgiofam_la-fam-helper.lo 
libgiofam_la-fam-module.lo libgiofam_la-gfamdirectorymonitor.lo 
libgiofam_la-gfamfilemonitor.lo  -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lfam  
rm -fr  .libs/libgiofam.exp
generating symbol list for `libgiofam.la'
/usr/bin/nm -B  .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o 
.libs/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o  
| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][  
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | 
uniq  .libs/libgiofam.exp
/usr/bin/grep -E -e ^g_io_module_(load|unload) .libs/libgiofam.exp  
.libs/libgiofam.expT
mv -f .libs/libgiofam.expT .libs/libgiofam.exp
cc -shared  .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o 
.libs/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o  
-Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib 
/usr/local/lib/libintl.so -lgio-2.0 /usr/local/lib/libgobject-2.0.so 
/usr/local/lib/libglib-2.0.so /usr/local/lib/libfam.so  -march=pentium-mmx 
-Wl,-soname -Wl,libgiofam.so -Wl,-retain-symbols-file -Wl,.libs/libgiofam.exp 
-o .libs/libgiofam.so
/usr/bin/ld: cannot find -lgio-2.0
gmake: *** [libgiofam.la] Error 1
*** Error code 2

Stop in /usr/ports/devel/gio-fam-backend.
*** Error code 1

Stop in /usr/ports/net/linphone-base.

Script done on Thu Jan  1 11:18:38 2009


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


Re: cannot compile linphone due to compile error message in gio-fam-backend

2008-12-31 Thread Michael Powell
Zhang Weiwu wrote:

 Hello.
 
 I failed to compile linphone on my FreeBSD 6-1 (yes I know it's old but
 as it has been working well for the last several years I got no motivate
 to upgrade it unless have to). The last error message says:
 
 [from gio-fam-backend ]:
 
 cannot find -lgio-2.0
 
 It seems I miss a package that provides gio-2.0. But what is that
 package? I tried to google this error message without luck.
 
 Thanks for help getting me having linphone installed. The whole compile
 error message is below:
 
 Script started on Thu Jan  1 11:18:29 2009
 ===  Installing for linphone-base-2.1.1_1,1
 ===   linphone-base-2.1.1_1,1 depends on executable: pkg-config - found
 ===   linphone-base-2.1.1_1,1 depends on file:
 /usr/local/lib/gio/modules/libgiofam.so - not found
 ===Verifying install for /usr/local/lib/gio/modules/libgiofam.so in
 /usr/ports/devel/gio-fam-backend
 ===  Building for gio-fam-backend-2.16.5
 /bin/sh ../../libtool --tag=CC   --mode=link cc
 -DG_LOG_DOMAIN=\GLib-GIO\ -I../.. -I../../glib -I../../gmodule
 -I../../gio -DG_DISABLE_CAST_CHECKS
 -DGIO_MODULE_DIR=\/usr/local/lib/gio/modules\ -DGIO_COMPILATION
 -DG_DISABLE_DEPRECATED -O2 -pipe -march=pentium-mmx -fno-strict-aliasing
 -Wall -export_dynamic -avoid-version -module -no-undefined
 -export-symbols-regex '^g_io_module_(load|unload)' -L/usr/local/lib -lintl
 -o libgiofam.la -rpath /usr/local/lib/gio/modules
 libgiofam_la-fam-helper.lo libgiofam_la-fam-module.lo
 libgiofam_la-gfamdirectorymonitor.lo libgiofam_la-gfamfilemonitor.lo 
 -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lfam
 rm -fr  .libs/libgiofam.exp
 generating symbol list for `libgiofam.la'
 /usr/bin/nm -B  .libs/libgiofam_la-fam-helper.o
 .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o
 .libs/libgiofam_la-gfamfilemonitor.o  | sed -n -e 's/^.*[ 
 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[   ][  
 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2
 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq  .libs/libgiofam.exp
 /usr/bin/grep -E -e ^g_io_module_(load|unload) .libs/libgiofam.exp 
 .libs/libgiofam.expT mv -f .libs/libgiofam.expT .libs/libgiofam.exp
 cc -shared  .libs/libgiofam_la-fam-helper.o
 .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o
 .libs/libgiofam_la-gfamfilemonitor.o  -Wl,--rpath -Wl,/usr/local/lib
 -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libintl.so
 -lgio-2.0 /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so
 /usr/local/lib/libfam.so  -march=pentium-mmx -Wl,-soname -Wl,libgiofam.so
 -Wl,-retain-symbols-file -Wl,.libs/libgiofam.exp -o .libs/libgiofam.so
 /usr/bin/ld: cannot find -lgio-2.0 gmake: *** [libgiofam.la] Error 1 ***
 Error code 2
 
 Stop in /usr/ports/devel/gio-fam-backend.
 *** Error code 1
 
 Stop in /usr/ports/net/linphone-base.
 
 Script done on Thu Jan  1 11:18:38 2009
 

My first wild guess would be to check your version of glib20 and see if it
is 2.16.5_1. Possibly you may need to update it first (and what it might
depend on as well). Look at /usr/ports/devel/glib20.

-Mike



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


Re: cannot compile linphone due to compile error message in gio-fam-backend

2008-12-31 Thread Yuri Pankov
On Thu, Jan 01, 2009 at 11:24:46AM +0800, Zhang Weiwu wrote:
 Hello.
 
 I failed to compile linphone on my FreeBSD 6-1 (yes I know it's old but
 as it has been working well for the last several years I got no motivate
 to upgrade it unless have to). The last error message says:
 
 [from gio-fam-backend ]:
 
 cannot find -lgio-2.0
snip

Check 20080323 entry in /usr/ports/UPDATING.


HTH,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


install gamin in stead of fam

2008-11-20 Thread Dino Vliet
Dear Freebsd list,

How would you solve the following task at hand?

I would like to install gamin on my amd64 system running freebsd 6.3 in stead 
of fam, I've been using the latter since installing openoffice (on the net I 
found a
guide saying I should put WITH_FAM_SYSTEM=fam in my /etc/make.conf)

Which packages require fam is found by issuing the following command:

pkg_info -R fam* gives:

Information for fam-2.6.10_3:

Required by:
ImageMagick-6.4.5.5
ORBit2-2.14.14
Terminal-0.2.8.3
Thunar-0.9.3
at-spi-1.22.1_2
atk-1.22.0_1
avahi-0.6.23
avahi-app-0.6.23
bluefish-1.0.7_5
claws-mail-3.5.0_1
consolekit-0.2.10_3
dbus-glib-0.76
desktop-file-utils-0.15_1
dia-gnome-0.96.1_6,1
enchant-1.4.0_1
evolution-2.22.3.1
evolution-data-server-2.22.3_1
evolution-exchange-2.22.3
evolution-webcal-2.21.92_2
firefox-2.0.0.18,1
g-wrap-1.9.6_4,1
gail-1.22.3
gconf2-2.22.0_1
gdl-0.7.11_2
gdm-2.20.8
gdvrecv-1.2_4
gio-fam-backend-2.16.5
gnome-icon-theme-2.22.0_1
gnome-keyring-2.22.3_1
gnome-mount-0.8_2
gnome-spell-1.0.8_2
gnome-vfs-2.22.0_2
graphviz-2.20.3
gstreamer-0.10.21
gstreamer-plugins-0.10.21,3
gtk-2.12.11_1
gtk-engines2-2.14.3
gtk-xfce-engine-2.4.3
gtkhtml3-3.18.3
gtksourceview2-2.2.2
gtkspell-2.0.14
gvfs-0.2.5
hal-0.5.11_1
html2ps-letter-1.0.b5_1,1
inkscape-0.46_3
jdk-1.5.0.14p8_4,1
kdelibs-3.5.10
kmymoney2-0.8.9_2
libIDL-0.8.11
libbonobo-2.22.0_1
libbonoboui-2.22.0_2
libcroco-0.6.1_1
libexo-0.3.4_2
libgda3-3.0.4_1
libgksu-1.3.8_3
libgksuui-1.0.7_3
libglade2-2.6.3
libgnome-2.22.0_1
libgnomecanvas-2.20.1.1_2
libgnomecups-0.2.3_1,1
libgnomeprint-2.18.4_2
libgnomeprintui-2.18.2_2
libgnomeui-2.22.1_2
libgsf-1.14.8_2
libgtkhtml-2.11.1_2
libnotify-0.4.4_2
liboobs-2.22.0_1
librsvg2-2.22.3
libsexy-0.1.11_1
libsoup-2.2.105_3
libsoup-2.4.1_1
libwnck-2.22.3
libwpd-0.8.14_1
libxfce4gui-4.4.3
libxfce4mcs-4.4.3
libxfce4util-4.4.3
libxklavier-3.5_2,1
linc-1.0.3_7
mousepad-0.2.14
notification-daemon-0.3.7_3
nvu-1.0_7
openoffice.org-3.0.0
orage-4.4.3
pango-1.20.5
pgadmin3-1.8.4
policykit-0.9_1
policykit-gnome-0.9
poppler-gtk-0.8.7
py25-dbus-0.83.0_1
py25-gobject-2.14.2_2
py25-gstreamer-0.10.12
py25-gtk-2.12.1_1
py25-orbit-2.14.3_1
py25-zenmap-4.76
shared-mime-info-0.51
swt-3.1.1_3
system-tools-backends-2.6.0_1
vte-0.16.14_1
wv2-0.2.3_2
wxgtk2-2.4.2_16
wxgtk2-2.6.3_5
wxgtk2-2.8.9
wxgtk2-common-2.6.3_4
wxgtk2-common-2.8.9
wxgtk2-contrib-common-2.6.3_3
wxgtk2-contrib-common-2.8.9
wxgtk2-unicode-2.6.3_5
wxgtk2-unicode-2.8.9
wxgtk2-unicode-contrib-2.6.3_3
wxgtk2-unicode-contrib-2.8.9
wxsvg-1.0.b7.2_2
xf86-input-acecad-1.2.1_1
xf86-input-calcomp-1.1.1_1
xf86-input-citron-2.2.1_1
xf86-input-digitaledge-1.1.0_1
xf86-input-dmc-1.1.1_1
xf86-input-dynapro-1.1.1_1
xf86-input-elo2300-1.1.1_1
xf86-input-elographics-1.1.0_1
xf86-input-fpit-1.1.0_1
xf86-input-hyperpen-1.1.0_1
xf86-input-jamstudio-1.1.0_1
xf86-input-joystick-1.2.3_1
xf86-input-keyboard-1.2.2_2
xf86-input-magellan-1.1.1_1
xf86-input-magictouch-1.0.0.5_2
xf86-input-microtouch-1.1.1_1
xf86-input-mouse-1.2.3_2
xf86-input-mutouch-1.1.0_1
xf86-input-palmax-1.1.0_1
xf86-input-penmount-1.2.1_1
xf86-input-spaceorb-1.1.1_1
xf86-input-summa-1.1.0_1
xf86-input-tek4957-1.1.0_1
xf86-input-void-1.1.1_1
xf86-video-apm-1.1.1_2
xf86-video-ark-0.6.0_2
xf86-video-ati-6.9.0
xf86-video-chips-1.1.1_2
xf86-video-cirrus-1.1.0_2
xf86-video-cyrix-1.1.0_2
xf86-video-dummy-0.2.0_2
xf86-video-fbdev-0.3.1_2
xf86-video-glint-1.1.1_4
xf86-video-i128-1.2.1_2
xf86-video-i740-1.1.0_2
xf86-video-i810-1.7.4
xf86-video-imstt-1.1.0_2
xf86-video-mach64-6.8.0
xf86-video-mga-1.4.9,1
xf86-video-neomagic-1.1.1_2
xf86-video-newport-0.2.1_2
xf86-video-nsc-2.8.3_1
xf86-video-nv-2.1.12
xf86-video-r128-6.8.0
xf86-video-rendition-4.1.3_2
xf86-video-s3-0.5.0_2
xf86-video-s3virge-1.9.1_2
xf86-video-savage-2.1.3_1
xf86-video-siliconmotion-1.5.1_1
xf86-video-sis-0.10.0
xf86-video-tdfx-1.3.0_3
xf86-video-tga-1.1.0_2
xf86-video-trident-1.2.3_2
xf86-video-tseng-1.1.1_2
xf86-video-vesa-1.3.0_2
xf86-video-vga-4.1.0_2
xf86-video-via-0.2.2_3
xf86-video-vmware-10.15.2_1
xf86-video-voodoo-1.1.1_2
xfce-4.4.3
xfce4-appfinder-4.4.3
xfce4-desktop-4.4.3
xfce4-mcs-manager-4.4.3
xfce4-mcs-plugins-4.4.3
xfce4-mixer-4.4.3
xfce4-panel-4.4.3
xfce4-print-4.4.3
xfce4-session-4.4.3
xfce4-utils-4.4.3
xfce4-wm-4.4.3
xorg-7.3_2
xorg-drivers-7.3_3
xorg-server-1.4.2,1
zenity-2.22.1_1


The approaches I can think of are:

1) get rid of fam and everything that requires it with pkg_deinstall -R
fam* , then adjust /etc/make.conf to have WITH_FAM_SYSTEM=gamin and
reinstall all above packages one by one

2) write a shell script to automate all those steps above


So my question boils down to this, am I on the good track? Are there
other alternatives (or caveats)

Thanks


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


Re: install gamin in stead of fam

2008-11-20 Thread Thomas Abthorpe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On November 20, 2008 06:28:21 pm Dino Vliet wrote:
snip
 The approaches I can think of are:

 1) get rid of fam and everything that requires it with pkg_deinstall -R
 fam* , then adjust /etc/make.conf to have WITH_FAM_SYSTEM=gamin and
 reinstall all above packages one by one

 2) write a shell script to automate all those steps above


 So my question boils down to this, am I on the good track? Are there
 other alternatives (or caveats)

 Thanks

Ater you set WITH_FAM_SYSTEM=gamin, you should be able to perform

portupgrade -fo devel/gamin fam

This will replace the software and the appropriate dependancies. I did this 
very same thing but in reverse, gamin-fam :)

HTH


Thomas

- -- 
Thomas Abthorpe | FreeBSD Committer
[EMAIL PROTECTED]   | http://people.freebsd.org/~tabthorpe
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkkmVPEACgkQ5Gm/jNBp8qCxkgCfVatJyU/kBEpGrwVBTqfKqz1f
+t4AniT1K+d4H6Sq0pVb7brj9kWKiUTL
=vAoC
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with gio-fam-backend, portupgrade failing...

2008-04-08 Thread Matthias Apitz
El día Monday, April 07, 2008 a las 10:06:02PM +0100, Peter Harrison escribió:

  I have seen this before, if ( /devel/ ) gio-fam-backend needs a library 
  that 
  is outdated, it gives this sort of error.  I know when I had the issue, it 
  was that it needs glib 2.16 and I had 2.14.  Thankfully it doesn't have too 
  many dependancies so it isn't hard to check them all.
 
 
 Right, I'll start looking through the gio-fam-backend dependencies and report 
 back.
 Thanks for the quick response.
 
 Peter Harrison.
 
 
  
  Mark Moellering

I've installed last weekend a 7.0R, did portsnap fetch/extract and fired
up my script to run in BATCH mode through the ~200 ports I wanted have
installed on the box; when I came back late night and was hoping all
went fine, some of the ports failed as well with gio-fam-backend; it
took me some time to go to /usr/ports/devel/glib20, deinstall and
install it fresh which changed it from glib-2.14.2 to 2.16.x (don't know
the x from the top of my head now); after this all was fine again;

really, I did not understand how this was possible after portsnap
fetch/extract on a real new system, just installed from boot CD;

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with gio-fam-backend, portupgrade failing...

2008-04-08 Thread Peter Harrison
Tuesday,  8 April 2008 at 15:41:04 +0200, Matthias Apitz said:
 El día Monday, April 07, 2008 a las 10:06:02PM +0100, Peter Harrison escribió:
 
   I have seen this before, if ( /devel/ ) gio-fam-backend needs a library 
   that 
   is outdated, it gives this sort of error.  I know when I had the issue, 
   it 
   was that it needs glib 2.16 and I had 2.14.  Thankfully it doesn't have 
   too 
   many dependancies so it isn't hard to check them all.
  
  
  Right, I'll start looking through the gio-fam-backend dependencies and 
  report back.
  Thanks for the quick response.
  
  Peter Harrison.
  
  
   
   Mark Moellering
 
 I've installed last weekend a 7.0R, did portsnap fetch/extract and fired
 up my script to run in BATCH mode through the ~200 ports I wanted have
 installed on the box; when I came back late night and was hoping all
 went fine, some of the ports failed as well with gio-fam-backend; it
 took me some time to go to /usr/ports/devel/glib20, deinstall and
 install it fresh which changed it from glib-2.14.2 to 2.16.x (don't know
 the x from the top of my head now); after this all was fine again;
 
 really, I did not understand how this was possible after portsnap
 fetch/extract on a real new system, just installed from boot CD;
 
   matthias


Seems to me there might have been a problem with the port.

I noticed that gio-fam-backend had been updated to 2.16.3, ran portsnap and it 
then installed without problem. No other intervention required. I'm running 
portupgrade -a again now with no problems so far.

Thanks all for the responses.


Peter Harrison.




 
 -- 
 Matthias Apitz
 Manager Technical Support - OCLC GmbH
 Gruenwalder Weg 28g - 82041 Oberhaching - Germany
 t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
 b http://gurucubano.blogspot.com/
 Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
 A: Because it messes up the order in which people normally read text.
 Q: Why is it such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on Usenet and in e-mail?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with gio-fam-backend, portupgrade failing...

2008-04-07 Thread peter harrison
I'm having a problem running portupgrade -a. The original run was interrupted 
by a system crash. Now when I try to repeat it fails asking for pkgdb -fF to be 
run.

When I run this, I get stale dependencies on policykit, but when I say yes to 
install, the install of policykit fails on gio-fam-backend (not a port I had 
installed before the attempted upgrade).

Here's an extract from the build:


 -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -pthread 
-DG_LOG_DOMAIN=\GLib-GIO\ -I../.. -I../../glib -I../../gmodule -I../../gio 
-DG_DISABLE_CAST_CHECKS -DGIO_MODULE_DIR=\/usr/local/lib/gio/modules\ 
-DGIO_COMPILATION -DG_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe -Wall 
-MT libgiofam_la-gfamfilemonitor.lo -MD -MP -MF 
.deps/libgiofam_la-gfamfilemonitor.Tpo -c gfamfilemonitor.c -o 
libgiofam_la-gfamfilemonitor.o /dev/null 21
mv -f .deps/libgiofam_la-gfamfilemonitor.Tpo 
.deps/libgiofam_la-gfamfilemonitor.Plo
gmake: *** No rule to make target `../../gio/libgio-2.0.la', needed by 
`libgiofam.la'.  Stop.
*** Error code 2

Stop in /usr/ports/devel/gio-fam-backend.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.72819.0 
env make
** Fix the problem and try again.
---  Skipping 'sysutils/policykit' because a requisite port 
'devel/gio-fam-backend' failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/gio-fam-backend (unknown build error)
* sysutils/policykit
Command failed [exit code 1]: /usr/local/sbin/portinstall sysutils/policykit

So now I'm stuck halfway through a portupgrade.

This is on 

FreeBSD desktop.piggybox 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #5: Wed Apr  2 
03:41:26 BST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Can anyone offer a suggestion for how I fix this?

Thanks in advance.

Peter Harrison

__

Trillian did a little research in the ship's copy of 
THHGTTG. It had some advice to offer on drunkenness.
`Go to it,' it said, `and good luck.'
It was cross-referenced to the entry concerning the size of 
the Universe and ways of coping with that.

- One of the more preferable pieces of advice contained in the Guide. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with gio-fam-backend, portupgrade failing...

2008-04-07 Thread Mark Moellering
On Monday 07 April 2008 03:54:12 pm peter harrison wrote:
 I'm having a problem running portupgrade -a. The original run was
 interrupted by a system crash. Now when I try to repeat it fails asking for
 pkgdb -fF to be run.

 When I run this, I get stale dependencies on policykit, but when I say
 yes to install, the install of policykit fails on gio-fam-backend (not a
 port I had installed before the attempted upgrade).

 Here's an extract from the build:


  -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -pthread
 -DG_LOG_DOMAIN=\GLib-GIO\ -I../.. -I../../glib -I../../gmodule
 -I../../gio -DG_DISABLE_CAST_CHECKS
 -DGIO_MODULE_DIR=\/usr/local/lib/gio/modules\ -DGIO_COMPILATION
 -DG_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe -Wall -MT
 libgiofam_la-gfamfilemonitor.lo -MD -MP -MF
 .deps/libgiofam_la-gfamfilemonitor.Tpo -c gfamfilemonitor.c -o
 libgiofam_la-gfamfilemonitor.o /dev/null 21 mv -f
 .deps/libgiofam_la-gfamfilemonitor.Tpo
 .deps/libgiofam_la-gfamfilemonitor.Plo gmake: *** No rule to make target
 `../../gio/libgio-2.0.la', needed by `libgiofam.la'.  Stop. *** Error code
 2

 Stop in /usr/ports/devel/gio-fam-backend.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portinstall.72819.0 env make ** Fix the problem and try again.
 ---  Skipping 'sysutils/policykit' because a requisite port
 'devel/gio-fam-backend' failed (specify -k to force) ** Listing the failed
 packages (-:ignored / *:skipped / !:failed)
 ! devel/gio-fam-backend (unknown build error)
 * sysutils/policykit
 Command failed [exit code 1]: /usr/local/sbin/portinstall
 sysutils/policykit

 So now I'm stuck halfway through a portupgrade.

 This is on

 FreeBSD desktop.piggybox 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #5: Wed Apr 
 2 03:41:26 BST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC 
 i386

 Can anyone offer a suggestion for how I fix this?

 Thanks in advance.

 Peter Harrison

I have seen this before, if ( /devel/ ) gio-fam-backend needs a library that 
is outdated, it gives this sort of error.  I know when I had the issue, it 
was that it needs glib 2.16 and I had 2.14.  Thankfully it doesn't have too 
many dependancies so it isn't hard to check them all.

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


Problem with gio-fam-backend, portupgrade failing...

2008-04-07 Thread Forrest Aldrich
I'm having the same type of problems when compiling scanlogd (just 
posted a separate message about it).  I installed the binary *.tbz 
package from freebsd.org, and that didn't quite work, there are other 
dependencies it needs.   It's been a little frustrating.


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


Re: Problem with gio-fam-backend, portupgrade failing...

2008-04-07 Thread Peter Harrison
Monday,  7 April 2008 at 16:35:06 -0400, Mark Moellering said:
 On Monday 07 April 2008 03:54:12 pm peter harrison wrote:
  I'm having a problem running portupgrade -a. The original run was
  interrupted by a system crash. Now when I try to repeat it fails asking for
  pkgdb -fF to be run.
 
  When I run this, I get stale dependencies on policykit, but when I say
  yes to install, the install of policykit fails on gio-fam-backend (not a
  port I had installed before the attempted upgrade).
 
  Here's an extract from the build:
 
 
   -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -pthread
  -DG_LOG_DOMAIN=\GLib-GIO\ -I../.. -I../../glib -I../../gmodule
  -I../../gio -DG_DISABLE_CAST_CHECKS
  -DGIO_MODULE_DIR=\/usr/local/lib/gio/modules\ -DGIO_COMPILATION
  -DG_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe -Wall -MT
  libgiofam_la-gfamfilemonitor.lo -MD -MP -MF
  .deps/libgiofam_la-gfamfilemonitor.Tpo -c gfamfilemonitor.c -o
  libgiofam_la-gfamfilemonitor.o /dev/null 21 mv -f
  .deps/libgiofam_la-gfamfilemonitor.Tpo
  .deps/libgiofam_la-gfamfilemonitor.Plo gmake: *** No rule to make target
  `../../gio/libgio-2.0.la', needed by `libgiofam.la'.  Stop. *** Error code
  2
 
  Stop in /usr/ports/devel/gio-fam-backend.
  ** Command failed [exit code 1]: /usr/bin/script -qa
  /tmp/portinstall.72819.0 env make ** Fix the problem and try again.
  ---  Skipping 'sysutils/policykit' because a requisite port
  'devel/gio-fam-backend' failed (specify -k to force) ** Listing the failed
  packages (-:ignored / *:skipped / !:failed)
  ! devel/gio-fam-backend (unknown build error)
  * sysutils/policykit
  Command failed [exit code 1]: /usr/local/sbin/portinstall
  sysutils/policykit
 
  So now I'm stuck halfway through a portupgrade.
 
  This is on
 
  FreeBSD desktop.piggybox 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #5: Wed Apr 
  2 03:41:26 BST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC 
  i386
 
  Can anyone offer a suggestion for how I fix this?
 
  Thanks in advance.
 
  Peter Harrison
 
 I have seen this before, if ( /devel/ ) gio-fam-backend needs a library that 
 is outdated, it gives this sort of error.  I know when I had the issue, it 
 was that it needs glib 2.16 and I had 2.14.  Thankfully it doesn't have too 
 many dependancies so it isn't hard to check them all.


Right, I'll start looking through the gio-fam-backend dependencies and report 
back.
Thanks for the quick response.

Peter Harrison.


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


Re: Problem with gio-fam-backend, portupgrade failing...

2008-04-07 Thread Peter Harrison
Monday,  7 April 2008 at 16:28:07 -0400, Forrest Aldrich said:
 I'm having the same type of problems when compiling scanlogd (just 
 posted a separate message about it).  I installed the binary *.tbz 
 package from freebsd.org, and that didn't quite work, there are other 
 dependencies it needs.   It's been a little frustrating.

I'm also having trouble using downloaded packages - but I think that's mostly 
because of different compiled in options to the defaults further up the 
dependency chain.
This is the first time I've had a problem with portupgrade where the solution 
didn't seem reasonably obvious.

Thanks for the response.

Peter Harrison.

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


Re: /usr/ports/devel/gio-fam-backend wont build

2008-03-26 Thread Michael Johnson
On Wed, Mar 26, 2008 at 10:05 AM, Andreas Davour [EMAIL PROTECTED] wrote:

  Anyone have had any luck building /usr/ports/devel/gio-fam-backend? It
  complains /usr/bin/ld: cannot find -lgio-2.0 when I try to build it.

  Anyone know a site where I can find a pre-build package for this puppy
  (for 6.3) so I can bypass this problem?


Looks like you have an old version of glib on your system, you need to
update your ports.

  /Andreas

  --
  A: Because it fouls the order in which people normally read text.
  Q: Why is top-posting such a bad thing?
  A: Top-posting.
  Q: What is the most annoying thing on usenet and in e-mail?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]

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


MPlayer does not compile (actually gio-fam-backend does not)

2008-03-25 Thread Niels Kobschaetzki
Hi!

I'm trying to compile MPlayer but it just doesn't work because it
depends on gio-fam-backend and that does not compile. It always stops
with:
/usr/bin/ld: cannot find -lgio-2.0
gmake: *** [libgiofam.la] Error 1
*** Error code 2

Stop in /usr/ports/devel/gio-fam-backend.
*** Error code 1

Any ideas what I can do?

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


Re: MPlayer does not compile (actually gio-fam-backend does not)

2008-03-25 Thread Andriy Babiy
 I'm trying to compile MPlayer but it just doesn't work because it
 depends on gio-fam-backend and that does not compile. It always stops
 with:
 /usr/bin/ld: cannot find -lgio-2.0
 gmake: *** [libgiofam.la] Error 1
 *** Error code 2
 
 Stop in /usr/ports/devel/gio-fam-backend.
 *** Error code 1
 
 Any ideas what I can do?
 
 Niels

What does the output of uname and objformat look like?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MPlayer does not compile (actually gio-fam-backend does not)

2008-03-25 Thread Aline de Freitas
Em Tuesday 25 March 2008 16:11:53 Niels Kobschaetzki escreveu:
 Hi!

 I'm trying to compile MPlayer but it just doesn't work because it
 depends on gio-fam-backend and that does not compile. It always stops
 with:
 /usr/bin/ld: cannot find -lgio-2.0
 gmake: *** [libgiofam.la] Error 1
 *** Error code 2

 Stop in /usr/ports/devel/gio-fam-backend.
 *** Error code 1

 Any ideas what I can do?

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

A had the same trouble, but after a glib rebuild the gio-fam-backend has build 
without problems.

-- 
Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org
gpg --keyserver keys.indymedia.org --recv-keys DE632016


signature.asc
Description: This is a digitally signed message part.


Re: MPlayer does not compile (actually gio-fam-backend does not)

2008-03-25 Thread mdh
--- Andriy Babiy [EMAIL PROTECTED] wrote:

  I'm trying to compile MPlayer but it just doesn't
 work because it
  depends on gio-fam-backend and that does not
 compile. It always stops
  with:
  /usr/bin/ld: cannot find -lgio-2.0
  gmake: *** [libgiofam.la] Error 1
  *** Error code 2
  
  Stop in /usr/ports/devel/gio-fam-backend.
  *** Error code 1
  
  Any ideas what I can do?
  
  Niels

I ran into this issue as well.  It seems to have more
to do with a change to the gio-fam-backend port
requiring something recently added to the glib port. 
This bug happened to me with glib 2.14 and I fixed it
by upgrading to glib 2.16 which is the version the
glib20 port currently installs.  This change in the
port must have happened recently, like in the past few
days.  

The fix is to upgrade your devel/glib20 port to the
latest, and then go for the gio-fam-backend port.  

 
 What does the output of uname and objformat look
 like?

This happened to me on 7.0-S, but I'd imagine it
probably occurs everywhere.  
I'd guess that libgio is a part of the glib20 port
that was not installed by 2.14 but is by 2.16. 
gio-fam-backend should probably do a dependency check
for it and if it isn't there, should upgrade
devel/glib20.  



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-17 Thread Bastiaan Welmers
On Fri, Dec 15, 2006 at 12:35:05PM +0100, dick hoogendijk wrote:
 On 14 Dec Bastiaan Welmers wrote:

  One nasty thing is that when afterwards installing a package
  requiring
  gamin, it will fail with errors. To prevent this you could just
  fake
  the pkg db that gamin is installed however actually fam libraries
  are
  installed.

 And how exactly is this faking done? I'm no fan of gamin too and if

Just replace the gamin libraries by the fam ones, for example by
manually
extracting the libraries from the tarball and place them in
/usr/local/lib without actually updating the package database.
It should work fine with KDE, openoffice, I don't know it works well
with programs like courier...

 possible I compiled my programs for fam. But this sounds nice ;-)

If you want to recompile all stuff just put WITH_FAM_SYSTEM=fam in
/etc/make.conf and rebuild all packages using gamin. You have to rebuild
all ports because fam and gamin can't be installed together.

/Bastiaan

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


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-17 Thread Michael Nottebrock
On Thursday 14 December 2006 00:17, Bastiaan Welmers wrote:

 - sometimes I still can't unmount the media even if all KDE windows (and
   other programs) are closed. I think some instance of gamin or KDE
   keeps running although all windows have been closed. This also
   indicates sometimes not all processes are terminated well.

 Now I'm using fam instead of gamin again. I think it should be nice if
 this would become standard or the gamin issue wil be resolved, because
 it's quite annoying not being able to unmount removable media all the
 time. 

I haven't really seen that sort of trouble, but then I don't use writable 
removable media much at all (cdroms never gave me problems). FWIW, I think I 
already tried everything I could to reverse the fam-gamin switch, but it's 
not going to happen. Your best bet is probably to take your problems up with 
the gamin maintainer (gnome@).


-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgpGOLlqSKxXB.pgp
Description: PGP signature


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-15 Thread dick hoogendijk
On 14 Dec Bastiaan Welmers wrote:

 One nasty thing is that when afterwards installing a package requiring
 gamin, it will fail with errors. To prevent this you could just fake
 the pkg db that gamin is installed however actually fam libraries are
 installed.

And how exactly is this faking done? I'm no fan of gamin too and if
possible I compiled my programs for fam. But this sounds nice ;-)

-- 
http://nagual.nl/ --- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ Solaris 10 11/06 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-15 Thread Micah

dick hoogendijk wrote:

On 14 Dec Bastiaan Welmers wrote:


One nasty thing is that when afterwards installing a package requiring
gamin, it will fail with errors. To prevent this you could just fake
the pkg db that gamin is installed however actually fam libraries are
installed.


And how exactly is this faking done? I'm no fan of gamin too and if
possible I compiled my programs for fam. But this sounds nice ;-)



Not sure what the original poster was refering to, but I just put 
WITH_FAM_SYSTEM=fam in my /etc/make.conf back when they first started 
changing ports over to gamin, and have not had any problems since.


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


gamin/fam issues with KDE

2006-12-13 Thread Bastiaan Welmers
Hi,

For a while now the file monitor program fam has been replaced 
by gamin. When using KDE it seems to have the following issues:

- when opening a directory with konqueror/kuickshow/some other KDE
  program, where removable media(USB stick, CDROM) is mounted, 
  KDE/gamin seems to keep the directory occupied, causing problems 
  when trying to unmount the removable media. When using fam instead of
  gamin, there's no problem unmounting the device.

- sometimes I still can't unmount the media even if all KDE windows (and 
  other programs) are closed. I think some instance of gamin or KDE 
  keeps running although all windows have been closed. This also 
  indicates sometimes not all processes are terminated well.

Now I'm using fam instead of gamin again. I think it should be nice if
this would become standard or the gamin issue wil be resolved, because
it's quite annoying not being able to unmount removable media all the
time. Did someone else experience the same behaviour?

Strange thing is that when I try to find processes keeping the mounted
device occupied, nothing can be found, with fstat nor with lsof. This 
could be because gamin's only polling a short time in a period.

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


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-13 Thread Bartosz Fabianowski
Just a quick me too. I have been seeing the exact same behavior ever 
since gamin was shoved down our throats as a better replacement for fam. 
But since nobody else complained, I figured it was just my system. 
Whatever gamin is doing, it is not showing up in lsof, but the file 
system is still busy. I did try tweaking my ~/.gaminrc to switch to 
polling for the mount points in question, but this didn't help. Oddly 
enough, sometimes, maybe one time out of ten, gamin will not exhibit 
this strange behavior. It will just let me unmount without any problems.


- Bartosz

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


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-13 Thread Bastiaan Welmers
On Thu, Dec 14, 2006 at 12:06:43AM +, Bartosz Fabianowski wrote:
 Just a quick me too. I have been seeing the exact same behavior ever 
 since gamin was shoved down our throats as a better replacement for fam. 
 But since nobody else complained, I figured it was just my system. 

When building from ports it's quite easy to change back to fam, just put

WITH_FAM_SYSTEM=fam

into /etc/make.conf

For existing systems/binary installed systems, you can just pkg_delete
-f gamin* and install fam instead, so gamin libraries wil be replaced by
the fam ones, it works well to me. One nasty thing is that when afterwards 
installing a package requiring gamin, it will fail with errors. To prevent 
this you could just fake the pkg db that gamin is installed however 
actually fam libraries are installed.

 Whatever gamin is doing, it is not showing up in lsof, but the file 
 system is still busy. I did try tweaking my ~/.gaminrc to switch to 
 polling for the mount points in question, but this didn't help. Oddly 
 enough, sometimes, maybe one time out of ten, gamin will not exhibit 
 this strange behavior. It will just let me unmount without any problems.

Maybe because you just unmount on exactly the right moment, when gamin
is not occupying the file system? Or just all windows and processes are 
closed cleanly.

/Bastiaan

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


Failed to connect to the FAM server: (null)

2006-10-21 Thread Kiffin Gish
I just upgraded from Gnome 2.14 to 2.16 (FreeBSD 6.1). This seemed to go
alright in general, except that now the Applications menu is empty, as
well as some of the System items.

If I try and run gnome control center for example, I get the following
error:

** (gnome-control-center:6338): WARNING **: Failed to connect to the FAM
server: (null)

Can someone help me please?

-- 
Kiffin Gish [EMAIL PROTECTED]

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


Samba and FAM

2006-09-13 Thread Thomas T. Veldhouse
I have been using Samba 3.x for my Windows file share and printing.  I 
chose not to use FAM as the implementation on FreeBSD seems non-existant 
(where is the daemon?).  So, when I configured Samba, I unchecked the 
option for FAM.  Yet, when it runs, I still see that it is required.


Sep 13 03:12:30 fuggle smbd[2898]:   FAM file change notifications not 
available
Sep 13 03:12:30 fuggle smbd[2897]:   FAM file change notifications not 
available
Sep 13 03:12:30 fuggle smbd[2897]: [2006/09/13 03:12:30, 0] 
lib/util_sock.c:read_data(534)


I considered uninstalling FAM and rebuilding Samba, but, as it turns 
out, Courier-IMAP requires FAM as a dependency even though it is not a 
declared dependency in the Makefile.


Even though FAM was not selected when building Samba, I am getting the 
above errors.  Is there a way to avoid these filling my log files?


Tom Veldhouse


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


gamin - fam

2006-05-06 Thread dick hoogendijk
Does anybody have a solution for the gamin / fam problem.
Afaics only the courier package needs FAM still.
So, I have two questions:

(a) does courier run well without fam support?
(b) does courier run with gamin support?

As it gets more and more packages that depend on gamin and not on fam it
seems obvious that I change the fam support to gamin. But I don't want to
harm my courier mailer system (I use the MTA, IMAP and POP3 units)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1-RC2 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gamin - fam

2006-05-06 Thread Marshall Pierce
On 05/06/06 01:21, dick hoogendijk wrote:
 Does anybody have a solution for the gamin / fam problem.
 Afaics only the courier package needs FAM still.
 So, I have two questions:
 
 (a) does courier run well without fam support?
 (b) does courier run with gamin support?
 
 As it gets more and more packages that depend on gamin and not on fam it
 seems obvious that I change the fam support to gamin. But I don't want to
 harm my courier mailer system (I use the MTA, IMAP and POP3 units)
 


I could be wrong, but the I'm pretty sure that the last time I checked,
courier-imapd (which is the only one of the three that I use) only
needed fam if you wanted to use its enhanced idle mode that will
notify clients when mail arrives (by watching users' maildirs with fam)
in pretty close to real-time. I use it, and it's a nice (if essentially
cosmetic) feature.

I don't think the POP protocol has any facility similar to IMAP's
enhanced idle, so I don't see how fam would be used there. I use Postfix
for my MTA, so I am not familiar with courier's MTA, but I suspect that
it wouldn't use fam either. (Why would it need to?) If you're willing to
simply check for new (IMAP) mail every X minutes, then you don't need
fam. (I think. :)

I haven't tried getting it to use gamin, though.

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


Re: Gamin and fam conflict...

2006-04-13 Thread dick hoogendijk
On 12 Apr Kris Kennaway wrote:
 On Wed, Apr 12, 2006 at 06:23:23PM -0500, Jeremy Messenger wrote:
  portupgrade -f -o devel/gamin fam-\*
 
 This may not leave a working system since they're not 100%
 inter-compatible.

I don't see any reactions on this warning from you.
You are absolutely right though.

gamin != fam

gamin is only partly compatible!
Courier i.e. only runs with fam (and not with gamin)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gamin and fam conflict...

2006-04-13 Thread David Kelly
On Thu, Apr 13, 2006 at 06:42:56PM +0200, dick hoogendijk wrote:
 
 I don't see any reactions on this warning from you.
 You are absolutely right though.
 
 gamin != fam
 
 gamin is only partly compatible!
 Courier i.e. only runs with fam (and not with gamin)

For my single-user personal use I quit using courier-imap as I was tired
of logs filling with it complaining about fam not being installed or
configured correctly. Asked here, searched everywhere, and never got the
issue resolved.

Haven't tried lately. Based on my experience one could put up a good
argument that courier-imap doesn't even work with fam. You mean to say
its worse with gamin?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gamin and fam conflict...

2006-04-13 Thread dick hoogendijk
On 13 Apr David Kelly wrote:
 On Thu, Apr 13, 2006 at 06:42:56PM +0200, dick hoogendijk wrote:
  
  I don't see any reactions on this warning from you.
  You are absolutely right though.
  
  gamin != fam
  
  gamin is only partly compatible!
  Courier i.e. only runs with fam (and not with gamin)
 
 For my single-user personal use I quit using courier-imap as I was tired
 of logs filling with it complaining about fam not being installed or
 configured correctly. Asked here, searched everywhere, and never got the
 issue resolved.
 
 Haven't tried lately. Based on my experience one could put up a good
 argument that courier-imap doesn't even work with fam. You mean to say
 its worse with gamin?

No, I said that courier works perfectly and *only* with fam.
No problem whatsoever with it. You just need to set the right rule in
inetd.conf for fam. Otherwise you get these log warnings ;-) You could
also compile courier *without* fam support.

The inetd.conf rule for fam:

# FAM: File Alteration Monitor [devel/fam]
sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam fam

Not that difficult imho.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


openoffice package install fails on gamin dependency - KDE needs fam

2006-03-20 Thread Oliver Iberien
I'm trying to install the package of OpenOffice 2.0:

bsd# pkg_add /home/oliver/OOo_SRC680_m156_FreeBSD60Intel_install_en-US.tbz
pkg_add: could not find package gamin-0.1.7_1 !

Unfortunately:

===  gamin-0.1.7_2 conflicts with installed package(s):
  fam-2.6.9_6

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/devel/gamin.
*** Error code 1

Stop in /usr/ports/devel/gamin.
bsd# pkg_delete fam-2.6.9_6
pkg_delete: package 'fam-2.6.9_6' is required by these other packages
and may not be deinstalled:
dasher-3.2.15
eel-2.10.1_1
fileroller-2.10.4,1
gdm-2.8.0.1
gnome-menus-2.10.2_1
gnomedesktop-2.10.2
gnomegames2-2.10.2
gnomemedia2-2.10.2
gnomevfs2-2.10.1
gnomevfs2-2.12.2_2
gstreamer-plugins-gnomevfs-0.8.10_1
gtkhtml3-3.6.2
k3b-0.12.11
kde-3.5.1

...and many more. I do not wish to lose KDE. The problem seems to be 
documented:
http://www.freebsd.org/cgi/query-pr.cgi?pr=92592

But I cannot find a workaround that works with the package. 

A person from the FreeBSD KDE project posted here:
http://thread.gmane.org/gmane.os.freebsd.devel.ports/56219

for use with the portupgrade system, and the same thread:
http://freebsd.kde.org/pipermail/kde-freebsd/2006-February/012137.html

has something to be spliced in to pkgtools.conf. I put it in, but no joy.

Is there some way to do this without having to download and install the very, 
very large ports version? And even if I download it, will it install?

Thanks,

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


Re: openoffice package install fails on gamin dependency - KDE needs fam

2006-03-20 Thread Kris Kennaway
On Mon, Mar 20, 2006 at 03:49:14PM -0800, Oliver Iberien wrote:
 I'm trying to install the package of OpenOffice 2.0:
 
 bsd# pkg_add /home/oliver/OOo_SRC680_m156_FreeBSD60Intel_install_en-US.tbz
 pkg_add: could not find package gamin-0.1.7_1 !
 
 Unfortunately:
 
 ===  gamin-0.1.7_2 conflicts with installed package(s):
   fam-2.6.9_6
 
   They install files into the same place.
   Please remove them first with pkg_delete(1).
 *** Error code 1
 
 Stop in /usr/ports/devel/gamin.
 *** Error code 1
 
 Stop in /usr/ports/devel/gamin.
 bsd# pkg_delete fam-2.6.9_6
 pkg_delete: package 'fam-2.6.9_6' is required by these other packages
 and may not be deinstalled:
 dasher-3.2.15
 eel-2.10.1_1
 fileroller-2.10.4,1
 gdm-2.8.0.1
 gnome-menus-2.10.2_1
 gnomedesktop-2.10.2
 gnomegames2-2.10.2
 gnomemedia2-2.10.2
 gnomevfs2-2.10.1
 gnomevfs2-2.12.2_2
 gstreamer-plugins-gnomevfs-0.8.10_1
 gtkhtml3-3.6.2
 k3b-0.12.11
 kde-3.5.1
 
 ...and many more. I do not wish to lose KDE. The problem seems to be 
 documented:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=92592
 
 But I cannot find a workaround that works with the package. 

You will either need to compile KDE or openoffice with support for the
same choice of fam or gamin.  Sorry, no other way around it.

Kris

pgpR0BZhyefiY.pgp
Description: PGP signature


Re: openoffice package install fails on gamin dependency - KDE needs fam

2006-03-20 Thread Micah

Oliver Iberien wrote:

I'm trying to install the package of OpenOffice 2.0:

bsd# pkg_add /home/oliver/OOo_SRC680_m156_FreeBSD60Intel_install_en-US.tbz
pkg_add: could not find package gamin-0.1.7_1 !

Unfortunately:

===  gamin-0.1.7_2 conflicts with installed package(s):
  fam-2.6.9_6

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/devel/gamin.
*** Error code 1

Stop in /usr/ports/devel/gamin.
bsd# pkg_delete fam-2.6.9_6
pkg_delete: package 'fam-2.6.9_6' is required by these other packages
and may not be deinstalled:
dasher-3.2.15
eel-2.10.1_1
fileroller-2.10.4,1
gdm-2.8.0.1
gnome-menus-2.10.2_1
gnomedesktop-2.10.2
gnomegames2-2.10.2
gnomemedia2-2.10.2
gnomevfs2-2.10.1
gnomevfs2-2.12.2_2
gstreamer-plugins-gnomevfs-0.8.10_1
gtkhtml3-3.6.2
k3b-0.12.11
kde-3.5.1

...and many more. I do not wish to lose KDE. The problem seems to be 
documented:

http://www.freebsd.org/cgi/query-pr.cgi?pr=92592

But I cannot find a workaround that works with the package. 


A person from the FreeBSD KDE project posted here:
http://thread.gmane.org/gmane.os.freebsd.devel.ports/56219

for use with the portupgrade system, and the same thread:
http://freebsd.kde.org/pipermail/kde-freebsd/2006-February/012137.html

has something to be spliced in to pkgtools.conf. I put it in, but no joy.

Is there some way to do this without having to download and install the very, 
very large ports version? And even if I download it, will it install?


Thanks,

Oliver


Gamin and Fam are interchangeable in that they do the same thing. 
Gamin is supposed to be the next generation replacement for fam, but 
some have said that gamin is not yet ready for production You should 
set WITH_FAM_SYSTEM= either gamin or fam in your make.conf depending on 
which you decide to permanently use.


If you decide to switch to gamin, pkg_delete fam, then install gamin. 
Run pkgdb -F to change the dependency from fam to gamin on all the ports 
you listed above.  Or just rebuild all the ports that you listed above.


Or if you decide to stick with fam, see if you can force the install of 
the openoffice package despite the gamin dependency.  Then run pkgdb -F 
and point openoffice's gamin dependency to fam.


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


Re: openoffice package install fails on gamin dependency - KDE needs fam

2006-03-20 Thread Kris Kennaway
On Mon, Mar 20, 2006 at 06:14:07PM -0800, Micah wrote:
 Oliver Iberien wrote:
 I'm trying to install the package of OpenOffice 2.0:
 
 bsd# pkg_add /home/oliver/OOo_SRC680_m156_FreeBSD60Intel_install_en-US.tbz
 pkg_add: could not find package gamin-0.1.7_1 !
 
 Unfortunately:
 
 ===  gamin-0.1.7_2 conflicts with installed package(s):
   fam-2.6.9_6
 
   They install files into the same place.
   Please remove them first with pkg_delete(1).
 *** Error code 1
 
 Stop in /usr/ports/devel/gamin.
 *** Error code 1
 
 Stop in /usr/ports/devel/gamin.
 bsd# pkg_delete fam-2.6.9_6
 pkg_delete: package 'fam-2.6.9_6' is required by these other packages
 and may not be deinstalled:
 dasher-3.2.15
 eel-2.10.1_1
 fileroller-2.10.4,1
 gdm-2.8.0.1
 gnome-menus-2.10.2_1
 gnomedesktop-2.10.2
 gnomegames2-2.10.2
 gnomemedia2-2.10.2
 gnomevfs2-2.10.1
 gnomevfs2-2.12.2_2
 gstreamer-plugins-gnomevfs-0.8.10_1
 gtkhtml3-3.6.2
 k3b-0.12.11
 kde-3.5.1
 
 ...and many more. I do not wish to lose KDE. The problem seems to be 
 documented:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=92592
 
 But I cannot find a workaround that works with the package. 
 
 A person from the FreeBSD KDE project posted here:
 http://thread.gmane.org/gmane.os.freebsd.devel.ports/56219
 
 for use with the portupgrade system, and the same thread:
 http://freebsd.kde.org/pipermail/kde-freebsd/2006-February/012137.html
 
 has something to be spliced in to pkgtools.conf. I put it in, but no joy.
 
 Is there some way to do this without having to download and install the 
 very, very large ports version? And even if I download it, will it install?
 
 Thanks,
 
 Oliver
 
 Gamin and Fam are interchangeable in that they do the same thing. 
 Gamin is supposed to be the next generation replacement for fam, but 
 some have said that gamin is not yet ready for production You should 
 set WITH_FAM_SYSTEM= either gamin or fam in your make.conf depending on 
 which you decide to permanently use.
 
 If you decide to switch to gamin, pkg_delete fam, then install gamin. 
 Run pkgdb -F to change the dependency from fam to gamin on all the ports 
 you listed above.  Or just rebuild all the ports that you listed above.
 
 Or if you decide to stick with fam, see if you can force the install of 
 the openoffice package despite the gamin dependency.  Then run pkgdb -F 
 and point openoffice's gamin dependency to fam.

Unfortunately they are not yet inter-compatible, and e.g. courier-imap
will crash when run with gamin.  I don't know what other problems
exist - I guess it might be worth a try forcing it, before recompiling
one or the other.

Kris


pgpn5NQKcNUG4.pgp
Description: PGP signature


Re: openoffice package install fails on gamin dependency - KDE needs fam

2006-03-20 Thread Oliver Iberien
Thanks very much. I just upgraded to KDE 3.5, which took about two days of 
compiling, while in complete ignorance of this issue. It now relies on fam. 
So it looks like fam for me.

I am going to go ahead with compiling. Your method sounds reasonable but my 
scant knowledge of FreeBSD makes me want to be as conservative as possible.

I have amended make.conf with a WITH_FAM_SYSTEM=fam line and put a line in 
pkgtools.conf 

MAKE_ARGS = {
'*' = 'WITH_FAM_SYSTEM=fam',
'editors/openoffice.org-*' = '-DWITHOUT_MOZILLA LOCALIZED_LANG=en-US'

Make clean in the openoffice.org-2.0 ports folder currently yields
===  Cleaning for fam-2.6.9_6

So hopefully after this monster compiles, I will get no gamin-related error 
messages. Hopefully?

Oliver


On Monday 20 March 2006 18:14, you wrote:
 Gamin and Fam are interchangeable in that they do the same thing.
 Gamin is supposed to be the next generation replacement for fam, but
 some have said that gamin is not yet ready for production You should
 set WITH_FAM_SYSTEM= either gamin or fam in your make.conf depending on
 which you decide to permanently use.

 If you decide to switch to gamin, pkg_delete fam, then install gamin.
 Run pkgdb -F to change the dependency from fam to gamin on all the ports
 you listed above.  Or just rebuild all the ports that you listed above.

 Or if you decide to stick with fam, see if you can force the install of
 the openoffice package despite the gamin dependency.  Then run pkgdb -F
 and point openoffice's gamin dependency to fam.

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


Re: Contents of freebsd-questions Digest, Vol 123, Issue 3 (Re: What's the bright idea? fam - gamin)

2006-02-08 Thread Trix Farrar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter wrote:
  --- Nikolas Britton [EMAIL PROTECTED] wrote:
 On 2/6/06, Peter [EMAIL PROTECTED] wrote:
 --- Nikolas Britton [EMAIL PROTECTED] wrote:
 My dependency are all foobared up now, How do I change them all
back
 to fam-2.6.9_6, so I don't have to run pkgdb -F everytime I
 portupgrade?
 
 Remove fam by force and then install gamin.
 
 I don't want gamin, what was wrong with fam for fam?
 
[snipped a lot]

On the off chance that someone hasn't helped you already (or you haven't
yet found the answer):

The way I got past this was to add the following line to /etc/make.conf:

WITH_FAM_SYSTEM=fam

Next, run 'pkgdb -F'.  When it prompts with the stale dependency
message, set the dependency to your installed fam package.  (I cheat and
just use famTAB and let the completion catch it for me.  Be sure to
tell it to replace All so you don't get prompted again.

The /etc/make.conf line will keep you from getting into that pickle again.

Don't be too nervous about replacing this dependency because gamin
supports a subset of fam's features, so you won't lose anything.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD6jSkUn6S0hqD4tsRAiWoAJ41fdNVW7G+V/LVTN14ZKw6Ix4teQCeLDxn
EdDB6dgxHpo3AI6TGH9rl1s=
=reze
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What's the bright idea? fam - gamin

2006-02-06 Thread Nikolas Britton
My dependency are all foobared up now, How do I change them all back
to fam-2.6.9_6, so I don't have to run pkgdb -F everytime I
portupgrade?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's the bright idea? fam - gamin

2006-02-06 Thread Peter

--- Nikolas Britton [EMAIL PROTECTED] wrote:

 My dependency are all foobared up now, How do I change them all back
 to fam-2.6.9_6, so I don't have to run pkgdb -F everytime I
 portupgrade?

Remove fam by force and then install gamin.

What is wrong with running 'pkgdb -F' ?  It is there to help you.  Run it
and tell it to change all fam dependencies to gamin.

Are you going to stop crying now?






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's the bright idea? fam - gamin

2006-02-06 Thread Nikolas Britton
On 2/6/06, Peter [EMAIL PROTECTED] wrote:

 --- Nikolas Britton [EMAIL PROTECTED] wrote:

  My dependency are all foobared up now, How do I change them all back
  to fam-2.6.9_6, so I don't have to run pkgdb -F everytime I
  portupgrade?

 Remove fam by force and then install gamin.

I don't want gamin, what was wrong with fam for fam?


 What is wrong with running 'pkgdb -F' ?  It is there to help you.  Run it
 and tell it to change all fam dependencies to gamin.

 Are you going to stop crying now?

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


Re: What's the bright idea? fam - gamin

2006-02-06 Thread Peter

--- Nikolas Britton [EMAIL PROTECTED] wrote:

 On 2/6/06, Peter [EMAIL PROTECTED] wrote:
 
  --- Nikolas Britton [EMAIL PROTECTED] wrote:
 
   My dependency are all foobared up now, How do I change them all back
   to fam-2.6.9_6, so I don't have to run pkgdb -F everytime I
   portupgrade?
 
  Remove fam by force and then install gamin.
 
 I don't want gamin, what was wrong with fam for fam?
 
 
  What is wrong with running 'pkgdb -F' ?  It is there to help you.  Run
 it
  and tell it to change all fam dependencies to gamin.
 
  Are you going to stop crying now?
 
 No

Here is a thread to keep you busy while you're sulking:

http://lists.freebsd.org/pipermail/freebsd-ports/2006-January/029128.html







__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's the bright idea? fam - gamin

2006-02-06 Thread martinko
Peter wrote:
 --- Nikolas Britton [EMAIL PROTECTED] wrote:
 
 
On 2/6/06, Peter [EMAIL PROTECTED] wrote:

--- Nikolas Britton [EMAIL PROTECTED] wrote:


My dependency are all foobared up now, How do I change them all back
to fam-2.6.9_6, so I don't have to run pkgdb -F everytime I
portupgrade?

Remove fam by force and then install gamin.

I don't want gamin, what was wrong with fam for fam?


What is wrong with running 'pkgdb -F' ?  It is there to help you.  Run

it

and tell it to change all fam dependencies to gamin.

Are you going to stop crying now?

No
 
 
 Here is a thread to keep you busy while you're sulking:
 
 http://lists.freebsd.org/pipermail/freebsd-ports/2006-January/029128.html
 
 


what's wrong with you?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's the bright idea? fam - gamin

2006-02-06 Thread [EMAIL PROTECTED]
On 2/6/06, Nikolas Britton [EMAIL PROTECTED] wrote:
 My dependency are all foobared up now, How do I change them all back
 to fam-2.6.9_6, so I don't have to run pkgdb -F everytime I
 portupgrade?

Into /usr/local/etc/pkgtools.conf place:
  ALT_PKGDEP = {
'gamin*' = 'fam*',
  }
maybe?
--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's the bright idea? fam - gamin

2006-02-06 Thread Joe Marcus Clarke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 On 2/6/06, Nikolas Britton [EMAIL PROTECTED] wrote:
 My dependency are all foobared up now, How do I change them all back
 to fam-2.6.9_6, so I don't have to run pkgdb -F everytime I
 portupgrade?
 
 Into /usr/local/etc/pkgtools.conf place:
   ALT_PKGDEP = {
 'gamin*' = 'fam*',
   }
 maybe?

Add WAITH_FAM_SYSTEM=fam to /etc/make.conf.  A patch is being tested
that should make this automatic.

Joe


- --
Joe Marcus Clarke
FreeBSD GNOME Team  ::  [EMAIL PROTECTED]
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD56/Xb2iPiv4Uz4cRAmEkAJ9yTJ71mT27570de1rzvgcm6PTCoACfaGqZ
Yav3w3bE/hWcB1DiG2oDUOE=
=bfGN
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's the bright idea? fam - gamin

2006-02-06 Thread Kris Kennaway
On Mon, Feb 06, 2006 at 03:21:43PM -0500, Joe Marcus Clarke wrote:
 [EMAIL PROTECTED] wrote:
  On 2/6/06, Nikolas Britton [EMAIL PROTECTED] wrote:
  My dependency are all foobared up now, How do I change them all back
  to fam-2.6.9_6, so I don't have to run pkgdb -F everytime I
  portupgrade?
  
  Into /usr/local/etc/pkgtools.conf place:
ALT_PKGDEP = {
  'gamin*' = 'fam*',
}
  maybe?
 
 Add WAITH_FAM_SYSTEM=fam to /etc/make.conf.  A patch is being tested

s/WAITH/WITH/ (-:

Kris


pgp5yBeujQlVz.pgp
Description: PGP signature


Re: gamin vs fam

2006-01-29 Thread dick hoogendijk
On Sun, 29 Jan 2006 13:17:28 +0100
Michael Nottebrock [EMAIL PROTECTED] wrote:

 dick hoogendijk schrieb:
  Running pkgdb -F everytime is not pleasant. What is (are) the
  advantage (s) of gamin over fam? Is it wise to change to gamin?
 
 The recent change of the USE_FAM default was done without proper
 testing
 - others have already reported problems with gamin, especially in the
 case of courier-imap.
 
 You can however avoid the pkgdb -F dance (if you compile from ports):
 Set WITH_FAM_SYSTEM=fam in /etc/make.conf - this will change the
 default back to fam.

OK, understood.
However, as I understand it, portupgrade (the one I use) does not look
at /etc/make.conf so I still have to put WITH_FAM_SYSTEM=YES into
pkgtools.conf and don't know exactly for which programs ;-( This is not
good.. Aahhrrgg g

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Courier-IMAPD problem with fam(d)

2005-07-19 Thread Kövesdán Gábor

David Kelly wrote:

/var/log/maillog is spayed full of the following message repeated  
hundreds or thousands of times. No matter if the courier-imap port is  
with or with out FAM.


Jul 18 19:44:19 Grumpy imapd: Failed to create cache file:  
maildirwatch (dkelly)

Jul 18 19:44:19 Grumpy imapd: Error: Input/output error
Jul 18 19:44:19 Grumpy imapd: Check for proper operation and  
configuration

Jul 18 19:44:19 Grumpy imapd: of the File Access Monitor daemon (famd).

The only client used is Apple's Mail.app. This has been going on for  
the past year. Sometimes in spite of the error log messages all seems  
to be Good Enough. Then other times Mail.app can't hold a connection.


Elsewhere found a suggestion that the following in my FreeBSD-hosted  
Maildir would help, but has not:


% cd Maildir
% ln -s . .INBOX
% ln -s . .INBOX.

Just now when I deleted the above symbolic links, my mail downloaded  
altho there is another of the above imapd error messages in maillog,  
apparently one for each mailbox message downloaded.


When ever Mail.app gets stuck it seems like all is needed is for the  
mailbox directory to change somehow, or a message or two downloaded,  
deleted or something, then Mail.app is perfectly happy.


Bulk in maillog is nothing but a nuisance. Failed connection is  
worse. How the heck is fam supposed to be configured? Or how the heck  
can I get rid of it?


The mail/courier-imap port installs famd as a dependency, but You have 
to manually configure and start it. Take a look at 
/usr/local/etc/fam.conf. Anyway, this is a deficiency in the new 
versions of courier-imap. There isn't some kind of --without-fam 
configure options, the new versions require fam.
As for me, I had the same problem with it. My maillog was full of junk, 
but I didn't notice any kind of error. I could use imap well, but the 
junk in my log was very annoying, so I applied a little hack.
I did make patch and found the logging part of the source code and 
simply deleted those lines. Now, I had a well-working mail system and 
there isn't such junk in my maillog.


Cheers,

Gábor Kövesdán
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Courier-IMAPD problem with fam(d)

2005-07-19 Thread David Kelly


On Jul 19, 2005, at 6:36 AM, Kövesdán Gábor wrote:


The mail/courier-imap port installs famd as a dependency, but You  
have to manually configure and start it. Take a look at /usr/local/ 
etc/fam.conf.


I don't see anything about starting there or in fam(1M) other than  
if fam is started by inetd.


Anyway, this is a deficiency in the new versions of courier-imap.  
There isn't some kind of --without-fam configure options, the new  
versions require fam.


/usr/ports/mail/courier-imap/Makefile says fam is disabled by default:

OPTIONS=OPENSSL Build with OpenSSL  
supporton \
FAM Build in fam support for IDLE  
command off \
DRACBuild in DRAC  
support off \
TRASHQUOTA  Include deleted mails in the  
quotaoff \
GDBMUse gdbm db instead of system  
bdb off \
IPV6Build with IPv6  
support   on


I suspect but haven't been able to prove fam is somehow running, if  
only as a library linked to imapd. When Mail.app has connection  
problems its instantly disconnected but sometimes a few messages get  
thru. Sometimes a simple ssh to the FreeBSD machine, mutt to view the  
mailbox, close it with messages now tagged as old, is all it takes  
for Mail.app and courier-imap combination to be happy.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Courier-IMAPD problem with fam(d)

2005-07-19 Thread Kövesdán Gábor

David Kelly wrote:



On Jul 19, 2005, at 6:36 AM, Kövesdán Gábor wrote:



The mail/courier-imap port installs famd as a dependency, but You  
have to manually configure and start it. Take a look at /usr/local/ 
etc/fam.conf.



I don't see anything about starting there or in fam(1M) other than  
if fam is started by inetd.


Honestly speaking I don't know how to start it. Maybe inetd starts it, 
maybe courier-imap or You might start it manually?! Unfortunately I dont 
have such problems You have without fam. But if You have found out 
please let me know, I'm interested. :)


Anyway, this is a deficiency in the new versions of courier-imap.  
There isn't some kind of --without-fam configure options, the new  
versions require fam.



/usr/ports/mail/courier-imap/Makefile says fam is disabled by default:

OPTIONS=OPENSSL Build with OpenSSL  
supporton \
FAM Build in fam support for IDLE  
command off \
DRACBuild in DRAC  
support off \
TRASHQUOTA  Include deleted mails in the  
quotaoff \
GDBMUse gdbm db instead of system  
bdb off \
IPV6Build with IPv6  
support   on


If You take a look what the WITH_FAM macro actually does, You'll see it 
only adds fam as a dependency and adds some extra cc flags, but leave 
the CONFIGURE_ARGS untouched. Afaik fam can't be actually disabled in 
courier-imap.


.if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so)
CONFIGURE_ENV=  CPPFLAGS=-I${LOCALBASE}/include \
   LDFLAGS=${LDFLAGS}
LDFLAGS+=   -L${LOCALBASE}/lib
LIB_DEPENDS+=   fam.0:${PORTSDIR}/devel/fam
.endif


I suspect but haven't been able to prove fam is somehow running, if  
only as a library linked to imapd. When Mail.app has connection  
problems its instantly disconnected but sometimes a few messages get  
thru. Sometimes a simple ssh to the FreeBSD machine, mutt to view the  
mailbox, close it with messages now tagged as old, is all it takes  
for Mail.app and courier-imap combination to be happy.


Likely there is the libfam.so linked, as You can see above, but that is 
only a prerequisite to use famd. Famd must be running as a separate 
process and courier-imap connects to famd with the help of libfam.


Cheers,

Gábor Kövesdán
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Courier-IMAPD problem with fam(d)

2005-07-18 Thread David Kelly
/var/log/maillog is spayed full of the following message repeated  
hundreds or thousands of times. No matter if the courier-imap port is  
with or with out FAM.


Jul 18 19:44:19 Grumpy imapd: Failed to create cache file:  
maildirwatch (dkelly)

Jul 18 19:44:19 Grumpy imapd: Error: Input/output error
Jul 18 19:44:19 Grumpy imapd: Check for proper operation and  
configuration

Jul 18 19:44:19 Grumpy imapd: of the File Access Monitor daemon (famd).

The only client used is Apple's Mail.app. This has been going on for  
the past year. Sometimes in spite of the error log messages all seems  
to be Good Enough. Then other times Mail.app can't hold a connection.


Elsewhere found a suggestion that the following in my FreeBSD-hosted  
Maildir would help, but has not:


% cd Maildir
% ln -s . .INBOX
% ln -s . .INBOX.

Just now when I deleted the above symbolic links, my mail downloaded  
altho there is another of the above imapd error messages in maillog,  
apparently one for each mailbox message downloaded.


When ever Mail.app gets stuck it seems like all is needed is for the  
mailbox directory to change somehow, or a message or two downloaded,  
deleted or something, then Mail.app is perfectly happy.


Bulk in maillog is nothing but a nuisance. Failed connection is  
worse. How the heck is fam supposed to be configured? Or how the heck  
can I get rid of it?


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Getting FAM up and running from inetd

2005-02-03 Thread Juha Saarinen
On Wed, 02 Feb 2005 11:36:13 +0100, Nils Vogels
[EMAIL PROTECTED] wrote:
 Hi there!
 
 I'm looking for a way to get fam [devel/fam] up and running from inetd.
 
 I seem to have followed all the hints in the pkg-message, however it
 doesnt work:
 
 imhotep# ps auxwww|grep inetd
 root97100  0.0  0.1  1128  836  ??  Is   11:10AM   0:00.02
 /usr/sbin/inetd -wW
 imhotep# ps auxwww|grep portmap
 daemon  97494  0.0  0.1   952  612  ??  Is   11:23AM   0:00.00
 /usr/sbin/portmap
 imhotep# grep fam /etc/inetd.conf
 sgi_fam/1-2 stream  rpc/tcp waitroot
 /usr/local/bin/fam  fam
 imhotep# grep fam /etc/rpc
 sgi_fam 391002  # file alteration monitor
 imhotep# rpcinfo -p
program vers proto   port
 102   tcp111  portmapper
 102   udp111  portmapper
 
 When I use courier-imap, fam doesnt start up automatically. I can
 start fam from commandline perfectly, but it only has a limited
 lifespan then.
 
 Any hints would be greatly appreciated :)

Did you remember to do:

killall -HUP inetd

as root?

-- 

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


Re: Getting FAM up and running from inetd

2005-02-03 Thread Juha Saarinen
... and you may have to re-install courier-imap from the ports with
fam support (set WITH_FAM=yes ).
-- 

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


Getting FAM up and running from inetd

2005-02-02 Thread Nils Vogels
Hi there!
I'm looking for a way to get fam [devel/fam] up and running from inetd.
I seem to have followed all the hints in the pkg-message, however it
doesnt work:
imhotep# ps auxwww|grep inetd
root97100  0.0  0.1  1128  836  ??  Is   11:10AM   0:00.02
/usr/sbin/inetd -wW
imhotep# ps auxwww|grep portmap
daemon  97494  0.0  0.1   952  612  ??  Is   11:23AM   0:00.00
/usr/sbin/portmap
imhotep# grep fam /etc/inetd.conf
sgi_fam/1-2 stream  rpc/tcp waitroot   
/usr/local/bin/fam  fam
imhotep# grep fam /etc/rpc
sgi_fam 391002  # file alteration monitor
imhotep# rpcinfo -p
  program vers proto   port
   102   tcp111  portmapper
   102   udp111  portmapper

When I use courier-imap, fam doesnt start up automatically. I can
start fam from commandline perfectly, but it only has a limited
lifespan then.
Any hints would be greatly appreciated :)
Nils.
--
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and
dance like no one can see you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting portmap and fam on startup

2004-06-25 Thread Gareth Bailey
Thanks Joey, i saw that after posting. In the future i'll
make sure i read the pkg messages ;-)

Ciao

On Thu, 24 Jun 2004 13:37:25 -0300
 Joey Mingrone [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Gareth,
 
 /usr/ports/devel/fam/pkg-message says:
 


 
 1. In order to run this port, please add the following
 line to /etc/rpc if
 it is not already there:
 

==8888888888==
 sgi_fam 391002

==8888888888==
 
 2. To run fam from inetd (the recommended method), then
 please add the
 following lines to /etc/inetd.conf if they are not
 already there:
 

==8888888888==
 # FAM: File Alteration Monitor [devel/fam]
 sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam
  fam

==8888888888==
 
 After modifying /etc/inetd.conf, you must (as root) run:
 
killall -HUP inetd
 
 Fam also requires that portmapper is running.  Add the
 appropriate
 entry to /etc/rc.conf:
 
 For 4.x:
 Add portmap_enable=YES and either reboot or run
 /usr/sbin/portmap.
 
 For 5.x:
 Add rpcbind_enable=YES and either reboot or run
 /usr/sbin/rpcbind.
 


 
 Joey
 
 On June 24, 2004 04:49, Gareth Bailey wrote:
  Hi there,
 
  I have realised that courier-imap needs fam to be
 running
  to be happy. Fam, in turn needs portmap. I know that
  portmap can be started at boot time by using
  portmap_enable=YES in rc.conf, but how might one start
 fam
  at boot time?
 
  Regards,
  Gareth
 

_
  For super low premiums ,click here
 http://www.dialdirect.co.za/quote
  ___
  [EMAIL PROTECTED] mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (FreeBSD)
 

iD8DBQFA2wNM0NQPEWppBZsRAjWcAJ4w0ux8Ci9YS95FakH2n/IAloUaVQCfYtpb
 Bv752swV57KpzK7JDN5gnJw=
 =jXzf
 -END PGP SIGNATURE-


_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Starting portmap and fam on startup

2004-06-24 Thread Gareth Bailey
Hi there,

I have realised that courier-imap needs fam to be running
to be happy. Fam, in turn needs portmap. I know that
portmap can be started at boot time by using
portmap_enable=YES in rc.conf, but how might one start fam
at boot time?

Regards,
Gareth
_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting portmap and fam on startup

2004-06-24 Thread Joey Mingrone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gareth,

/usr/ports/devel/fam/pkg-message says:



1. In order to run this port, please add the following line to /etc/rpc if
it is not already there:

==8888888888==
sgi_fam 391002
==8888888888==

2. To run fam from inetd (the recommended method), then please add the
following lines to /etc/inetd.conf if they are not already there:

==8888888888==
# FAM: File Alteration Monitor [devel/fam]
sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam  fam
==8888888888==

After modifying /etc/inetd.conf, you must (as root) run:

   killall -HUP inetd

Fam also requires that portmapper is running.  Add the appropriate
entry to /etc/rc.conf:

For 4.x:
Add portmap_enable=YES and either reboot or run /usr/sbin/portmap.

For 5.x:
Add rpcbind_enable=YES and either reboot or run /usr/sbin/rpcbind.



Joey

On June 24, 2004 04:49, Gareth Bailey wrote:
 Hi there,

 I have realised that courier-imap needs fam to be running
 to be happy. Fam, in turn needs portmap. I know that
 portmap can be started at boot time by using
 portmap_enable=YES in rc.conf, but how might one start fam
 at boot time?

 Regards,
 Gareth
 _
 For super low premiums ,click here http://www.dialdirect.co.za/quote
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA2wNM0NQPEWppBZsRAjWcAJ4w0ux8Ci9YS95FakH2n/IAloUaVQCfYtpb
Bv752swV57KpzK7JDN5gnJw=
=jXzf
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


errors with FAM and KDE

2004-02-21 Thread Antoine Jacoutot
Hi :)

I'm having a problem with FAM under KDE (3.2).
My homedirs are mounted using NFS and regularly, I get the following errors in 
my logs:

kernel: pid 609 (fam), uid 1: exited on signal 6

Everything seems to work fine though, but I'm always concern about errors I 
don't understand.

The homedirs are exported like this:
/home -alldirs -maproot=nobody:nobody -network 192.168.0.0 -mask 255.255.255.0

My users are authenticated using LDAP.

Obviously, there must be a permission problem somewhere (note that local root 
on workstations cannot access users homedirs since it is map to user nobody).

Do you know where this error could come from ?
I'm running 5.2.1-RC2.

Thanks in advance.
Regards,

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


FAM

2003-10-26 Thread Antoine Jacoutot
Hi :)

I'm having a problem with FAM (file alteration monitor).
Each time I'm opening a folder under KDE (using Konqueror), I get the 
following error in my message logs:

Oct 26 10:36:47 sta01 kernel: pid 8731 (fam), uid 1000: exited on signal 6
Oct 26 10:36:47 sta01 inetd[562]: /usr/local/bin/fam[8731]: exited, signal 6

I tried hacking the configuration file a bit, turned on debug, but got no more 
explicit error message.
Is there anyone using FAM under FreeBSD who does not have these kind of 
erros ?
Thanks in advance.

-- 
Antoine Jacoutot
[EMAIL PROTECTED]
http://www.lphp.org
PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc

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