RE: Using the newer version of Perl!

2004-04-01 Thread Jason Wilson
The answer you seek has been in front of you the entire time. Since you
missed the package message that blew by when you installed perl, which
is
a common ailment some of us suffer from (you mean there's something
important to read mixed in with all that configuring, compiling,
linking,
and installing nonsense that fills my scroll buffer!), some ingenious
port
maintainer left the advice for you to read at your leisure in 
/usr/ports/lang/perl5.8/pkg-message.

Give it a good read.

Regards,
Jason Wilson
Director of Technology
Nobilis Software

Babbling Blatherscythe! Mazen S. Alzogbi mailto:[EMAIL PROTECTED]

had this to say:

 Hi,
 
 Perl version 5.005_03 was installed with FreeBSD 4.9 by default. I
 installed Perl 5.8.x_x from ports (via FTP). Executing perl -v on the
 console still showing the older version! How can I start using the
 newer 
 version? Can't FreeBSD start using the newer version too?
 
 Cheers,
 
 Mazen S. Alzogbi
 http://alzogbi.com/mazen
 
 ___
 [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: Problems building JDK 1.4

2004-03-31 Thread Jason Wilson
Babbling Blatherscythe! Chris Meyers mailto:[EMAIL PROTECTED] had
this to say:

 I am trying to build java/jdk14 with portupgrade, and I have run into
 a problem. After downloading all the necessary patches and the j2sdk
 binaries and src files from Sun, I ran the following:  
 
 portupgrade --new java/jdk14
 
 Things went along fine for about 2 hours, and then wham I get the
 following error: 
 
 Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
 location

/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Curre
ncyData.java:1:
'class' or 'interface'
 expected Java HotSpot(TM) Client VM warning: Can't detect initial
 thread stack location ^

/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Curre
ncyData.java:1:
 unclosed character literal Java HotSpot(TM) Client VM warning: Can't
 detect initial thread stack location ^ 2 errors
 gmake[4]: *** [.compile.classlist] Error 1
 gmake[4]: Leaving directory
 `/usr/ports/java/jdk14/work/j2se/make/java/java' 
 gmake[3]: *** [optimized] Error 2
 gmake[3]: Leaving directory
 `/usr/ports/java/jdk14/work/j2se/make/java/java' 
 gmake[2]: *** [all] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/java/jdk14/work/j2se/make/java' 
 gmake[1]: *** [all] Error 1
 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
 gmake: *** [j2se-build] Error 2
 *** Error code 2
 
 Stop in /usr/ports/java/jdk14.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade8248.0 make 
 ** Fix the problem and try again.
 ** The following packages were not installed or upgraded (*:skipped /
 !:failed)
 ! java/jdk14(unknown build error)
 
 I did some searching and noticed that someone else posted the exact
 same problem a couple weeks ago, but unfortunately no one replied to
 his problem.  
 
 Has anyone solved this, or know what I should do to fix the problem?
 Here's some more info that may be helpful: 
 
 port: jdk-1.4.2p6_4
 uname -mp: 5.1-RELEASE-p2 i386
 
 Thanks for any help,
 Chris
 
 p.s. sorry for the long lines in the error

I know it flies by rather quickly, but paying attention while the
Makefile flies by never hurts.

 -- To build JDK 1.4.2 port, you should have linux emulation
 -- enabled in the kernel and linux procfs (linprocfs) filesystem
 -- mounted.

I had a failure in just about the same spot, if I recall correctly. Sun
has a linux release for the jdk, but no FreeBSD release. In order to
build a native compile of the jdk on FreeBSD, the linux build is used to
compile it. Hence, linux emulation is require for the build phase. You
can go ahead and remove the linux emulation ports after you're done with
the build if you like.

Part of the build process from new I believe installs the necessaru
linuxbase port, if they're not there already. What it doesn't do is load
the kernel module and mount the linprocfs filesystem for you - which is
where my failure happened, and probably yours as well.

So... Granted that you have the linux ports installed (pkg_info
linux_base, or if you like waiting... portversion | grep linux_base),
load the linprocfs kernel module and mount a linprocfs file system:

kldload linprocfs
mount -t linprocfs linprocfs /compat/linux/proc
(or, add a linprocfs entry with the above mountpoint to your fstab and
do a mount linprocfs)

Now try rebuilding the jdk14 port.

Regards,
Jason Wilson
Director of Technology
Nobilis Software
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Move to insert here mail server? WAS Re: Sending mail gets'Relaying Denied' from off network.

2004-02-18 Thread Jason Wilson
We all have our preferences. If you're looking for a Turn-Key
solution, Courier-MTA or Mail Toaster set-ups are damn fine. If you're
up for the learning experience, which will broaden your knowledge of how
all the pieces fit together, below is my open-ended recommendation:

Postfix (the mail/postfix port) with MySQL or Postgres as a
configuration backend. There are a lot of examples of how to do this
with MySQL on the Postfix webpage (www.postfix.org) which can be easily
adapted to Postgres if you so choose.

Cyrus as a POP3/IMAP server, with Web-Cyradm (see mail/cyrus-imapd22 and
www.web-cyradm.org) or...
Dovecot as a POP3/IMAP server, which I've found to be smokin fast and
fairly easy on the memory load (mail/dovecot) or...
As I was digging through the ports, DBMail looks interesting as well
(mail/dbmail).

You may also want procmail (mail/procmail) or maildrop (mail/maildrop)
for delivery.

SpamAssassin for filtering (mail/p5-Mail-SpamAssassin) and possibly
Amavis-new (security/amavis-new) with ClamAV (security/clamav). With
this setup, you could let Amavis-new do both your SpamAssassin and AV
scanning. Also, ClamAV is but one choice in the Virus scanning choices
in ports/security. If going the Postfix route, it is recommended by the
author to avoid MailScanner.

As for webmail, everyone has their own opinion as to which one they like
best. I've been a fan of IMP so I'll advocate the Horde Framework + IMP.
If you'd like any additional web-workgroup features, adding calendaring
(Kronolith), contacts (Turba), or any other features is a snap. 

I know it's not down to the wire specific, but with the exception of the
Turn-Key solutions, a mail server is a sum of its parts as well as the
child of it's admin (Daddy, could I have 50 dollars for more RAM
please).

Regards,
Jason Wilson
Sr. Network Engineer
Nobilis Software

-Original Message-
From: matthew [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 18, 2004 3:16 AM
To: Luke Kearney
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Move to insert here mail server? WAS Re: Sending mail
gets'Relaying Denied' from off network.



On Wed, 18 Feb 2004, Luke Kearney wrote:


 On Wed, 18 Feb 2004 00:26:47 -0600
 Eric F Crist [EMAIL PROTECTED] granted us these pearls of
wisdom:

  OK, I'm tired of trying to configure sendmail.  I think I give up.
I've hear
  postfix and qmail recommendations the most.  I need a mail server
that can do
  a couple of things for me:
 
  1) Host multiple domains on the same server
  2) Easy user management and control (quotas?)
  3) I NEED MY SPAM ASSASSIN
  3) Webmail recommendation for this mail server.
  4) Your love and support with what I choose... ;)
 
  Sendmail, since I've used it heavily, has become too much of a
burden for me.
  Please reply with a 'vote' and possibly and howtos or 'change-over'
  instructions.  If you all recall, I've failed this once before.

 http://www.tnpi.biz/internet/mail/toaster/

 is a favourite of mine and if I can install it you can too :-), pretty
 bullet proof and easy to manage not to mention scaleable.


http://www.courier-mta.org

'nuff said

m

 HTH

 LukeK


 ___
 [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]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD and Best Practical RT

2004-01-14 Thread Jason Wilson
Forgive me if I'm addressing the wrong audience here, but I posted this
to the RT list about a month ago and got no response, so I thought maybe
someone who knew FreeBSD and Perl a bit more intimately might be able to
shed some light on this for me.

I was going through the install of rt 3.0.7_01 and it seems I came up
against a wall.

I was able create/modify/manage tickets/queues/users from the web
interface, but whenever I submitted a message via e-mail, I kept seeing
the same error message in my mail log file:

MIME::Parser: can't open tmpfile: Invalid argument

I'm guessing that this is a permission issue somewhere with needed to
open up a temporary file somewhere when processing the attachment, but
where I can't seem to locate.

I dug around in the archive and found a message about modifying one of
the modules where the tmpfile call is made. Modifying the sub
_SetupMIMEParser function by adding a $parser-tmp_to_core(0) call after
the $parser-output_to_core(0) call keeps the error from happening and
makes e-mail communication with RT work.

So the question - can someone point me in the right direction as to why
RT, or more specifically MIME::Parser, is having problems opening a
tempfile when processing e-mails? Fixing the problem is one thing -
knowing why is another... can anyone shed some light on this for me?

System Info:

FreeBSD 5.0, Perl 5.8.0, Required Perl Modules up to date as of December
10th, Apache 1.3.29, mod_perl 1.29 statically compiled into Apache.

Thanks in advance.

Jason Wilson
Nobilis Software

~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Yes, we ARE a bunch of anal, short-tempered, quick to
fly-off-the-handle, sarcastic, know-it-alls.  That's what running
networks does to you. 

- James Fischer (inet-access)
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]