[CM] SND-7 build errors on OSX
todd ingalls
testcase@asu.edu
Mon, 21 Jun 2004 10:14:47 -0700
--Boundary_(ID_ymdv75AhFwN9AGG92i9jag)
Content-type: text/plain; charset=US-ASCII; format=flowed
Content-transfer-encoding: 7bit
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
--Boundary_(ID_ymdv75AhFwN9AGG92i9jag)
Content-type: text/plain; x-unix-mode=0644; name="config.h"
Content-transfer-encoding: 7bit
Content-disposition: attachment; filename=config.h
/* config.h. Generated by configure. */
#ifndef CONFIG_H_LOADED
#define CONFIG_H_LOADED
/* #undef const */
/* #undef CLOSEDIR_VOID */
#define RETSIGTYPE void
/* Define to `int' or something if <sys/types.h> doesn't define. */
/* #undef mode_t */
/* #undef pid_t */
/* #undef size_t */
/* #undef off_t */
#define WORDS_BIGENDIAN 1
#define HAVE_GETCWD 1
#define HAVE_STRFTIME 1
#define HAVE_STRERROR 1
#define HAVE_VPRINTF 1
#define HAVE_READLINK 1
#define HAVE_SETLOCALE 1
#define HAVE_SLEEP 1
#define HAVE_ACCESS 1
#define HAVE_OPENDIR 1
#define HAVE_SIGNAL 1
#define HAVE_STATFS 1
/* #undef HAVE_STATVFS */
#define HAVE_CLOCK 1
#define HAVE_VSNPRINTF 1
#define HAVE_SNPRINTF 1
#define HAVE_STRINGIZE 1
#define HAVE_MEMMOVE 1
#define HAVE_STRDUP 1
#define HAVE_FILENO 1
#define HAVE_LSTAT 1
#define HAVE_STRCASECMP 1
#define HAVE_DECL_HYPOT 1
#define HAVE_DECL_ISNAN 1
/* #undef HAVE_COMPLEX_TRIG */
#define HAVE_FSEEKO 1
#define STDC_HEADERS 1
/* #undef TM_IN_SYS_TIME */
#define HAVE_SYS_MOUNT_H 1
#define HAVE_DIRENT_H 1
/* #undef HAVE_NDIR_H */
/* #undef HAVE_SYS_DIR_H */
/* #undef HAVE_SYS_NDIR_H */
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_STRING_H 1
#define HAVE_UNISTD_H 1
#define HAVE_STDBOOL_H 1
/* #undef HAVE_SYS_TIME_H */
#define HAVE_DLFCN_H 1
#define HAVE_GSL_GSL_VERSION_H 1
/* #undef HAVE_SOUNDCARD_H */
/* #undef HAVE_SYS_SOUNDCARD_H */
/* #undef HAVE_MACHINE_SOUNDCARD_H */
/* #undef HAVE_SYS_MIXER_H */
/* #undef USR_LIB_OSS */
/* #undef USR_LOCAL_LIB_OSS */
/* #undef OPT_OSS */
/* #undef VAR_LIB_OSS */
#define HAVE_LIBC_H 1
/* #undef HAVE_SYS_VFS_H */
/* #undef HAVE_SYS_STATFS_H */
/* #undef HAVE_SYS_STATVFS_H */
#define HAVE_SETJMP_H 1
#define TIME_WITH_SYS_TIME 1
/* #undef HAVE_GNU_LIBC_VERSION_H */
#define HAVE_PWD_H 1
#define HAVE_LOCALE_H 1
/* #undef HAVE_SYS_FPU_H */
#define HAVE_SYS_PARAM_H 1
/* #undef HAVE_ALSA_ASOUNDLIB_H */
/* #undef HAVE_BYTESWAP_H */
#define SIZEOF_INT 4
#define SIZEOF_CHAR 1
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_INT_P 4
#define SIZEOF_FLOAT 4
#define SIZEOF_VOID_P 4
#define SIZEOF_OFF_T 8
#define ENABLE_NLS 1
#define PACKAGE "snd"
#define VERSION "7.5"
#define CONFIGURE_PROG "./configure"
#define CONFIGURE_ARGS ""
/* #undef LINUX */
/* #undef SGI */
/* #undef ALPHA */
/* #undef HPUX */
/* #undef SUN */
/* #undef OPENBSD */
/* #undef WINDOZE */
/* #undef HAVE_OSS */
/* #undef HAVE_ALSA */
/* #undef HAVE_JACK */
/* #undef HAVE_SAM_9407 */
#define MAC_OSX 1
/* #undef ESD */
/* #undef BSDI */
#define HAVE___FUNC__ 1
#define HAVE_FFTW 1
/* #undef HAVE_FFTW3 */
#define HAVE_GUILE 1
/* #undef HAVE_RUBY */
#define HAVE_EXTENSION_LANGUAGE 1
#define HAVE_XPM 1
/* #undef HAVE_XM_XP */
/* #undef HAVE_GL */
/* #undef JUST_GL */
/* #undef DEFAULT_TEMP_DIR */
/* #undef DEFAULT_SAVE_DIR */
/* #undef DEFAULT_DOC_DIR */
#define STATFS_ARGS 2
/* #undef SND_CONFIG_GET_ID_ARGS */
#define TRAP_SEGFAULT 1
/* #undef SND_AS_WIDGET */
#define Float float
/* #undef _FILE_OFFSET_BITS */
/* #undef _LARGE_FILES */
/* #undef USE_GTK */
#define USE_MOTIF 1
/* #undef USE_NO_GUI */
#define HAVE_MOTIF 1
#define HAVE_XmToolTipGetLabel 1
/* #undef HAVE_XmCreateMultiList */
/* #undef HAVE_XmCreateDataField */
/* #undef HAVE_XmCreateButtonBox */
/* #undef HAVE_XmCreateTabStack */
/* #undef HAVE_XmCreateDropDown */
/* #undef HAVE_XmCreateColumn */
/* #undef HAVE_XmCreateFontSelector */
/* #undef HAVE_XmCreateColorSelector */
#define HAVE_XPM_GET_ERROR_STRING 1
#define HAVE_XPM_CREATE_XPM_IMAGE_FROM_PIXMAP 1
#define HAVE_GSL 1
#define GSL_VERSION "1.3"
/* #undef RUBY_VERSION */
/* #undef RUBY_RELEASE_DATE */
/* #undef RUBY_SEARCH_PATH */
/* #undef SNDLIB_USE_FLOATS */
/* #undef DEBUGGING */
/* #undef DEBUG_MEMORY */
/* #undef HAVE_LADSPA */
#define HAVE_X 1
/* #undef MUS_SAMPLE_BITS */
/* #undef ESD_VERSION */
/* #undef AUDIOFILE_VERSION */
#define HAVE_GETTEXT 1
/* #undef HAVE_READLINE */
/* #undef HAVE_STATIC_XM */
/* #undef WITH_EDITRES */
#define HAVE_XSHAPEQUERYEXTENSION 1
#define HAVE_APPLICABLE_SMOB 1
#define HAVE_SCM_REMEMBER_UPTO_HERE 1
#define HAVE_SCM_MAKE_REAL 1
#define HAVE_SCM_OBJECT_TO_STRING 1
#define HAVE_SCM_NUM2LONG_LONG 1
#define HAVE_SCM_C_MAKE_VECTOR 1
#define HAVE_SCM_C_DEFINE 1
#define HAVE_SCM_C_DEFINE_GSUBR 1
#define HAVE_SCM_C_EVAL_STRING 1
#define HAVE_SCM_NUM2INT 1
#define HAVE_SCM_LIST_N 1
#define HAVE_SCM_STR2SYMBOL 1
/* #undef HAVE_SCM_DEFINED_P */
#define HAVE_SCM_T_CATCH_BODY 1
#define HAVE_SCM_C_DEFINE_MODULE 1
#define HAVE_SCM_MEM2STRING 1
/* #undef HAVE_SCM_MAKE_RATIO */
#define HAVE_SCM_MAKE_COMPLEX 1
/* #undef HAVE_SCM_CONTINUATION_P */
#define HAVE_SCM_PORT_P 1
/* #undef HAVE_GUILE_CALL_CC */
#define HAVE_GUILE_DYNAMIC_WIND 1
/* #undef HAVE_GTK_GL_EXT_0_1 */
/* #undef HAVE_RB_NUM2LL */
/* #undef HAVE_RB_GC_DISABLE */
#define WITH_RUN 1
#define WITH_RELATIVE_PANES 1
/* #undef HAVE_GDK_GL_FONT_USE_GDK_FONT */
/* #undef HAVE_GTK_WIDGET_GL_MAKE_CURRENT */
/* #undef HAVE_GDK_GL_CONTEXT_COPY */
/* #undef HAVE_GDK_DRAW_PIXBUF */
/* #undef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW */
/* #undef HAVE_GTK_EXPANDER_GET_USE_MARKUP */
/* #undef HAVE_GTK_MENU_SHELL_CANCEL */
/* #undef HAVE_GTK_COMBO_BOX_POPUP */
/* #undef HAVE_GTK_COMBO_BOX_ENTRY_NEW_TEXT */
/* #undef HAVE_GBOOLEAN_GTK_FILE_CHOOSER_SET_FILENAME */
/* #undef WITH_MODULES */
/* #undef WITH_SHARED_SNDLIB */
/* #undef HAVE_LANGINFO_DECIMAL_POINT */
#define HAVE_LANGINFO_RADIXCHAR 1
/* #undef NL_TYPES_H_DEFINES_MALLOC */
/* #undef WITH_GTK_AND_X11 */
#define HAVE_KAUDIODEVICEPROPERTYTRANSPORTTYPE 1
#define HAVE_KLINEARPCMFORMATFLAGISNONINTERLEAVED 1
/* #undef JACK_VERSION */
#define USE_SND 1
#endif
--Boundary_(ID_ymdv75AhFwN9AGG92i9jag)
Content-type: application/octet-stream; x-unix-mode=0644; name=makefile
Content-transfer-encoding: BASE64
Content-disposition: attachment; filename=makefile
Q0MgPSBnY2MNCkNGTEFHUyA9IC1JLiAtSS9zdy9pbmNsdWRlDQpMREZMQUdTID0g
LUwvc3cvbGliDQpMSUJTID0gL3N3L2xpYi9saWJpbnRsLmR5bGliIC9zdy9saWIv
bGliaWNvbnYuZHlsaWIgIC1sbQ0KDQpHVUlMRV9MSUJTID0gLUwvc3cvbGliIC1s
Z3VpbGUgLWxndWlsZS1sdGRsIC1sbQ0KWE1fTElCUyA9IC1ML3N3L2xpYiAtbGd1
aWxlIC1sZ3VpbGUtbHRkbCAtbG0NCkdVSUxFX0NGTEFHUyA9IC1JL3N3L2luY2x1
ZGUNCkdUS19DRkxBR1MgPSANCkdUS19MSUJTID0gDQpNT1RJRl9MSUJTID0gIC1M
L3Vzci9YMTFSNi9saWIgIC1sU00gLWxJQ0UgLWxYbSAtbFh0IC1sWHAgLWxYMTEg
IC1sWGV4dCAtbFhwbQ0KTU9USUZfRkxBR1MgPSAgLUkvdXNyL1gxMVI2L2luY2x1
ZGUNCkFVRElPX0xJQiA9IC1mcmFtZXdvcmsgQ29yZUF1ZGlvIC1mcmFtZXdvcmsg
Q29yZUZvdW5kYXRpb24gLWZyYW1ld29yayBDb3JlTUlESQ0KR1NMX0xJQlMgPSAt
TC9zdy9saWIgLWxnc2wgLWxnc2xjY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KEdHX1NPX0ZJTEUpICQoTERTT19G
TEFHUykgJChHVEtfTElCUykgJChMSUJTKQ0KDQp3aWRnZXQ6IHNuZF93aWRnZXQu
bw0KDQpzbmRfd2lkZ2V0Lm86ICQoU05ETElCX0hFQURFUlMpICQoU05EX0hFQURF
UlMpICQoR1hfSEVBREVSUykgJChTTkRMSUJfRklMRVMpICQoT19GSUxFUykgJChH
WF9GSUxFUykgJChHTF9GSUxFUykNCgkkKExEKSAtciAkKExERkxBR1MpICQoU05E
TElCX0ZJTEVTKSAkKE9fRklMRVMpICQoR1hfRklMRVMpICQoR0xfRklMRVMpIC1v
IHNuZF93aWRnZXQubw0KDQppbmNsdWRlICQoc3JjZGlyKS9tYWtlc25kLmJhY2sN
Cg0KTWFrZWZpbGU6IE1ha2VmaWxlLmluIGNvbmZpZy5zdGF0dXMNCgkuL2NvbmZp
Zy5zdGF0dXMNCg0KY29uZmlnLnN0YXR1czogY29uZmlndXJlDQoJLi9jb25maWcu
c3RhdHVzIC0tcmVjaGVjaw0KDQpjb25maWd1cmU6IGNvbmZpZ3VyZS5pbg0KCWNk
ICQoc3JjZGlyKTsgYXV0b2NvbmYNCg==
--Boundary_(ID_ymdv75AhFwN9AGG92i9jag)
Content-type: text/plain; charset=US-ASCII; format=flowed
Content-transfer-encoding: 7bit
good luck
Todd Ingalls
Arts, Media and Engineering Program
Arizona State University
http://ame2.asu.edu/faculty/todd
On Jun 21, 2004, at 9:33 AM, cristopher pierson ewing wrote:
> I just tried to hack config.h to show that I had motif installed. I
> edited makefile, giving the locations of libXm.a etc at the line
> MOTIF-LIBS = blah, blah, blah. Then I rewrote config.h to look like
> this:
>
> #define USE_MOTIF 1
> /* #undef USE_NO_GUI */
> #define HAVE_MOTIF 1
> #define HAVE_XmToolTipGetLabel 1
> #define HAVE_XmCreateMultiList 1
> #define HAVE_XmCreateDataField 1
> #define HAVE_XmCreateButtonBox 1
> #define HAVE_XmCreateTabStack 1
> #define HAVE_XmCreateDropDown 1
> #define HAVE_XmCreateColumn 1
> #define HAVE_XmCreateFontSelector 1
> #define HAVE_XmCreateColorSelector 1
> #define HAVE_XPM_GET_ERROR_STRING 1
> #define HAVE_XPM_CREATE_XPM_IMAGE_FROM_PIXMAP 1
>
> Basically, all these lines are opposite of what they were originally.
> But
> when I run make again, the output, while different from before, still
> hangs. Here's the last bit from make:
>
> gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -g
> -O2
> -I/sw/include snd-xxen.c
> (cd po && make)
> make[1]: Nothing to be done for `all'.
> gcc -I. -g -O2 headers.o audio.o io.o sound.o clm.o xen.o vct.o
> sndlib2xen.o clm2xen.o midi.o snd-io.o snd-utils.o snd-listener.o
> snd-error.o snd-completion.o snd-menu.o snd-axis.o snd-data.o snd-fft.o
> snd-marks.o snd-file.o snd-edits.o snd-chn.o snd-dac.o snd-region.o
> snd-select.o snd-find.o snd-snd.o snd-help.o snd-main.o snd-print.o
> snd-trans.o snd-mix.o snd.o snd-env.o snd-xen.o snd-ladspa.o snd-rec.o
> snd-kbd.o snd-sig.o snd-draw.o snd-run.o snd-xutils.o snd-xerror.o
> snd-xhelp.o snd-xfind.o snd-xmenu.o snd-xdraw.o snd-xlistener.o
> snd-xchn.o
> snd-xsnd.o snd-xregion.o snd-xdrop.o snd-xmain.o snd-xmix.o snd-xrec.o
> snd-xenv.o snd-gxutils.o snd-gxbitmaps.o snd-gxcolormaps.o snd-xfft.o
> snd-xprint.o snd-xfile.o snd-xxen.o -o snd -L/sw/lib -lguile
> -lguile-ltdl -lm -L/usr/X11R6/lib -lSM -lICE /sw/lib/libXm.a
> /usr/X11R6/lib/libXp.a /usr/X11R6/lib/libXt.a -lXext -lXpm -lX11
> -framework CoreAudio -framework CoreFoundation -framework CoreMIDI
> -lm
> ld: Undefined symbols:
> __XEditResGet16
> __XEditResGet32
> __XEditResGet8
> __XEditResGetSigned16
> __XEditResGetString8
> __XEditResGetWidgetInfo
> __XEditResPut16
> __XEditResPut32
> __XEditResPut8
> __XEditResPutString8
> __XEditResPutWidgetInfo
> __XEditResResetStream
> make: *** [snd] Error 1
> [trurl:/usr/local/snd-7] admin%
>
> Are there more locations I need to hack, or am I missing some headers I
> need to find?
>
> 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, Bill Schottstaedt wrote:
>
>> Somehow your config.h is inconsistent -- I guess
>> USE_MOTIF did not get set, so it's picking up the
>> "no GUI" headers, but then for some reason the
>> makefile is trying to include the Motif files.
>> If configure didn't find Motif, you can give
>> it the path with the --with-motif-prefix switch.
>>
>>
>
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
>
--Boundary_(ID_ymdv75AhFwN9AGG92i9jag)--