Perl Path
--[ UxBoD ]--
uxbod at splatnix.net
Wed Mar 21 10:24:01 CET 2007
Yeah tell me about it :)
I have downloaded all the dependancies from CPAN and compiled with the my new perl binary. Here is my source directory ! :-
Algorithm-Diff-1.1902 File-Which-0.05 MIME-tools-5.420 Socket6-0.19 gifsicle-1.46 openssl-0.9.8d
Archive-Tar-1.30 FuzzyOcr-3.5.1 Mail-SPF-Query-1.999.1 String-Approx-3.26 gocr-0.43 pcre-7.0
Archive-Zip-1.18 HTML-Parser-3.56 Mail-SpamAssassin-3.1.7 Sys-Hostname-Long-1.4 httpd-2.2.4 perl-5.8.8
Compress-Raw-Bzip2-2.003 HTML-Tagset-3.10 Mail-SpamAssassin-3.1.8 Text-Diff-0.35 jpeg-6b php-5.2.0
Compress-Raw-Zlib-2.003 IO-Compress-Base-2.003 MailScanner-install-4.58.8 Time-HiRes-1.9705 libidn-0.6.10 policyd-v1.80
Compress-Zlib-2.003 IO-Compress-Bzip2-2.003 MailTools-1.74 URI-1.35 libungif-4.1.4 postfix-2.3.6
Convert-BinHex-1.119 IO-Compress-Zlib-2.003 Net-CIDR-0.11 apr-1.2.8 libwww-perl-5.805 pyzor-0.4.0
Convert-TNEF-0.17 IO-Socket-INET6-2.51 Net-CIDR-Lite-0.20 apr-iconv-1.1.1 lpng1216 subversion-1.4.3
DBD-mysql-4.001 IO-Socket-SSL-1.02 Net-DNS-0.59 apr-util-1.2.8 mysql-5.0.33 tesseract-1.03
DBI-1.53 IO-Zlib-1.04 Net-IP-1.25 clamav-0.90.1 netpbm tiff-3.8.2
Digest-HMAC-1.01 IO-stringy-2.110 Net-Ident-1.20 curl-7.16.1 netpbm-10.26.39 zlib-1.2.3
Digest-SHA1-2.11 IP-Country-2.23 Net_SSLeay.pm-1.30 gd-2.0.34 netpbm-10.35
File-Temp-0.18 MIME-Base64-3.07 PathTools-3.24 giflib-4.1.4 ocrad-0.16
All seems to be working okay though.
On Wed, 21 Mar 2007 09:18:23 +0000, "Martin.Hepworth" <martinh at solidstatelogic.com> wrote:
>
>
> There's quite a bit of stuff that MailScanner expects to find in certain
> places (eg /opt/MailScanner for the tar.gz installs vs
> /usr/lib/MailScanner etc for RPM based installs).
>
> Now I know the FreeBSD package moves things to the default places
> FreeBSD expects, but not sure how much work that entails. But its
> definitely possible.
>
> Then there's all tbe perl mods - cpan or rpm can dump things in
> different places and confuse perl. As long as you're consistant about
> how you install all the dependancies you're OK.
>
> --
> Martin Hepworth
> Snr Systems Administrator
> Solid State Logic
> Tel: +44 (0)1865 842300
>
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
>> bounces at lists.mailscanner.info] On Behalf Of --[ UxBoD ]--
>> Sent: 21 March 2007 09:10
>> To: MailScanner discussion
>> Subject: RE: Perl Path
>>
>> Hi Martin,
>>
>> Yes I have symlinked for the time being. I agree that most scripts
> expect
>> the perl path to be /usr/bin but by using a symlink the whole system
> will
>> use it.
>>
>> The rationale for building under /usr/local/smartmail with all the
>> necessary binaries is so that I can tar it all up, and transfer to
> another
>> mailserver that has a vanilla RHES4 installation.
>>
>> This provides me with control of updating when I feel packages are
> ready
>> for production.
>>
>> Best Regards,
>>
>> UxBoD
>>
>> On Wed, 21 Mar 2007 08:56:31 +0000, "Martin.Hepworth"
>> <martinh at solidstatelogic.com> wrote:
>> > Or going a sym link from /usr/bin/perl to
> /usr/local/smartmail/bin/perl
>> > ala FreeBSD with the sysperl and portsperl options...
>> >
>> > Most perl scripts expect perl to be /usr/bin/perl....
>> >
>> > --
>> > Martin Hepworth
>> > Snr Systems Administrator
>> > Solid State Logic
>> > Tel: +44 (0)1865 842300
>> >> -----Original Message-----
>> >> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-
>> >> bounces at lists.mailscanner.info] On Behalf Of --[ UxBoD ]--
>> >> Sent: 21 March 2007 08:37
>> >> To: mailscanner at lists.mailscanner.info
>> >> Subject: Perl Path
>> >>
>> >> Hi,
>> >>
>> >> I have just built a new server based on RHES4 and have built all
> the
>> >> executables from source ie. perl, mysql, apache, php etc etc ...
>> >>
>> >> When I built MailScanner I used the source and ran install.sh --
>> >> perl=/usr/local/smartmail/bin/perl which installed all the modules
>> > fine.
>> >> Though one thing I have noticed is that in the top of all the
>> > MailScanner
>> >> code the perl path still points to /usr/bin/perl. I wondered why it
>> > wasn't
>> >> working correctly ;)
>> >>
>> >> Is it worth changing the install script so that if the --perl
> option
>> > is
>> >> used then the perl binary path in all scripts is changed aswell ?
>> >>
>> >> Thoughts?
>> >>
>> >> --
>> >> --[ UxBoD ]--
>> >> // PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg
> --import"
>> >> // Fingerprint: 543A E778 7F2D 98F1 3E50 9C1F F190 93E0 E8E8 0CF8
>> >> // Keyserver: www.keyserver.net Key-ID: 0xE8E80CF8
>> >> // SIP Phone: uxbod at sip.splatnix.net
>> >>
>> >>
>> >> --
>> >> This message has been scanned for viruses and dangerous content by
>> >> MailScanner, and is
>> >> believed to be clean.
>> >>
>> >> --
>> >> MailScanner mailing list
>> >> mailscanner at lists.mailscanner.info
>> >> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>> >>
>> >> Before posting, read http://wiki.mailscanner.info/posting
>> >>
>> >> Support MailScanner development - buy the book off the website!
>> >
>> >
>> >
>> >
>> >
> **********************************************************************
>> > Confidentiality : This e-mail and any attachments are intended for
> the
>> > addressee only and may be confidential. If they come to you in error
>> > you must take no action based on them, nor must you copy or show
> them
>> > to anyone. Please advise the sender by replying to this e-mail
>> > immediately and then delete the original from your computer.
>> >
>> > Opinion : Any opinions expressed in this e-mail are entirely those
> of
>> > the author and unless specifically stated to the contrary, are not
>> > necessarily those of the author's employer.
>> >
>> > Security Warning : Internet e-mail is not necessarily a secure
>> > communications medium and can be subject to data corruption. We
> advise
>> > that you consider this fact when e-mailing us.
>> >
>> > Viruses : We have taken steps to ensure that this e-mail and any
>> > attachments are free from known viruses but in keeping with good
>> > computing practice, you should ensure that they are virus free.
>> >
>> > Red Lion 49 Ltd T/A Solid State Logic
>> > Registered as a limited company in England and Wales
>> > (Company No:5362730)
>> > Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU,
>> > United Kingdom
>> >
> **********************************************************************
>> >
>> > --
>> > MailScanner mailing list
>> > mailscanner at lists.mailscanner.info
>> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
>> >
>> > Before posting, read http://wiki.mailscanner.info/posting
>> >
>> > Support MailScanner development - buy the book off the website!
>> >
>> >
>> --
>> --[ UxBoD ]--
>> // PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import"
>> // Fingerprint: 543A E778 7F2D 98F1 3E50 9C1F F190 93E0 E8E8 0CF8
>> // Keyserver: www.keyserver.net Key-ID: 0xE8E80CF8
>> // SIP Phone: uxbod at sip.splatnix.net
>>
>>
>> --
>> This message has been scanned for viruses and dangerous content by
>> MailScanner, and is
>> believed to be clean.
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>
>
>
>
> **********************************************************************
> Confidentiality : This e-mail and any attachments are intended for the
> addressee only and may be confidential. If they come to you in error
> you must take no action based on them, nor must you copy or show them
> to anyone. Please advise the sender by replying to this e-mail
> immediately and then delete the original from your computer.
>
> Opinion : Any opinions expressed in this e-mail are entirely those of
> the author and unless specifically stated to the contrary, are not
> necessarily those of the author's employer.
>
> Security Warning : Internet e-mail is not necessarily a secure
> communications medium and can be subject to data corruption. We advise
> that you consider this fact when e-mailing us.
>
> Viruses : We have taken steps to ensure that this e-mail and any
> attachments are free from known viruses but in keeping with good
> computing practice, you should ensure that they are virus free.
>
> Red Lion 49 Ltd T/A Solid State Logic
> Registered as a limited company in England and Wales
> (Company No:5362730)
> Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU,
> United Kingdom
> **********************************************************************
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
--
--[ UxBoD ]--
// PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import"
// Fingerprint: 543A E778 7F2D 98F1 3E50 9C1F F190 93E0 E8E8 0CF8
// Keyserver: www.keyserver.net Key-ID: 0xE8E80CF8
// SIP Phone: uxbod at sip.splatnix.net
--
This message has been scanned for viruses and dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner
mailing list