Find the answer to your Linux question:
Results 1 to 5 of 5
I am new to linux so take it easy on me but I have manage to compile a couple things and update them with no problems or minor. Running Suse ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    46

    ZSNES 1.42 compile problem


    I am new to linux so take it easy on me but I have manage to compile a couple things and update them with no problems or minor. Running Suse 9.1, I have all the required packaged installed to my knowledge to compile it. It configures fine but when I try make I get one error at the bottom.
    Here is the text:
    Code:
    chris@linux:~/Desktop/Downloads/zsnes_1_42/src> ./configure
    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 for gcc... gcc
    checking for C compiler default output file name... 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 g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for nasm... nasm
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for sdl-config... /usr/bin/sdl-config
    checking for SDL - version >= 1.2.0... yes
    checking for zlib - version >= 1.1.0... yes
    checking for libpng - version >= 1.2.0... yes
    checking how to run the C preprocessor... gcc -E
    checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
    checking for glGetError in -lGL... yes
    checking for OpenGL... yes
    checking if you want gdb friendly executable... no
    checking which processor class to optimize for... 686
    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 whether sys/types.h defines makedev... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    
    
    ZSNES v1.41
    
    SDL support                         Version 1.2.7
    NASM support                        NASM version 0.98.38 compiled on Apr  6 2004
    ZLib support                        Version 1.2.1
    PNG support (png screenshots)       Yes, version 1.2.5
    OpenGL support                      Yes
    
    The binary will be installed in /usr/local/bin
    
    Configure complete, now type 'make' and pray.
    
    chris@linux:~/Desktop/Downloads/zsnes_1_42/src> make
    gcc  -pipe -I. -Wall -I/usr/local/include -I/usr/include -D__LINUX__  -I/usr/include/SDL -D_REENTRANT  -D__OPENGL__ -O3 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -s -march=pentiumpro -o chips/dsp1emu.o -c chips/dsp1emu.c
    In file included from chips/dsp1emu.c:27:
    gblhdr.h:85:27: GL/gl.h: No such file or directory
    make: *** [chips/dsp1emu.o] Error 1
    Sorry for the long post but I wanted to show you all everything.

  2. #2
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    I think you'll need the OpenGL source code, or at least the opengl-dev pakage.

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Posts
    46
    Quote Originally Posted by swemic
    I think you'll need the OpenGL source code, or at least the opengl-dev pakage.
    What would the package name for that be? I searched the in Yast and nothing came up.

  4. #4
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    Try find "mesa" in YaST

  5. #5
    Just Joined!
    Join Date
    Mar 2005
    Posts
    46
    Quote Originally Posted by swemic
    Try find "mesa" in YaST
    that solved the problem, thank you very much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •