[ardour-users] Trying to build alpha2 on MacBook

Joshua Parmenter joshp at u.washington.edu
Sun Mar 26 15:31:17 PST 2006


I seem to be stuck. I've configured my devel according to Taybin's  
mac_unix_devel instructions, installed DarwinPorts, and installed all  
the libs described on the Ardour page. It seems like scons is dying  
with glib though (I have glib2-devel installed with DarwinPorts).

Not sure if this will help, but here is the scons output (what seems  
to be relevant, showing the errors).

Thanks for any advice

Josh

ar: creating archive libs/ardour/libardour.a
ranlib: file: libs/ardour/libardour.a(automation.o) has no symbols
ranlib libs/ardour/libardour.a
ranlib: file: libs/ardour/libardour.a(automation.o) has no symbols
cd libs/glibmm2; ./autogen.sh; cd -
Adding libtools.
Building macros.
Building makefiles.
configure.ac: installing `scripts/install-sh'
configure.ac: installing `scripts/mkinstalldirs'
configure.ac: installing `scripts/missing'
glibmm/Makefile.am:94: variable `common_ldflags' not defined
Building configure.
cd libs/glibmm2; ./configure; cd -
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 whether to enable maintainer-specific portions of  
Makefiles... no
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 style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking build system type... i686-apple-darwin8.5.2
checking host system type... i686-apple-darwin8.5.2
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 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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
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 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 how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin8.5.2 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
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 how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin8.5.2 dyld
appending configuration tag "F77" to libtool
checking for gm4... gm4
checking whether make is GNU Make... yes
./configure: line 18967: syntax error near unexpected token `GLIBMM,'
./configure: line 18967: `PKG_CHECK_MODULES(GLIBMM, glib-2.0 >= $ 
{gtkmm_min_glib_version} gobject-2.0 >= ${gtkmm_min_glib_version}  
gmodule-2.0 >= ${gtkmm_min_glib_version})'
g++ -o libs/glibmm2/glibmm/class.o -c -O3 -fomit-frame-pointer -ffast- 
math -fstrength-reduce -DARCH_X86 -DBUILD_VECLIB_OPTIMIZATIONS -Wall - 
DNO_POSIX_MEMALIGN -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -I/opt/ 
local/lib/glib-2.0/include -Ilibs/sigc++2 -I/opt/local/include/ 
glib-2.0 -Ilibs/glibmm2 libs/glibmm2/glibmm/class.cc
In file included from libs/glibmm2/glibmm/value.h:25,
                  from libs/glibmm2/glibmm/propertyproxy_base.h:25,
                  from libs/glibmm2/glibmm/propertyproxy.h:25,
                  from libs/glibmm2/glibmm/property.h:23,
                  from libs/glibmm2/glibmm/class.cc:22:
libs/glibmm2/glibmm/ustring.h:32:26: error: glibmmconfig.h: No such  
file or directory
libs/glibmm2/glibmm/ustring.h:33: error: expected constructor,  
destructor, or type conversion before '(' token
libs/glibmm2/glibmm/value.h:95: error: expected unqualified-id before  
'&' token
libs/glibmm2/glibmm/value.h:95: error: expected ',' or '...' before  
'&' token
libs/glibmm2/glibmm/value.h:95: error: ISO C++ forbids declaration of  
'parameter' with no type
libs/glibmm2/glibmm/value.h:113: error: expected unqualified-id  
before '&' token
libs/glibmm2/glibmm/value.h:113: error: expected ',' or '...' before  
'&' token
libs/glibmm2/glibmm/value.h:113: error: ISO C++ forbids declaration  
of 'parameter' with no type
libs/glibmm2/glibmm/value.h:133: error: expected unqualified-id  
before '&' token
libs/glibmm2/glibmm/value.h:133: error: expected ',' or '...' before  
'&' token
libs/glibmm2/glibmm/value.h:133: error: ISO C++ forbids declaration  
of 'parameter' with no type
libs/glibmm2/glibmm/value.h:152: error: expected unqualified-id  
before '&' token
libs/glibmm2/glibmm/value.h:152: error: expected ',' or '...' before  
'&' token
libs/glibmm2/glibmm/value.h:152: error: ISO C++ forbids declaration  
of 'parameter' with no type
libs/glibmm2/glibmm/value.h:171: error: expected unqualified-id  
before '&' token
libs/glibmm2/glibmm/value.h:171: error: expected ',' or '...' before  
'&' token
libs/glibmm2/glibmm/value.h:171: error: ISO C++ forbids declaration  
of 'parameter' with no type
libs/glibmm2/glibmm/value_custom.h:31: error: expected constructor,  
destructor, or type conversion before '(' token
libs/glibmm2/glibmm/value_basictypes.h:23: error: 'Value' is not a  
template
libs/glibmm2/glibmm/value_basictypes.h:24: error: explicit  
specialization of non-template 'Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:35: error: expected  
unqualified-id before '&' token
libs/glibmm2/glibmm/value_basictypes.h:35: error: expected ',' or  
'...' before '&' token
libs/glibmm2/glibmm/value_basictypes.h:44: error: 'Value' is not a  
template
libs/glibmm2/glibmm/value_basictypes.h:44: error: 'Glib::Value' is  
not a template type
libs/glibmm2/glibmm/value_basictypes.h:44: error: redefinition of  
'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:24: error: previous definition  
of 'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:65: error: 'Value' is not a  
template
libs/glibmm2/glibmm/value_basictypes.h:65: error: 'Glib::Value' is  
not a template type
libs/glibmm2/glibmm/value_basictypes.h:65: error: redefinition of  
'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:24: error: previous definition  
of 'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:86: error: 'Value' is not a  
template
libs/glibmm2/glibmm/value_basictypes.h:86: error: 'Glib::Value' is  
not a template type
libs/glibmm2/glibmm/value_basictypes.h:86: error: redefinition of  
'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:24: error: previous definition  
of 'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:107: error: 'Value' is not a  
template
libs/glibmm2/glibmm/value_basictypes.h:107: error: 'Glib::Value' is  
not a template type
libs/glibmm2/glibmm/value_basictypes.h:107: error: redefinition of  
'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:24: error: previous definition  
of 'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:128: error: 'Value' is not a  
template
libs/glibmm2/glibmm/value_basictypes.h:128: error: 'Glib::Value' is  
not a template type
libs/glibmm2/glibmm/value_basictypes.h:128: error: redefinition of  
'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:24: error: previous definition  
of 'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:149: error: 'Value' is not a  
template
libs/glibmm2/glibmm/value_basictypes.h:149: error: 'Glib::Value' is  
not a template type
libs/glibmm2/glibmm/value_basictypes.h:149: error: redefinition of  
'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:24: error: previous definition  
of 'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:170: error: 'Value' is not a  
template
libs/glibmm2/glibmm/value_basictypes.h:170: error: 'Glib::Value' is  
not a template type
libs/glibmm2/glibmm/value_basictypes.h:170: error: redefinition of  
'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:24: error: previous definition  
of 'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:191: error: 'Value' is not a  
template
libs/glibmm2/glibmm/value_basictypes.h:191: error: 'Glib::Value' is  
not a template type
libs/glibmm2/glibmm/value_basictypes.h:191: error: redefinition of  
'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:24: error: previous definition  
of 'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:212: error: 'Value' is not a  
template
libs/glibmm2/glibmm/value_basictypes.h:212: error: 'Glib::Value' is  
not a template type
libs/glibmm2/glibmm/value_basictypes.h:212: error: redefinition of  
'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:24: error: previous definition  
of 'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:233: error: 'Value' is not a  
template
libs/glibmm2/glibmm/value_basictypes.h:233: error: 'Glib::Value' is  
not a template type
libs/glibmm2/glibmm/value_basictypes.h:233: error: redefinition of  
'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:24: error: previous definition  
of 'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:254: error: 'Value' is not a  
template
libs/glibmm2/glibmm/value_basictypes.h:254: error: 'Glib::Value' is  
not a template type
libs/glibmm2/glibmm/value_basictypes.h:254: error: redefinition of  
'class Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:24: error: previous definition  
of 'class Glib::Value'
libs/glibmm2/glibmm/value.h:266: error: 'Value' is not a template
libs/glibmm2/glibmm/value.h:266: error: 'Glib::Value' is not a  
template type
libs/glibmm2/glibmm/value.h:266: error: redefinition of 'class  
Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:24: error: previous definition  
of 'class Glib::Value'
libs/glibmm2/glibmm/value.h:279: error: 'Value' is not a template
libs/glibmm2/glibmm/value.h:279: error: 'ustring' is not a member of  
'Glib'
libs/glibmm2/glibmm/value.h:279: error: 'ustring' is not a member of  
'Glib'
libs/glibmm2/glibmm/value.h:279: error: 'Glib::Value' is not a  
template type
libs/glibmm2/glibmm/value.h:279: error: redefinition of 'class  
Glib::Value'
libs/glibmm2/glibmm/value_basictypes.h:24: error: previous definition  
of 'class Glib::Value'
libs/glibmm2/glibmm/propertyproxy.h: In member function 'void  
Glib::PropertyProxy<T>::set_value(const T&)':
libs/glibmm2/glibmm/propertyproxy.h:140: error: 'Glib::Value' is not  
a template
libs/glibmm2/glibmm/propertyproxy.h:141: error: 'Glib::Value' is not  
a template
libs/glibmm2/glibmm/propertyproxy.h:141: error: expected primary- 
expression before '::' token
libs/glibmm2/glibmm/propertyproxy.h: In member function 'T  
Glib::PropertyProxy<T>::get_value() const':
libs/glibmm2/glibmm/propertyproxy.h:150: error: 'Glib::Value' is not  
a template
libs/glibmm2/glibmm/propertyproxy.h:151: error: 'Glib::Value' is not  
a template
libs/glibmm2/glibmm/propertyproxy.h:151: error: expected primary- 
expression before '::' token
libs/glibmm2/glibmm/property.h: At global scope:
libs/glibmm2/glibmm/property.h:54: error: 'ustring' in namespace  
'Glib' does not name a type
libs/glibmm2/glibmm/property.h:65: error: expected unqualified-id  
before '&' token
libs/glibmm2/glibmm/property.h:65: error: expected ',' or '...'  
before '&' token
libs/glibmm2/glibmm/property.h:65: error: ISO C++ forbids declaration  
of 'parameter' with no type
libs/glibmm2/glibmm/property.h:92: error: 'Glib::Value' is not a  
template
libs/glibmm2/glibmm/property.h:94: error: expected unqualified-id  
before '&' token
libs/glibmm2/glibmm/property.h:94: error: expected ',' or '...'  
before '&' token
libs/glibmm2/glibmm/property.h:94: error: ISO C++ forbids declaration  
of 'parameter' with no type
libs/glibmm2/glibmm/property.h:95: error: expected unqualified-id  
before '&' token
libs/glibmm2/glibmm/property.h:95: error: expected ',' or '...'  
before '&' token
libs/glibmm2/glibmm/property.h:95: error: ISO C++ forbids declaration  
of 'parameter' with no type
libs/glibmm2/glibmm/property.h:112: error: expected unqualified-id  
before '&' token
libs/glibmm2/glibmm/property.h:112: error: expected ',' or '...'  
before '&' token
libs/glibmm2/glibmm/property.h:112: error: ISO C++ forbids  
declaration of 'parameter' with no type
libs/glibmm2/glibmm/property.h: In constructor  
'Glib::Property<T>::Property(Glib::Object&, int)':
libs/glibmm2/glibmm/property.h:116: error: 'name' was not declared in  
this scope
libs/glibmm2/glibmm/property.h: At global scope:
libs/glibmm2/glibmm/property.h:121: error: expected unqualified-id  
before '&' token
libs/glibmm2/glibmm/property.h:121: error: expected ',' or '...'  
before '&' token
libs/glibmm2/glibmm/property.h:122: error: ISO C++ forbids  
declaration of 'parameter' with no type
libs/glibmm2/glibmm/property.h:122: error: redefinition of  
'Glib::Property<T>::Property(Glib::Object&, int)'
libs/glibmm2/glibmm/property.h:112: error:  
'Glib::Property<T>::Property(Glib::Object&, int)' previously declared  
here
libs/glibmm2/glibmm/property.h: In constructor  
'Glib::Property<T>::Property(Glib::Object&, int)':
libs/glibmm2/glibmm/property.h:126: error: 'default_value' was not  
declared in this scope
libs/glibmm2/glibmm/property.h:128: error: 'name' was not declared in  
this scope
libs/glibmm2/glibmm/utility.h: At global scope:
libs/glibmm2/glibmm/utility.h:82: error: 'ustring' in namespace  
'Glib' does not name a type
libs/glibmm2/glibmm/utility.h:96: error: 'ustring' in namespace  
'Glib' does not name a type
libs/glibmm2/glibmm/class.cc: In member function 'void  
Glib::Class::register_derived_type(GType)':
libs/glibmm2/glibmm/class.cc:52: error: 'ustring' is not a member of  
'Glib'
libs/glibmm2/glibmm/class.cc:52: error: expected `;' before  
'derived_name'
libs/glibmm2/glibmm/class.cc:53: error: 'derived_name' was not  
declared in this scope
scons: *** [libs/glibmm2/glibmm/class.o] Error 1
scons: building terminated because of errors.

******************************************
Joshua Parmenter
joshp at u.washington.edu
Post-Doctoral Research Associate - Center for Digital Arts and  
Experimental Media
Raitt Hall - University of Washington
Seattle, Washington 98195

http://www.dxarts.washington.edu
http://www.realizedsound.net/josh/





More information about the Ardour-Users mailing list