Page 4 of 6

Re: Generic build scripts

Posted: Tue Mar 01, 2022 12:31 pm
by Mikail2006
Now the server has stopped opening, double-clicking on the icon instantly opens and closes the terminal.
This is what it gives out.

Code: Select all

──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│               [ No Source Available ]                                        │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
None No process In:                                                L??   PC: ?? 
Unrecognized window `gdb freeciv-genbuild/install-3.0.0/gtk3.22/bin/freeciv-gtk3
.22'
(gdb) (gdb) run
Undefined command: "".  Try "help".
(gdb) bt full
No stack.
(gdb)

Re: Generic build scripts

Posted: Tue Mar 01, 2022 1:03 pm
by cazfi
Mikail2006 wrote:

Code: Select all

Unrecognized window `gdb freeciv-genbuild/install-3.0.0/gtk3.22/bin/freeciv-gtk3
.22'
I don't understand what this is about. Except that has some copy+paste added a newline between "gtk3" and ".22"?

Code: Select all

(gdb) (gdb) run
Undefined command: "".  Try "help".
You have "(gdb)" twice there. One is the prompt. If you wrote the other as the "command", sorry for not making it clear that it's the prompt. You should write only 'run' as the command.

Re: Generic build scripts

Posted: Tue Mar 01, 2022 1:05 pm
by cazfi
Mikail2006 wrote:Now the server has stopped opening, double-clicking on the icon instantly opens and closes the terminal.
Wait. What icon you are double-clicking here? We've been talking about running stuff in the terminal.

Re: Generic build scripts

Posted: Tue Mar 01, 2022 7:15 pm
by Mikail2006
cazfi wrote:You have "(gdb)" twice there. One is the prompt. If you wrote the other as the "command", sorry for not making it clear that it's the prompt. You should write only 'run' as the command.

Code: Select all

None No process In:                                                               L??   PC: ?? 
Unrecognized window `gdb freeciv-genbuild/install-3.0.0/gtk3.22/bin/freeciv-gtk3.22'
(gdb) run
Starting program:
No executable file specified.
Use the "file" or "exec-file" command.
(gdb) bt full
No stack.
(gdb)

Re: Generic build scripts

Posted: Tue Mar 01, 2022 8:25 pm
by cazfi
I suspect we're not talking the same language at all here. I made a short video where I run mint20 in a virtual machine, and start the client(s), once also in the debugger.

http://www.cazfi.net/freeciv/mint20_fcrun.mp4

For those who find this discussion in the future: cazfi.net doesn't have too much space on it, so that video will not be there for a long time.

Re: Generic build scripts

Posted: Tue Apr 05, 2022 7:04 pm
by Mahler
I've launched the build script for Ubuntu 20.04. It has created folder freeciv, then has returned error (404 HTML cannot download, wrong URL).

Re: Generic build scripts

Posted: Wed Apr 06, 2022 2:09 am
by cazfi
Mahler wrote:I've launched the build script for Ubuntu 20.04. It has created folder freeciv, then has returned error (404 HTML cannot download, wrong URL).
What was your command-line? That probably meant that you specified version number that does not exist, so downloading the sources fail.

EDIT: If you tried to build 3.0.0 ... I've not tested that (building 3.0 stable releases) with the generic build script in ubuntu-20.04. Will do that now.

Re: Generic build scripts

Posted: Wed Apr 06, 2022 2:21 am
by cazfi
cazfi wrote:
Mahler wrote:I've launched the build script for Ubuntu 20.04. It has created folder freeciv, then has returned error (404 HTML cannot download, wrong URL).
What was your command-line? That probably meant that you specified version number that does not exist, so downloading the sources fail.

EDIT: If you tried to build 3.0.0 ... I've not tested that (building 3.0 stable releases) with the generic build script in ubuntu-20.04. Will do that now.

Code: Select all

./freeciv-ubuntu20.04.sh 3.0.0 gtk3.22
at least downloaded the sources and is now compiling. (for the default gtk3.22-client)

Could also have been temporary problem, e.g., in the sourceforge server where it tries to download the sources from.

Re: Generic build scripts

Posted: Wed Apr 06, 2022 3:26 am
by cazfi
Updated the ubuntu-20.04 script to version 1.01. http://files.freeciv.org/tools/freeciv- ... tu20.04.sh

- Dropped support for freeciv-2.5
- The default main directory is now 'freeciv-genbuild', to avoid messing with more generally named 'freeciv' directory that user might have for some other reason
- Instead of always installing the requirements, script now asks from user if that should be done
- Output a bit more instructions, e.g., list of executables built

Re: Generic build scripts

Posted: Wed Apr 06, 2022 5:45 am
by cazfi
New version 1.01 for Mint-20. http://files.freeciv.org/tools/freeciv- ... -mint20.sh

- Install MagickWand development files to enable building support for additional image formats (most importantly: png) for map images.