[CM] grace

Joshua Parmenter joshp@u.washington.edu
Mon, 16 Jul 2007 11:30:24 -0700


Here is the list from Makefile.am. I see it there, but no .o file  
or .Po file seems to be generated. I have automake 1.10 from  
MacPorts. The computer is a 2.4 GHz MacBook Pro with OS 10.4.10

Thanks,

Josh

srcdir=@top_srcdir@/src
VPATH=@top_srcdir@/src

bin_PROGRAMS = grace



# C/C++ files
nodist_grace_SOURCES = Audio.h Buffer.h Console.h Editor.h Grace.h  
Plotter.h Syntab.h Syntax.h FontList.h Layer.h Resources.h Lisp.h \
	Audio.cpp Buffer.cpp Console.cpp Editor.cpp Grace.cpp Plotter.cpp  
Syntab.cpp Syntax.cpp FontList.cpp Layer.cpp Resources.cpp Lisp.cpp

# Lisp files
nodist_pkgdata_DATA = grace.asd asdf.lisp grace.lisp gray.lisp  
socketserver.lisp



# Compile instructions
AM_CPPFLAGS = -DNDEBUG @OS_CFLAGS@ @JUCE_CFLAGS@ @X_CFLAGS@
grace_LDADD = @JUCE_LIBDIRS@ @DARWIN_LIBS@ @X_LIBS@ @JUCE_LIBS@

# Extra clean instructions
if COMPILE_DARWIN
clean-local:
	rm -rf Grace.app
endif

# Doc files
nobase_data_DATA = @DOCUMENT_FILES@

# Make "all" also copy binary under app on OS X
if COMPILE_DARWIN
all-local:
	@mkdir -p Grace.app/Contents/MacOS
	cp grace Grace.app/Contents/MacOS/grace
endif

Best,

Josh

On Jul 16, 2007, at 11:21 AM, Rick Taube wrote:

> it looks to me like -- for whatever reason -- the file src/Lisp.cpp  
> is not getting compiled and/or included in the linking set.look in   
> build/Makefile.am
>
> and check to see that its on the list. if it is see if it is at  
> least getting compiled.
> not sure why you should have to export g++ by hand the ./configure  
> looks for it.
> i wonder if you have some old version of automake. i think you need  
> 1.9.6 or higher, not sure
>
>
>> Hi Rick,
>>
>> Just saw your email about grace. A couple of things came up when  
>> building on a MacBook Pro.
>>
>> First, I had to point the configure script to g++ for some reason:
>>
>> export CXX=g++; ./configure --with-jucedir=/Users/joshp/src/juce/
>>
>> Then it configured fine (attached is the Makefile).
>>
>> However, make fails with:
>>
>> g++  -g -O2   -o grace  Buffer.o Console.o Editor.o Grace.o  
>> Plotter.o Syntab.o Syntax.o FontList.o Layer.o Resources.o -L/ 
>> Users/joshp/src/juce//bin -framework Carbon -framework  
>> CoreServices -framework CoreAudio -framework CoreMidi -framework  
>> ApplicationServices -framework AGL -framework QuickTime -framework  
>> IOKit  -ljuce
>> /usr/bin/ld: Undefined symbols:
>> LispConnection::isLispRunning()
>> LispConnection::chooseASDF()
>> LispConnection::sendLispSexpr(juce::String, int)
>> LispConnection::isLispStartable()
>> LispConnection::loadASDF(ASDF*)
>> LispConnection::stopLisp()
>> LispConnection::startLisp()
>> LispConnection::LispConnection(ConsoleWindow*)
>> ConfigureLispView::ConfigureLispView(LispConnection*)
>> collect2: ld returned 1 exit status
>> make[2]: *** [grace] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> Any ideas?
>>
>> Thanks,
>>
>> Josh
>>
>> <Makefile>
>> ******************************************
>> Joshua Parmenter
>> University of Washington
>> Center for Digital Arts and Experimental Media
>> School of Music
>> Seattle, Washington 98195
>>
>> http://www.realizedsound.net/josh/
>> http://www.dxarts.washington.edu
>>
>>
>>

******************************************
Joshua Parmenter
University of Washington
Center for Digital Arts and Experimental Media
School of Music
Seattle, Washington 98195

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