Technical support > Feature Requests
linux-installer: 64bit binary uses 32bit libraries, why?
EyesKiller:
Hi, I installed ufoai with linux-installer ufoai-2.1-linux.run. I deselected option "32bit binary". If I check, which libraries ufoai does use, it doesn't use 64-bit libs. Why?
cu Floh
[floh@Turion ufoai]$ ldd ufo
linux-gate.so.1 => (0xffffe000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x00821000)
libjack-0.100.0.so.0 => /usr/lib/libjack-0.100.0.so.0 (0xf7fcb000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00a2c000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00bff000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xf7fa8000)
libSDL_ttf-2.0.so.0 => /usr/lib/libSDL_ttf-2.0.so.0 (0xf7fa2000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xf7f08000)
libpthread.so.0 => /lib/libpthread.so.0 (0x009ca000)
libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xf7f00000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xf7ed6000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xf7ecf000)
libz.so.1 => /usr/lib/libz.so.1 (0x00b35000)
libm.so.6 => /lib/libm.so.6 (0x009e9000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x0071d000)
libc.so.6 => /lib/libc.so.6 (0x0088b000)
libdl.so.2 => /lib/libdl.so.2 (0x009e3000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x0070b000)
libdrm.so.2 => /usr/lib/libdrm.so.2 (0x00bac000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf7e4e000)
/lib/ld-linux.so.2 (0x0086e000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00b30000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00a24000)
Zenerka:
Because there is no support for that (yet), I believe. Maybe you can try to prepare a patch?
Mattn:
no - we fully support 64 bit archs - but we just had noone who compiled it
EyesKiller:
I would like to compile myself. But unfortunatelly it doesn't work.
I did following:
extract ufoai-2.1-source.tar.bz2
extract ufoai-2.1-mapsource.tar into ufoai-2.1-source
./configure
make
after some minutes it's finished (isn't that quick?). The last lines contains following:
--- Code: ---CFLAGS
-----------------------
-g -O2 -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -std=c89 -DHAVE_CONFIG_H -Wall -pipe -DHAVE_SHADERS -ggdb -O0 -DDEBUG -fno-inline
LDFLAGS
-----------------------
Gettext
-----------------------
Type 'make lang' to compile the gettext translation files.
Type 'make update-po' to update with newest strings
Maps
-----------------------
Type 'make maps' to compile the maps
Built for debug-linux-gnu-x86_64
[floh@Turion ufoai-2.1-source]$
--- End code ---
So I did 'make lang', which gives me a lot of messages:
--- Code: ---[floh@Turion ufoai-2.1-source]$ make lang
Making lang
cs.po
1382 translated messages, 25 untranslated messages.
da.po
54 translated messages, 221 fuzzy translations, 1131 untranslated messages.
de.po
1395 translated messages, 11 fuzzy translations.
en.po
1406 translated messages.
es.po
666 translated messages, 479 fuzzy translations, 261 untranslated messages.
es_ES.po
877 translated messages, 363 fuzzy translations, 166 untranslated messages.
est.po
812 translated messages, 369 fuzzy translations, 225 untranslated messages.
fr.po
1407 translated messages.
it.po
609 translated messages, 389 fuzzy translations, 408 untranslated messages.
pl.po
1275 translated messages, 131 untranslated messages.
pt_BR.po
418 translated messages, 463 fuzzy translations, 525 untranslated messages.
ru.po
791 translated messages, 420 fuzzy translations, 195 untranslated messages.
slo.po
487 translated messages, 442 fuzzy translations, 477 untranslated messages.
sv.po
1241 translated messages, 1 fuzzy translation, 164 untranslated messages.
[floh@Turion ufoai-2.1-source]$
--- End code ---
'make update-po' seems to be fine.
Then I want to 'make maps', which fails because of missing files. :(
--- Code: ---[floh@Turion ufoai-2.1-source]$ make maps
make[1]: Entering directory `/home/floh/neue_download/ufoai/ufoai-2.1-source/base/maps'
../../ufo2map -nice 19 -extra -bounce 0 frozenn/st_i05.map
---- ufo2map 1.0 ----
nice = 19
extrasamples = true
light bounces = 0
...map: '/home/floh/neue_download/ufoai/ufoai-2.1-source/base/maps/frozenn/st_i05.map'
...bsp: '/home/floh/neue_download/ufoai/ufoai-2.1-source/base/maps/frozenn/st_i05.bsp'
entering /home/floh/neue_download/ufoai/ufoai-2.1-source/base/maps/frozenn/st_i05.map
0...1...2...3...4...5...6...7...8...9... (0)
0...1...2...3...4...5...6...7...8...9... (0)
0...1...2...3...4...5...6...7...8...9... (3)
Writing /home/floh/neue_download/ufoai/ufoai-2.1-source/base/maps/frozenn/st_i05.bsp
3 seconds elapsed
----- Radiosity ----
************ ERROR ************
Error opening /home/floh/neue_download/ufoai/ufoai-2.1-source/base/pics/colormap.pcx for reading: No such file or directory
make[1]: *** [frozenn/st_i05.bsp] Error 1
make[1]: Leaving directory `/home/floh/neue_download/ufoai/ufoai-2.1-source/base/maps'
make: *** [maps] Error 2
[floh@Turion ufoai-2.1-source]$
--- End code ---
And the most important thing is, there is no rule for 'install':
--- Code: ---[floh@Turion ufoai-2.1-source]$
[floh@Turion ufoai-2.1-source]$ make install
make: *** No rule to make target `install'. Stop.
[floh@Turion ufoai-2.1-source]$
--- End code ---
I'm willing to try to help you (developer) if you don't have a 64bit arch. I would like to know, what did I wrong.
cu Floh
Mattn:
the problem here is, that the map compile tool can't handle our pk3 files atm - pk3 files are zip files - you should extract the colomap.pcx from 0pics.pk3.. then ufo2map should work
Navigation
[0] Message Index
[#] Next page
Go to full version