🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Tim Pennick Tue, 14 Dec 1999 00:00
INN-2.2.2 "make update" broken??
#42151
Author: Tim Pennick
Date: Tue, 14 Dec 1999 00:00
17 lines
1385 bytes
All,

With the benefit of advice from Brad and Russ I attempted to configure and
install the upgrade from INN 2.2.1 to 2.2.2.  I unpacked the inn-2.2.2.tar
file, ran 'configure' (all OK so far).  However, when I ran make update, thee
were a number of files referenced, which could not be found.  An example of
this is the file inn-2.2.2/include/ppport.h which includes a reference to the
file patchlevel.h.  It appears that patchlevel.h has been renamed
innversion.h, but that the ppport.h file hasn't been updated.  This leaves me
with the question of whether I'd be better to drop back to INN 2.2 and wait
for 2.3 rather than try to track down the other missing files.

Regards,

Tim Pennick

Re: INN-2.2.2 "make update" broken??
#42173
Author: Brad Knowles
Date: Tue, 14 Dec 1999 00:00
49 lines
3168 bytes
In article <835uhp$ju3$1@pheidippides.axion.bt.co.uk>, Tim Pennick 
<tpennick@axion.bt.co.uk> wrote:

>                                         However, when I ran make update, 
> there were a number of files referenced, which could not be found.  An
> example of this is the file inn-2.2.2/include/ppport.h which includes a
> reference to the file patchlevel.h.

    This header file only gets referenced if PERL_PATCHLEVEL is not 
already defined.  I'm wondering if there's something in my system that 
is causing this to be defined by the time I get to this point, but not 
defined on your system at this point.

    Did you try a simple "make clean; make" instead of "make update"?  
The plain "make" showed me some problems in the code that "make update" 
had hidden from me, and once I got those problems corrected, I could 
actually make what appear to be functional binaries (granted, I can't 
get any debug output like I would expect, but at least the programs seem 
to run okay).

>                                      It appears that patchlevel.h has
> been renamed innversion.h, but that the ppport.h file hasn't been updated.

    Looking at this file, it seems to confuzzle the local "patchlevel" 
with the Perl "patchlevel", which I think is why the file got renamed 
with INN 2.2.2 -- It is INN that is at version 2.2.2, not Perl.

> This leaves me with the question of whether I'd be better to drop back to
> INN 2.2 and wait for 2.3 rather than try to track down the other missing
> files.

    My guess is that you've got other problems that are manifesting 
themselves in the definition PERL_PATCHLEVEL not existing at the point 
this file is referenced, and therefore it tries to do something it 
shouldn't.

    Of course, I think this part of this file should be eliminated (or a 
new "patchlevel.h" created and distributed with INN that will cause 
things to fail in a more understandable manner), but this is not 
actually the problem I think you're facing.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: INN-2.2.2 "make update" broken??
#42189
Author: Tim Pennick
Date: Wed, 15 Dec 1999 00:00
44 lines
2412 bytes
>
>   From: Brad Knowles <brad@shub-internet.org>
>    Did you try a simple "make clean; make" instead of "make update"?
>The plain "make" showed me some problems in the code that "make update"
>had hidden from me, and once I got those problems corrected, I could
>actually make what appear to be functional binaries (granted, I can't
>get any debug output like I would expect, but at least the programs seem
>to run okay).

I've re-installed gcc and perl, both from Sun Microsystems freeware site (I'm
running Solaris 7).  Perl is version 5.005.03, gcc is 2.95.02.  Make and "make
update" both now give me the same problem.  I suspect the patchlevel.h may
have been a red herring.  This was simply the file I investigated.

The attached is the output from make which shows the list of error messages.

Regards,

Tim Pennick

make  WHAT_TO_MAKE=all DESTDIR= common

cd config ; make  DESTDIR= all ; cd ..
chmod u+w `grep -v '^;' <files.list`
./subst  -f config.data `grep -v '^;' <files.list`

cd lib ; make  DESTDIR= all ; cd ..
gcc -I../include  -g -O2 -I/CORE  -c perl.c
perl.c:34: EXTERN.h: No such file or directory
perl.c:35: perl.h: No such file or directory
perl.c:36: XSUB.h: No such file or directory
In file included from perl.c:37:
../include/ppport.h:144: patchlevel.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `perl.o'
Current working directory /export/home/admin/inn-2.2.2/lib
*** Error code 1
make: Fatal error: Command failed for target `common'
Current working directory /export/home/admin/inn-2.2.2
*** Error code 1
make: Fatal error: Command failed for target `all'


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