[GEM-dev] OSX building: configure & make?
james tittle
tigital at mac.com
Tue May 17 15:09:59 CEST 2005
On May 16, 2005, at 10:07 AM, james tittle wrote:
> ...and I know little to nothing about configure scripts...so, I
> wonder if I shouldn't just make a specific "makefile.osx" and leave
> that in gem/src/gnu? If this is done, will it be able to detect
> new files as they are added, or do we have to also go ahead and
> change the makefile for each file added?
...moving on, I found that config.guess and config.sub were outta
date (how often are they "released"?), so there are new ones in cvs
that now recognize "powerpc-apple-darwin8.0.0", which is 10.4 (and I
assume, therefore, that they'll be fine for earlier osx's)...so now
I'm doing and getting the following:
tiggity:~/puredataDev/Gem/src/gnu tigital$ ./configure --
includedir=../../../GemLibs:../../../pd-0.38-4/src --with-ftgl
loading cache ./config.cache
uname: illegal option -- -
usage: uname [-amnprsv]
uname: illegal option -- -
usage: uname [-amnprsv]
HEAD: ../../../GemLibs ../../../pd-0.38-4/src
LIBS: ../../../GemLibs/ /usr/local/lib /usr/local/src
checking host system type... powerpc-apple-darwin8.0.0
Configuring for Gem.pd_darwin8
checking for gnu make... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... yes
checking for sh... sh
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for working const... yes
checking for ANSI C header files... yes
checking for size_t... yes
checking for vprintf... yes
checking for strdup... yes
checking for strstr... yes
checking for MMX... cc1plus: error: invalid option 'mmx'
checking MMX not found...
Building Auxilliary Libraries
=============================
Finished building Auxilliary Libraries
======================================
checking pd>=0.37... yes
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for XF86VidModeGetAllModeLines in -lXxf86vm... yes
checking for sin in -lm... no
checking for main in -lz... no
checking for GL/gl.h... no
OpenGL is mandatory
tiggity:~/puredataDev/Gem/src/gnu tigital$
...obviously, I'd like to figure out a way to conditionally look
for: X11 stuff (would be nice to choose between x11 or aqua as the
window interface, at least for pd itself), OpenGL & Quicktime
frameworks (and others should they be needed later...), and finally
the different mpegs/quicktimes/whatever libs, so that if someone
wanted to they could not be forced to use just the built in quicktime
framework...
...so I tried the following (derived from the pd configure.in):
if test `uname -s` == Darwin;
then
...
fi
...but it still does the "checking for GL/gl.h... no": is
indentation/formatting important in these configure.in's? Or is this
related to the errors at the beginning of the process having to do
with "uname"?
help!
jamie
More information about the GEM-dev
mailing list