🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Scott Lambert Sun, 09 Aug 1998 00:00
running configure for inn-2.1 on FreeBSD 3.0 May Snapshot
#30372
Author: Scott Lambert
Date: Sun, 09 Aug 1998 00:00
21 lines
1423 bytes
I am attempting to setup inn-2.1 on a FreeBSD 3.0 Snapshot box.  

This is my first attempt at inn.  I am also still learning things like
configure and the other *nix tools.  I'm pretty good on OS/2 but am attempting
to expand into the *nix world. 

Anyway, my problem is not directly related to INN.  When I run the configure 
script for INN it does fine until the Perl version check.  It tells me I must 
have Perl 5.004.04 and quits.  

I do have perl5.00404 installed and working.  `perl5 -v' returns the expected 
version number.  `perl -v' returns Perl version 4.  I cp'd the perl5.00404 file
to perl just to make sure they were the same executable so I'm guessing that 
perl returns a different version number based on arg[0].  

How do I make the configure script see that I do have perl 5.00404 installed?

Thanks,
Scott Lambert

Re: running configure for inn-2.1 on FreeBSD 3.0 May Snapshot
#30364
Author: Alex French
Date: Sun, 09 Aug 1998 00:00
26 lines
1708 bytes
On 9 Aug 1998 01:02:31 GMT, lambert@techbsd.csw.net (Scott Lambert)
wrote:

>I do have perl5.00404 installed and working.  `perl5 -v' returns the expected 
>version number.  `perl -v' returns Perl version 4.  I cp'd the perl5.00404 file
>to perl just to make sure they were the same executable so I'm guessing that 
>perl returns a different version number based on arg[0].  

The problem is that the configure script is an SH script. When you run
it, it sets up a default path for you. On your system, an old version
of Perl probably appears earlier in that path than perl5, or else
Perl5 isn't in that path at all. 

Find out where the Perl5 binary is on your system. Assuming it's
/usr/local/bin/perl5, add the following line to the 'configure' script
right after the comments at the top:

PATH=/usr/local/bin:$PATH


That should fix it.


Alex. French.

Re: running configure for inn-2.1 on FreeBSD 3.0 May Snapshot
#30366
Author: Jeremy
Date: Sun, 09 Aug 1998 00:00
22 lines
1695 bytes
Scott Lambert <lambert@techbsd.csw.net> wrote:

> Anyway, my problem is not directly related to INN.  When I run the configure 
> script for INN it does fine until the Perl version check.  It tells me I must 
> have Perl 5.004.04 and quits.  
> 
> I do have perl5.00404 installed and working.  `perl5 -v' returns the expected 
> version number.  `perl -v' returns Perl version 4.  I cp'd the perl5.00404 file
> to perl just to make sure they were the same executable so I'm guessing that 
> perl returns a different version number based on arg[0].  

Nope, if it says you have perl 4, then you have perl 4.  Probably, you have
another 'perl' earlier in your path (check /usr/bin/perl) that is still
version 4.  Stamp out all remnants of Perl 4 from your system and make sure
'perl -v' gives you the right version number.

-- 
Jeremy  |  jeremy@exit109.com
"If it's not real, WHY DOES IT TAKE UP DISK SPACE?" --bev.
                                   net.subculture.usenet

Re: running configure for inn-2.1 on FreeBSD 3.0 May Snapshot
#30368
Author: Scott Lambert
Date: Sun, 09 Aug 1998 00:00
21 lines
1385 bytes
On Sun, 09 Aug 1998 14:09:18 GMT, Alex French <alex@clubi.ie> wrote:
>On 9 Aug 1998 01:02:31 GMT, lambert@techbsd.csw.net (Scott Lambert)
>wrote:
>
>>I do have perl5.00404 installed and working.  `perl5 -v' returns the expected 
>>version number.  `perl -v' returns Perl version 4.  I cp'd the perl5.00404 file
>>to perl just to make sure they were the same executable so I'm guessing that 
>>perl returns a different version number based on arg[0].  
>
>
>Find out where the Perl5 binary is on your system. Assuming it's
>/usr/local/bin/perl5, add the following line to the 'configure' script
>right after the comments at the top:
>
>PATH=/usr/local/bin:$PATH
>
Thanks Alex, that did the trick.

Scott Lambert

Re: running configure for inn-2.1 on FreeBSD 3.0 May Snapshot
#30370
Author: Dan Swartzendruber
Date: Sun, 09 Aug 1998 00:00
26 lines
2013 bytes
IOn 9 Aug 1998 03:11:08 GMT, jeremy@exit109.com (Jeremy) wrote:

>Scott Lambert <lambert@techbsd.csw.net> wrote:
>
>> Anyway, my problem is not directly related to INN.  When I run the configure 
>> script for INN it does fine until the Perl version check.  It tells me I must 
>> have Perl 5.004.04 and quits.  
>> 
>> I do have perl5.00404 installed and working.  `perl5 -v' returns the expected 
>> version number.  `perl -v' returns Perl version 4.  I cp'd the perl5.00404 file
>> to perl just to make sure they were the same executable so I'm guessing that 
>> perl returns a different version number based on arg[0].  
>
>Nope, if it says you have perl 4, then you have perl 4.  Probably, you have
>another 'perl' earlier in your path (check /usr/bin/perl) that is still
>version 4.  Stamp out all remnants of Perl 4 from your system and make sure
>'perl -v' gives you the right version number.

I got bit by this.  By default, /usr/bin/perl is perl4, whereas when I
did the 'make install' for the perl5 module, it installed the binary
in /usr/local/bin.  Guess which one gets searched first? :)



Re: running configure for inn-2.1 on FreeBSD 3.0 May Snapshot
#30373
Author: Jeremy
Date: Mon, 10 Aug 1998 00:00
22 lines
1718 bytes
Dan Swartzendruber <dswartz@druber.com> wrote:
> IOn 9 Aug 1998 03:11:08 GMT, jeremy@exit109.com (Jeremy) wrote:
> 
>> Nope, if it says you have perl 4, then you have perl 4.  Probably,
>> you have another 'perl' earlier in your path (check /usr/bin/perl)
>> that is still version 4.  Stamp out all remnants of Perl 4 from your
>> system and make sure 'perl -v' gives you the right version number.
> 
> I got bit by this.  By default, /usr/bin/perl is perl4, whereas when
> I did the 'make install' for the perl5 module, it installed the binary
> in /usr/local/bin.  Guess which one gets searched first? :)

It asks you during the 'make install' if you'd like it to install a
/usr/bin/perl as well.  If you say yes, it'll wipe out that pesky
perl 4 for you. :)

-- 
Jeremy  |  jeremy@exit109.com
"I wish to have no connection with any ship that does not sail fast;
    for I intend to go in harm's way."  --John Paul Jones

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads