Where can I find Njam for 11.4 64 bit version?
I tried searching for it in the build service but came up empty.
It’s looking to be an old unsupported project Njam | Download Njam software for free at SourceForge.net Perhaps build from source?
I started to install NJam from source and got as far as ‘make’. Then I got some error messages:
Using '/usr/local' for installation.
Using '${prefix}/share' for installation libraries.
Using 'g++' for C++ compiler.
Building with '-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT' for C++ compiler flags.
Building with '-L/usr/lib64 -lSDL -lpthread -lSDL_image -lSDL_mixer -lSDL_net' for linker flags.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing default-1 commands
username@linux-h3s9:~/Download/njam-1.25-src> make
make: Circular aclocal.m4 <- aclocal.m4 dependency dropped.
make all-recursive
make[1]: Entering directory `/home/username/Download/njam-1.25-src'
make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped.
Making all in src
make[2]: Entering directory `/home/username/Download/njam-1.25-src/src'
make[2]: Circular defaults.h <- Makefile dependency dropped.
echo '// This file is generated from makefile. Do not edit!' > defaults.h
echo '#define DEFAULT_PREFIX "/usr/local"' >> defaults.h
echo '#define DEFAULT_LIBDIR "/usr/local/share"' >> defaults.h
echo '#define PACKAGE "njam"' >> defaults.h
cd .. \
&& CONFIG_FILES=src/Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating src/Makefile
config.status: executing default-1 commands
make[2]: Leaving directory `/home/username/Download/njam-1.25-src/src'
make[2]: Entering directory `/home/username/Download/njam-1.25-src/src'
make[2]: Circular defaults.h <- Makefile dependency dropped.
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njam.cpp
njam.cpp:36:0: warning: "_GNU_SOURCE" redefined
<command-line>:0:0: note: this is the location of the previous definition
njam.cpp: In member function ‘bool NjamEngine::Init(bool, bool, bool)’:
njam.cpp:377:37: warning: deprecated conversion from string constant to ‘char*’
g++ -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o njam njam.o njamgame.o njamfont.o njamedit.o njammap.o njamnet.o njamutils.o -lSDL_net -lSDL_mixer -lSDL_image -L/usr/lib64 -lSDL -lpthread -lSDL_image -lSDL_mixer -lSDL_net
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `njamgame.o' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `njamfont.o' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `njamedit.o' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `njammap.o' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `njamnet.o' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `njamutils.o' is incompatible with i386:x86-64 output
njamedit.o: In function `NjamEngine::SelectMap(char, char*, int)':
/home/milanb/devel/njam/trunk/src/njamedit.cpp:516: undefined reference to `operator new(unsigned int)'
collect2: ld returned 1 exit status
make[2]: *** [njam] Error 1
make[2]: Leaving directory `/home/username/Download/njam-1.25-src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/username/Download/njam-1.25-src'
make: *** [all-recursive-am] Error 2
I don’t understand what the errors mean. Can anyone help?
I did get all the sdl development libraries that were required both the 32 and 64 bit:
SDL
SDL_image
SDL_net
SDL_mixer (optional)
I’m running 11.4 64 bit version.
Hi
The sourceforge download file is corrupted… download a fedora src
rpm and use the source file from that, else give me a bit and will look
at packaging it up for you.
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.5-desktop
up 3 days 2:16, 6 users, load average: 0.14, 0.14, 0.14
GPU GeForce 8600 GTS Silent - Driver Version: 270.41.19
Hi
All patched, built and tested on 11.4 Gnome 3.0 x86_64…
software.opensuse.org: Search Results
It’s also built for 11.3 and Factory.
Malcolm, could your please submit it to ‘games’ ?
Hi
Submitted to games…will see what happens
Thanks for making the rpm available.
I wonder how long it would take to show up in games? (Just wondering)
Hi
Have no idea… hopefully not too long. Have you tried the one from my repo…working ok?
This game is a top of the line pacman clone, I’ve enjoyed playing it, @malcolmlewis, thanks for packaging it, I too may give this simple game another run!
Ping Dimstar or prusnak, I’m sure they will accept it and love further contributions
I haven’t done it yet but I plan to tomorrow (gotta get time to play it too!)