[CM] SND-7 build errors on OSX

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


I have never encountered this, but something sure doesn't look right. I 
get the following

gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H  -I. 
-I/sw/include -I/usr/X11R6/include snd-xprint.c

in your make file does this line appear?

MOTIF_FLAGS =  -I/usr/X11R6/include






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

> Todd,
>
> sorry for that last post.  I've been working on this for so long that I
> had gotten tired of figuring things out by myself.  It turns out that
> changing from tcsh to bash was in fact the secret to setting those
> environment variables. the make process is running right now, and 
> seems to
> be doing better than before.
>
> Ooops,  spoke to soon.  There goes the build.  here's the error I get 
> this
> time, along with the last few lines of output from the build:
>
> gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H  -I.
> -I/sw/include -I/sw/include    snd-xprint.c
> gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H  -I.
> -I/sw/include -I/sw/include    snd-xfile.c
> gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H  -I.
> -I/sw/include -I/sw/include    snd-xxen.c
> gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H  -I.
> -I/sw/include -I/sw/include    xm.c
> (cd po && make)
> rm -f de.gmo && : -c --statistics -o de.gmo de.po
> mv: rename t-de.gmo to de.gmo: No such file or directory
> make[1]: *** [de.gmo] Error 1
> make: *** [snd] Error 2
> trurl:/usr/local/snd-7 admin$
>
> Any suggestions on this one, anyone?
>
> 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
>>
>>
>>
>>
>>
>>