[Mac] cannot compile under snow leopard
#1
Hey guys!

I'm not able to compile the sources under Snow Leopard. I followed the tutorial from the README.osx file and everything works fine until Step 4. When I run ./bootstrap it says
Code:
Please (re)run configure...

But when I run ./configure it says this in the last line:
Code:
configure: error: Could not find a required library. Please see the README for your platform.

Here is the complete output
Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... i386-apple-darwin10.3.0
checking host system type... i386-apple-darwin10.3.0
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++... none
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 ISO C89... none needed
checking dependency style of gcc... none
checking for gawk... (cached) awk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/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 boost/shared_ptr.hpp usability... yes
checking boost/shared_ptr.hpp presence... no
configure: WARNING: boost/shared_ptr.hpp: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: boost/shared_ptr.hpp: proceeding with the compiler's result
checking for boost/shared_ptr.hpp... yes
checking for main in -lGLEW... yes
checking how to run the C preprocessor... gcc -E
checking mad.h usability... no
checking mad.h presence... no
checking for mad.h... no
configure: error: Could not find a required library. Please see the README for your platform.

I'm not an expert in this kind of stuff. OK it seems there is at least one library missing. But which? Can someone give me a hint?

Thanks a lot!!!

Benjamin
Reply
#2
it's rather obvious that libmad is the missing one, no?
Reply
#3
libmad IS listed in README.osx as a macports depends

$ sudo port install libmad macosx_deployment_target=10.4


So if you did a configure and it reports libmad missing then you must have missed one or more steps and did not follow README.osx to the letter. Who know what else you missed. I suggest reviewing your macports install and make sure you have followed it or the build/runtime WILL break.
Reply

Logout Mark Read Team Forum Stats Members Help
[Mac] cannot compile under snow leopard0