a portmaster/ports question

2011-09-18 Thread Aryeh Friedman
Is there any way to get portmaster to reinstall every port in the *EXACT*
same order they where installed in, preferably with out any knowledge of
what ports where installed after the current one was the reason for
asking is many times it seems that subtle incompatibilities solely due to
either the order of upgrades in -ad and/or when a port gets updated
autoconfig picks up stuff non-dependant ports that where installed later...
a good example of the second is gettext compiles with java support if you
reinstall after installing Java but does not do so if installing before you
install it
___
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: Ports Question

2008-04-27 Thread Daniel Bye
On Sun, Apr 27, 2008 at 01:19:57AM +0200, Roland Smith wrote:
 On Sat, Apr 26, 2008 at 04:40:58PM -0400, Grant Peel wrote:
  Hi all,
  
  What is the proper method to pass configure arguments when installing a 
  port?
 
 While you can supply arguments on the command line, it is hard to
 remember.
 
 Therefore I think it is best to set arguments in make.conf. For example;
 
 -- make.conf excerpt --
 .if ${.CURDIR:M*/graphics/xpdf}
 A4=yes
 .endif
 
 .if ${.CURDIR:M*/mail/mutt-devel}
 WITH_MUTT_SLANG2=yes
 WITHOUT_MUTT_HTML=yes 
 WITHOUT_MUTT_XML=yes 
 WITHOUT_MUTT_COMPRESSED_FOLDERS=yes 
 WITHOUT_NLS=yes 
 NOPORTDOCS=yes
 .endif
 
 .if ${.CURDIR:M*/print/cups*}
 CUPS_OVERWRITE_BASE=true
 .endif
 -- make.conf excerpt --
 
 The '.if' statement ensures that the variables are only set when make is
 called from the praticular port direction.

I find the portconf method a little easier to manage - installing 
ports-mgmt/portconf adds some lines to your make.conf, which allow you
to set options for your ports in a file called /usr/local/etc/ports.conf.

For example,

mail/exim: WITH_MYSQL=1 | WITH_SPF=1

The file is honoured by manual builds, and by the likes of portinstall,
portmaster etc.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpZmDM7Pr4rr.pgp
Description: PGP signature


Ports Question

2008-04-26 Thread Grant Peel

Hi all,

What is the proper method to pass configure arguments when installing a 
port?


example, I am trying to build exim with mysql and spf support

make -D WITH_SPF=YES -D WITH_MYSQL=YES

Please help,

been struggling with this for what seems like forever.

-Grant 


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


Re: Ports Question

2008-04-26 Thread Roland Smith
On Sat, Apr 26, 2008 at 04:40:58PM -0400, Grant Peel wrote:
 Hi all,
 
 What is the proper method to pass configure arguments when installing a 
 port?

While you can supply arguments on the command line, it is hard to
remember.

Therefore I think it is best to set arguments in make.conf. For example;

-- make.conf excerpt --
.if ${.CURDIR:M*/graphics/xpdf}
A4=yes
.endif

.if ${.CURDIR:M*/mail/mutt-devel}
WITH_MUTT_SLANG2=yes
WITHOUT_MUTT_HTML=yes 
WITHOUT_MUTT_XML=yes 
WITHOUT_MUTT_COMPRESSED_FOLDERS=yes 
WITHOUT_NLS=yes 
NOPORTDOCS=yes
.endif

.if ${.CURDIR:M*/print/cups*}
CUPS_OVERWRITE_BASE=true
.endif
-- make.conf excerpt --

The '.if' statement ensures that the variables are only set when make is
called from the praticular port direction.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpNxpqgz4ona.pgp
Description: PGP signature


Re: Ports Question

2008-04-26 Thread Chris Hill

On Sat, 26 Apr 2008, Grant Peel wrote:

What is the proper method to pass configure arguments when installing 
a port?


example, I am trying to build exim with mysql and spf support

make -D WITH_SPF=YES -D WITH_MYSQL=YES


I think for this example the proper syntax would be:
  make -DWITH_SPF -DWITH_MYSQL
or even
  make -DWITH_SPF -DWITH_MYSQL install clean

..although I know nothing of exim.

HTH.

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


Re: Ports question

2008-02-20 Thread Erik Cederstrand

James Harrison wrote:

On Wed, 2008-02-20 at 12:02 -0600, Darryl Hoar wrote:

Greetings,
I am looking to install a CMS system (something like postnuke) and want to
have a blog component.

Anybody have any recommendations ?  If it is in the ports, it would be even
better.

thanks,
Darryl


I've been using git  a fair bit; it's fast as all hell. It's what the
linux kernel guys use, though I'm considering moving over to bazaar
because it archives more metadata.
 http://en.wikipedia.org/wiki/Bazaar_(software)

The BSDs traditionally use CVS, so at the very least you know that's
good over long term for a lot of files.


Uhh, CMS != CVS.

The OP needs to give more information. What are the requirements? Is it 
just a blog and a couple of static pages, and very few users? Go with 
Wordpress. If you're building a community site or a company site with 
lots of pages, customers. editors etc? Drupal is great for that. 
$100.000 government site with customizations galore? Use Plone.


All three are in the ports tree.

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


Re: Ports question

2008-02-20 Thread James Harrison
On Wed, 2008-02-20 at 12:02 -0600, Darryl Hoar wrote:
 Greetings,
 I am looking to install a CMS system (something like postnuke) and want to
 have a blog component.
 
 Anybody have any recommendations ?  If it is in the ports, it would be even
 better.
 
 thanks,
 Darryl

I've been using git  a fair bit; it's fast as all hell. It's what the
linux kernel guys use, though I'm considering moving over to bazaar
because it archives more metadata.
 http://en.wikipedia.org/wiki/Bazaar_(software)

The BSDs traditionally use CVS, so at the very least you know that's
good over long term for a lot of files.


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


Ports question

2008-02-20 Thread Darryl Hoar
Greetings,
I am looking to install a CMS system (something like postnuke) and want to
have a blog component.

Anybody have any recommendations ?  If it is in the ports, it would be even
better.

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


Re: ports question / compiz-fusion

2008-01-30 Thread Nerius Landys
Holy Moly this is really cool!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ports question / compiz-fusion

2008-01-29 Thread Nerius Landys
I hope this is the right list for this topic.
I'm trying to run compiz-fusion on my desktop.  I've already installed the
x11-wm/compiz-fusion port from sources; it all installed well.  Since my
internet search for how to actually run the thing on FreeBSD ran pretty dry,
I've been trying to follow instructions for other [Linux] distributions.
But things don't seem to work.  Does anyone have any suggestions on how to
run compiz-fusion after a successful install?  I'd prefer to run with Xfce,
but Gnome is acceptable too.  A pointer to a doc would help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports question / compiz-fusion

2008-01-29 Thread Manolis Kiagias

Nerius Landys wrote:

I hope this is the right list for this topic.
I'm trying to run compiz-fusion on my desktop.  I've already installed the
x11-wm/compiz-fusion port from sources; it all installed well.  Since my
internet search for how to actually run the thing on FreeBSD ran pretty dry,
I've been trying to follow instructions for other [Linux] distributions.
But things don't seem to work.  Does anyone have any suggestions on how to
run compiz-fusion after a successful install?  I'd prefer to run with Xfce,
but Gnome is acceptable too.  A pointer to a doc would help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  
Assuming you have already setup you X server for composite, to run 
compiz-fusion enter these commands:


(as normal user)

compiz --replace --sm-disable --ignore-dekstop-hints ccp 
emerald --replace 

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


Re: ports question / compiz-fusion

2008-01-29 Thread Andreas Rudisch
On Tue, 29 Jan 2008 10:24:00 -0800
Nerius Landys [EMAIL PROTECTED] wrote:

 I'm trying to run compiz-fusion on my desktop.  I've already installed the
 x11-wm/compiz-fusion port from sources; it all installed well.  Since my
 internet search for how to actually run the thing on FreeBSD ran pretty dry,
 I've been trying to follow instructions for other [Linux] distributions.
 But things don't seem to work.  Does anyone have any suggestions on how to
 run compiz-fusion after a successful install?  I'd prefer to run with Xfce,
 but Gnome is acceptable too.  A pointer to a doc would help.

I am playing around with compiz-fusion for a while now on Xfce4. To get
started I autostart the following simple script once Xfce is running
(which probably can be done better):

#!/bin/sh
/usr/bin/killall compiz
/usr/bin/killall emerald
sleep 2
/usr/local/bin/compiz --replace ccp 
/usr/local/bin/emerald --replace 

After that, all you need to do is to configure Emerald and compiz so it
fits your needs with:

%emerald-theme-manager
%ccsm

Both programs can be found in the right click menu of xfce under
settings.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgptzNL0e2Ufb.pgp
Description: PGP signature


Re: Quick perl ports question

2007-08-30 Thread Kurt Buff
On 8/29/07, Matthew Seaman [EMAIL PROTECTED] wrote:
 Nikola Lecic wrote:

  C) port it!
 
  is the best. :) Seriously, if you really have a long term need for
  Net::LDAP module, then porting would be the most convenient for you and
  for others.

 It's already been done.  I don't know why the port is called
 p5-perl-ldap instead of p5-Net-LDAP though.  Possibly it pre-dates
 the current naming conventions.

 Cheers,

 Matthew

Ah, thanks so very much. It's option D) - the comfy chair! :)

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


Quick perl ports question

2007-08-29 Thread Kurt Buff
I'm trying to implement a script that I found, and it's referencing
Net::LDAP, Net::LDAP::Control::Paged and Net::LDAP::Constant

I'm not finding p5-net-ldap in ports, though I do see
p5-ResourcePool-Resource-Net-LDAP and p5-perl-ldap.

Can I:

A) leave the script as-is, and simply install one or the other of
these ports, and have it work? If so, which one?

Or, must I

B) commit minor surgery on the script wherever I see references to
those packages, and if so, what might that look like?

The script in question is found here:

http://www-personal.umich.edu/~malth/gaptuning/postfix/

for getting SMTP addresses from my Exchange server.

TIA,

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


Re: Quick perl ports question

2007-08-29 Thread Nikola Lecic
On Wed, 29 Aug 2007 16:22:39 -0700
Kurt Buff [EMAIL PROTECTED] wrote:

 I'm trying to implement a script that I found, and it's referencing
 Net::LDAP, Net::LDAP::Control::Paged and Net::LDAP::Constant
 
 I'm not finding p5-net-ldap in ports, though I do see
 p5-ResourcePool-Resource-Net-LDAP and p5-perl-ldap.
 
 Can I:
 
 A) leave the script as-is, and simply install one or the other of
 these ports, and have it work? If so, which one?
 
 Or, must I
 
 B) commit minor surgery on the script wherever I see references to
 those packages, and if so, what might that look like?
 
 The script in question is found here:
 
 http://www-personal.umich.edu/~malth/gaptuning/postfix/
 
 for getting SMTP addresses from my Exchange server.

Kurt,

Maybe this is not a direct answer, but it seems that

C) port it!

is the best. :) Seriously, if you really have a long term need for
Net::LDAP module, then porting would be the most convenient for you and
for others.

Just look at Makefile of net/p5-ResourcePool-Resource-Net-LDAP. Make
the port for you own use, test it, then share.

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


Re: Quick perl ports question

2007-08-29 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Kurt Buff wrote:
 I'm trying to implement a script that I found, and it's referencing
 Net::LDAP, Net::LDAP::Control::Paged and Net::LDAP::Constant
 
 I'm not finding p5-net-ldap in ports, though I do see
 p5-ResourcePool-Resource-Net-LDAP and p5-perl-ldap.

p5-perl-ldap is what you want for the Net::LDAP modules.

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
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1lmr8Mjk52CukIwRCNGMAJ9y02XHc+pWRtBQaksTu0MY9Z4w1gCcDh7t
uOoJ5S7QcBlFRnojR1DqEN8=
=Oqte
-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: Quick perl ports question

2007-08-29 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Nikola Lecic wrote:

 C) port it!
 
 is the best. :) Seriously, if you really have a long term need for
 Net::LDAP module, then porting would be the most convenient for you and
 for others.

It's already been done.  I don't know why the port is called
p5-perl-ldap instead of p5-Net-LDAP though.  Possibly it pre-dates
the current naming conventions.

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
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1lql8Mjk52CukIwRCLLLAJwOlyMUZzEJJdDgme1tG0Y/fr1wRwCeOZ+5
I1+nojgdW6Yc5cs9y6pQWNY=
=lHyb
-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: Uninstalling Ports Question

2007-04-10 Thread Placid Publishing, LLC
Thanks Bill. I use the port upgrade suit for all of my port management 
needs. I guess what I can do is just pkg_info the pkg I am going to 
delete then see if I need the deps or not and un-install them as well.


Bill Moran wrote:

In response to Placid Publishing, LLC [EMAIL PROTECTED]:

  
Say I have a new system with nothing installed on it yet from the ports 
collection. Lets say I install Apache and lets say it requires php, 
python, perl, and ruby. Now lets say I uninstall Apache with pkg_delete 
Apache. Will it remove php, python, perl, and ruby? Or will it leave 
those packages? Even if nothing else is depending on them?



The system does not automatically clean up dependencies for you.  If
you uninstall a package that leave dependencies behind, you'll have to
clean them up yourself.

  
If it does, how can I remove those quickly with a pkg_* command? Also, 
what happens if other programs I installed later use php, python, or 
perl? I'm guessing they would just be left?



Install and use ports-mgmnt/pkg_cutleaves.  It solves these problems if
you always use it to uninstall software.

  


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


CVSup/Ports Question

2006-04-12 Thread Adam Stroud
I just have a quick question on some of the documentation I have read 
about FreeBSD and it's ports collection.  I read in the handbook that 
the cvsup tag for the ports-* collection should be ..


In particular, use only tag=. for the ports-* collections.

However, when I was reading the ports(7) man page I saw:

It is possible to download and use ports from the FreeBSD repository 
that are newer than the installed system; however it is important to 
install the appropriate ``Upgrade Kit'' from 
http://www.FreeBSD.org/ports/ first!  The portcheckout(1) 
(ports/devel/portcheckout) script (also a port, of course!) will help to 
download new ports.


When I went to the webpage that the man page referenced I found a 
paragraph that stated


The Ports Collection supports the latest release on the FreeBSD-CURRENT 
and FreeBSD-STABLE branches. Older releases are not supported and may or 
may not work correctly with an up-to-date ports collection. Over time, 
changes to the ports collection may rely on features that are not 
present in older releases. Wherever convenient, we try not to 
gratuitously break support for recent releases, but it is sometimes 
unavoidable. When this occurs, patches contributed by the user community 
to maintain support for older releases will usually be committed.


My question is should I keep tag=. in my ports supfile even though I 
am running the RELENG_6_0 and from my understanding that is different 
from the -STABLE branch.


Or, am I just mixed up on the branching structure?

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


Re: CVSup/Ports Question

2006-04-12 Thread wc_fbsd

At 11:09 PM 4/12/2006, you wrote:
question on . ports collection.  I read in the handbook that the 
cvsup tag for the ports-* collection should be .. In particular, 
use only tag=. for the ports-* collections.


As I understand it, there is no most recent version of port that 
still works with my very old FBSD version.  You either get the ports 
snapshot that was out at the same time your release was released.  Or 
you get the *most* recent version of the port, with no guarantee it 
will work on an exceedingly old FBSD version.


In any case, don't screw with cvsup for ports;  look into 
portsnap.  It's included in 6.x and available in ports for older 
releases.  It's easier, faster, and lower bandwidth.


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


[Fwd: Re: package vs ports question]

2006-03-27 Thread Duane Whitty



 Original Message 
Subject:Re: package vs ports question
Date:   Mon, 27 Mar 2006 07:57:04 -0300
From:   Luiz Eduardo Guida Valmont [EMAIL PROTECTED]
To: Duane Whitty [EMAIL PROTECTED]
References: 
[EMAIL PROTECTED] 
[EMAIL PROTECTED]




And I also have a question regarding this matter. :)

When I installed FreeBSD (6.1-BETA4, though I don't think version
makes any difference here), I chose User in one of initial screens
(I can't remember which one that was now, sorry). That pre-selected a
handfull of software to be installed. I have always used ports since
FreeBSD was installed. But...

Does the installation process install any package that may be
overriden by any port?

On 3/27/06, Duane Whitty [EMAIL PROTECTED] wrote:

Huy Ton That wrote:
 I am curious, the key different between packages and ports are that
packages
 are precompiled and ports are not?  Am I erroneous in this statement?  I'm
a
 little confused as I have been always using make install clean from the
 ports and don't see the difference...  Has anyone else had the same
 question?

 -Lee
 _

Hi,

Your best bet is to read the handbook section
on packages and ports.  To answer your question
though, yes packages are pre-built and ports need
to be compiled, linked, etc from sources.

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

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




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


Re: [Fwd: Re: package vs ports question]

2006-03-27 Thread Duane Whitty

Duane Whitty wrote:



 Original Message 
Subject: Re: package vs ports question
Date: Mon, 27 Mar 2006 07:57:04 -0300
From: Luiz Eduardo Guida Valmont [EMAIL PROTECTED]
To: Duane Whitty [EMAIL PROTECTED]
References: 
[EMAIL PROTECTED] 
[EMAIL PROTECTED]




And I also have a question regarding this matter. :)

When I installed FreeBSD (6.1-BETA4, though I don't think version
makes any difference here), I chose User in one of initial screens
(I can't remember which one that was now, sorry). That pre-selected a
handfull of software to be installed. I have always used ports since
FreeBSD was installed. But...

Does the installation process install any package that may be
overriden by any port?


Hi,

I am sorry but I do not understand what you are trying to ask.  Are you 
asking

if  using the ports system will change any software you installed when you
first installed FreeBSD?

I want to make sure that myself and others who may try to answer your 
question

understand what it is you are asking.

Sincerely,

--Duane


On 3/27/06, Duane Whitty [EMAIL PROTECTED] wrote:

Huy Ton That wrote:
 I am curious, the key different between packages and ports are that
packages
 are precompiled and ports are not?  Am I erroneous in this 
statement?  I'm

a
 little confused as I have been always using make install clean from 
the

 ports and don't see the difference...  Has anyone else had the same
 question?

 -Lee
 _

Hi,

Your best bet is to read the handbook section
on packages and ports.  To answer your question
though, yes packages are pre-built and ports need
to be compiled, linked, etc from sources.

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

--Duane
___
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]



--
[]'s,
Luiz Eduardo

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


Re: [Fwd: Re: package vs ports question]

2006-03-27 Thread Norberto Meijome
On Mon, 27 Mar 2006 07:15:07 -0400
Duane Whitty [EMAIL PROTECTED] wrote:

 Does the installation process install any package that may be
 overriden by any port?

yes. for example ,you select to install bash-3 from sysinstall (  the
freebsd installer UI ). this reads and installs the package
bash-3.x.y.z.tbz from somewhere in your selected setup origin (DVD /
CD / FTP / NFS).

I assume you would also install the ports collection and keep it up to
date (keeping a system up to date without the actual ports collection
in /usr/ports is , I guess, doable...though i've never done it, and I
dont see why I would want to, unless i'm in dire need of space).

Anyway, you update your ports, and you learn that bas-3.x.(y+1).b is
out. You can now install this new version from a package by either:
 a) downloading the package by hand and using 
   pkg_add /path/to/package/file 
 b) portupgrade -PP bash

Or you can install this from source, by doing either of:
 a) cd /usr/ports/shells/bash ; make install clean
 or
 b) portupgrade shells/bash

The option I've been using lately is a mix of both - use the package if
available (locally or from remote site); if not avail, build from
source and generate a package (so I can reinstall as needed in
other/same box):
 portupgrade -pP shells/bash

or

 cd /usr/ports/shells/bash ; make ; make deinstall ; make package
clean

 ( package generation doesnt work for ALL ports, but the vast
majority would be ok. For example ,Adobe Acrobate cannot be
redistributed in binary form, so a package cannot be generated. the
process will still work)

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


Fwd: package vs ports question

2006-03-27 Thread Luiz Eduardo Guida Valmont
Thanks for the answer. I just hope I'm not messing things too much.

So if a port may override a package, is the only solution to this
generate a package then install it? Now if this happens, what will
happen for example (supposing I install everything from packages - or
make package then pkg_add for that matter) when I install Adobe
Acrobat? Are all its dependancies going to be installed as well? I
mean, ports doesn't know which packages were installed by pkg_add,
which is how I suppose those packages are installed. Sorry if I cannot
make myself clear enough, but there's still the fog that blinds
newbies like me. :)

Is it possible to generate packages for all the dependancies? Does
make package do this for all packages for which a package can be
created? I hope I won't need to reinstall them but you know... you
never know. :)

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

Re: Fwd: package vs ports question

2006-03-27 Thread Norberto Meijome
On Mon, 27 Mar 2006 09:57:49 -0300
Luiz Eduardo Guida Valmont [EMAIL PROTECTED] wrote:

 Thanks for the answer. I just hope I'm not messing things too much.

np :)

 
 So if a port may override a package, 

a port and a package are the same thing, in a different form :). the
tree structure under /usr/ports contains information about applications
ported to Freebsd. This information is used to compile each application
as needed for FBSD. You can do this yourself, therefore installing it
from the ports. 

Or you can use the binary output of that compilation that someone else
did, and which is provided to you in the form of a package.

You may want to , like I do, have a binary installer of the apps you
are running, which is why I mentioned how you create, from the
ports, your own packages (remember, 'package' = 'binary result of
building/compiling a port'). 

( if someone wants to clarify my explanation, PLEASE go ahead :) )

 is the only solution to this
 generate a package then install it? 

no

 Now if this happens, what will
 happen for example (supposing I install everything from packages - or
 make package then pkg_add for that matter) 

make package will actually make the package and install it for you, you
dont need to do a pkg_add after that (yes, a bit counter-intuitive, but
really handy)

 when I install Adobe
 Acrobat? Are all its dependancies going to be installed as well? 

yes, that's the beauty of using portinstall or portupgrade instead of
pkg_add (I think pkg_add resolves dependencies, but not as
cleverly/well as portinstall / portupgrade)

 I
 mean, ports doesn't know which packages were installed by pkg_add,
 which is how I suppose those packages are installed. Sorry if I cannot
 make myself clear enough, but there's still the fog that blinds
 newbies like me. :)
 
 Is it possible to generate packages for all the dependancies? Does
 make package do this for all packages for which a package can be
 created? I hope I won't need to reinstall them but you know... you
 never know. :)

portinstall -pP [section/port]

will do this for you for 'port' and all its build and run dependencies.

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


Re: Fwd: package vs ports question

2006-03-27 Thread Kevin Kinsey

Luiz Eduardo Guida Valmont wrote:


Thanks for the answer. I just hope I'm not messing things too much.

So if a port may override a package, is the only solution to this
generate a package then install it? Now if this happens, what will
happen for example (supposing I install everything from packages - or
make package then pkg_add for that matter) when I install Adobe
Acrobat? Are all its dependancies going to be installed as well? I
mean, ports doesn't know which packages were installed by pkg_add,
which is how I suppose those packages are installed. Sorry if I cannot
make myself clear enough, but there's still the fog that blinds
newbies like me. :)
 



Sorry if I'm interjecting stupid stuff here .. . haven't yet backtracked
this thread.

What exactly do you mean, ports doesn't *know* which packages
were installed by pkg_add ... they use the same database, and as
far as the ports(7) mechanism is concerned, they are the same thing.

The difference is in the details visible to the user; as far as the ports
system is concerned, files is files, and port/package data is data.


Is it possible to generate packages for all the dependancies? Does
make package do this for all packages for which a package can be
created? I hope I won't need to reinstall them but you know... you
never know. :)

 



'make package' should include all dependencies, by my understanding;
however, my understanding isn't the greatest, so YMMV.



Thanks again...
 



HTH,

KDK

--
A drama critic is a person who surprises a playwright by informing him
what he meant.
-- Wilson Mizner

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


Re: Fwd: package vs ports question

2006-03-27 Thread RW
On Monday 27 March 2006 14:20, Norberto Meijome wrote:
 make package will actually make the package and install it for you, you
 dont need to do a pkg_add after that (yes, a bit counter-intuitive, but
 really handy)

Make package creates a package out of an installed port (it will install the 
port first, if neccessary). It doesn't install the package - there would be 
no point.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fwd: package vs ports question

2006-03-27 Thread Donald J. O'Neill
On Monday 27 March 2006 09:26, Kevin Kinsey wrote:
 Luiz Eduardo Guida Valmont wrote:
 Thanks for the answer. I just hope I'm not messing things too much.
 
 So if a port may override a package, is the only solution to this
 generate a package then install it? Now if this happens, what will
 happen for example (supposing I install everything from packages -
  or make package then pkg_add for that matter) when I install
  Adobe Acrobat? Are all its dependancies going to be installed as
  well? I mean, ports doesn't know which packages were installed by
  pkg_add, which is how I suppose those packages are installed. Sorry
  if I cannot make myself clear enough, but there's still the fog
  that blinds newbies like me. :)

 Sorry if I'm interjecting stupid stuff here .. . haven't yet
 backtracked this thread.

 What exactly do you mean, ports doesn't *know* which packages
 were installed by pkg_add ... they use the same database, and as
 far as the ports(7) mechanism is concerned, they are the same thing.

 The difference is in the details visible to the user; as far as the
 ports system is concerned, files is files, and port/package data is
 data.

 Is it possible to generate packages for all the dependancies? Does
 make package do this for all packages for which a package can be
 created? I hope I won't need to reinstall them but you know... you
 never know. :)

 'make package' should include all dependencies, by my understanding;
 however, my understanding isn't the greatest, so YMMV.

 Thanks again...

 HTH,

 KDK

'make package' will install the missing dependencies but will only make 
a package of the the port being installed. If you want to make a 
package of the dependent ports you need to use 'make 
package-recursive'. Be advised, probably somewhere in the build of the 
packages, something will be missing and it will break. At least, it 
always has for me. So, packages are built for some of the dependent 
ports, but not for others.

You need to check that /usr/ports/packages exists and if it doesn't, do 
a 'mkdir /usr/ports/packages', otherwise the built packages are put in 
the port. Not a really convenient place.

I very seldom build packages anymore.

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


Re: Fwd: package vs ports question

2006-03-27 Thread Donald J. O'Neill
On Monday 27 March 2006 09:49, RW wrote:
 On Monday 27 March 2006 14:20, Norberto Meijome wrote:
  make package will actually make the package and install it for you,
  you dont need to do a pkg_add after that (yes, a bit
  counter-intuitive, but really handy)

 Make package creates a package out of an installed port (it will
 install the port first, if neccessary). It doesn't install the
 package - there would be no point.
 ___

'make install' builds a package from the port and installs it. 'make 
package' builds a package and installs it, it also saves it in 
compressed form so it can be reinstalled if necessary. 

A port is a skeleton, it contains the information needed to build a 
package and that's it. The ports aren't installed, it's the package 
that results from building a port that is installed. Ports are only 
skeletons, the contain the information necessary to allow the port to 
be built into an installable package. 

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


package vs ports question

2006-03-27 Thread Luiz Eduardo Guida Valmont
Wow, I stopped following this thread for a few hours and now I can just
compile a mini-ports howto. ^^ So, first things first: thanks for all who
replied. All replies were meaningful, so thank you all.

Kevin, what I didn't know was the fact that ports and packages share the
same database. Knowing that was really helpful and cleared most doubts I
had.

Donald, I didn't know about make package-recursive and I think I won't try
it, for now. My system is almost  completly installed and the missing
packages won't take that much to justify creating the packages to ease
future installations (well, in fact I hope I never need to reinstall FreeBSD
^^). I may try it, though, just to see how it works.

One last question: is there a way to find what are the standard targets for
any given port? I know I could install bash-completion, but I don't it is
100% reliable (I think it may miss some targets if Makefiles are included,
but I may be wrong).

Once again, thank you all.


On 3/27/06, Donald J. O'Neill [EMAIL PROTECTED] wrote:

 On Monday 27 March 2006 09:49, RW wrote:
  On Monday 27 March 2006 14:20, Norberto Meijome wrote:
   make package will actually make the package and install it for you,
   you dont need to do a pkg_add after that (yes, a bit
   counter-intuitive, but really handy)
 
  Make package creates a package out of an installed port (it will
  install the port first, if neccessary). It doesn't install the
  package - there would be no point.
  ___

 'make install' builds a package from the port and installs it. 'make
 package' builds a package and installs it, it also saves it in
 compressed form so it can be reinstalled if necessary.

 A port is a skeleton, it contains the information needed to build a
 package and that's it. The ports aren't installed, it's the package
 that results from building a port that is installed. Ports are only
 skeletons, the contain the information necessary to allow the port to
 be built into an installable package.

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




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

Re: Fwd: package vs ports question

2006-03-27 Thread RW
On Monday 27 March 2006 17:02, Donald J. O'Neill wrote:
 On Monday 27 March 2006 09:49, RW wrote:
  On Monday 27 March 2006 14:20, Norberto Meijome wrote:
   make package will actually make the package and install it for you,
   you dont need to do a pkg_add after that (yes, a bit
   counter-intuitive, but really handy)
 
  Make package creates a package out of an installed port (it will
  install the port first, if neccessary). It doesn't install the
  package - there would be no point.
  ___

 'make install' builds a package from the port and installs it. 'make
 package' builds a package and installs it, it also saves it in
 compressed form so it can be reinstalled if necessary.

My point was that it doesn't create a package file and then install it, which 
is  how I read it. 

There is a strong unwritten convention in the language  of FreeBSD that you 
don't refer to installing from a port as installing a package - even though 
it's technically correct. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: package vs ports question

2006-03-27 Thread Kevin Kinsey

Luiz Eduardo Guida Valmont wrote:


Wow, I stopped following this thread for a few hours and now I can just
compile a mini-ports howto. ^^ So, first things first: thanks for all who
replied. All replies were meaningful, so thank you all.

Kevin, what I didn't know was the fact that ports and packages share the
same database. Knowing that was really helpful and cleared most doubts I
had.

Donald, I didn't know about make package-recursive and I think I won't try
it, for now. My system is almost  completly installed and the missing
packages won't take that much to justify creating the packages to ease
future installations (well, in fact I hope I never need to reinstall FreeBSD
^^). I may try it, though, just to see how it works.

One last question: is there a way to find what are the standard targets for
any given port? I know I could install bash-completion, but I don't it is
100% reliable (I think it may miss some targets if Makefiles are included,
but I may be wrong).

Once again, thank you all.
 



Well, this is where RTF*M, UTSL, and so on probably come in.  Not
that RTFMming is a lot of fun, mind you; but I'm not using it to insult
you, either.

First, there's ports(7).  Then, since the ports system uses
make(1), that's one to read, I'd guess.  Make(1) points you
over to read make.conf(5).  Ports(7) says this:


BUGS
Ports documentation is split over four places --
/usr/ports/Mk/bsd.port.mk, The Porter's Handbook, the ``Packages and
Ports'' chapter of The FreeBSD Handbook, and this manual page.

So, those would be some places to start, too (most of which come
in the doc distribution, and is on the website and mirrors, of course.

And as for UTSL (that's use the Source, Luke, right?) you could
read about 14,000 ports Makefiles, if you had time.  Hopefully a few
select ones might suffice

I don't know if anyone's got a totally complete handle on the entire
system.  People like Mr. Kennaway and many other committers come
close, I'm sure ... but I imagine their knowledge came from RTFM,
and experience, just like most everyone else's**.

HTH,

Kevin Kinsey

*Yeah, that's Read The Friendly Manual.  Those who say otherwise,
well, they're not friendly, I guess  :D

**Not to mention that an author/programmer is generally pretty
familiar with his work ... up to a point (which is where commenting
your code comes in, eh? ;-)

--
Never have children, only grandchildren.
-- Gore Vidal


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


package vs ports question

2006-03-26 Thread Huy Ton That
I am curious, the key different between packages and ports are that packages
are precompiled and ports are not?  Am I erroneous in this statement?  I'm a
little confused as I have been always using make install clean from the
ports and don't see the difference...  Has anyone else had the same
question?

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


Re: package vs ports question

2006-03-26 Thread Duane Whitty

Huy Ton That wrote:

I am curious, the key different between packages and ports are that packages
are precompiled and ports are not?  Am I erroneous in this statement?  I'm a
little confused as I have been always using make install clean from the
ports and don't see the difference...  Has anyone else had the same
question?

-Lee
_
  

Hi,

Your best bet is to read the handbook section
on packages and ports.  To answer your question
though, yes packages are pre-built and ports need
to be compiled, linked, etc from sources.

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

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


Re: Re[2]: sendmail/postfix ports question

2005-11-21 Thread Matt Singerman
Sadly, I could not get this working no matter what. I opted to simply remove
the PHP4 port completely, restore an old httpd.conf, and rebuild PHP using
the source code. This worked. What was going on with the port is beyond my
knowledge, but I unfortunately do not have the FreeBSD knowledge to work it
out. Oh well!

On 10/8/05, Gerard Seibert [EMAIL PROTECTED] wrote:

 On Fri, 07 Oct 2005 07:46:54 -0700, Greg Maruszeczka [EMAIL PROTECTED]
 Subject: Re: sendmail/postfix ports question
 Wrote these words of wisdom:

  Matt Singerman wrote:
   Hello all,
  
   I have a server running FreeBSD 5.2.1 that provides (amongst other
   things) MTA services to our office via sendmail. For a variety of a
   reasons, I would like to move away from sendmail to postfix. However,
   the postfix package cannot, as I am sure you know, simply install with
   sendmail on the system, since they install files to the same places. I
   am assuming that I have to delete the sendmail package off the system
   before I can install postfix (someone please correct me if this
   assumption is wrong). My question is, is there a way to safely and
   accurately save my sendmail configuration in the event that postfix
   simply does not work out? I would really prefer not to have to face a
   situation where I am left high and dry with no MTA working :)
  
 
 
  The ports version of postfix by default installs all its configuration
  files under /usr/local/ports/postfix so it leaves your /etc/mail alone
  (with the exception of mailer.conf) so your sendmail config should be
  safe -- though it never hurts to tar it up and cp someplace else just in
  case. You DO NOT need to remove sendmail from the system, though, if you
  desire, you can exclude it from the `make world` process by adding
  NO_SENDMAIL=yes to /etc/make.conf.
 
  A couple of things to watch for:
 
  1. You will have another aliases file under the new postfix directory so
  you'll want to remember this if you use the aliases file much. You can
  just ignore the new one and continue to use the one in /etc/mail or you
  can do what I did and instruct postfix through its main.cfg to take the
  postfix-directory version as gospel since this seemed convenient for me
  to keep the bulk of my config stuff in the postfix directory.
 
  2. Like David said in his reply to you, make sure you read the
  post-install messages once you build/install postfix so that you can
  modify your mailer.conf appropriately to use postfix instead of the core
  sendmail. The /etc/mail/mailer.conf file is the key to the seamless
  transition here. Also, be careful with mergemaster when you do the next
  `make world` so that you don't inadvertently overwrite your
  postfix-modified one with the base sendmail one (done that myself once
  or twice :) )
 
 
  Hope that helps,
  G
 

 * REPLY SEPARATOR *
 On 10/8/2005 2:41:20 PM, Gerard Seibert Replied:

 I have always thought that it might be a nice option to have FreeBSD
 only install the MTA that the user prefers, when the OS is first
 installed. If a user wanted PostFix, or Qmail or whatever, that MTA
 would be installed and initialized in a similar fashion to what is
 currently done with SendMail. However, SendMail would not be installed,
 unless it was the users preference. Further, buildworld would by default
 update the users MTA of choice, and not default to SendMail.

 Of course, I want to win the lottery next week, but that is probably
 not going to happen either.

 Just my 2¢.

 --
 There are two ways to slide easily through life; to believe everything
 or to doubt everything. Both ways save us from thinking.

 Alfred Korzybski
 ___
 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]


A simple ports question...

2005-10-20 Thread makisupa
How would you install a port that had dependencies that were older than
identical items on your system?  

For example, you install portx that requires depend1.1 -- you have
depend1.2 on your system.  Running 'make install clean' will generate an
error code stating that you have an OLDER version -- despite the fact
that you actually have a newer version.  I believe this is simply
because version numbers don't match.  'FORCE_PACKAGE_REGISTER' will
install and register the older version as well as the newer version.
THis is less than desirable behavior.  I looked through the ports man
page to find a variable that would ignore dependencies.  If such a
variable exists would the port most likely still run (assuming all
dependencies are present albeit newer versions)?

Thanks,
Mak.



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


Re: A simple ports question...

2005-10-20 Thread RW
On Thursday 20 October 2005 15:25, makisupa wrote:
 How would you install a port that had dependencies that were older than
 identical items on your system?

 For example, you install portx that requires depend1.1 -- you have
 depend1.2 on your system.  

This will happen if you have an out-of-date ports tree, and have installed 
packages built against a newer tree. Try bringing your tree up-to-date with 
cvsup or portsnap. See the handbook for details. 

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


Re: A simple ports question...

2005-10-20 Thread makisupa
Thanks for the reply...

My ports tree is up to date -- i believe the problem (if you want to
call it that) is that I installed gnome 2.12 from package at marcuscom
(on a 6.0 RC1 system -- i needed 6.0 for some HW issues).  I therefore
have newer versions of certain files than many of the ports in the
current tree are expecting.  Does this sound like a reasonable
explanation?  

Your answer is the one everyone has been telling me for the last week.
And i truly appreciate the response.  I keep thinking i'm asking the
question wrong :)  I would understand this answer if the dependencies i
had were OLDER than what the port was looking for...but I have a NEWER
version.  For example, while installing pan2 it needs glib-2.6.6.  I
have glib-2.8.3.  How can i properly get this port installed?

===  Installing for glib-2.6.6
===   glib-2.6.6 depends on file: /usr/local/bin/perl5.8.7 - found
===   glib-2.6.6 depends on executable: pkg-config - found
===   glib-2.6.6 depends on shared library: intl - found
===   Generating temporary packing list
===  Checking if devel/glib20 already installed
===   An older version of devel/glib20 is already installed
(glib-2.8.3)
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of devel/glib20
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1

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

Thanks,
I'm really not trying to beat a dead horse here.  I have read all
relevant sections of the handbook and man pages but the obvious seems to
be escaping me.  I truly appreciate the help

mak.

On Thu, 2005-10-20 at 16:06 +0100, RW wrote:
 On Thursday 20 October 2005 15:25, makisupa wrote:
  How would you install a port that had dependencies that were older than
  identical items on your system?
 
  For example, you install portx that requires depend1.1 -- you have
  depend1.2 on your system.  
 
 This will happen if you have an out-of-date ports tree, and have installed 
 packages built against a newer tree. Try bringing your tree up-to-date with 
 cvsup or portsnap. See the handbook for details. 
 
 ___
 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: A simple ports question...

2005-10-20 Thread RW
On Thursday 20 October 2005 16:35, makisupa wrote:
 Thanks for the reply...

 My ports tree is up to date -- i believe the problem (if you want to
 call it that) is that I installed gnome 2.12 from package at marcuscom
 (on a 6.0 RC1 system -- i needed 6.0 for some HW issues).  I therefore
 have newer versions of certain files than many of the ports in the
 current tree are expecting.  Does this sound like a reasonable
 explanation?

Not entirely. FreeBSD releases all share the same ports tree, and neither 
gnome 2.12 nor glib-2.8.3 are in it. It sounds like you picked up a 
work-in-progress, development version of Gnome rather than simply the current 
version built against a 6.0 based system

 Your answer is the one everyone has been telling me for the last week.
 And i truly appreciate the response.  I keep thinking i'm asking the
 question wrong :)  I would understand this answer if the dependencies i
 had were OLDER than what the port was looking for...but I have a NEWER
 version.  For example, while installing pan2 it needs glib-2.6.6.  I
 have glib-2.8.3.  How can i properly get this port installed?

It really depend why you got packages for 2.12 rather than the current ports 
version. If gnome 2.10.2. is broken on  6.0-RC1, then it's going to be 
tricky. The fact that make install in the pan2 directory causes  glib to 
build suggest that some port isn't compatible with glib-2.8.3. 

On the other hand if you simply got the 2.12 version because it was there, I 
would suggest removing it and installing  2.10.2 - presumably pointyhat has a 
compatible version. Alternately portmanager will probably be able to handle 
the reversion through the port system.

You also have the options of waiting for 2.12 to hit the ports tree, or doing 
without gnome.

Forcing the glib-2.6.6 registration will overwrite the glib-2.8.3 version 
which may break gnome.

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


newbie ports question

2005-10-13 Thread makisupa
I seem to be getting myself in trouble repeatedly...I'm sure someone can
help...

Fresh install of 6.0 RC1, gnome 2.12 from marcus's tb, freshly cvsupped
ports.  I need to install some little apps like gaim and pan.  when
running 'make install clean' for these ports i'll get a message that the
correct version of port X is not installed.  Problem is make says i need
a newer version but the version numbers indicate i've got a newer
version than what its looking for.  Then a little part about
'FORCE_PACKAGE_REGISTER.'  There is an example of this below this
message.  If i use this it will install the older version of the
dependencies or at least register them.  I say this on the last system
that i hosed...2 copies of the same package would be registered.  Not
good. How should i *properly* install these ports?  As in what's not
going to get me in trouble?


===  Installing for glib-2.6.6
===   glib-2.6.6 depends on file: /usr/local/bin/perl5.8.7 - found
===   glib-2.6.6 depends on executable: pkg-config - found
===   glib-2.6.6 depends on shared library: intl - found
===   Generating temporary packing list
===  Checking if devel/glib20 already installed
===   An older version of devel/glib20 is already installed
(glib-2.8.3)
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of devel/glib20
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1

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

Stop in /usr/ports/accessibility/atk.
*** Error code 1

Stop in /usr/ports/textproc/gtkspell2.
*** Error code 1

Stop in /usr/ports/net/gaim.


Thanks for the help.  Loving my BSD laptop so far...just straightening
some things out.

/mak. 

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


Re: newbie ports question

2005-10-13 Thread Andrew P.
On 10/13/05, makisupa [EMAIL PROTECTED] wrote:
 I seem to be getting myself in trouble repeatedly...I'm sure someone can
 help...

 Fresh install of 6.0 RC1, gnome 2.12 from marcus's tb, freshly cvsupped
 ports.  I need to install some little apps like gaim and pan.  when
 running 'make install clean' for these ports i'll get a message that the
 correct version of port X is not installed.  Problem is make says i need
 a newer version but the version numbers indicate i've got a newer
 version than what its looking for.  Then a little part about
 'FORCE_PACKAGE_REGISTER.'  There is an example of this below this
 message.  If i use this it will install the older version of the
 dependencies or at least register them.  I say this on the last system
 that i hosed...2 copies of the same package would be registered.  Not
 good. How should i *properly* install these ports?  As in what's not
 going to get me in trouble?


 ===  Installing for glib-2.6.6
 ===   glib-2.6.6 depends on file: /usr/local/bin/perl5.8.7 - found
 ===   glib-2.6.6 depends on executable: pkg-config - found
 ===   glib-2.6.6 depends on shared library: intl - found
 ===   Generating temporary packing list
 ===  Checking if devel/glib20 already installed
 ===   An older version of devel/glib20 is already installed
 (glib-2.8.3)
   You may wish to ``make deinstall'' and install this port again
   by ``make reinstall'' to upgrade it properly.
   If you really wish to overwrite the old port of devel/glib20
   without deleting it first, set the variable FORCE_PKG_REGISTER
   in your environment or the make install command line.
 *** Error code 1

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

 Stop in /usr/ports/accessibility/atk.
 *** Error code 1

 Stop in /usr/ports/textproc/gtkspell2.
 *** Error code 1

 Stop in /usr/ports/net/gaim.


 Thanks for the help.  Loving my BSD laptop so far...just straightening
 some things out.

 /mak.

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


I'd start with installing portupgrade, and trying to
portupgrade -arR. I'm sure there's another solution,
though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newbie ports question

2005-10-13 Thread Robert Huff

Andrew P. writes:

   ===  Installing for glib-2.6.6
   ===   glib-2.6.6 depends on file: /usr/local/bin/perl5.8.7 - found
   ===   glib-2.6.6 depends on executable: pkg-config - found
   ===   glib-2.6.6 depends on shared library: intl - found
   ===   Generating temporary packing list
   ===  Checking if devel/glib20 already installed
   ===   An older version of devel/glib20 is already installed
   (glib-2.8.3)
 You may wish to ``make deinstall'' and install this port again
 by ``make reinstall'' to upgrade it properly.
 If you really wish to overwrite the old port of devel/glib20
 without deleting it first, set the variable FORCE_PKG_REGISTER
 in your environment or the make install command line.
  
  I'd start with installing portupgrade, and trying to
  portupgrade -arR. I'm sure there's another solution,
  though.

Installing (and using) portupgrade is a good idea;
unfortunately, it will not stop you from getting bit by this problem
occasionally.
My quick fix:

pd /usr/ports/devel/glib20
make deinstall
make install
assuming in stall finished correctly make distclean
popd

(Assumes *csh as the shell.)


Robert Huff

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


Re: newbie ports question

2005-10-13 Thread Peter Matulis
 I'd start with installing portupgrade, and trying to
 portupgrade -arR. I'm sure there's another solution,
 though.

What is the use of specifying the 'r' switch when using the 'a'
switch?

# portupgrade -ar

Since all installed ports are targeted wouldn't installed ports that
depend on another installed port be upgraded anyway (if necessary)?

I understand the reasoning behind using the 'R' switch with 'a'
since
there may be new ports that are not installed that are required by
installed ports. 






__ 
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: newbie ports question

2005-10-13 Thread Gregory Nou

Andrew P. wrote:

On 10/13/05, makisupa [EMAIL PROTECTED] wrote:


I seem to be getting myself in trouble repeatedly...I'm sure someone can
help...

Fresh install of 6.0 RC1, gnome 2.12 from marcus's tb, freshly cvsupped
ports.  I need to install some little apps like gaim and pan.  when
running 'make install clean' for these ports i'll get a message that the
correct version of port X is not installed.  Problem is make says i need
a newer version but the version numbers indicate i've got a newer
version than what its looking for.  Then a little part about
'FORCE_PACKAGE_REGISTER.'  There is an example of this below this
message.  If i use this it will install the older version of the
dependencies or at least register them.  I say this on the last system
that i hosed...2 copies of the same package would be registered.  Not
good. How should i *properly* install these ports?  As in what's not
going to get me in trouble?


===  Installing for glib-2.6.6
===   glib-2.6.6 depends on file: /usr/local/bin/perl5.8.7 - found
===   glib-2.6.6 depends on executable: pkg-config - found
===   glib-2.6.6 depends on shared library: intl - found
===   Generating temporary packing list
===  Checking if devel/glib20 already installed
===   An older version of devel/glib20 is already installed
(glib-2.8.3)
 You may wish to ``make deinstall'' and install this port again
 by ``make reinstall'' to upgrade it properly.
 If you really wish to overwrite the old port of devel/glib20
 without deleting it first, set the variable FORCE_PKG_REGISTER
 in your environment or the make install command line.
*** Error code 1

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

Stop in /usr/ports/accessibility/atk.
*** Error code 1

Stop in /usr/ports/textproc/gtkspell2.
*** Error code 1

Stop in /usr/ports/net/gaim.


Thanks for the help.  Loving my BSD laptop so far...just straightening
some things out.

/mak.

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




I'd start with installing portupgrade, and trying to
portupgrade -arR. I'm sure there's another solution,
though.


I would suggest installing every port with :
portinstall -vRP directory_of_the_port/name_of_the_port

e.g. portinstall -vRP net/gaim

That will update all needed ports when necessary, fetching a precompiled 
version, or if not possible, downloading and compiling it from source. 
As I like verbosity, I put the -v.


Hope it helps,

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


Re: newbie ports question

2005-10-13 Thread makisupa
On Thu, 2005-10-13 at 14:21 -0400, Robert Huff wrote:
 Andrew P. writes:
 
===  Installing for glib-2.6.6
===   glib-2.6.6 depends on
file: /usr/local/bin/perl5.8.7 - found
===   glib-2.6.6 depends on executable: pkg-config -
found
===   glib-2.6.6 depends on shared library: intl - found
===   Generating temporary packing list
===  Checking if devel/glib20 already installed
===   An older version of devel/glib20 is already
installed
(glib-2.8.3)
  You may wish to ``make deinstall'' and install this
port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of
devel/glib20
  without deleting it first, set the variable
FORCE_PKG_REGISTER
  in your environment or the make install command
line.
   
   I'd start with installing portupgrade, and trying to
   portupgrade -arR. I'm sure there's another solution,
   though.

What good will portupgrade it do here?  Obviously I must not
properly understand what its doing...but in the error message I
have a newer version of the dependency than the port calls for
and the port misidentifies this.  If there was a newer port of
say 'pan' that had newer dependencies .. ie. the one's i already
have than i'd be golden.  But why wouldn't cvsup'ing take care
of that?  Like i said...you're dealing with a newb here.  I am
obviously missunderstanding something...
 
   Installing (and using) portupgrade is a good idea;
 unfortunately, it will not stop you from getting bit by this
problem
 occasionally.
   My quick fix:
 
   pd /usr/ports/devel/glib20
   make deinstall
   make install
   assuming in stall finished correctly make distclean
   popd
   
   (Assumes *csh as the shell.)
 
 
   Robert Huff
 
Can we teach a man to fish here?  I with you until after
'deinstall'. What does make distclean and popd do?  Googled a
bit and got unsatisfactory answers. I am simply using the
default shell.  This is how i got in trouble before...make
deinstall and then make install clean of glib20.  Then gnome
will be unable to start complaining of missing a libgtk.so.o
file (that's not the exact name).  Since there was a new rc1 and
i was just experimenting i blew the install away and went with
the new.  I'm not too keen on doing that again...

Thanks again,
Mak.

 ___
 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: newbie ports question

2005-10-13 Thread Andrew P.
On 10/14/05, makisupa [EMAIL PROTECTED] wrote:
 What good will portupgrade it do here?  Obviously I must not
 properly understand what its doing...but in the error message I
 have a newer version of the dependency than the port calls for
 and the port misidentifies this.  If there was a newer port of
 say 'pan' that had newer dependencies .. ie. the one's i already
 have than i'd be golden.  But why wouldn't cvsup'ing take care
 of that?  Like i said...you're dealing with a newb here.  I am
 obviously missunderstanding something...


You'll want to look through ports manpage. It only takes
a minute to read, but saves you a lifetime of questions.

As I understand, you're dealing with kind of bug in
glib20 port. You might be lucky enough so that
portupgrade will get over it - and fix everything.

By the way, did you update the INDEX files in
/usr/ports? Run portsdb -uUF to fetch and install a
fresh index. Do it every time after cvsupping your
ports tree.

For now, try:

# cd /usr/ports/sysutils/portupgrade
# make install
If it fails, post the errors here, please
# cvsup -g -L 2 your-ports-supfile
# portsdb -uUF
# portversion -l\
Show's what's outdated
# portupgrade -arR
Tries to upgrade what's outdated
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: sendmail/postfix ports question

2005-10-08 Thread Gerard Seibert
On Fri, 07 Oct 2005 07:46:54 -0700, Greg Maruszeczka [EMAIL PROTECTED]
Subject: Re: sendmail/postfix ports question
Wrote these words of wisdom:

 Matt Singerman wrote:
  Hello all,
  
  I have a server running FreeBSD 5.2.1 that provides (amongst other
  things) MTA services to our office via sendmail.  For a variety of a
  reasons, I would like to move away from sendmail to postfix.  However,
  the postfix package cannot, as I am sure you know, simply install with
  sendmail on the system, since they install files to the same places.  I
  am assuming that I have to delete the sendmail package off the system
  before I can install postfix (someone please correct me if this
  assumption is wrong).  My question is, is there a way to safely and
  accurately save my sendmail configuration in the event that postfix
  simply does not work out?  I would really prefer not to have to face a
  situation where I am left high and dry with no MTA working :)
  
 
 
 The ports version of postfix by default installs all its configuration 
 files under /usr/local/ports/postfix so it leaves your /etc/mail alone 
 (with the exception of mailer.conf) so your sendmail config should be 
 safe -- though it never hurts to tar it up and cp someplace else just in 
 case. You DO NOT need to remove sendmail from the system, though, if you 
 desire, you can exclude it from the `make world` process by adding 
 NO_SENDMAIL=yes to /etc/make.conf.
 
 A couple of things to watch for:
 
 1. You will have another aliases file under the new postfix directory so 
 you'll want to remember this if you use the aliases file much. You can 
 just ignore the new one and continue to use the one in /etc/mail or you 
 can do what I did and instruct postfix through its main.cfg to take the 
 postfix-directory version as gospel since this seemed convenient for me 
 to keep the bulk of my config stuff in the postfix directory.
 
 2. Like David said in his reply to you, make sure you read the 
 post-install messages once you build/install postfix so that you can 
 modify your mailer.conf appropriately to use postfix instead of the core 
 sendmail. The /etc/mail/mailer.conf file is the key to the seamless 
 transition here. Also, be careful with mergemaster when you do the next 
 `make world` so that you don't inadvertently overwrite your 
 postfix-modified one with the base sendmail one (done that myself once 
 or twice :) )
 
 
 Hope that helps,
 G
 

* REPLY SEPARATOR *
On 10/8/2005 2:41:20 PM, Gerard Seibert Replied:

I have always thought that it might be a nice option to have FreeBSD
only install the MTA that the user prefers, when the OS is first
installed. If a user wanted PostFix, or Qmail or whatever, that MTA
would be installed and initialized in a similar fashion to what is
currently done with SendMail. However, SendMail would not be installed,
unless it was the users preference. Further, buildworld would by default
update the users MTA of choice, and not default to SendMail.

Of course, I want to win the lottery next week, but that is probably
not going to happen either.

Just my 2¢.

-- 
There are two ways to slide easily through life; to believe everything
or to doubt everything. Both ways save us from thinking.

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


Re: sendmail/postfix ports question

2005-10-07 Thread Greg Maruszeczka

Matt Singerman wrote:

Hello all,

I have a server running FreeBSD 5.2.1 that provides (amongst other
things) MTA services to our office via sendmail.  For a variety of a
reasons, I would like to move away from sendmail to postfix.  However,
the postfix package cannot, as I am sure you know, simply install with
sendmail on the system, since they install files to the same places.  I
am assuming that I have to delete the sendmail package off the system
before I can install postfix (someone please correct me if this
assumption is wrong).  My question is, is there a way to safely and
accurately save my sendmail configuration in the event that postfix
simply does not work out?  I would really prefer not to have to face a
situation where I am left high and dry with no MTA working :)




The ports version of postfix by default installs all its configuration 
files under /usr/local/ports/postfix so it leaves your /etc/mail alone 
(with the exception of mailer.conf) so your sendmail config should be 
safe -- though it never hurts to tar it up and cp someplace else just in 
case. You DO NOT need to remove sendmail from the system, though, if you 
desire, you can exclude it from the `make world` process by adding 
NO_SENDMAIL=yes to /etc/make.conf.


A couple of things to watch for:

1. You will have another aliases file under the new postfix directory so 
you'll want to remember this if you use the aliases file much. You can 
just ignore the new one and continue to use the one in /etc/mail or you 
can do what I did and instruct postfix through its main.cfg to take the 
postfix-directory version as gospel since this seemed convenient for me 
to keep the bulk of my config stuff in the postfix directory.


2. Like David said in his reply to you, make sure you read the 
post-install messages once you build/install postfix so that you can 
modify your mailer.conf appropriately to use postfix instead of the core 
sendmail. The /etc/mail/mailer.conf file is the key to the seamless 
transition here. Also, be careful with mergemaster when you do the next 
`make world` so that you don't inadvertently overwrite your 
postfix-modified one with the base sendmail one (done that myself once 
or twice :) )



Hope that helps,
G

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


sendmail/postfix ports question

2005-10-06 Thread Matt Singerman
Hello all,

I have a server running FreeBSD 5.2.1 that provides (amongst other
things) MTA services to our office via sendmail.  For a variety of a
reasons, I would like to move away from sendmail to postfix.  However,
the postfix package cannot, as I am sure you know, simply install with
sendmail on the system, since they install files to the same places.  I
am assuming that I have to delete the sendmail package off the system
before I can install postfix (someone please correct me if this
assumption is wrong).  My question is, is there a way to safely and
accurately save my sendmail configuration in the event that postfix
simply does not work out?  I would really prefer not to have to face a
situation where I am left high and dry with no MTA working :)

Thanks,

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


Re: sendmail/postfix ports question

2005-10-06 Thread David Kelly
On Thu, Oct 06, 2005 at 11:16:50AM -0400, Matt Singerman wrote:
 Hello all,
 
 I have a server running FreeBSD 5.2.1 that provides (amongst other
 things) MTA services to our office via sendmail.  For a variety of a
 reasons, I would like to move away from sendmail to postfix.  However,
 the postfix package cannot, as I am sure you know, simply install with
 sendmail on the system, since they install files to the same places.  I
 am assuming that I have to delete the sendmail package off the system
 before I can install postfix (someone please correct me if this
 assumption is wrong).  My question is, is there a way to safely and
 accurately save my sendmail configuration in the event that postfix
 simply does not work out?  I would really prefer not to have to face a
 situation where I am left high and dry with no MTA working :)

Install postfix from ports. It does NOT install files to the same place
as sendmail with the optional exception of /etc/mail/mail.conf which
provides redirects to the postfix versions.

Also read what postfix says during installation. Needs a bit of info
added to /etc/rc.conf.

Add NO_SENDMAIL=1 (just define it) to /etc/make.conf and a make
buildworld will not build sendmail. Not certain how to surely remove
sendmail once its installed.

-- 
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]


Possibly OT: ports question/suggestion

2005-02-04 Thread Tom Moyer
Maybe this is not the best place for this (I'm not really sure) but
would there be a way to setup the ports tree so that when a particular
package is deinstalled that it's dependancies would be deinstalled if
they were only installed becasue of the port in the first place.  For
example Package X depends on Packages A,B, and C.  Package A was
installed because you needed it for whatever reason but B and C were
not.  So I install Package X ( and consequently B and C) and when I
decide to get rid of Package X for whatever reason it automagically
knows that B and C were installed due to dependancies and would check
if they were needed by other ports/packages and if not interactively
go through and deinstall them.  Interactively would be that it would
prompt the user prior to deinstallation.

Would you like to remove Package B, since it was installed as a
dependancy? [y/N]?, etc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Possibly OT: ports question/suggestion

2005-02-04 Thread Doug Poland
On Fri, Feb 04, 2005 at 02:02:45PM -0500, Tom Moyer wrote:
 Maybe this is not the best place for this (I'm not really sure) but
 would there be a way to setup the ports tree so that when a particular
 package is deinstalled that it's dependancies would be deinstalled if
 they were only installed becasue of the port in the first place.  
 
I believe pkg_deinstall -R will behave in the manner you describe.  

 Would you like to remove Package B, since it was installed as a
 dependancy? [y/N]?, etc.

pkg_deinstall will not prompt you, however.

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


Re: php ports question

2005-01-27 Thread Nikolas Britton
Andrew L. Gould wrote:
I noticed that php ports conflict with php-cli ports.  Does that mean 
you can't do both web and cli programs in php on the same computer?  Or 
does php include command line capabilities?

Thanks,
Andrew
 

The standard php4 port installs both mod_php for apache and the cli 
version, read the Makefile for the port for more info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


php ports question

2005-01-26 Thread Andrew L. Gould
I noticed that php ports conflict with php-cli ports.  Does that mean 
you can't do both web and cli programs in php on the same computer?  Or 
does php include command line capabilities?

Thanks,

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


Re: portupgrade/ports question

2004-08-14 Thread Alex de Kruijff
On Thu, Aug 12, 2004 at 12:14:23PM -0400, Bart Silverstrim wrote:
 Situation:
 I set up a portal server as per the instructions at their site; it 
 involved installing some PERL modules from CPAN, which I have since 
 learned on FreeBSD appears to be a no no...
 
 Now I have some updates to do, but I don't want it to interfere with 
 the web portal software.  In theory, the updates should just replace 
 the CPAN stuff where they overlap, no?  When I do some updates on 
 software (like ClamAV) that apparently *uses* some of these modules, I 
 get the error:
 pkg_delete: package bsdpan-MIME-tools-5.411 has no origin recorded
 pkg_delete: package bsdpan-MailTools-1.62 has no origin recorded
 pkg_delete: package bsdpan-MIME-tools-5.411 has no origin recorded
 pkg_delete: package bsdpan-MailTools-1.62 has no origin recorded
 
 but these errors aren't enough to keep it from completing the update on 
 the software in question. Portversion is yielding:
 
 # portversion | grep -v =
 apache  
 bsdpan-Archive-Zip  
 bsdpan-DBD-mysql
 bsdpan-DBI  
 bsdpan-IO-stringy   
 bsdpan-Lingua-EN-NameParse  
 bsdpan-MIME-tools   #
 bsdpan-Mail-POP3Client  
 bsdpan-MailTools#
 bsdpan-Spreadsheet-WriteExcel  
 bsdpan-Test-Manifest
 bsdpan-URI  
 bsdpan-Unicode-String   
 bsdpan-XML-RSS  
 bsdpan-perl-ldap
 expat   
 ezm3
 libiconv
 m4  
 openssl 
 p5-libwww   
 perl
 rc_subr 
 rsync   
 ruby
 
 
 Meaning some PAN modules are of *higher* versions than available 
 through ports?  How?
 
 Can I safely try upgrading those modules?  Has anyone run into 
 something like this before?

I have got these may times over. You have nothing to wurry about. If you
check with pkg_version then you will see that non of them are reported
with a higher version (i.e. ). 

You can rebuilt varius package related stuf to be on the safe side. One
command is portsdb -uU.  There can be one or two other relevant command
but i don't know these by memory. You can find them, do, in the
portupgrade manual.


-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade/ports question

2004-08-12 Thread Bart Silverstrim
Situation:
I set up a portal server as per the instructions at their site; it 
involved installing some PERL modules from CPAN, which I have since 
learned on FreeBSD appears to be a no no...

Now I have some updates to do, but I don't want it to interfere with 
the web portal software.  In theory, the updates should just replace 
the CPAN stuff where they overlap, no?  When I do some updates on 
software (like ClamAV) that apparently *uses* some of these modules, I 
get the error:
pkg_delete: package bsdpan-MIME-tools-5.411 has no origin recorded
pkg_delete: package bsdpan-MailTools-1.62 has no origin recorded
pkg_delete: package bsdpan-MIME-tools-5.411 has no origin recorded
pkg_delete: package bsdpan-MailTools-1.62 has no origin recorded

but these errors aren't enough to keep it from completing the update on 
the software in question. Portversion is yielding:

# portversion | grep -v =
apache  
bsdpan-Archive-Zip  
bsdpan-DBD-mysql
bsdpan-DBI  
bsdpan-IO-stringy   
bsdpan-Lingua-EN-NameParse  
bsdpan-MIME-tools   #
bsdpan-Mail-POP3Client  
bsdpan-MailTools#
bsdpan-Spreadsheet-WriteExcel  
bsdpan-Test-Manifest
bsdpan-URI  
bsdpan-Unicode-String   
bsdpan-XML-RSS  
bsdpan-perl-ldap
expat   
ezm3
libiconv
m4  
openssl 
p5-libwww   
perl
rc_subr 
rsync   
ruby
Meaning some PAN modules are of *higher* versions than available 
through ports?  How?

Can I safely try upgrading those modules?  Has anyone run into 
something like this before?

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


Re: portupgrade/ports question

2004-08-12 Thread jason
Bart Silverstrim wrote:
Situation:
I set up a portal server as per the instructions at their site; it 
involved installing some PERL modules from CPAN, which I have since 
learned on FreeBSD appears to be a no no...

Now I have some updates to do, but I don't want it to interfere with 
the web portal software.  In theory, the updates should just replace 
the CPAN stuff where they overlap, no?  When I do some updates on 
software (like ClamAV) that apparently *uses* some of these modules, I 
get the error:
pkg_delete: package bsdpan-MIME-tools-5.411 has no origin recorded
pkg_delete: package bsdpan-MailTools-1.62 has no origin recorded
pkg_delete: package bsdpan-MIME-tools-5.411 has no origin recorded
pkg_delete: package bsdpan-MailTools-1.62 has no origin recorded

but these errors aren't enough to keep it from completing the update 
on the software in question. Portversion is yielding:

# portversion | grep -v =
apache  
bsdpan-Archive-Zip  
bsdpan-DBD-mysql
bsdpan-DBI  
bsdpan-IO-stringy   
bsdpan-Lingua-EN-NameParse  
bsdpan-MIME-tools   #
bsdpan-Mail-POP3Client  
bsdpan-MailTools#
bsdpan-Spreadsheet-WriteExcel  
bsdpan-Test-Manifest
bsdpan-URI  
bsdpan-Unicode-String   
bsdpan-XML-RSS  
bsdpan-perl-ldap
expat   
ezm3
libiconv
m4  
openssl 
p5-libwww   
perl
rc_subr 
rsync   
ruby
Meaning some PAN modules are of *higher* versions than available 
through ports?  How?

Can I safely try upgrading those modules?  Has anyone run into 
something like this before?

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

I would remove everything not from ports.  Update ports.  You can them 
run portupdrage -af.  This will force an upgrade or reinstall of all 
installed ports(depending on if it has been updated or not is if it is 
just reinstalled or upgraded).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Up/downgrading stable and ports question

2004-06-09 Thread Lefteris Tsintjelis
Hi,

If I up/downgrade from 4.8 to 4.10 or the other way arround would it
be a good idea to also recompile all ports?

Please CC

TIA


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


Re: Up/downgrading stable and ports question

2004-06-09 Thread Matthew Seaman
On Wed, Jun 09, 2004 at 05:58:10PM +0300, Lefteris Tsintjelis wrote:

 If I up/downgrade from 4.8 to 4.10 or the other way arround would it
 be a good idea to also recompile all ports?

It shouldn't be necessary.  Wouldn't bother if I were you.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpOjjZX9kPIq.pgp
Description: PGP signature


qmail installed from ports - question about patches

2004-05-18 Thread Darryl Hoar
Greetings,
I have 5.1-release installed.  I have installed qmail from the ports.
I am following life with qmail-ldap.  I am trying to locate the
qmail.schema file.   Where can I find the official file ?
I went to the qmail-ldap patch site, but couldn't figure out
which patches were relevant .

any help would be greatly appreciated.

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


Re: ports question

2004-04-23 Thread Alex de Kruijff
Dear Andri Kok,

Please put your reply to the buttom and cut out text thats no longer
relevant. This makes the mail more readable for others.

On Thu, Apr 22, 2004 at 04:23:52PM +1000, sAndri Kok wrote:
 Hi guys,
 
 Thx for he previous replies =) Now, u said that I may not be able to run 
 some new applications on old FreeSD releases (in this case 4.8), does cvsup 

No cvsup doesn't know that. Its posible that the port it self knows if
its upgradable or not. But also this is not garanteed.

 know how to handle which ports are upgradeable and which are not? 
 I assuming from the replies that I had that since all ports are the
 same if they are upadated at the same time and 

That is correct.

 I read in the mailing list the other 
 day that Gnome2.6 wouldn't be able to run properly on 4.8 machines. Any 
 pointes? Thx again =)

In that case you migth want to try to download the package instead of
the port from the ftp server (ftp.freebsd.org).

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports question

2004-04-22 Thread sAndri Kok
Hi guys,

Thx for he previous replies =) Now, u said that I may not be able to run 
some new applications on old FreeSD releases (in this case 4.8), does cvsup 
know how to handle which ports are upgradeable and which are not? I 
assuming from the replies that I had that since all ports are the same if 
they are upadated at the same time and I read in the mailing list the other 
day that Gnome2.6 wouldn't be able to run properly on 4.8 machines. Any 
pointes? Thx again =)

Andri


From: Alex de Kruijff [EMAIL PROTECTED]
To: Ion-Mihai Tetcu [EMAIL PROTECTED]
CC: sAndri Kok [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: ports question
Date: Thu, 22 Apr 2004 01:30:53 +0200
On Wed, Apr 21, 2004 at 03:01:16PM +0300, Ion-Mihai Tetcu wrote:
 On Wed, 21 Apr 2004 20:32:58 +1000
 sAndri Kok [EMAIL PROTECTED] wrote:

   Hi guys,
 
   I got some questions about ports. Say If I have 2 identical machines.
   1 machine running FreeBSD-4.8 and the other is running FreeBSD-5.2.1.
   I run cvsup on both machines using the default ports supfile given in
 
   /usr/share/examples/cvsup/ports-supfile which points to the same
   cvsup mirror. Will I then get the same ports on both of the machines?
 

 You will get the same ports skeleton (files in /usr/ports/*).
No, that can not be garanteed! Unleas, offcourse, he specified the date.
This is because the command is not executed at the same date.
Instead you could copy simply copy the ports from one computer to
another with nfs, ftp, scp, rsync, ect. This garantees you that your
ports are the same and it save you and the community some bandwith.
  And if I do get the  same ports, can I build it as a package on 1 
machine
  and then install  it on the other?

 No.

 $ diff /usr/ports/INDEX /usr/ports/INDEX-5

You don't need the ports to install packages. However I'm not to sure if
this change the answer. It could very well depend on the port/package in
question. If you want to play it safe then don't.
A large number of packages are availble from the FreeBSD ftp server for
both 4 and 5. You may want to use those if you don't care about the
advantages that come with compiling.
--
Alex
Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
_
Protect your inbox from harmful viruses with new ninemsn Premium. Go to   
http://ninemsn.com.au/premium/landing.asp?banner=emailtagreferrer=hotmail

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


ports question

2004-04-21 Thread sAndri Kok
Hi guys,

I got some questions about ports. Say If I have 2 identical machines. 1 
machine running FreeBSD-4.8 and the other is running FreeBSD-5.2.1. I run 
cvsup on both machines using the default ports supfile given in 
/usr/share/examples/cvsup/ports-supfile which points to the same cvsup 
mirror. Will I then get the same ports on both of the machines? Are there 
newer aplications that cannot run on the 4.8 machine? And if I do get the 
same ports, can I build it as a package on 1 machine and then install it on 
the other? Thx guys =) any pointers and replies are reatly appreciated =) 
Thx heaps in advance =)

Regards,

Andri

_
Personalise your phone with chart ringtones and polyphonics. Go to  
http://ringtones.com.au/ninemsn/control?page=/ninemsn/main.jsp

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


Re: ports question

2004-04-21 Thread Ion-Mihai Tetcu
On Wed, 21 Apr 2004 20:32:58 +1000
sAndri Kok [EMAIL PROTECTED] wrote:
 
  Hi guys,
 
  I got some questions about ports. Say If I have 2 identical machines.
  1 machine running FreeBSD-4.8 and the other is running FreeBSD-5.2.1.
  I run cvsup on both machines using the default ports supfile given in
  
  /usr/share/examples/cvsup/ports-supfile which points to the same
  cvsup mirror. Will I then get the same ports on both of the machines?
  

You will get the same ports skeleton (files in /usr/ports/*).

 Are there  newer aplications that cannot run on the 4.8 machine?

Yes.

 And if I do get the  same ports, can I build it as a package on 1 machine
 and then install  it on the other?

No.

$ diff /usr/ports/INDEX /usr/ports/INDEX-5


-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: ports question

2004-04-21 Thread Alex de Kruijff
On Wed, Apr 21, 2004 at 03:01:16PM +0300, Ion-Mihai Tetcu wrote:
 On Wed, 21 Apr 2004 20:32:58 +1000
 sAndri Kok [EMAIL PROTECTED] wrote:
  
   Hi guys,
  
   I got some questions about ports. Say If I have 2 identical machines.
   1 machine running FreeBSD-4.8 and the other is running FreeBSD-5.2.1.
   I run cvsup on both machines using the default ports supfile given in
   
   /usr/share/examples/cvsup/ports-supfile which points to the same
   cvsup mirror. Will I then get the same ports on both of the machines?
   
 
 You will get the same ports skeleton (files in /usr/ports/*).

No, that can not be garanteed! Unleas, offcourse, he specified the date.
This is because the command is not executed at the same date.

Instead you could copy simply copy the ports from one computer to
another with nfs, ftp, scp, rsync, ect. This garantees you that your
ports are the same and it save you and the community some bandwith.

  And if I do get the  same ports, can I build it as a package on 1 machine
  and then install  it on the other?
 
 No.
 
 $ diff /usr/ports/INDEX /usr/ports/INDEX-5

You don't need the ports to install packages. However I'm not to sure if
this change the answer. It could very well depend on the port/package in
question. If you want to play it safe then don't.

A large number of packages are availble from the FreeBSD ftp server for
both 4 and 5. You may want to use those if you don't care about the
advantages that come with compiling.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


libintl.so.5 not found and general ports question

2004-04-05 Thread Gerry Freymann
How does one find out what port you need to install in order to get

libintl.so.5  ?

I've tried searching the online archives but can't find anything relevant.
I'm trying to get apsfilter installed and it complains that libintl.so.5
can't be found. I must have had it one time because it was installed
before (then I decided to update Mozilla which has had me running in
circles for two weeks now with portupgrade).

One other question... when I do a pkg_version -v, some programs are listed
twice, like:

autoconf-2.13.000227_5  =   up-to-date with port
autoconf-2.53_1 =   up-to-date with port

glib-1.2.10_10  =   up-to-date with port
glib-2.2.3_1=   up-to-date with port

libtool-1.3.5_1needs updating (port has 1.3.5_2)
libtool-1.4.3_2needs updating (port has 1.4.3_3)

libxml-1.8.17_1needs updating (port has 1.8.17_2)
libxml2-2.6.8   =   up-to-date with port

My guess is, when I first set up my FreeBSD 4.9R machine, I used
packages, and now I'm compiling ports. If you install a package and then
update it via the ports tree, doesn't it understand that it's updating a
package?

I have cvsup'd the ports tree, and I've run pkgdb -F to correct things.
Everything is running pretty good too (although I still have Mozilla).

Thanks in advance for your responses.
-gerry
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: libintl.so.5 not found and general ports question

2004-04-05 Thread Michael Clark
Thats an old problem check the -current list for a libmap.conf discussion.


Michael Clark
Nemschoff Chairs Inc
mclark at nemschoff dot com
CompTIA A+, Network+, Server+, MCP
Voice: (920) 457 7726 x294
Fax:  (920) 453 6594





-Original Message-
From: Gerry Freymann [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 9:54 AM
To: [EMAIL PROTECTED]
Subject: libintl.so.5 not found and general ports question


How does one find out what port you need to install in order to get

libintl.so.5  ?

I've tried searching the online archives but can't find anything relevant.
I'm trying to get apsfilter installed and it complains that libintl.so.5
can't be found. I must have had it one time because it was installed
before (then I decided to update Mozilla which has had me running in
circles for two weeks now with portupgrade).

One other question... when I do a pkg_version -v, some programs are listed
twice, like:

autoconf-2.13.000227_5  =   up-to-date with port
autoconf-2.53_1 =   up-to-date with port

glib-1.2.10_10  =   up-to-date with port
glib-2.2.3_1=   up-to-date with port

libtool-1.3.5_1needs updating (port has 1.3.5_2)
libtool-1.4.3_2needs updating (port has 1.4.3_3)

libxml-1.8.17_1needs updating (port has 1.8.17_2)
libxml2-2.6.8   =   up-to-date with port

My guess is, when I first set up my FreeBSD 4.9R machine, I used
packages, and now I'm compiling ports. If you install a package and then
update it via the ports tree, doesn't it understand that it's updating a
package?

I have cvsup'd the ports tree, and I've run pkgdb -F to correct things.
Everything is running pretty good too (although I still have Mozilla).

Thanks in advance for your responses.
-gerry
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CONFIDENTIALITY NOTE: This electronic transmission, including all
attachments, is directed in confidence solely to the person(s) to whom it is
addressed, or an authorized recipient, and may not otherwise be distributed,
copied or disclosed. The contents of the transmission may also be subject to
intellectual property rights and all such rights are expressly claimed and
are not waived. If you have received this transmission in error, please
notify the sender immediately by return electronic transmission and then
immediately delete this transmission, including all attachments, without
copying, distributing or disclosing same. 


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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Gerry Freymann
On Mon, 5 Apr 2004 09:56:56 -0500 
Michael Clark [EMAIL PROTECTED] wrote:

|O|Thats an old problem check the -current list for a libmap.conf
|O|discussion.

 Awh, but isn't libmap.conf on FreeBSD v5+ (I'm running 4.9R).

 I should also say that I still *don't* have Mozilla running but thank
goodness for Konqueror ;-)

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Matthew Seaman
On Mon, Apr 05, 2004 at 10:53:48AM -0400, Gerry Freymann wrote:
 How does one find out what port you need to install in order to get
 
 libintl.so.5  ?

libintl.so is provided by the devel/gettext port.  Except that at the
moment it supplies libintl.so.6.  If you hang around on this list for
longer than a week, you'll see someone asking a variant on this
question, and the answer as oft repeated is:

# portupgrade -fr gettext

i.e. you need to recompile everything that links against libintl.so

Then wait for a few months for the next release of gettext, when
chances are the ABI version will be bumped again, and the lists will
once again fill with wails of despair libintl.so.6 not found...
 
 One other question... when I do a pkg_version -v, some programs are listed
 twice, like:
 
 autoconf-2.13.000227_5  =   up-to-date with port
 autoconf-2.53_1 =   up-to-date with port
 
 glib-1.2.10_10  =   up-to-date with port
 glib-2.2.3_1=   up-to-date with port
 
 libtool-1.3.5_1needs updating (port has 1.3.5_2)
 libtool-1.4.3_2needs updating (port has 1.4.3_3)
 
 libxml-1.8.17_1needs updating (port has 1.8.17_2)
 libxml2-2.6.8   =   up-to-date with port

That's because you've got multiple versions of those ports installed
simultaneously.  Which is fine, for all of the examples you show, as
they are all designed to be able to do that.  In answer to your next
question: no, generally you cannot get rid of one of those versions
and have everything just use the other one -- the *reason* that there
are multiple versions in the ports tree is that they are there to
support various programs which have to use a newer or an older
version.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Gerry Freymann
On Mon, 5 Apr 2004 16:22:46 +0100
Matthew Seaman [EMAIL PROTECTED] wrote:

|O|libintl.so is provided by the devel/gettext port.  Except that at the
|O|moment it supplies libintl.so.6.
|O|# portupgrade -fr gettext

 I could have sworn I've already done this. Probably did, but something
else mucked it up. I'll have the computer do this again and see what
happens.

|O|That's because you've got multiple versions of those ports installed
|O|simultaneously.  Which is fine, for all of the examples you show, as
|O|they are all designed to be able to do that. 

 Sounds good then.

 Thanks for your response. 

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Gerry Freymann
After doing a portupgrade -rf gettext...

I went back to trying to install the apsfilter port. It would drop into
/print/teTeX and /print/html2ps-letter and stop again with the
libintl.so.5 not found error.

If I build apsfilter without select HTML (which no longer makes it want
teTeX and html2ps-letter) then apsfilter installs OK.

Should I report this to the port manager?

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Kent Stewart
On Monday 05 April 2004 11:27 am, Gerry Freymann wrote:
 After doing a portupgrade -rf gettext...

 I went back to trying to install the apsfilter port. It would drop
 into /print/teTeX and /print/html2ps-letter and stop again with the
 libintl.so.5 not found error.

 If I build apsfilter without select HTML (which no longer makes it
 want teTeX and html2ps-letter) then apsfilter installs OK.

 Should I report this to the port manager?

No, it means you didn't do a 
portupgrade -rf gettext

and that isn't a portmgr problem.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Gerry Freymann
On Mon, 5 Apr 2004 11:36:42 -0700
Kent Stewart [EMAIL PROTECTED] wrote:

|O|No, it means you didn't do a 
|O|portupgrade -rf gettext

 I *did* to a portupgrade -rf gettext. But you may be on the right
track regardless. There was one port skipped, /x11/kdelibs3. I have read
lots to do with the port while searching to fix my problem. 

 I suppose that's the next thing I should correct? and then I can finally
get back to trying to compile flashplugin_mozilla and all of its
requirements [which is where I started 2 weeks ago].

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Matthew Seaman
On Mon, Apr 05, 2004 at 02:27:50PM -0400, Gerry Freymann wrote:
 After doing a portupgrade -rf gettext...
 
 I went back to trying to install the apsfilter port. It would drop into
 /print/teTeX and /print/html2ps-letter and stop again with the
 libintl.so.5 not found error.

Something on your system links against libintl.so.5, and it would be
one of the normal dependencies of apsfilter, but it wasn't installed
as a port or pkg, so the ports system doesn't know how to update it?
Possibly.

 If I build apsfilter without select HTML (which no longer makes it want
 teTeX and html2ps-letter) then apsfilter installs OK.
 
 Should I report this to the port manager?

No -- I think something this obvious would have been noticed and fixed
in pretty short order.  Dollars to doughnuts it's something specific
to your machine which is causing the problem.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Andrew L. Gould
On Monday 05 April 2004 01:36 pm, Kent Stewart wrote:
 On Monday 05 April 2004 11:27 am, Gerry Freymann wrote:
  After doing a portupgrade -rf gettext...
 
  I went back to trying to install the apsfilter port. It would drop
  into /print/teTeX and /print/html2ps-letter and stop again with the
  libintl.so.5 not found error.
 
  If I build apsfilter without select HTML (which no longer makes it
  want teTeX and html2ps-letter) then apsfilter installs OK.
 
  Should I report this to the port manager?

 No, it means you didn't do a
 portupgrade -rf gettext

 and that isn't a portmgr problem.

 Kent

The upgrade may have resulted in a later version, as my system is showing a 
libintl.so.6:

 ls /usr/local/lib/libintl.so*
/usr/local/lib/libintl.so   /usr/local/lib/libintl.so.6

What would happen if a link called /usr/local/lib/libintl.so.5 was created to 
point to the existing libintl.so.* file on Gerry's system?

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Kent Stewart
On Monday 05 April 2004 11:44 am, Gerry Freymann wrote:
 On Mon, 5 Apr 2004 11:36:42 -0700

 Kent Stewart [EMAIL PROTECTED] wrote:
 |O|No, it means you didn't do a
 |O|portupgrade -rf gettext

  I *did* to a portupgrade -rf gettext. But you may be on the right
 track regardless. There was one port skipped, /x11/kdelibs3. I have
 read lots to do with the port while searching to fix my problem.

  I suppose that's the next thing I should correct? and then I can
 finally get back to trying to compile flashplugin_mozilla and all of
 its requirements [which is where I started 2 weeks ago].


I expect that something out there is still trying to use gettext-1.12. 
FWIW, I thought I had jumped the gun with my comment and installed 
apsfilter with no options. I didn't have any problems. Glib-2 was 
upgraded recently and I have been building all of those and kdelibs is 
one of the ports affected. So far, the only port that didn't upgrade 
was mozilla-1.6. It is still looking for the old libglib. I also didn't 
have any problem updating kdelibs.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Kent Stewart
On Monday 05 April 2004 11:51 am, Andrew L. Gould wrote:
 On Monday 05 April 2004 01:36 pm, Kent Stewart wrote:
  On Monday 05 April 2004 11:27 am, Gerry Freymann wrote:
   After doing a portupgrade -rf gettext...
  
   I went back to trying to install the apsfilter port. It would
   drop into /print/teTeX and /print/html2ps-letter and stop again
   with the libintl.so.5 not found error.
  
   If I build apsfilter without select HTML (which no longer makes
   it want teTeX and html2ps-letter) then apsfilter installs OK.
  
   Should I report this to the port manager?
 
  No, it means you didn't do a
  portupgrade -rf gettext
 
  and that isn't a portmgr problem.
 
  Kent

 The upgrade may have resulted in a later version, as my system is
 showing a

 libintl.so.6:
  ls /usr/local/lib/libintl.so*

 /usr/local/lib/libintl.so   /usr/local/lib/libintl.so.6

 What would happen if a link called /usr/local/lib/libintl.so.5 was
 created to point to the existing libintl.so.* file on Gerry's system?


The library interface was changed and cross linking is a really bad 
idea.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Gerry Freymann
On Mon, 5 Apr 2004 11:54:37 -0700
Kent Stewart [EMAIL PROTECTED] wrote:

|O|FWIW, I thought I had jumped the gun with my comment and installed 
|O|apsfilter with no options. I didn't have any problems. 

 Yes, worked here fine with only SAMBA as additional selections from the
defaults.

|O|Glib-2 was upgraded recently

 I have both:

glib-1.2.10_10  =   up-to-date with port
glib-2.2.3_1=   up-to-date with port

|O|was mozilla-1.6. It is still looking for the old libglib. I also
|O|didn't have any problem updating kdelibs.

 Hmmm, and it's Mozilla that I was trying to update in the first place.

 Thanks to a note from Michael Nottebrock about 2 weeks ago, I'm told a
good way to upgrade KDE is to:

pkg_delete -f quanta\* kdevelop\* kde\* arts\* qt\*
pkg_add -r kde

 My version of KDE is 3.14 so to update kdelibs3 I'm pretty well looking
at having to update all of KDE, right?

 Thanks again for the reply.

-Gerry

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Joshua Lokken
* Kent Stewart [EMAIL PROTECTED] [2004-04-05 12:06]:
 On Monday 05 April 2004 11:51 am, Andrew L. Gould wrote:
 
  What would happen if a link called /usr/local/lib/libintl.so.5 was
  created to point to the existing libintl.so.* file on Gerry's system?
 
 
 The library interface was changed and cross linking is a really bad 
 idea.


I was able to work around the problem temporarily (on 4-stable) with
the above method (symlink), but Kent is probably right that it's not
an ideal solution.


-- 
Joshua

One of the advantages of being a captain is being able to ask for
advice without necessarily having to take it.
-- Kirk, Dagger of the Mind, stardate 2715.2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Kent Stewart
On Monday 05 April 2004 12:03 pm, Gerry Freymann wrote:
 On Mon, 5 Apr 2004 11:54:37 -0700

 Kent Stewart [EMAIL PROTECTED] wrote:
 |O|FWIW, I thought I had jumped the gun with my comment and
 | installed O|apsfilter with no options. I didn't have any problems.

  Yes, worked here fine with only SAMBA as additional selections from
 the defaults.

 |O|Glib-2 was upgraded recently

  I have both:

 glib-1.2.10_10  =   up-to-date with port
 glib-2.2.3_1=   up-to-date with port

 |O|was mozilla-1.6. It is still looking for the old libglib. I also
 |O|didn't have any problem updating kdelibs.

  Hmmm, and it's Mozilla that I was trying to update in the first
 place.

Well, to get mozilla to build with the latest glib, I did a link I said 
not to do, i.e., 
ln -sf libglib-2.0.so.400 libglib-2.0.so.200

It is am using the new headers. It was the link part of the build that 
tried to use the wrong library. I am still trying to figure out what is 
wrong. That worries me less than a header for the old version of 
libintl being used to reference the new version.


  Thanks to a note from Michael Nottebrock about 2 weeks ago, I'm told
 a good way to upgrade KDE is to:

 pkg_delete -f quanta\* kdevelop\* kde\* arts\* qt\*
 pkg_add -r kde

  My version of KDE is 3.14 so to update kdelibs3 I'm pretty well
 looking at having to update all of KDE, right?


I just fought that battle on an old system using packages from a working 
system. Are you in for fun :). 

I finally did a portupgrade -Pufr expat twice before I got a good 
upgrade from 3.1.4 to 3.2.1. Copy the list of ports that don't update 
and use that file as a reference for things to fix.

The kde people's suggestion was probably an easier one. I had so much to 
update since I hadn't update that system since 4.9 was released.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Kent Stewart
On Monday 05 April 2004 12:13 pm, Joshua Lokken wrote:
 * Kent Stewart [EMAIL PROTECTED] [2004-04-05 12:06]:
  On Monday 05 April 2004 11:51 am, Andrew L. Gould wrote:
   What would happen if a link called /usr/local/lib/libintl.so.5
   was created to point to the existing libintl.so.* file on Gerry's
   system?
 
  The library interface was changed and cross linking is a really bad
  idea.

 I was able to work around the problem temporarily (on 4-stable) with
 the above method (symlink), but Kent is probably right that it's not
 an ideal solution.

It is worse than that. It is how off by one or many security problems 
crop up. You call a library function and it doesn't return what you 
think it was returning.

Find out what is wrong and fix the problem.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Kent Stewart
On Monday 05 April 2004 12:03 pm, Gerry Freymann wrote:
 On Mon, 5 Apr 2004 11:54:37 -0700

 Kent Stewart [EMAIL PROTECTED] wrote:
 |O|FWIW, I thought I had jumped the gun with my comment and
 | installed O|apsfilter with no options. I didn't have any problems.

  Yes, worked here fine with only SAMBA as additional selections from
 the defaults.

 |O|Glib-2 was upgraded recently

  I have both:

 glib-1.2.10_10  =   up-to-date with port
 glib-2.2.3_1=   up-to-date with port


I missed this part. The latest version is now glib-2.4.0. When I updated 
to it, is when the fun began. If you don't need to update glib, I would 
fight your upgrade through before you add additional problems.

Kent
-- 
Kent Stewart
Richland, WA

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Andrew L. Gould
On Monday 05 April 2004 02:23 pm, Kent Stewart wrote:
 On Monday 05 April 2004 12:13 pm, Joshua Lokken wrote:
  * Kent Stewart [EMAIL PROTECTED] [2004-04-05 12:06]:
   On Monday 05 April 2004 11:51 am, Andrew L. Gould wrote:
What would happen if a link called /usr/local/lib/libintl.so.5
was created to point to the existing libintl.so.* file on Gerry's
system?
  
   The library interface was changed and cross linking is a really bad
   idea.
 
  I was able to work around the problem temporarily (on 4-stable) with
  the above method (symlink), but Kent is probably right that it's not
  an ideal solution.

 It is worse than that. It is how off by one or many security problems
 crop up. You call a library function and it doesn't return what you
 think it was returning.

 Find out what is wrong and fix the problem.

 Kent

Thank you for the warning and example.

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Kent Stewart
On Monday 05 April 2004 12:37 pm, Gerry Freymann wrote:
 On Mon, 5 Apr 2004 12:29:38 -0700

 Kent Stewart [EMAIL PROTECTED] wrote:
 |O|  I have both:
 |O|
 |O| glib-1.2.10_10  =   up-to-date with port
 |O| glib-2.2.3_1=   up-to-date with port
 |O|
 |O|
 |O|I missed this part. The latest version is now glib-2.4.0. When I
 |O|updatedto it, is when the fun began. If you don't need to update
 |O|glib, I would fight your upgrade through before you add
 | additional O|problems.

  Hmmm. I program on this box all day long so perhaps I'll wait 'till
 the weekend before I kill off KDE ;-)


That is probably a good idea big grin. Kde-3.2.1 takes a long time to 
build and programming from the cli is similar to calling ed a screen 
editor. I think the upgrade is worth it. It just takes a while to do.

One more thing. After the upgrade from kde-3.1.4 to 3.2.1, most of the 
application buttons were messed up. I finally did an rm -rf .kde* from 
my home directory. Make sure you have your email address book and 
bookmarks saved before you do anything drastic like that.

Kent 

-- 
Kent Stewart
Richland, WA

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


Re: libintl.so.5 not found and general ports question

2004-04-05 Thread Andrew L. Gould
On Monday 05 April 2004 02:03 pm, Gerry Freymann wrote:
 On Mon, 5 Apr 2004 11:54:37 -0700

 Kent Stewart [EMAIL PROTECTED] wrote:
 |O|FWIW, I thought I had jumped the gun with my comment and installed
 |O|apsfilter with no options. I didn't have any problems.

  Yes, worked here fine with only SAMBA as additional selections from the
 defaults.

 |O|Glib-2 was upgraded recently

  I have both:

 glib-1.2.10_10  =   up-to-date with port
 glib-2.2.3_1=   up-to-date with port

 |O|was mozilla-1.6. It is still looking for the old libglib. I also
 |O|didn't have any problem updating kdelibs.

  Hmmm, and it's Mozilla that I was trying to update in the first place.

  Thanks to a note from Michael Nottebrock about 2 weeks ago, I'm told a
 good way to upgrade KDE is to:

 pkg_delete -f quanta\* kdevelop\* kde\* arts\* qt\*
 pkg_add -r kde

  My version of KDE is 3.14 so to update kdelibs3 I'm pretty well looking
 at having to update all of KDE, right?

  Thanks again for the reply.

 -Gerry

It's easy to get lost in the syncing mess.

I'm running 4.9 STABLE, that was originally installed from a FreeBSD 4.7 CD.  
I've kept the system updated via cvsup; but twice have cleaned/sync'd the 
system up as follows:

0. Make backups of system and dump files for version-sensitive objects such as 
database files, etc.
1. Update the system via cvsup.
2. Compile and install updated system and kernel.
3. Get a list of installed packages using pkg_info.
4. From step 3, make a list of packages that I installed **explicitly**. (I 
ignore dependencies -- pkg_add and ports will resolve these.)
5. From step 4, divide the list into packages to be compiled and packages that 
can be installed using binaries.  (I only compile a couple of apps.)
6. Write a script to install the packages (from binaries) via 'pkg_add -r'
7. Delete all packages using 'pkg_delete -a' and reboot.
8. Install python.  (I wrote the script in python.)
9. Reinstall packages using script in step 6.
10. Reinstall packages to be compiled manually from ports.

Steps 3-5 give me the opportunity to omit packages I no longer use.

I've used 'portupgrade -arRP'; but it still seems to compile a lot of packages 
and it won't help me prepare for a clean jump to FreeBSD 5*.

I've been keeping the lists of packages up-to-date, on a floppy for when I 
install FreeBSD 5* (STABLE).  I'll do a clean system installation; and then 
I'll install the packages I want from the list.

Best of luck,

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


cvsup ports question Freebsd 5.2

2004-02-06 Thread jens
Hi folks,
I have build the ports tree using the default ports-sup file tag 
tag=.

I want to understand why my ports tree is wiped off when i change the tag 
value to 
RELENG_5_2_0_RELEASE
or 
RELENG_5
or 
RELENG_5_2

in order to get the ports updating. I followed the instructions of the bsd  
manual assuming to stick to the latest stable version/branch.

Exerpt of the ports sup_file

# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup2.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_2_0_RELEASE
*default delete use-rel-suffix


does that mean there is no upgrade of the ports. I assume not because the 
whole tree is wiped off. 


Thanks. 


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


Re: cvsup ports question Freebsd 5.2

2004-02-06 Thread Kent Stewart
On Friday 06 February 2004 10:32 am, jens wrote:
 Hi folks,
 I have build the ports tree using the default ports-sup file tag
 tag=.

 I want to understand why my ports tree is wiped off when i change the
 tag value to
 RELENG_5_2_0_RELEASE
 or
 RELENG_5
 or
 RELENG_5_2

 in order to get the ports updating. I followed the instructions of
 the bsd manual assuming to stick to the latest stable version/branch.

 Exerpt of the ports sup_file

 # IMPORTANT: Change the next line to use one of the CVSup mirror
 sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html.
 *default host=cvsup2.FreeBSD.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=RELENG_5_2_0_RELEASE
 *default delete use-rel-suffix


 does that mean there is no upgrade of the ports. I assume not because
 the whole tree is wiped off.

That is what it means. The only tag for ports is tag=.. They may build 
packages for 5.2-release but cvsup only knows about tag=. for 
ports-all.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: cvsup ports question Freebsd 5.2

2004-02-06 Thread Lowell Gilbert
jens [EMAIL PROTECTED] writes:

 Hi folks,
 I have build the ports tree using the default ports-sup file tag 
 tag=.
 
 I want to understand why my ports tree is wiped off when i change the tag 
 value to 
 RELENG_5_2_0_RELEASE
 or 
 RELENG_5
 or 
 RELENG_5_2

Quoted from some of the example supfiles:

###
#
# DANGER!  WARNING!  LOOK OUT!  VORSICHT!
#
# If you add any of the ports or doc collections to this file, be sure to
# specify them with a tag value set to ., like this:
#
#   ports-all tag=.
#   doc-all tag=.
#
# If you leave out the tag=. portion, CVSup will delete all of
# the files in your ports or doc tree.  That is because the ports and doc
# collections do not use the same tags as the main part of the FreeBSD 
# source tree.
#
###
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup ports question Freebsd 5.2

2004-02-06 Thread jens
On Friday 06 February 2004 21:24, Lowell Gilbert wrote:
Ok 
thanks

 jens [EMAIL PROTECTED] writes:
  Hi folks,
  I have build the ports tree using the default ports-sup file tag
  tag=.
 
  I want to understand why my ports tree is wiped off when i change the tag
  value to
  RELENG_5_2_0_RELEASE
  or
  RELENG_5
  or
  RELENG_5_2

 Quoted from some of the example supfiles:


 ###
 #
 # DANGER!  WARNING!  LOOK OUT!  VORSICHT!
 #
 # If you add any of the ports or doc collections to this file, be sure
 to # specify them with a tag value set to ., like this:
 #
 #   ports-all tag=.
 #   doc-all tag=.
 #
 # If you leave out the tag=. portion, CVSup will delete all of
 # the files in your ports or doc tree.  That is because the ports and
 doc # collections do not use the same tags as the main part of the FreeBSD
 # source tree.
 #

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

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


Re: ports question

2004-02-02 Thread Matthew Seaman
On Sun, Feb 01, 2004 at 04:44:19PM -0800, Gary Kline wrote:
   Well, to answer my own posting, I hacked the
   /distfile and removed the (SIZE) = line.
   Now openldap21-* is flowing across.  Dunno 
   why the port assumed the file or parts of it
   were here.  Next to rm the old version and
   update... .  --Well, once it builds and installs!

Odd.  I updated the OpenlDAP 2.1.26 ports on my system last week, and
it all worked perfectly.  The tarball it pulled down is exactly as
specified in the distfile:

% ls -la /usr/ports/distfiles/openldap-2.1.26.tgz 
-rw-r--r--  1 root  wheel  2042658 Jan 23 06:48 
/usr/ports/distfiles/openldap-2.1.26.tgz
% md5 /usr/ports/distfiles/openldap-2.1.26.tgz 
MD5 (/usr/ports/distfiles/openldap-2.1.26.tgz) = e3388c021b1029c15cfbd462d3bfcc9d

and the tarball on ftp.openldap.org hasn't changed:

ftp dir openldap-2.1.26*
229 Entering Extended Passive Mode (|||50188|)
150 Opening ASCII mode data connection for '/bin/ls'.
-rw-rw-r--  1 2000  20   61 Jan 23 06:48 openldap-2.1.26.md5
-rw-rw-r--  1 2000  20  2042658 Jan 23 06:48 openldap-2.1.26.tgz
226 Transfer complete.

Perhaps the OpenLDAP mirrors you're trying to access aren't being
properly updated -- I'd suggest ftp'ing down the openldap sources
manually from ftp.openldap.org and placing them in
/usr/ports/distfiles before you start building the port.

Cheers,

Matthew 

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: ports question

2004-02-02 Thread Gary Kline
On Mon, Feb 02, 2004 at 07:21:56AM +, Matthew Seaman wrote:
 On Sun, Feb 01, 2004 at 04:44:19PM -0800, Gary Kline wrote:
  Well, to answer my own posting, I hacked the
  /distfile and removed the (SIZE) = line.
  Now openldap21-* is flowing across.  Dunno 
  why the port assumed the file or parts of it
  were here.  Next to rm the old version and
  update... .  --Well, once it builds and installs!
 
 Odd.  I updated the OpenlDAP 2.1.26 ports on my system last week, and
 it all worked perfectly.  The tarball it pulled down is exactly as
 specified in the distfile:
 
 % ls -la /usr/ports/distfiles/openldap-2.1.26.tgz 
 -rw-r--r--  1 root  wheel  2042658 Jan 23 06:48 
 /usr/ports/distfiles/openldap-2.1.26.tgz
 % md5 /usr/ports/distfiles/openldap-2.1.26.tgz 
 MD5 (/usr/ports/distfiles/openldap-2.1.26.tgz) = e3388c021b1029c15cfbd462d3bfcc9d
 
 and the tarball on ftp.openldap.org hasn't changed:
 
 ftp dir openldap-2.1.26*
 229 Entering Extended Passive Mode (|||50188|)
 150 Opening ASCII mode data connection for '/bin/ls'.
 -rw-rw-r--  1 2000  20   61 Jan 23 06:48 openldap-2.1.26.md5
 -rw-rw-r--  1 2000  20  2042658 Jan 23 06:48 openldap-2.1.26.tgz
 226 Transfer complete.
 
 Perhaps the OpenLDAP mirrors you're trying to access aren't being
 properly updated -- I'd suggest ftp'ing down the openldap sources
 manually from ftp.openldap.org and placing them in
 /usr/ports/distfiles before you start building the port.
 


My work-around did the job, but to be sure after I
pkg_delete'd -2.1.23, I did make deinstall/reinstall.
My cvsup script runs portsdb -Uu nightly ... so unclear 
where the bug is.  

You may be right re the mirror sites; this is what happens
when I try to get the most recent gcc fixes:

===  Cleaning for gcc-3.3.3_20040126
Making GCC 3.3.3 for FreeBSD 4.7 elftarget
i386-portbld-freebsd4.7
 gcc-core-3.3-20040126.tar.bz2 doesn't seem to exist in
/usr/ports/distfiles/.
 Attempting to fetch from
http://mirrors.rcn.net/pub/sourceware/gcc/snapshots/3.3-20040126/.
fetch: invalid size ( 9784532)

It's a headscratch.  

bonne journée!

gary






-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


ports question

2004-02-01 Thread Gary Kline

People,

Since I managed to upgrade this system's ports tree, 
I keep things up to date.  Recently, been having trouble
fetching some ports. openldap is one such.  Upgrading 
or trying tomake install clean by hand keeps giving me:

.
.
.
.
 Attempting to fetch from
http://openldap.cdpa.nsysu.edu.tw/OpenLDAP/openldap-release/.
fetch: invalid size ( 2042658)
 Attempting to fetch from
ftp://ftp.plig.org/pub/OpenLDAP/openldap-release/.
fetch: invalid size ( 2042658)
 Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: invalid size ( 2042658)
 Couldn't fetch it - please try to retrieve 

Anybody know what's going on with this port ... and a 
few others?  How to fix?

tia, guys,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: ports question

2004-02-01 Thread Jorn Argelo
Why don't you use cvsup to sync your ports-tree? That's allot easier. Some 
ports aren't working now since the distfile isn't in sync with the make-file. 
If you use cvsup it will be solved.

Cheers,

Jorn

On Sunday 01 February 2004 22:42, Gary Kline wrote:
   People,

   Since I managed to upgrade this system's ports tree,
   I keep things up to date.  Recently, been having trouble
   fetching some ports. openldap is one such.  Upgrading
   or trying tomake install clean by hand keeps giving me:

   .
   .
   .
   .

  Attempting to fetch from

 http://openldap.cdpa.nsysu.edu.tw/OpenLDAP/openldap-release/.
 fetch: invalid size ( 2042658)

  Attempting to fetch from

 ftp://ftp.plig.org/pub/OpenLDAP/openldap-release/.
 fetch: invalid size ( 2042658)

  Attempting to fetch from

 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
 fetch: invalid size ( 2042658)

  Couldn't fetch it - please try to retrieve 

   Anybody know what's going on with this port ... and a
   few others?  How to fix?

   tia, guys,

   gary

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


Re: ports question

2004-02-01 Thread Gary Kline
On Sun, Feb 01, 2004 at 10:46:48PM +0100, Jorn Argelo wrote:
 Why don't you use cvsup to sync your ports-tree? That's allot easier. Some 
 ports aren't working now since the distfile isn't in sync with the make-file. 
 If you use cvsup it will be solved.
 


Hi John,

I guess my posting wasn't very clear.  I cvsup nightly.
I upgrade my ports via portupgrade.  That's what's failng;
that, or by-hand.  

gary

PS: I like your idea of a BSD community of some kind;
maybe a 'webring' of some kind 
 

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: ports question

2004-02-01 Thread Jorn Argelo

Ahh, I see. Sorry, I guess I misunderstood. I can't really come up with
something 123 then, I'm afraid.

Cheers,

Jorn.

PS: Thanks, I hope it'll become active one day. And my name is Jorn, not
 John, but that's all right, no worries :-)

On Sunday 01 February 2004 22:55, you wrote:
 On Sun, Feb 01, 2004 at 10:46:48PM +0100, Jorn Argelo wrote:
  Why don't you use cvsup to sync your ports-tree? That's allot easier.
  Some ports aren't working now since the distfile isn't in sync with the
  make-file. If you use cvsup it will be solved.

   Hi John,

   I guess my posting wasn't very clear.  I cvsup nightly.
   I upgrade my ports via portupgrade.  That's what's failng;
   that, or by-hand.

   gary

   PS: I like your idea of a BSD community of some kind;
   maybe a 'webring' of some kind

---

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


Re: ports question

2004-02-01 Thread Gautam Gopalakrishnan
On Sun, 1 Feb 2004 13:42:24 -0800
Gary Kline [EMAIL PROTECTED] wrote:

 
   People,
 
   Since I managed to upgrade this system's ports tree, 
   I keep things up to date.  Recently, been having trouble
   fetching some ports. openldap is one such.  Upgrading 
   or trying tomake install clean by hand keeps giving me:
 
   .
   .
   .
   .
  Attempting to fetch from
 http://openldap.cdpa.nsysu.edu.tw/OpenLDAP/openldap-release/.
 fetch: invalid size ( 2042658)
  Attempting to fetch from
 ftp://ftp.plig.org/pub/OpenLDAP/openldap-release/.
 fetch: invalid size ( 2042658)
  Attempting to fetch from
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
 fetch: invalid size ( 2042658)
  Couldn't fetch it - please try to retrieve 

fetch is tring to resume the download, but the size on disk (2042658) is
larger than the actual size of the file. Try deleting from
/usr/ports/distfiles. It should work.

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


Re: ports question

2004-02-01 Thread Gary Kline
On Mon, Feb 02, 2004 at 10:23:33AM +1100, Gautam Gopalakrishnan wrote:
 On Sun, 1 Feb 2004 13:42:24 -0800
 Gary Kline [EMAIL PROTECTED] wrote:
 
  
  People,
  
  Since I managed to upgrade this system's ports tree, 
  I keep things up to date.  Recently, been having trouble
  fetching some ports. openldap is one such.  Upgrading 
  or trying tomake install clean by hand keeps giving me:
  
  .
  .
  .
  .
   Attempting to fetch from
  http://openldap.cdpa.nsysu.edu.tw/OpenLDAP/openldap-release/.
  fetch: invalid size ( 2042658)
   Attempting to fetch from
  ftp://ftp.plig.org/pub/OpenLDAP/openldap-release/.
  fetch: invalid size ( 2042658)
   Attempting to fetch from
  ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
  fetch: invalid size ( 2042658)
   Couldn't fetch it - please try to retrieve 
 
 fetch is tring to resume the download, but the size on disk (2042658) is
 larger than the actual size of the file. Try deleting from
 /usr/ports/distfiles. It should work.
 


This is exactly what has worked previously--or whenever 
a port tarball hasn't fetched correctly.  This time I 
mv'd the distfile/* tarball and deleted (pkg_delete -f)
the port.  No joy.  I'll look further.   

thanks much,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: ports question

2004-02-01 Thread Gary Kline
On Sun, Feb 01, 2004 at 04:12:47PM -0800, Gary Kline wrote:
 On Mon, Feb 02, 2004 at 10:23:33AM +1100, Gautam Gopalakrishnan wrote:
  On Sun, 1 Feb 2004 13:42:24 -0800
  Gary Kline [EMAIL PROTECTED] wrote:
  
   
 People,
   
 Since I managed to upgrade this system's ports tree, 
 I keep things up to date.  Recently, been having trouble
 fetching some ports. openldap is one such.  Upgrading 
 or trying tomake install clean by hand keeps giving me:
   
 .
   fetch: invalid size ( 2042658)
Couldn't fetch it - please try to retrieve 
  
  fetch is tring to resume the download, but the size on disk (2042658) is
  larger than the actual size of the file. Try deleting from
  /usr/ports/distfiles. It should work.
  
 
 
   This is exactly what has worked previously--or whenever 
   a port tarball hasn't fetched correctly.  This time I 
   mv'd the distfile/* tarball and deleted (pkg_delete -f)
   the port.  No joy.  I'll look further.   
 

Well, to answer my own posting, I hacked the
/distfile and removed the (SIZE) = line.
Now openldap21-* is flowing across.  Dunno 
why the port assumed the file or parts of it
were here.  Next to rm the old version and
update... .  --Well, once it builds and installs!

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Cyrus-imapd2 installed through ports question

2004-01-13 Thread W. Ryan Merrick
Anish Mistry wrote:
On Monday 12 January 2004 06:59 pm, Jason Williams wrote:

Hello everyone.

I was having a problem after I installed cyrus-imapd2 through the ports 
tree.

Everything on the installation went well. However, im seeing a error pop 
up 

in my log that I cannot figure out.
Thus, I thought i'd ask here, see if anyone had any similiar problems.
Note, this is on a FreeBSD 4.9 box:
Cyrus-imapd-2.1.16
Cyrus-sasl-2.1.17
BerkeleyDB-4.1.25
This is from my /var/log/auth.log


Jan  5 23:54:39 obsidianbox imapd[8015]: OTP unavailable because can't 
read/write key database /etc/opiekeys: Permission denied
Jan  5 23:54:43 obsidianbox imapd[8015]: no user in db
I get this too in my logs, but the user is still there, and found by the 
operation that tries to find the user, and everything still seems to work, 
so I ignore it and chalk it up to a cyrus bug.

Hello,

How did you configure sasl? If you by chance include sql support you will 
get log messages like this and more when you add users to the sasl DB. 
Auxprop is looking in the sql databases and other places first. If you are 
getting authenticated, that is all that matters.

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


Cyrus-imapd2 installed through ports question

2004-01-12 Thread Jason Williams
Hello everyone.

I was having a problem after I installed cyrus-imapd2 through the ports tree.
Everything on the installation went well. However, im seeing a error pop up 
in my log that I cannot figure out.
Thus, I thought i'd ask here, see if anyone had any similiar problems.

Note, this is on a FreeBSD 4.9 box:
Cyrus-imapd-2.1.16
Cyrus-sasl-2.1.17
BerkeleyDB-4.1.25
This is from my /var/log/auth.log

Jan  5 23:54:39 obsidianbox imapd[8015]: OTP unavailable because can't 
read/write key database /etc/opiekeys: Permission denied
Jan  5 23:54:43 obsidianbox imapd[8015]: no user in db
The first one I figured out a workaround. Simple enough.

The second one though, is really driving me up a wall. I'm completely 
baffled as to why this is showing up my logs.
What is very odd, is that I can still connect and authenticate from a mail 
client. I also get it when I use 'imtest' for basic testing of the server. 
Lastly, I even get it when I connect to the 'cyradm' interface when I want 
to manage mailboxes.  Yet, I can still login and things work.

I've tried a variety of things and nothing seems to be working. Here is 
what I just did:

Did a fresh install of FreeBSD 4.9. CVSup the ports and source tree.
Navigated to /usr/ports/mail/cyrus-imapd2 port
make -DWITH_BDB_VER=41 -DWITH_SKIPLIST_MBOX -DWITH_SKIPLIST_SEEN -DWITH_MURDER

As I type this email, im wondering if it could have been something I did:

1.) I actually edited the Makefile and changed the BDB_VER line from 3 to 
41. Looking on my command line option, I specified 41, but I did it with 
-DWITH. Not sure if that would cause any problems.

Anyone have any ideas on why im getting the no user in db entry in my log?

I'm at a loss here.

Thanks

Jason 

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


  1   2   >