Re: Dual Booting Linux with FreeBSD 9.0 - Grub in MBR

2012-01-28 Thread Bas Smeelen
On Fri, 27 Jan 2012 21:32:10 +
Kaya Saman kayasa...@gmail.com wrote:

 Hi,
 
 am just wondering if anyone has successfully managed to boot FreeBSD
 9.0 and Linux.
 
 I run Fedora 16 x64 with Grub installed in my MBR.
 
 FBSD9 installed as the new disk scheme GPT. I think (I manually 
 partitioned as my disk is quite crowded).
 
 Anyway I found this:
 
 http://lists.freebsd.org/pipermail/freebsd-questions/2011-October/234858.html
 
 and at the moment I have this in my Grub config:
 
 menuentry 'FreeBSD 9.0'  {
  set root=(ada0,1,a)
  kfreebsd /boot/loader
  boot
 }
 
 But unfortunately no boot :-(
 
 
 I have tried using (hd0,0), (hd0,1,a), (hd0,0,a), and (hd0,a) but 
 unfortunately nothing is working.
 
 
 The Grub version is 2.
 
 
 Can anyone help me?
 

Hi

I have the following partition layout
P1 linux swap
P2 FreeBSD 
P3 linux
P4 extended which holds 2 more linux partitions

FreeBSD 9 installed on P2 and the FreeBSD bootloader on P2

In /etc/grub.d/40_custom I have put the following:

menuentry FreeBSD {
 set root=(hd0,2)
 chainloader +1
 }

Then run update-grub as root.

The (hd0,2) entry means first harddisk (this laptop only has one) and
the second partition, which holds the FreeBSD bootloader that gets
loaded with the enry chainloader +1.

This works for me. Hope it helps.

I think with the way you have the setup now, a module must be loaded
first in the grub config. Insmod ufs or similair.


Disclaimer: http://www.ose.nl/email

___
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: USB 3.0 with FreeBSD 8.1

2012-01-28 Thread Matthias Fechner
Am 28.01.2012 05:28, schrieb Henry Olyer:
 b)  Does 9.0 have USB 3.0 support.

my system says:
Jan 27 22:16:51 server kernel: xhci0: XHCI (generic) USB 3.0
controller mem 0xf9cfe000-0xf9cf irq 19 at device 0.0 on pci5
Jan 27 22:16:51 server kernel: xhci0: 64 byte context size.
Jan 27 22:16:51 server kernel: usbus3 on xhci0

So it detects at least my usb3 controller.

Bye
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook
___
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: X libraries missing

2012-01-28 Thread Conrad J. Sabatier
On Sat, 28 Jan 2012 08:15:27 +0100
Bernt Hansson b...@bananmonarki.se wrote:

 2012-01-28 08:06, Adam Vande More skrev:
  On Sat, Jan 28, 2012 at 12:28 AM, Bernt
  Hanssonb...@bananmonarki.se  wrote:
 
  Hello list!
 
 
  Trying to update multimedia/audacious-plugins to some other
  version 3x.
 
  The problem seems to be ! multimedia/audacious-plugins
  (audacious-plugins-2.5.4_2)  (X libraries missing)
 
  The error is:
 
  Entering directory aosd.
  In file included from ghosd.c:21:
  /usr/local/include/X11/**extensions/Xcomposite.h:49:35: error:
  X11/extensions/Xfixes.h: No such file or directory
  Successfully generated dependencies.
  Successfully compiled aosd.c (plugin).
  Successfully compiled aosd_osd.c (plugin).
  Successfully compiled aosd_style.c (plugin).
  Successfully compiled aosd_trigger.c (plugin).
  Successfully compiled aosd_ui.c (plugin).
  Successfully compiled aosd_cfg.c (plugin).
  In file included from ghosd.c:21:
  /usr/local/include/X11/**extensions/Xcomposite.h:49:35: error:
  X11/extensions/Xfixes.h: No such file or directory
  In file included from ghosd.c:21:
  /usr/local/include/X11/**extensions/Xcomposite.h:86: error:
  expected '=', ',', ';', 'asm' or '__attribute__' before '**
  XCompositeCreateRegionFromBord**erClip'
  Failed to compile ghosd.c (plugin)!
  gmake[5]: *** [ghosd.plugin.o] Error 1
  gmake[4]: *** [all] Error 2
  gmake[3]: *** [subdirs] Error 1
  gmake[2]: *** [all] Error 2
  gmake[1]: *** [subdirs] Error 1
  gmake: *** [all] Error 2
  *** Error code 1
 
  Stop in /usr/home/bernt/disk8/ports/**multimedia/audacious-plugins.
  *** Error code 1
 
  Stop in /usr/home/bernt/disk8/ports/**multimedia/audacious-plugins.
  ** Command failed [exit code 1]: /usr/bin/script -qa
  /tmp/portupgrade20120128-**26744-6ymwm0-0 env
  UPGRADE_TOOL=portupgrade UPGRADE_PORT=audacious-**plugins-2.5.4_2
  UPGRADE_PORT_VER=2.5.4_2 make DEPENDS_TARGET=package
  ** Fix the problem and try again.
 
  But I have xorg libraries installed, xorg-libraries-7.5.1
 
 
  /usr/ports/x11/libXcomposite
 
 Did not work!

You also need x11/libXfixes.

Save yourself some headaches and just do portmaster libX.  That'll
make sure all of them are up-to-date.

Did you recently upgrade your xorg-server?  If so, updating libX* and
xf86* is a *must*.

HTH

Conrad

 ==  Building for libXcomposite-0.4.3,1
 make  all-recursive
 Making all in src
CC Xcomposite.lo
 In file included from xcompositeint.h:53,
   from Xcomposite.c:45:
 ../include/X11/extensions/Xcomposite.h:49:35: error: 
 X11/extensions/Xfixes.h: No such file or directory
 In file included from xcompositeint.h:53,
   from Xcomposite.c:45:
 ../include/X11/extensions/Xcomposite.h:86: error: expected '=', ',', 
 ';', 'asm' or '__attribute__' before
 'XCompositeCreateRegionFromBorderClip' Xcomposite.c:319: error:
 expected '=', ',', ';', 'asm' or '__attribute__' before
 'XCompositeCreateRegionFromBorderClip' *** Error code 1
 
 Stop in 
 /usr/home/bernt/disk8/ports/x11/libXcomposite/work/libXcomposite-0.4.3/src.
 *** Error code 1
 
 Stop in 
 /usr/home/bernt/disk8/ports/x11/libXcomposite/work/libXcomposite-0.4.3.
 *** Error code 1
 
 Stop in 
 /usr/home/bernt/disk8/ports/x11/libXcomposite/work/libXcomposite-0.4.3.
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/x11/libXcomposite
 ___
 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



-- 
Conrad J. Sabatier
conr...@cox.net
___
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: UPDATING 20120116 -- x11/xcb-util -- instructions not working

2012-01-28 Thread Conrad J. Sabatier
On Thu, 26 Jan 2012 06:06:57 -0500
Michael Powell nightre...@hotmail.com wrote:

 Conrad J. Sabatier wrote:
 
  On Wed, 25 Jan 2012 08:53:39 -0600
  Mark Felder f...@feld.me wrote:
  
  For the life of me I can't work around this xcb-util issue. This is
  a pretty fresh install and I have not made any workaround symlinks.
  
  I ran:
  
  # portmaster -R -r xcb-util-0
  
  And the problem persists. It didn't even complete all the packages
  because some were still erroring on missing xcb libraries.
  
  Example, editors/mousepad:
  
  
  libtool: link: cannot find the library
  `/usr/local/lib/libxcb-aux.la' or unhandled argument
  `/usr/local/lib/libxcb-aux.la' gmake[2]: *** [mousepad] Error 1
  
  I'm getting this same error in several ports.  Just exactly which
  package is supposed to be providing libxcb-aux.la?  And why isn't
  it?
  
 
 I'm not exactly certain about this, and so am probably wrong. I
 thought the '*.la' files were 'linker archives' created by libtool.

Yes, that's right.

 But I never really got completely through the process of fully
 understanding exactly how all the autotools, make and gmake, and
 libtool operate.

I did some research on this issue yesterday, and found the answer.  I
posted a complete explanation with step-by-step instructions to the
FreeBSD Forums at:

http://forums.FreeBSD.org/showthread.php?p=163415#post163415

Sorry, I should have followed up here sooner as well.  :-)

-- 
Conrad J. Sabatier
conr...@cox.net
___
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


[ANN] FreeBSD Druid 9.0b56

2012-01-28 Thread Devin Teske
Behold! FreeBSD Druid!

http://druidbsd.sourceforge.net/

Install FreeBSD 9.0 with sysinstall (!!)
-- 
Devin

NOTE: This is beta 56 of the Druid platform in-general (and thus the version 
9.0b56) but it does NOT install a beta version of FreeBSD. Rather, it 
installs FreeBSD 9.0-RELEASE (32 or 64-bit, your choice).

P.S. A note to ADVANCED users... if you're going to skip the scripted 
installation for any reason -- dropping to traditional sysinstall procedure -- 
then to utilize the on-disc RELEASE, select as your medium Directory and 
enter either (1) /cdrom/freebsd/repos/9.0-RELEASE or (2) 
/cdrom/freebsd/repos/9.0-RELEASE-amd64. This is not intuitive and one may be 
tempted to select CD-ROM as the media type, but this is incorrect.

P.P.S. There is much more written at the newly-updated website. You'll want to 
hit these URLs for this software...

http://druidbsd.sourceforge.net/
http://druidbsd.sourceforge.net/download.shtml
http://druidbsd.sourceforge.net/freebsd_druid.shtml
https://sourceforge.net/projects/druidbsd/files/

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
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: Dual Booting Linux with FreeBSD 9.0 - Grub in MBR

2012-01-28 Thread Kaya Saman

On 01/28/2012 08:54 AM, Bas Smeelen wrote:

On Fri, 27 Jan 2012 21:32:10 +
Kaya Samankayasa...@gmail.com  wrote:


Hi,

am just wondering if anyone has successfully managed to boot FreeBSD
9.0 and Linux.

I run Fedora 16 x64 with Grub installed in my MBR.

FBSD9 installed as the new disk scheme GPT. I think (I manually
partitioned as my disk is quite crowded).

Anyway I found this:

http://lists.freebsd.org/pipermail/freebsd-questions/2011-October/234858.html

and at the moment I have this in my Grub config:

menuentry 'FreeBSD 9.0'  {
  set root=(ada0,1,a)
  kfreebsd /boot/loader
  boot
}

But unfortunately no boot :-(


I have tried using (hd0,0), (hd0,1,a), (hd0,0,a), and (hd0,a) but
unfortunately nothing is working.


The Grub version is 2.


Can anyone help me?


Hi

I have the following partition layout
P1 linux swap
P2 FreeBSD
P3 linux
P4 extended which holds 2 more linux partitions

FreeBSD 9 installed on P2 and the FreeBSD bootloader on P2

In /etc/grub.d/40_custom I have put the following:

menuentry FreeBSD {
  set root=(hd0,2)
  chainloader +1
  }

Then run update-grub as root.

The (hd0,2) entry means first harddisk (this laptop only has one) and
the second partition, which holds the FreeBSD bootloader that gets
loaded with the enry chainloader +1.

This works for me. Hope it helps.

I think with the way you have the setup now, a module must be loaded
first in the grub config. Insmod ufs or similair.


Disclaimer: http://www.ose.nl/email


Thanks for the response!!

Actually I got this working but eventually was up for nearly 24 hours 
which meant I was too tired to post back here :-)



My Grub is just weird! Which is why I couldn't work things out. For 
anyone running Fedora 16 or alike this may help; I have this partition 
layout:


1. FreeBSD UFS2
4. Extended Partition
5. Linux / Ext4
2 Linux Swap
3 Linux JFS


Don't ask why 4,5 partitions but Fedora installer took over and left me 
with no control otherwise Fedora should have been on 2.



Now the Grub entry is as follows:


menuentry 'FreeBSD 9.0'  {
insmod part_msdos
set root='(hd0,msdos1)'
chainloader +1
}


I have no idea why my version of grub is sooo different from everyone 
elses as finding many dualboot bsd/linux combos with Grub entries being 
more like yours, Bas, this is certainly puzzling.



Anyhow the situation is solved :-)



Regards,


Kaya
___
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


[dvd+rw-tools-7.1] Failure to burn disks: SK=5h/INVALID ADDRESS FOR WRITE

2012-01-28 Thread Yuri
While burning the DVD+R DL with the command 'growisofs -dvd-compat 
-speed=4 -Z /dev/cd0=$1' on 9.0-STABLE I am getting this error:

 8333492224/8407351452 (99.1%) @4.0x, remaining 0:14 RBU 100.0% UBU  57.1%
 8352301056/8407351452 (99.3%) @4.1x, remaining 0:10 RBU 100.0% UBU  53.1%
 8371240960/8407351452 (99.6%) @4.1x, remaining 0:06 RBU 100.0% UBU  55.1%
 8387395584/8407351452 (99.8%) @3.5x, remaining 0:03 RBU  59.6% UBU  53.1%
 8406237184/8407351452 (100.0%) @4.1x, remaining 0:00 RBU   3.4% UBU  61.2%
:-[ WRITE@LBA=3ea3c0h failed with SK=5h/INVALID ADDRESS FOR WRITE]: 
Invalid argument

:-( write failed: Invalid argument

It failed 3 times.
Size of the iso image is 8407351452.

Device is:  cd0: PIONEER DVD-RW  DVR-112D 1.21 Removable CD-ROM SCSI-0 
device


I did burn DVDs successfully using the same drive, the same batch of 
empty writable DVDs and the same command on 8.X. I am not sure if this 
is because of 9.0 or because of this specific disk image.


Do you know what may be a problem? Do you burn DVDs successfully?

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


Re: USB 3.0 with FreeBSD 8.1

2012-01-28 Thread Thomas Mueller
from: Matthias Fechner ide...@fechner.net:

  b)  Does 9.0 have USB 3.0 support.

 my system says:
 Jan 27 22:16:51 server kernel: xhci0: XHCI (generic) USB 3.0
 controller mem 0xf9cfe000-0xf9cf irq 19 at device 0.0 on pci5
 Jan 27 22:16:51 server kernel: xhci0: 64 byte context size.
 Jan 27 22:16:51 server kernel: usbus3 on xhci0

 So it detects at least my usb3 controller.

 Bye
 Matthias

I have USB 3.0 on my new computer, and a Western Digital My Book Essential USB 
3.0 3 TB hard drive:

Good read/write with FreeBSD 9.0, and Linux on the System Rescue CD 
(http://sysresccd.org/).

I can't access this hard drive from NetBSD either from USB 3.0 port or USB 2.0 
port.

I think FreeBSD 8.1 is in any case superseded by 8.2, hence no motivation to 
improve hardware support in 8.1.

Tom
___
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: Swap_pager: indefinite wait buffer

2012-01-28 Thread Thomas Mueller
from Kévin Hagner jsaipakoim...@spyzone.fr:

  I'm running on a FreeBSD 9.0-STABLE, the file system used is UFS, I've 2Gb 
  RAM and no native swap partition.

 Oh.  You should never configure a Unix system without at least some swap 
 space available, and configuring at least as much swap as you have RAM (plus 
 a little
 +bit more) is the minimum recommendation.

 Regards,

 -Chuck

Does that mean the amount of swap space needed increases with amount of RAM?

Is that for the purpose of accommodating possible core dump?  This is difficult 
to achieve with a system that has generous RAM, when installing to a USB stick.

I suppose one could use swap space on a hard drive in that case.

Tom
___
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


OT: perl mail problems

2012-01-28 Thread Da Rock
I know this is not exactly FreeBSD related, but I'm in need of a monk 
that can enlighten me on a sacred incantation to connect perl to an imap 
server using Mail::Box modules :) If it helps people sleep, its all 
running only on FreeBSD systems...


I have googled and searched, and googled some more, and tested, and then 
went back to the drawing board and googled yet again... there is simply 
no clear answer out there. All the docs are very disjointed from my 
reckoning- with no clear direction that explains how you get from a-b.


I have enabled a connection (I think - based on my tests and logs), but 
I cannot get further than that. I have a Mail::Box::Manager 
instantiated, and then I have to use Mail::Box::IMAP4 to open a 
connection to the server. From there I need to get a list of the folders 
available- and thats where I get stymied.


All the docs are pop3 based, or maildir based, or mbox. The imap is very 
sketchy... and what is out there says to basically connect, and then 
there is a jump to folders and messages with no idea of what is involved 
in between. Although I did see one complete example with pop3, but it 
won't work for imap.


One of the biggest problems is the username confuses any other module 
method than the Mail::Box::IMAP4 - the syntax is user@domain, and so if 
I use Mail::Box::Manager it will compile it into a url form ie 
imap4://user@domain:password@mail.server which it obviously barfs on and 
refuses to look beyond user@domain.


I really seem to be missing something fundamental here. I'm only trying 
to create some tools which will handle some situations apparently only 
local to my systems, and improve my perl foo before I start creating 
modules of my own and testing mod_perl.


If someone can help clear this up I'll be happy to communicate off list 
if that is necessary.


TIA
___
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: X libraries missing

2012-01-28 Thread Bernt Hansson

2012-01-28 10:31, Conrad J. Sabatier skrev:

On Sat, 28 Jan 2012 08:15:27 +0100
Bernt Hanssonb...@bananmonarki.se  wrote:


2012-01-28 08:06, Adam Vande More skrev:

On Sat, Jan 28, 2012 at 12:28 AM, Bernt
Hanssonb...@bananmonarki.se   wrote:


Hello list!


Trying to update multimedia/audacious-plugins to some other
version 3x.

The problem seems to be ! multimedia/audacious-plugins
(audacious-plugins-2.5.4_2)  (X libraries missing)

The error is:

Entering directory aosd.
In file included from ghosd.c:21:
/usr/local/include/X11/**extensions/Xcomposite.h:49:35: error:
X11/extensions/Xfixes.h: No such file or directory
Successfully generated dependencies.
Successfully compiled aosd.c (plugin).
Successfully compiled aosd_osd.c (plugin).
Successfully compiled aosd_style.c (plugin).
Successfully compiled aosd_trigger.c (plugin).
Successfully compiled aosd_ui.c (plugin).
Successfully compiled aosd_cfg.c (plugin).
In file included from ghosd.c:21:
/usr/local/include/X11/**extensions/Xcomposite.h:49:35: error:
X11/extensions/Xfixes.h: No such file or directory
In file included from ghosd.c:21:
/usr/local/include/X11/**extensions/Xcomposite.h:86: error:
expected '=', ',', ';', 'asm' or '__attribute__' before '**
XCompositeCreateRegionFromBord**erClip'
Failed to compile ghosd.c (plugin)!
gmake[5]: *** [ghosd.plugin.o] Error 1
gmake[4]: *** [all] Error 2
gmake[3]: *** [subdirs] Error 1
gmake[2]: *** [all] Error 2
gmake[1]: *** [subdirs] Error 1
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/**multimedia/audacious-plugins.
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/**multimedia/audacious-plugins.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20120128-**26744-6ymwm0-0 env
UPGRADE_TOOL=portupgrade UPGRADE_PORT=audacious-**plugins-2.5.4_2
UPGRADE_PORT_VER=2.5.4_2 make DEPENDS_TARGET=package
** Fix the problem and try again.

But I have xorg libraries installed, xorg-libraries-7.5.1



/usr/ports/x11/libXcomposite


Did not work!


You also need x11/libXfixes.

Save yourself some headaches and just do portmaster libX.  That'll
make sure all of them are up-to-date.

Did you recently upgrade your xorg-server?  If so, updating libX* and
xf86* is a *must*.


Thank's for the reply.

I got frustrated and did a pkg_delete \*

Now I can't build any port, tried python
cc -c -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing -DNDEBUG -O2 
-pipe  -fno-strict-aliasing  -I. -IInclude -I./../Include -fPIC 
-DPy_BUILD_CORE -o Modules/python.o ./../Modules/python.c
cc -pthread -Wl,--export-dynamic -o python  Modules/python.o  -L. 
-lpython2.7 -lutil   -lm
cc -c -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing -DNDEBUG -O2 
-pipe  -fno-strict-aliasing  -I. -IInclude -I./../Include 
-DPy_BUILD_CORE -o Modules/python.o ./../Modules/python.c

install  -o root -g wheel -m 444 ./../Tools/gdb/libpython.py python-gdb.py
[: not foundthis error pops up with any port
ã²çW?: not foundsame with this one
install: 1: Syntax error: word unexpected (expecting ))
install: 5: Syntax error: Error in command substitution
*** Error code 2
1 error
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/lang/python27.
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/lang/python27.
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/lang/python.

I get the same error after a portsnap 20120128 15:30 CET

___
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: email hosting - How do you do it?

2012-01-28 Thread Zane C. B-H.
On Thu, 26 Jan 2012 15:51:05 -0700
Peter fb...@peterk.org wrote:

 Hello,
   I've been on qmail/vpopmail combo forever and am looking to build
 a new, mail server.

As some one who has was once a unix admin for a ISP that ran Qmail
for a SMTP server, I can safely say you should avoid it like the
plague. Managing it is a bloody PITA given how incomplete it is in so
many ways.

 First choice so far is postfix, but almost all the virtual hosting
 'howtos' require an SQL database, or editing files by hand. The SQL
 part seems like an overkill for ~20-50 email accounts, the editing
 files by hand seems like a pain and requires me doing everything
 but I'd rather let people manage their own domains.

Postfix is a great choice. A lot more manageable than Qmail and it is
pleasantly fast, easy to configure, and integrates nicely with
Dovecot.

If you are just dealing with a single domain, I would strongly
suggest looking into just using system users. This works fairly
nicely and you can lock down access via PAM.

In regards to authentication, you will need to look into something
other than the master.passwd stuff authentication as that is only
usable as root. I would strongly suggest LDAP. In regards to managing
users/groups in LDAP I would suggest sysutils/p5-Plugtools . It is
something I wrong awhile back and maintain, so if you have any
requests for add on to, please just let me know.

 Just curious on how everyone else does small/medium/large email
 hosting so that the users have an easy option to change passwords,
 manage their domains, quotas, vacation auto responders, etc. ?

My setup involves...

backend - The backend server runs LDAP and has a nice bit of disk
space shared via NFs.
frontend - The frontend servver runs all the external facing stuff,
webmail(horde), more web stuff, Dovecot(POP3/IMAP/Sieve), and
Postfix(SMTP).
NFS - Used for sharing home directories.
LDAP - Used for authentication, addressbooks, and user/groups.
Dovecot  - Use for POP3/IMAP/Sieve.
Postfix - Used for SMTP.
syslogd - Used for centralized logging for logging from the frontend
to the backend.
Horde - It makes a truely kick ass webmail system. It is nice as
allows easy integration of Sieve and LDAP addressooks.
ZFS/gmirror - Gmirror backed ZFS pools work really nicely for if you
need large amounts of storage.
___
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: X libraries missing

2012-01-28 Thread Conrad J. Sabatier
On Sat, 28 Jan 2012 15:36:35 +0100
Bernt Hansson b...@bananmonarki.se wrote:

 2012-01-28 10:31, Conrad J. Sabatier skrev:
  On Sat, 28 Jan 2012 08:15:27 +0100
  Bernt Hanssonb...@bananmonarki.se  wrote:
 
  2012-01-28 08:06, Adam Vande More skrev:
  On Sat, Jan 28, 2012 at 12:28 AM, Bernt
  Hanssonb...@bananmonarki.se   wrote:
 
  Hello list!
 
 
  Trying to update multimedia/audacious-plugins to some other
  version 3x.
 
  The problem seems to be ! multimedia/audacious-plugins
  (audacious-plugins-2.5.4_2)  (X libraries missing)
 
  The error is:
 
  Entering directory aosd.
  In file included from ghosd.c:21:
  /usr/local/include/X11/**extensions/Xcomposite.h:49:35: error:
  X11/extensions/Xfixes.h: No such file or directory
  Successfully generated dependencies.
  Successfully compiled aosd.c (plugin).
  Successfully compiled aosd_osd.c (plugin).
  Successfully compiled aosd_style.c (plugin).
  Successfully compiled aosd_trigger.c (plugin).
  Successfully compiled aosd_ui.c (plugin).
  Successfully compiled aosd_cfg.c (plugin).
  In file included from ghosd.c:21:
  /usr/local/include/X11/**extensions/Xcomposite.h:49:35: error:
  X11/extensions/Xfixes.h: No such file or directory
  In file included from ghosd.c:21:
  /usr/local/include/X11/**extensions/Xcomposite.h:86: error:
  expected '=', ',', ';', 'asm' or '__attribute__' before '**
  XCompositeCreateRegionFromBord**erClip'
  Failed to compile ghosd.c (plugin)!
  gmake[5]: *** [ghosd.plugin.o] Error 1
  gmake[4]: *** [all] Error 2
  gmake[3]: *** [subdirs] Error 1
  gmake[2]: *** [all] Error 2
  gmake[1]: *** [subdirs] Error 1
  gmake: *** [all] Error 2
  *** Error code 1
 
  Stop
  in /usr/home/bernt/disk8/ports/**multimedia/audacious-plugins.
  *** Error code 1
 
  Stop
  in /usr/home/bernt/disk8/ports/**multimedia/audacious-plugins.
  ** Command failed [exit code 1]: /usr/bin/script
  -qa /tmp/portupgrade20120128-**26744-6ymwm0-0 env
  UPGRADE_TOOL=portupgrade
  UPGRADE_PORT=audacious-**plugins-2.5.4_2
  UPGRADE_PORT_VER=2.5.4_2 make DEPENDS_TARGET=package ** Fix the
  problem and try again.
 
  But I have xorg libraries installed, xorg-libraries-7.5.1
 
 
  /usr/ports/x11/libXcomposite
 
  Did not work!
 
  You also need x11/libXfixes.
 
  Save yourself some headaches and just do portmaster libX.  That'll
  make sure all of them are up-to-date.
 
  Did you recently upgrade your xorg-server?  If so, updating libX*
  and xf86* is a *must*.
 
 Thank's for the reply.
 
 I got frustrated and did a pkg_delete \*

That's just a wee tad on the drastic side, isn't it?  You must have been
quite beside yourself at the time.  :-)

 Now I can't build any port, tried python
 cc -c -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing -DNDEBUG
 -O2 -pipe  -fno-strict-aliasing  -I. -IInclude -I./../Include -fPIC 
 -DPy_BUILD_CORE -o Modules/python.o ./../Modules/python.c
 cc -pthread -Wl,--export-dynamic -o python  Modules/python.o  -L. 
 -lpython2.7 -lutil   -lm
 cc -c -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing -DNDEBUG
 -O2 -pipe  -fno-strict-aliasing  -I. -IInclude -I./../Include 
 -DPy_BUILD_CORE -o Modules/python.o ./../Modules/python.c
 install  -o root -g wheel -m 444 ./../Tools/gdb/libpython.py
 python-gdb.py [: not foundthis error pops up with any
 port ã²çW?: not foundsame with this one
 install: 1: Syntax error: word unexpected (expecting ))
 install: 5: Syntax error: Error in command substitution
 *** Error code 2
 1 error
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/lang/python27.
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/lang/python27.
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/lang/python.
 
 I get the same error after a portsnap 20120128 15:30 CET

Looks like either you've somehow managed to bork up your /bin
directory, or you're lacking /bin in your PATH.

Just what exactly have you been up to lately, young man?  :-)

No, seriously, '[' *should* be found under /bin.  It's actually a hard
link to 'test' in the same directory.  If it's missing, you can
recreate it (provided that 'test' still exists).

(As root, of course):

cd /bin
ln test [

Hopefully, that should get you back on track.

HTH,

Conrad

-- 
Conrad J. Sabatier
conr...@cox.net
___
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: When I put up any version of FBSD I usually try to install Maxima. Which fails because the sub-install of gnuplot fails.

2012-01-28 Thread Roland Smith
On Sat, Jan 28, 2012 at 02:57:02AM -0500, Henry Olyer wrote:
 When I put up any version of FBSD I usually try to install Maxima.  Which
 fails because the sub-install of gnuplot fails.
 
 I go to through various work-arounds, different things.
 
 But Saturday I will be installing 9.0 and would like to have a successful
 install.  Ideas?

Install gnuplot before maxima, so you can see why it goes wrong. 

Use an empty make.conf in case you run into weird compilation problems.

The default build of gnuplot is quite heavy, pulling in wxwidgets and teTeX.
Personally, I would recommend the following settings: enable X11, GD, gridbox,
thinsplines and cairo, and disable the rest; pdflib didn't work last time I
tried it. WXwidgets is overkill IMO, the standard X11 support works fine. And
teTeX is deprecated upstream in favor of TeXLive.

I've been using gnuplot like this without problems for years, on i386 and amd64.


Hope this helps.

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)


pgpuP5jFQpHDy.pgp
Description: PGP signature


Re: X libraries missing

2012-01-28 Thread Bernt Hansson

2012-01-28 16:13, Conrad J. Sabatier skrev:
Thank's for the reply.


I got frustrated and did a pkg_delete \*


That's just a wee tad on the drastic side, isn't it?


Well, frustration craves drastic measures.


 You must have been
quite beside yourself at the time.  :-)


It was friday!


Looks like either you've somehow managed to bork up your /bin
directory, or you're lacking /bin in your PATH.

Just what exactly have you been up to lately, young man?  :-)


Well, to much it seems.


No, seriously, '[' *should* be found under /bin.  It's actually a hard
link to 'test' in the same directory.  If it's missing, you can
recreate it (provided that 'test' still exists).

(As root, of course):

cd /bin
ln test [

Hopefully, that should get you back on track.


I'm back on track. Did some pkg_add -r program
Now it seems to work again, at least portupgrade -aiR

Thank you Conrad for your help. Have a nice weekend.

___
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: OT: perl mail problems

2012-01-28 Thread Matthew Seaman
On 28/01/2012 13:39, Da Rock wrote:
 I know this is not exactly FreeBSD related, but I'm in need of a monk
 that can enlighten me on a sacred incantation to connect perl to an imap
 server using Mail::Box modules :) If it helps people sleep, its all
 running only on FreeBSD systems...
 
 I have googled and searched, and googled some more, and tested, and then
 went back to the drawing board and googled yet again... there is simply
 no clear answer out there. All the docs are very disjointed from my
 reckoning- with no clear direction that explains how you get from a-b.
 
 I have enabled a connection (I think - based on my tests and logs), but
 I cannot get further than that. I have a Mail::Box::Manager
 instantiated, and then I have to use Mail::Box::IMAP4 to open a
 connection to the server. From there I need to get a list of the folders
 available- and thats where I get stymied.
 
 All the docs are pop3 based, or maildir based, or mbox. The imap is very
 sketchy... and what is out there says to basically connect, and then
 there is a jump to folders and messages with no idea of what is involved
 in between. Although I did see one complete example with pop3, but it
 won't work for imap.

This is absolutely typical -- IMAP is frequently treated as
POP-with-extra-bits, which really makes no sense whatsoever.  There's a
fundamental difference in behaviour to do with where the mail is
actually stored.  Anything that works by connecting to an IMAP server
and downloading all the new messages to hold and read locally really is
missing the point.

 One of the biggest problems is the username confuses any other module
 method than the Mail::Box::IMAP4 - the syntax is user@domain, and so if
 I use Mail::Box::Manager it will compile it into a url form ie
 imap4://user@domain:password@mail.server which it obviously barfs on and
 refuses to look beyond user@domain.

Yeah, IMAP4 doesn't do URL-style things itself, so this is a fiction
invented to appease the higher layers of Mail::Box.  Unfortunately, '@'
is of syntactic significance to URL schemes, making it difficult to
incorporate usernames containing it.

Hmmm can you substitute a hex encoded character string in that
username?  %40 should be the encoding for an @ character.

 I really seem to be missing something fundamental here. I'm only trying
 to create some tools which will handle some situations apparently only
 local to my systems, and improve my perl foo before I start creating
 modules of my own and testing mod_perl.
 
 If someone can help clear this up I'll be happy to communicate off list
 if that is necessary.

Is all the e-mail you have to deal with stored on your IMAP4 server?  If
so, then using Mail::IMAPClient directly[*] might serve you better
rather than through the Mail::Box and Mail::Transport classes.  However,
that's a much lower level interface and you'll need to be fairly au-fait
with RFC 3501.  (That's not as bad as it sounds: all it boils down to is
finding what the command is called in the IMAP protocol when you want to
achieve a particular effect.)

One thing that I notice on a cursory reading of Mail::Box::IMAP4 is that
it seems to assume things about the behaviour of the IMAP message store
which aren't necessarily true for all different IMAP servers.  (ICBW --
it was a /very/ cursory reading.)  Usernames of the form
'n...@example.com' are one of those things you can do with IMAP which
tend to come as a bit of a surprise to people used to other mailclient
protocols.

Cheers,

Matthew

[*] Mail::Box et al use Mail::IMAPClient behind the scenes.

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



signature.asc
Description: OpenPGP digital signature


Re: When I put up any version of FBSD I usually try to install Maxima. Which fails because the sub-install of gnuplot fails.

2012-01-28 Thread Michael L. Squires
I just compiled maxima from ports using default settings under 
FreeBSD 8-STABLE (updated 12/24/2011) and had no problems with the compile 
(i.e., I just su'd to root, did a cd /usr/ports/math/maxima;make).


This was under the amd64 version of FreeBSD (hardware is a Tyan S4882 quad 
Opteron).


I just upgraded from 7.4 to 8.2-RELEASE and then, as usually, updated to 
the STABLE version using cvs.  I usually don't upgrade to a newer 
version until it becomes obviously necessary due to either features I need 
in the newer release or the ending of support for the version I'm 
currently using.


I wonder what versions you've been trying to install, since I've rarely 
had problems installing from ports when upgrading as described above.


Mike Squires
mikes at siralan.org
UN*X at home since 1986

___
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: When I put up any version of FBSD I usually try to install Maxima ...

2012-01-28 Thread Michel Talon
Roland Smith wrote:

The default build of gnuplot is quite heavy, pulling in wxwidgets and teTeX.
Personally, I would recommend the following settings: enable X11, GD, gridb ox,
thinsplines and cairo, and disable the rest; pdflib didn't work last time I
tried it. WXwidgets is overkill IMO, the standard X11 support works fine. And
teTeX is deprecated upstream in favor of TeXLive.


Gnuplot is the prototypical example of a port which is badly managed. There are
far too many dependencies which are absolutely *non necessary* There is 
absolutely no necessity
of having TeX (in any form whatsoever) to run Gnuplot. In fact Gnuplot can emit 
TeX
instructions if asked to do it, but many people never use this feature,
and those who care may very well include the graphs on another machine, run TeX 
elsewhere, etc.
The only necessary features are to emit X11 plots and ps plots. The ps plots 
can be
transformed to pdf by ps2pdf, which is a basic program on almost all machines. 
The more
modern inclined may like svg plots if they have inkscape. But the cherry on the 
cake is
that gnu plot requires pdflib, which is a non free library such that the FreeBSD
project cannot ship a working gnuplot binary (that is gnuplot will not start 
without libpdf
for which one needs to download source and compile). Hence one of the most 
useful tools on a computer
doesn't work out of the box. Things such as that should never occur, a port 
maintainer should
only include the *strict minimum* dependencies necessary to make the port work, 
it is not his job
to include the whole kitchen sink of dependencies that could be useful in some 
cases.

Of course there are correlated casualties to such misbehavior such as the above 
problem afflicting 
maxima. Once again, while doing plots is a useful feature of maxima, requiring 
gnuplot, it is not
a central feature of maxima, the plots can be done with other tools than 
gnuplot. Similarly
maxima has a TeX dependency which has absolutely no reason to be here. Of 
course maxima can
output formulas in TeX notation, but there is no necessity to do that, and i am 
quite sure that
many people only use the html rendering produced by wxmaxima.

In the past people have chased deprecated ports in the FreeBSD ports system, 
and this has caused a lot of controversy
(personaly i approve this operation). But chasing inappropriate dependencies  
would be far more useful if one wants
to arrive at a situation where one can envision to use binary packages for most 
installations of FreeBSD
(those which don't require fine tuning). At present, the gnuplot example shows 
that even most basic
installations cannot be provided out of the box without compiling something - 
which implies in particular
that no apt-get like tool can be devised. 




--

Michel Talon
ta...@lpthe.jussieu.fr





___
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: When I put up any version of FBSD I usually try to install Maxima. Which fails because the sub-install of gnuplot fails.

2012-01-28 Thread Henry Olyer
I've been using FBSD since 2000 and a Macsyma user since 1976.

And done my own FBSD installs since 5.1, I think, maybe a few before.  For
those early years I was content to install a lisp and then do my own FTP's,
getting maxima and doing things manually.  No problems.

But the installs have never worked.  Specificially, using the sysinstall
tool, going to Packages, going to Math, and dropping down to Maxima,
FAILS!!!

And a few years ago everyone yelled at me and said I was wrong.  But I've
had this problem on at least a dozen machines, from laptop's to desktops,
to blades.

And when Gnuplot failed to install that stopped the installation of maxima.

So I did workarounds but lost graphing and other resources.

On Sat, Jan 28, 2012 at 1:41 PM, Michael L. Squires mi...@siralan.orgwrote:

 I just compiled maxima from ports using default settings under FreeBSD
 8-STABLE (updated 12/24/2011) and had no problems with the compile (i.e., I
 just su'd to root, did a cd /usr/ports/math/maxima;make).

 This was under the amd64 version of FreeBSD (hardware is a Tyan S4882 quad
 Opteron).

 I just upgraded from 7.4 to 8.2-RELEASE and then, as usually, updated to
 the STABLE version using cvs.  I usually don't upgrade to a newer
 version until it becomes obviously necessary due to either features I need
 in the newer release or the ending of support for the version I'm currently
 using.

 I wonder what versions you've been trying to install, since I've rarely
 had problems installing from ports when upgrading as described above.

 Mike Squires
 mikes at siralan.org
 UN*X at home since 1986


___
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: OT: perl mail problems

2012-01-28 Thread Paul Macdonald

On 28/01/2012 13:39, Da Rock wrote:
I know this is not exactly FreeBSD related, but I'm in need of a monk 
that can enlighten me on a sacred incantation to connect perl to an 
imap server using Mail::Box modules :) If it helps people sleep, its 
all running only on FreeBSD systems...


I have googled and searched, and googled some more, and tested, and 
then went back to the drawing board and googled yet again... there is 
simply no clear answer out there. All the docs are very disjointed 
from my reckoning- with no clear direction that explains how you get 
from a-b.


I have enabled a connection (I think - based on my tests and logs), 
but I cannot get further than that. I have a Mail::Box::Manager 
instantiated, and then I have to use Mail::Box::IMAP4 to open a 
connection to the server. From there I need to get a list of the 
folders available- and thats where I get stymied.


All the docs are pop3 based, or maildir based, or mbox. The imap is 
very sketchy... and what is out there says to basically connect, and 
then there is a jump to folders and messages with no idea of what is 
involved in between. Although I did see one complete example with 
pop3, but it won't work for imap.



there's good php support for IMAP, documentation might be better

http://uk.php.net/manual/en/function.imap-list.php
(easily scripted via cli).


Paul..


___
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


9.0 install problems

2012-01-28 Thread Henry Olyer
When I boot the CD I get a different menu, ie., boot, shell, install.

Since the CD is in the CD-ROM drawer and I know how to use sysinstall (or
so I thought!,) I get a fresh shell and say sysinstall.

Okay?

Except I can't write the disk.  Notice, I have not explicitly mounted it or
done anything to reserve it.

I need a procedure to do this please.

It's just a small machine.  But having this up let's me do a backup and
once I've backed up the disks on my other computers, then I can do some
serious stuff with 9.0.

I'd like to use sysinstall, if possible.  I know it and I like it.  I do
have some other FBSD boxes nearby, each with TCP/IP running fine;  But I'm
not knowledgeable with PXE.
___
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: When I put up any version of FBSD I usually try to install Maxima. Which fails because the sub-install of gnuplot fails.

2012-01-28 Thread Michael L. Squires
I've only installed a few programs from packages at installation time; 
almost all of my installations and upgrades have been by compiling from 
ports and then upgrading (with recompilation) using portupgrade.


This is a habit I got into a long time ago, and which I continue without 
any specific reason, other than it's always worked for me.


One workaround would be to install gnuplot from ports (compiling it) and 
then installing maxima from packages.  My wild guess is that there's 
something either different between the package version of gnuplot and the 
version created by a compile from ports or that there is something 
different between the system on which the packages version of gnuplot was 
created and your system.


I've run into a few programs where dependencies weren't handled correctly; 
in those cases I've had to manually install (by compiling) the dependency 
and then continuing with the installation of the program itself.


Sorry you've been having problems (and gotten less than sympathetic 
responses).


Mike Squires
mikes at siralan.org
UN*X at home since 1986



___
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: 9.0 install problems

2012-01-28 Thread Devin Teske

On Jan 28, 2012, at 1:30 PM, Henry Olyer henry.ol...@gmail.com wrote:

 When I boot the CD I get a different menu, ie., boot, shell, install.
 
 Since the CD is in the CD-ROM drawer and I know how to use sysinstall (or
 so I thought!,) I get a fresh shell and say sysinstall.
 
 Okay?
 
 Except I can't write the disk.  Notice, I have not explicitly mounted it or
 done anything to reserve it.
 
 I need a procedure to do this please.
 
 It's just a small machine.  But having this up let's me do a backup and
 once I've backed up the disks on my other computers, then I can do some
 serious stuff with 9.0.
 
 I'd like to use sysinstall, if possible.  I know it and I like it.

The answer is here (as-in arrived):

http://druidbsd.sf.net/

http://druidbsd.sf.net/freebsd_druid.shtml
-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
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: When I put up any version of FBSD I usually try to install Maxima ...

2012-01-28 Thread Roland Smith
On Sat, Jan 28, 2012 at 08:09:34PM +0100, Michel Talon wrote:
 Gnuplot is the prototypical example of a port which is badly managed. There
 are far too many dependencies which are absolutely *non necessary* There is
 absolutely no necessity of having TeX (in any form whatsoever) to run
 Gnuplot. 

Agreed. That is why it is an _option_ now.

 inkscape. But the cherry on the cake is that gnu plot requires pdflib, which
 is a non free library such that the FreeBSD project cannot ship a working
 gnuplot binary (that is gnuplot will not start without libpdf for which one
 needs to download source and compile).

The reliance on pdflib is also an option. But I would agree with you that it
should be off by default, instead of on. I seem to recall that the pdflib
output didn't really work when I tried it, so I dropped it.

 occur, a port maintainer should only include the *strict minimum*
 dependencies necessary to make the port work, it is not his job to include
 the whole kitchen sink of dependencies that could be useful in some cases.

So you would advocate to set all options to off be default? Why not submit a
PR to that effect?

 Similarly maxima has a TeX dependency which has absolutely no reason to be
 here.

Looking at the port Makefile version 1.75 (maxima 5.26.0_1), there is no TeX
dependency.

 operation). But chasing inappropriate dependencies would be far more useful
 if one wants to arrive at a situation where one can envision to use binary
 packages for most installations of FreeBSD

And who is to say what is appropriate, other than the respective maintainers
of the port in question? In my opinion, packages are a dead-end street. They
might be convenient but they are also one size fits all. Which as your
message demonstrates is not the case. :-)

Your post got me thinking, so I checked which terminals are available in a
gnuplot that only includes the options X11, GD and CAIRO:

canvascgm   corel dpu414
dumb  dxf   eepic emf
emtex epslatex  epson_180dpi  epson_60dpi
epson_lx800   fig   gif   gpic
hp2623a   hp2648hp500chpdj
hpgl  hpljiihppj  imagen
jpeg  latex mfmif
mpnec_cp6   okidata   pbm
pcl5  pdfcairo  png   pngcairo
pop   postscriptpslatex   pstex
pstricks  push  qms   regis
starc svg   tandy_60dpi   tek40xx
tek410x   texdraw   tgif  tkcanvas
tpic  vttek x11   xlib
xterm

It seems that PDF (via cairo) and SVG are supported in this case. I haven't
tested SVG, but pdfcairo seems to work OK. 

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)


pgpUKJFpMfRe8.pgp
Description: PGP signature


Re: When I put up any version of FBSD I usually try to install Maxima ...

2012-01-28 Thread Robert Bonomi

Roland Smith rsm...@xs4all.nl wrote:
 On Sat, Jan 28, 2012 at 08:09:34PM +0100, Michel Talon wrote:

  occur, a port maintainer should only include the *strict minimum*
  dependencies necessary to make the port work, it is not his job to include
  the whole kitchen sink of dependencies that could be useful in some cases.

 So you would advocate to set all options to off be default? Why not submit a
 PR to that effect?

_I_ would suggest that it might make good sense to have as many as _three_
choices of binary installations for ports with 'lots' (FSVO 'lots' :) of
dependencies -- a 'bare minimums' working version, a 'typical' version, and
an 'including the kitchen sink' version.

Logic:  give the -user- the choice -- DON'T make it for him


 And who is to say what is appropriate, other than the respective maintainers
 of the port in question? In my opinion, packages are a dead-end street. They
 might be convenient but they are also one size fits all. Which as your
 message demonstrates is not the case. :-)

Three sizes should give a better fit for a lot of people, see above.  grin

___
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: When I put up any version of FBSD I usually try to install Maxima ...

2012-01-28 Thread Roland Smith
On Sun, Jan 29, 2012 at 01:30:37AM +0100, Michel Talon wrote:
Agreed. That is why it is an _option_ now.
 
  Yes but ON by default, which is the problem. It is even a bigger problem
  when you realize you would like using other versions of TeX than the
  standard one, for example you would prefer Texlive, and i would prefer an
  ultra minimalistic version if that existed, because i think that at least
  half of TeTeX is complete crap, already. I could not care less of luatex
  and other modern stuff, i would be happy with only the postscript version
  of the Knuth fonts plus a few type1 fonts that I like. I have no use for
  metafont and other graphic programs.  The only modern improvement i find
  valuable is pdftex, and i find latex2e to be horrible, but unfortunately
  necessary nowadays.

Like it or not, the next version of pdftex will be luatex. (According to some
of the principal developers, Hans Hagen and Taco Hoekwater). I think luatex is
interesting, because a lot of things like calculations are much better done in
a general-purpose language like lua than in a macro- and token-based language
like TeX. But I'm digressing.

And who is to say what is appropriate, other than the respective
maintainers of the port in question? In my opinion, packages are a
dead-end street. They might be convenient but they are also one size
fits all. Which as your message demonstrates is not the case. :-)
 
  It is here that we differ considerably, i think that ports are a complete
  dead end which can be easily proven by the fact that almost nobody uses
  FreeBSD compared to Linux binary distributions (like Debian, Ubuntu). I

Initially BSD had more momentum than Linux. But then the infamous USL v. BSDi
lawsuit happened, which effectively derailed BSD development for years.
Packages versus ports had little to do with that.

  could make the same argument with Linux source based distributions like
  Gentoo. It is the sort of things people believe they like at first, and
  finally run away from because they are constantly broken.

In a big system like the ports tree there will continually be ports that won't
work, for various reasons. That is inherent in such a dynamic and evolving
system. There is no software without bugs. But to describe the _system_ for
building from source like ports, pkgsrc and gentoo as constantly broken is
severely overstating the matter, IMO. According to the count today on
Freshports, of the 23080 ports, only 190 are marked broken. That is about
0.8%. One should also keep in mind that packages are built from ports, and
can't be made without it or something similar.

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)


pgpntoYidMzG7.pgp
Description: PGP signature


Re: When I put up any version of FBSD I usually try to install Maxima ...

2012-01-28 Thread Roland Smith
On Sat, Jan 28, 2012 at 08:07:51PM -0600, Robert Bonomi wrote:
 
 Roland Smith rsm...@xs4all.nl wrote:
  On Sat, Jan 28, 2012 at 08:09:34PM +0100, Michel Talon wrote:
 
   occur, a port maintainer should only include the *strict minimum*
   dependencies necessary to make the port work, it is not his job to include
   the whole kitchen sink of dependencies that could be useful in some cases.
 
  So you would advocate to set all options to off be default? Why not submit a
  PR to that effect?
 
 _I_ would suggest that it might make good sense to have as many as _three_
 choices of binary installations for ports with 'lots' (FSVO 'lots' :) of
 dependencies -- a 'bare minimums' working version, a 'typical' version, and
 an 'including the kitchen sink' version.

It would also hugely increase the complexity of the packages system. Imagine 
that
a bare minimum version of package X requires the 'kitchen sink' version of
package Y? Unless you can enforce that bare minimum versions should only
require other bare minimum versions, this will get ugly fast.

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)


pgp7YjBElW9ml.pgp
Description: PGP signature