[CM] SND-7 build errors on OSX

todd ingalls testcase@asu.edu
Mon, 21 Jun 2004 10:35:57 -0700


Ahh, sorry. I am using bash as my shell. Try this:

[malab:~/Desktop/snd-7] toddinga% setenv LDFLAGS "-L/sw/lib"
[malab:~/Desktop/snd-7] toddinga% setenv CFLAGS "-I/sw/include"

does this work?



On Jun 21, 2004, at 10:22 AM, cristopher pierson ewing wrote:

> Todd,
>
> thanks for the info.  I keep trying to run the commands you suggest:
> LDFLAGS="-L/sw/lib" etc, but I get an error:
>
> [trurl:/usr/local] admin% LDFLAGS="-L/sw/lib"
> su: LDFLAGS=-L/sw/lib: Command not found.
>
> I'm using tcsh as I am too lazy to switch to bash.  Does this change
> things?  why doesn't this command work for me?  Any ideas?
>
> Thanks a ton,
>
> Cris
>
>
> ********************************
> Cris Ewing
> CME and Telehealth Web Services
> University of Washington
> School of Medicine
> Work Phone: (206) 685-9116
> Home Phone: (206) 365-3413
> E-mail: cewing@u.washington.edu
> *******************************
>
>
> On Mon, 21 Jun 2004, todd ingalls wrote:
>
>> Cristopher
>> I have a similar install as you and it seems that this has to do with
>> Fink putting stuff in non-standard places. Try the following:
>>
>> toddingalls$ LDFLAGS="-L/sw/lib"
>> toddingalls$ export LDFLAGS
>> toddingalls$ CFLAGS="-I/sw/include"
>> toddingalls$ export CFLAGS
>>
>> or put these in your .profile
>>
>>
>> then run ./configure
>>
>> I have attached the makefile and config.h that results from this.
>>
>> PS. I have had to do the same thing you did as far as making symbolic
>> links as the following in /sw/bin so configure could find guile. This 
>> I
>> believe is caused by an error in the way fink installs guile:
>>
>> guile -> guile-1.6
>> guile-config -> guile-1.6-config
>> guile-snarf -> guile-1.6-snarf
>> guile-tools -> guile-1.6-tools
>>
>>
>>
>>
>>
>>