> On Oct 12, 2006, at 1:48 PM, Aaron P. Martinez wrote: >> I am trying to compile a program called gyachi on my freebsd 6.1 >> machine and am having a ton of problems. I consulted the gyachi >> forums but most people there are running on one flavor of linux or >> another, nobody has it on freebsd that i can tell, so now i am >> turning here. >> at first my configure would stop at alsa, even though i have the >> linux-compatible alsa programs, so then i used the --with-esd >> switch and now i'm getting stopped with the following error: >> checking for lt_dlopen in -lltdl... no configure: error: cannot >> find ltdl library I have libtool installed and and under /usr/local/ >> lib i have: libltdl.a libltdl.la libltdl.so libltdl.so.4 I tried >> using the --with-libintl-prefix switch like so: ./configure -- >> enable-esd --with-gnu-ld --with-libintl-prefix=/usr/local it's >> still not finding it, same error again. > > Assuming you use a Bourne-compatible shell, try: > > LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include ./configure -- > enable-esd [ ... ] > > If you use csh, use setenv to export the above variables. > > -- > -Chuck > > Great Chuck,
that worked like a charm. I went straight to make after the configure and for some odd reason i'm getting alsa errors and finally make fails.. here is the output from make: ]$ make make all-recursive Making all in intl Making all in po Making all in gyvoice if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -g -O2 -I/usr/X11R6/include -Wall -funsigned-char -MT sound.o -MD -MP -MF ".deps/sound.Tpo" -c -o sound.o sound.c; then mv -f ".deps/sound.Tpo" ".deps/sound.Po"; else rm -f ".deps/sound.Tpo"; exit 1; fi sound.c:165:28: alsa/asoundlib.h: No such file or directory sound.c:167: error: syntax error before '*' token sound.c:167: warning: type defaults to `int' in declaration of `pcm_handleplay' sound.c:167: warning: data definition has no type or storage class sound.c:168: error: syntax error before '*' token sound.c:168: warning: type defaults to `int' in declaration of `pcm_handlecapt' sound.c:168: warning: data definition has no type or storage class sound.c:170: error: syntax error before '*' token sound.c: In function `set_hw_ALSA': sound.c:173: error: `snd_pcm_hw_params_t' undeclared (first use in this function) sound.c:173: error: (Each undeclared identifier is reported only once sound.c:173: error: for each function it appears in.) sound.c:173: error: `hwparams' undeclared (first use in this function) sound.c:176: error: syntax error before "period_frames" sound.c:179: warning: implicit declaration of function `snd_pcm_hw_params_alloca' sound.c:182: warning: implicit declaration of function `snd_pcm_hw_params_any' sound.c:182: error: `pcm_handle' undeclared (first use in this function) sound.c:187: warning: implicit declaration of function `snd_pcm_hw_params_set_access' sound.c:187: error: `SND_PCM_ACCESS_RW_INTERLEAVED' undeclared (first use in this function) sound.c:192: warning: implicit declaration of function `snd_pcm_hw_params_set_format' sound.c:192: error: `SND_PCM_FORMAT_S16_LE' undeclared (first use in this function) sound.c:200: warning: implicit declaration of function `snd_pcm_hw_params_set_rate_near' sound.c:208: warning: implicit declaration of function `snd_pcm_hw_params_set_channels' sound.c:213: warning: implicit declaration of function `snd_pcm_hw_params_get_buffer_time_max' sound.c:217: error: `period_frames' undeclared (first use in this function) sound.c:217: error: `buffer_frames' undeclared (first use in this function) sound.c:219: warning: implicit declaration of function `snd_pcm_hw_params_set_period_time_near' sound.c:220: warning: implicit declaration of function `snd_pcm_hw_params_set_period_size_near' sound.c:222: warning: implicit declaration of function `snd_pcm_hw_params_set_buffer_time_near' sound.c:223: warning: implicit declaration of function `snd_pcm_hw_params_set_buffer_size_near' sound.c:225: warning: implicit declaration of function `snd_pcm_hw_params' sound.c: In function `init_ALSA': sound.c:237: warning: implicit declaration of function `snd_pcm_open' sound.c:237: error: `SND_PCM_STREAM_PLAYBACK' undeclared (first use in this function) sound.c:243: error: `SND_PCM_STREAM_CAPTURE' undeclared (first use in this function) sound.c: In function `uninit_ALSA': sound.c:253: warning: implicit declaration of function `snd_pcm_close' sound.c: In function `play_ALSA': sound.c:260: warning: implicit declaration of function `snd_pcm_writei' sound.c:261: warning: implicit declaration of function `snd_pcm_prepare' sound.c: In function `record_ALSA': sound.c:269: warning: implicit declaration of function `snd_pcm_readi' *** Error code 1 Stop in /usr/home/apmartinez/GYACHI/gyachi-1.0.5/gyvoice. *** Error code 1 Stop in /usr/home/apmartinez/GYACHI/gyachi-1.0.5. *** Error code 1 Stop in /usr/home/apmartinez/GYACHI/gyachi-1.0.5. I used the --enable-esd on the configure so i'm a little confused why this is a problem. I thought maybe the flags that i had used to make the configure go all the way might solve the earlier alsa problems so i tried to configure it without the esd but still same errors: checking pkg-config is at least version 0.9.0... yes checking for ALSA... configure: error: Package requirements (alsa >= 0.9.8) were not met: No package 'alsa' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables ALSA_CFLAGS and ALSA_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Maybe I should fix this problem first but I'm not quite sure how. i have linux-alsa-lib-1.0.10.3 installed but NOT alsaplayer because currently it's forbidden: /usr/ports/audio/alsaplayer]# make install clean ===> alsaplayer-0.99.75_3 is forbidden: Remote code execution: http://vuxml.FreeBSD.org/9855ac8e-2aec-11db-a6e2-000e0c2e438a.html. *** Error code 1 Any ideas? Thanks again, Aaron Martinez _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"