Problems compiling

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
Squirl

Problems compiling

Post by Squirl »

Hi,
I'm having problems installing zsnes, here is my configure:

[root@localhost src]# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for nasm... ./configure: line 2175: error:: command not found
no
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for zlib... yes
checking for OpenGL support... yes
checking for libPNG support... yes
checking if you want gdb friendly executable... no
checking which processor class to optimize for... PPro/P2
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged

You may now run make to compile zsnes
Make sure you use GNU make when compiling.

And here is some of the make:

make: [init.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o ui.o ui.asm
make: w-orphan-labels: Command not found
make: [ui.o] Error 127 (ignored)
w-orphan-labels -D__LINUX__ -f elf -DELF -D__OPENGL__ -o vcache.o vcache.asm
make: w-orphan-labels: Command not found
make: [vcache.o] Error 127 (ignored)


gcc: chips/sfxproc.o: No such file or directory
gcc: chips/fxemu2.o: No such file or directory
gcc: chips/dsp1proc.o: No such file or directory
gcc: chips/fxemu2b.o: No such file or directory
gcc: chips/fxemu2c.o: No such file or directory
gcc: chips/fxtable.o: No such file or directory
gcc: chips/sa1proc.o: No such file or directory
gcc: chips/sa1regs.o: No such file or directory
gcc: cpu/addrni.o: No such file or directory
gcc: cpu/dma.o: No such file or directory
gcc: cpu/dsp.o: No such file or directory


Any help would be greatly appreciated, thanks.
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

You don't have NASM installed.
[u][url=http://bash.org/?577451]#577451[/url][/u]
jdratlif
Regular
Posts: 317
Joined: Tue Sep 14, 2004 12:48 am
Location: In a small padded white room
Contact:

Re: Problems compiling

Post by jdratlif »

Squirl wrote:Hi,
I'm having problems installing zsnes, here is my configure:

Any help would be greatly appreciated, thanks.
Out of curiosity, what distribution do you use?

Did you run sh autogen.sh, or did you do
aclocal && autoconf?

Were there errors generating the configure file? What version of autoconf do you have?
http://jdrrant.blogspot.com/ - CODEpendent Blog
http://games.technoplaza.net/ - Emulation Goodies
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Re: Problems compiling

Post by Nach »

jdratlif wrote:
Squirl wrote:Hi,
I'm having problems installing zsnes, here is my configure:

Any help would be greatly appreciated, thanks.
Out of curiosity, what distribution do you use?

Did you run sh autogen.sh, or did you do
aclocal && autoconf?

Were there errors generating the configure file? What version of autoconf do you have?
He's probably using 1.36 which I don't think had autogen.sh
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Squirl

Post by Squirl »

Ok i didnt have NASM installed sorry, now i get through make and make install but get this when i try to run zsnes:

ZSNES v1.36 (c) 1997-2002, ZSNES Team (zsKnight & _Demo_)

Be sure to check http://www.zsnes.com/ for the latest version.
Please report crashes to zsnes-devel@lists.sourceforge.net.

ZSNES is written by the ZSNES Team (See AUTHORS.TXT)
ZSNES comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions;
please read 'LICENSE' thoroughly before using it.

Use ZSNES -? for command line definitions.

MMX support found and enabled.

You are running in 32 bpp, but ZSNES is forcing 16 bpp.
You may experience poor performance and/or crashing.

mcop warning: user defined signal handler found for SIG_PIPE, overriding
/tmp/mcop-jeff is accessible owned by user
[jeff@localhost src]$

I'm trying to put on v1.36 and have tried both autogen.sh and configure with the same results. Also i'm running redhat 9.
jdratlif
Regular
Posts: 317
Joined: Tue Sep 14, 2004 12:48 am
Location: In a small padded white room
Contact:

Post by jdratlif »

Squirl wrote:Ok i didnt have NASM installed sorry, now i get through make and make install but get this when i try to run zsnes:

ZSNES v1.36 (c) 1997-2002, ZSNES Team (zsKnight & _Demo_)

Be sure to check http://www.zsnes.com/ for the latest version.
Please report crashes to zsnes-devel@lists.sourceforge.net.

ZSNES is written by the ZSNES Team (See AUTHORS.TXT)
ZSNES comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions;
please read 'LICENSE' thoroughly before using it.

Use ZSNES -? for command line definitions.

MMX support found and enabled.

You are running in 32 bpp, but ZSNES is forcing 16 bpp.
You may experience poor performance and/or crashing.

mcop warning: user defined signal handler found for SIG_PIPE, overriding
/tmp/mcop-jeff is accessible owned by user
[jeff@localhost src]$

I'm trying to put on v1.36 and have tried both autogen.sh and configure with the same results. Also i'm running redhat 9.
Try downloading the latest WIP version from http://www.ipherswipsite.com/zsnes/. The latest I think is 0920, but it will be at the top.

Compile that one and see what happens.
http://jdrrant.blogspot.com/ - CODEpendent Blog
http://games.technoplaza.net/ - Emulation Goodies
Post Reply