Accounts e-mail HP

No bin directory in 2.2.1 and Ubuntu 9.10

You can get help here for any kind of problem ranging from Freeciv to the website.

No bin directory in 2.2.1 and Ubuntu 9.10

Postby Grendel » Sun Jul 11, 2010 6:58 pm

Hello,

Running Ubuntu 9.10 here. I attempted to install 2.2.1 and configure works out fine but after make and make install there is no bin directory, no freeciv-gtk2 or freeciv-server, though there is share/freeciv directory with apparently all components.

I was previously running 8.10 and 2.2.0 and everything was working fine.

I installed all these packages, which I gathered from the INSTALL file, except for xlib6g-dev which does not exist according to Synaptic. Perhaps there is some replacement? This is same as what I did with previous install. Maybe there are other required packages?

gcc
libc6-dev
libreadline4-dev (old, libreadline6-dev latest)
zlib1g-dev
xlib6g-dev (doesn't exist)
pkg-config
libglibmm-2.4-dev
libatk1.0-dev
libpangomm-1.4-dev
libgtk2.0-dev

There are several error messages. After make:

libtool: link: `advdomestic.lo' is not a valid libtool object
make[2]: *** [libcivai.la] Error 1
make[2]: Leaving directory `/home/nick/freeciv-2.2.1/ai'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nick/freeciv-2.2.1'
make: *** [all] Error 2

After make install:

test -z "/usr/games/freeciv/lib" || /bin/mkdir -p "/usr/games/freeciv/lib"
/bin/bash ../libtool --preserve-dup-deps --mode=install /usr/bin/install -c libfreeciv.la '/usr/games/freeciv/lib'
libtool: install: `libfreeciv.la' is not a valid libtool archive
libtool: install: Try `libtool --help --mode=install' for more information.
make[4]: *** [install-libLTLIBRARIES] Error 1
make[4]: Leaving directory `/home/nick/freeciv-2.2.1/common'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/nick/freeciv-2.2.1/common'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/nick/freeciv-2.2.1/common'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/nick/freeciv-2.2.1/common'
make: *** [install-recursive] Error 1

Not that those mean anything to me. Any help appreciated.
Grendel
 

No bin directory in 2.2.1 and Ubuntu 9.10

Postby cazfi » Mon Jul 12, 2010 8:40 am

[quote="Grendel"]There are several error messages. After make:

libtool: link: `advdomestic.lo' is not a valid libtool object
make[2]: *** [libcivai.la] Error 1
make[2]: Leaving directory `/home/nick/freeciv-2.2.1/ai'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nick/freeciv-2.2.1'
make: *** [all] Error 2[/quote]

We need earlier error messages. This one is most likely caused because compilation of advdomestic.c has failed and thus advdomestic.lo does not exist. But we don't know what's gone wrong with compilation of advdomestic.c.
cazfi
 

No bin directory in 2.2.1 and Ubuntu 9.10

Postby Grendel » Mon Jul 12, 2010 4:01 pm

[b]Code:[/b]

Making all in ai
make[2]: Entering directory `/home/nick/freeciv-2.2.1/ai'
/bin/bash ../libtool --preserve-dup-deps --tag=CC   --mode=link gcc  -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -g -O2 -fsigned-char   -o libcivai.la  advdomestic.lo advmilitary.lo advdiplomacy.lo advspace.lo aiair.lo aicity.lo aidata.lo aiexplorer.lo aiferry.lo aiguard.lo aihand.lo aihunt.lo ailog.lo aiparatrooper.lo aisettler.lo aitech.lo aitools.lo aiunit.lo aidiplomat.lo -lm
libtool: link: `advdomestic.lo' is not a valid libtool object
make[2]: *** [libcivai.la] Error 1
make[2]: Leaving directory `/home/nick/freeciv-2.2.1/ai'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nick/freeciv-2.2.1'
make: *** [all] Error 2
[/quote]

Nothing else looks relevant. Just a bunch of "nothing to do" and entering and leaving directories.
Grendel
 

No bin directory in 2.2.1 and Ubuntu 9.10

Postby Grendel » Sat Jul 17, 2010 10:56 pm

More info:

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../utility -I./aicore -DLOCALEDIR="/usr/games/freeciv/share/locale" "-DDEFAULT_DATA_PATH=".:data:~/.freeciv:/usr/games/freeciv/share/freeciv"" -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -g -O2 -MT packets_gen.lo -MD -MP -MF .deps/packets_gen.Tpo -c packets_gen.c -o packets_gen.o
packets_gen.c: In function send_packet_edit_unit_create_100 :
packets_gen.c:33414: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
make[4]: *** [packets_gen.lo] Error 1
make[4]: Leaving directory `/home/nick/freeciv-2.2.1/common'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/nick/freeciv-2.2.1/common'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nick/freeciv-2.2.1/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nick/freeciv-2.2.1'
make: *** [all] Error 2
Grendel
 

No bin directory in 2.2.1 and Ubuntu 9.10

Postby JTN » Sun Jul 25, 2010 12:54 am

[quote="Grendel"]packets_gen.c:33414: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.[/quote]
Oh dear. That usually means either dodgy hardware (such as RAM), or a compiler bug.

If you try to compile Freeciv several times from clean, does it always fail at the same file/line, or does it vary? If it varies, that suggests a hardware problem.
JTN
 

No bin directory in 2.2.1 and Ubuntu 9.10

Postby domod » Wed Feb 22, 2012 10:01 am

Good post. I learn something more difficult on totally different blogs everyday. It would all the time be stimulating to learn content material from other writers and observe just a little one thing from their store. I d want to make use of some with the content on my weblog whether you don t mind. Natually I ll provide you with a hyperlink in your internet blog. Thanks for sharing.
domod
 


Return to General tech support

Who is online

Users browsing this forum: No registered users and 1 guest

cron