[Freeciv-Dev] [bug #18901] Compile fail, dependency

2011-11-02 Thread Zakri Kneebone

Follow-up Comment #10, bug #18901 (project freeciv):

Connect button throws this error:

1: in server_scan_error() [pages.c::716]: Network is unreachable

Dialog becomes unresponsive.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18901] Compile fail, dependency

2011-11-02 Thread Zakri Kneebone

Follow-up Comment #9, bug #18901 (project freeciv):

Correction, it failed independent of the files. 
It fails to connect to local game, I'll try starting a new game from
client...
restored .freeciv-client-rc-2.5, server won't start.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18901] Compile fail, dependency

2011-11-02 Thread Zakri Kneebone

Follow-up Comment #8, bug #18901 (project freeciv):

...deleting old .freeciv files in home folder causes client to stop
responding when clicking connect on localhost game. (gtk2)
stdin/out:
./fcgui
Unable to find client executable: freeciv
Searching for freeciv clients ...
... using ./client/freeciv-gtk2
Running ./client/freeciv-gtk2
2: Didn't find the option file.#Clicked connect...
Killed


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18901] Compile fail, dependency

2011-11-02 Thread Zakri Kneebone

Follow-up Comment #7, bug #18901 (project freeciv):

I'll try deleting my *test dir and doing a fresh copy from *trunk; then
autogen...
Compiled and ran fine last weekend without the api_actions.h, haven't done
anything but svn update since...
ahh, Restore from pristine copy compiles just fine.
Server boots
client gives error on connecting to network game (localhost):
2: Didn't find '.freeciv-client-rc-2.5' option file, loading from
'.freeciv-client-rc-2.4' instead.
1: Invalid argument

(I'll get around this by deleting old settings files)...


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18901] Compile fail, dependency

2011-11-02 Thread Matthias Pfafferodt

Follow-up Comment #6, bug #18901 (project freeciv):

make clean or make distclean & ./autogen.sh helps as it forces a recreation
of all files; I had this case quite often at the time I developed the tolua
patches

___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18901] Compile fail, dependency

2011-11-02 Thread Marko Lindqvist

Follow-up Comment #5, bug #18901 (project freeciv):

You could try to:
1) Create dummy api_actions.h by "touch api_actions.h" so there's something
automake can find
2) Build once so that automake notices that tolua_server_gen.c no longer
includes api_actions.h
3) Delete dummy api_actions.h 

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18901] Compile fail, dependency

2011-11-02 Thread Marko Lindqvist

Follow-up Comment #4, bug #18901 (project freeciv):

No, wait! This could be caused by automake's dependency tracking. During
earlier build it has flagged tolua_server_gen.c compilation to depend on
api_actions.h and now it can't make the one build thta would update its
information without that header. I've had problems like this, but I don't know
any less drastic way that works reliably than deleting and recreating whole
builddir. 

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18901] Compile fail, dependency

2011-11-02 Thread Marko Lindqvist

Follow-up Comment #3, bug #18901 (project freeciv):

> Isn't autogen.sh run automagically in ./configure?

It's the other way around; autogen.sh generates configure, and then runs it.

I think your problem is that tolua_server_gen.c has not been regenerated when
api_actions.h include was removed from tolua_server.pkg. You can force its
regeneration during next build simply by removing it (
server/scripting/tolua_server_gen.? ) but without knowing what has caused it
not to get regenerated I would be a bit worried what else should be
regenerated but is not, even if not causing compile to fail.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18901] Compile fail, dependency

2011-11-02 Thread Zakri Kneebone

Follow-up Comment #2, bug #18901 (project freeciv):

Isn't autogen.sh run automagically in ./configure? Anyways tried that
autogen; make twice no success. I'll attach my autogen output.


(file #14389)
___

Additional Item Attachment:

File name: autogen_stdout.txt Size:21 KB


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18901] Compile fail, dependency

2011-11-02 Thread Matthias Pfafferodt

Follow-up Comment #1, bug #18901 (project freeciv):

did you try a clean build (starting with autogen.sh)? Sometimes removed files
are still included in Makefiles if they are not regenerated.

___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #18901] Compile fail, dependency

2011-11-02 Thread Zakri Kneebone

URL:
  

 Summary: Compile fail, dependency
 Project: Freeciv
Submitted by: i1abnrk
Submitted on: Wed 02 Nov 2011 04:57:51 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.3.99
 Discussion Lock: Any
Operating System: Any
 Planned Release: 

___

Details:

Dependency for removed file produces compile failure on clean build, trunk
(gtk2)
tolua_server_gen.c:25:25: fatal error: api_actions.h: No such file or
directory
compilation terminated.
make[6]: *** [tolua_server_gen.lo] Error 1




___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev