Problems with Guichan

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
Blorx2
Peon
Peon
Posts: 60
Joined: 13 Mar 2005, 14:10
Location: Florence, SC
Contact:

Problems with Guichan

Post by Blorx2 » 05 Jun 2005, 23:44

Ok, I'm on my G3 running Panther and I'm trying yet again so that the Mac package gets fixed somehow...anyways, my problem is this

Code: Select all

-------------------------------
Guichan ready for compilation!
-------------------------------
* Allegro   = disabled
* OpenGL    = no
* SDL       = no
* SDL Image = no
--------------------------------
and I get this

Code: Select all

checking build system type... powerpc-apple-darwin7.0.0
checking host system type... powerpc-apple-darwin7.0.0
checking target system type... powerpc-apple-darwin7.0.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin7.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin7.0.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for glBegin in -lGL... no
configure: WARNING: OpenGL support skipped when OpenGL not found.
checking SDL/SDL_image.h usability... yes
checking SDL/SDL_image.h presence... yes
checking for SDL/SDL_image.h... yes
checking for IMG_Load in -lSDL_image... no
configure: WARNING: SDL_image support skipped when SDL_image not found.
checking allegro.h usability... no
checking allegro.h presence... no
checking for allegro.h... no
checking for allegro-config... no
configure: WARNING: Allegro support skipped when Allegro not found.
checking SDL/SDL.h usability... yes
checking SDL/SDL.h presence... yes
checking for SDL/SDL.h... yes
checking for sdl-config... no
configure: WARNING: SDL support skipped when SDL not found.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/guichan/Makefile
config.status: creating include/guichan/allegro/Makefile
config.status: creating include/guichan/opengl/Makefile
config.status: creating include/guichan/sdl/Makefile
config.status: creating include/guichan/widgets/Makefile
config.status: creating include/guichan/x/Makefile
config.status: creating src/Makefile
config.status: creating src/allegro/Makefile
config.status: creating src/opengl/Makefile
config.status: creating src/sdl/Makefile
config.status: creating src/widgets/Makefile
config.status: creating src/x/Makefile
config.status: creating include/config.hpp
config.status: include/config.hpp is unchanged
config.status: executing depfiles commands
I've already had to change the OpenGL framework to GL, can someone help me?
"A wizard is never late, nor is he early, he arrives precisely when he needs to" - Gandalf
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » 06 Jun 2005, 01:05

Why doesn't your SDL have sdl-config executable? That part is meant to tell the compiler where SDL headers and libraries are, and it being unavailable seems to be why Guichan thinks there is no SDL.
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 06 Jun 2005, 07:45

Sorry to tell you the easy solution, but I think you can get a precompiled version of SDL for Mac, maybe you could try using it?
Blorx2
Peon
Peon
Posts: 60
Joined: 13 Mar 2005, 14:10
Location: Florence, SC
Contact:

Post by Blorx2 » 06 Jun 2005, 17:47

@Bjørn: I dunno...
@Elven: I used the binary installer...and what of OpenGL and SDL_Image?
"A wizard is never late, nor is he early, he arrives precisely when he needs to" - Gandalf
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » 07 Jun 2005, 20:05

Blorx2 wrote:@Bjørn: I dunno...
@Elven: I used the binary installer...and what of OpenGL and SDL_Image?
One problem at a time I say. :-)

Are you sure you have no sdl-config with your binary installer? Could you ask the author of the binary installer why it isn't included, then?
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 10 Jun 2005, 20:52

I think that you can get a precompiled version of SDL_image as well, anyway I suggest you to check out #sdl on freenode,, they're a bit rude but maybe can help you a bit better than us
Blorx2
Peon
Peon
Posts: 60
Joined: 13 Mar 2005, 14:10
Location: Florence, SC
Contact:

Post by Blorx2 » 11 Jun 2005, 16:25

I did that too...and re-installed both with Fink...now it's just the IMG_Load problem and the problem with the GL framework...now I'm learning SDL and OpenGL...I only knew C++ :?
"A wizard is never late, nor is he early, he arrives precisely when he needs to" - Gandalf
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 11 Jun 2005, 16:55

IMG_Load ?
About OpenGL framework I don't know how it work in MAC...
Post Reply