Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2003:
[Freeciv-Dev] Re: (PR#7017) python
Home

[Freeciv-Dev] Re: (PR#7017) python

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: brett.albertson@xxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7017) python
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Mon, 1 Dec 2003 11:10:08 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7017 >

On Mon, Dec 01, 2003 at 10:56:46AM -0800, Brett Albertson wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7017 >
> 
> > [i-freeciv-lists@xxxxxxxxxxxxx - Mon Dec 01 18:31:43 2003]:
> > 
> > On Mon, Dec 01, 2003 at 10:12:40AM -0800, Brett Albertson wrote:
> > > 
> > > <URL: http://rt.freeciv.org/Ticket/Display.html?id=7017 >
> > > 
> > > In the current (12/1/03) CVS code, I get the following compile error on
> > > Solaris.
> > > 
> > > make[1]: Entering directory `/var/tmp/freeciv/common'
> > > ./generate_packets.py
> > > /usr/bin/env: No such file or directory
> > > make[1]: *** [packets_gen.h] Error 127
> > > make[1]: Leaving directory `/var/tmp/freeciv/common'
> > > make: *** [all-recursive] Error 1
> > > 
> > > This is caused by not having python installed on my system.  However, no
> > > errors were generated during the configuration process saying that
> > > python is needed to compile freeciv.
> > 
> > Can you do
> >  cd common
> >  cvs up -dPA
> >  ls -lrt packets.def packets_gen.[ch]
> > 
> > mail the result. After this please "touch common/packets_gen.[ch]" and
> > rerun make. Do you still get the error?
> > 
> >     Raimar
> > 
> > 
> 
> Raimar,
> here's the output:
> 
> root@dev-null # pwd
> /var/tmp/freeciv/common
> root@dev-null # cvs up -dPA
> cvs server: Updating .
> P packets.h
> P unit.h
> cvs server: Updating aicore
> root@dev-null # ls -lrt packets.def packets_gen.[ch]
> -rw-r--r--   1 root     other      58508 Nov 29 06:53 packets_gen.h
> -rw-r--r--   1 root     other      28922 Nov 30 08:09 packets.def
> -rw-r--r--   1 root     other     591412 Nov 30 12:37 packets_gen.c
> root@dev-null # 
> 
> After touching packets_gen.[ch] and re-running make, it succeeds.

Looks like "cvs update" doesn't set the timestamps for the files to
the timestamp of the repository files. The timestamps of the
repository files are in such a state that it would not cause "make" to
try to rebuild the files.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "I heard if you play the NT-4.0-CD backwards, you get a satanic message."
 "That's nothing, if you play it forward, it installs NT-4.0"




[Prev in Thread] Current Thread [Next in Thread]