Tiny Core Extensions > TCE Q&A Forum

speech-dispatcher: struggling to compile it...

<< < (2/3) > >>

mcewanw:
Well... I'm getting nowhere.

I rebooted a clean TC2.x and loaded some extensions such that in /usr/local/tce.installed I now only have:

--- Code: ---root@box:/mnt/hda4/downloads/yasr/speech-dispatcher-0.6.7# ls /usr/local/tce.ins
talled
advcomp       glib2-devs    make          pppsetup
base-devs     gcc-binutils  jwm        
bash          glib2         libdotconf    pppd
--- End code ---

Then at the command line I copy then execute the three export lines for CFLAGS, CXXFLAGS, and PKG_CONFIG_PATH.

then I enter: ./configure --prefix=/usr/local

After that completes I enter: make all

And then I get the same errors mentioned in my thread-starting post above. i.e.:


--- Code: ---sounds/speech-dispatcher\" -DMODULEBINDIR=\"/usr/local/lib/speech-dispatcher-modules\"  
-DVERSION=\"0.6.7\" -DPACKAGE=\"speech-dispatcher\"
-DPIDPATH=\"\"  -march=i486 -mtune=i686 -Os -pipe -MT speechd.o -MD -MP -MF .deps/speechd.Tpo -c -o speechd.o speechd.c
speechd.c:24:21: error: gmodule.h: No such file or directory
In file included from speechd.c:28:
speechd.h:49:18: error: glib.h: No such file or directory
--- End code ---

At the moment, for simplicity, I don't have espeak or alsa installed.

The "unfound" files gmodule.h and glib.h are actually both present on my system: in /usr/local/include/glib-2.0/

mcewanw:
How does "the compiler" know to look in /usr/local/include rather than just in /usr/include or does it?

Jason W:
pkgconfig is usually how ./configure gets it's info, and you don't appear to have it installed.  I haven't looked to see if this app uses pkgconfig but it would be worth a try to install it.

robc:
usually you can tell the compiler to look in /usr/local/include by defining flags with ./configure. Use ./configure --help to see what is available.

mcewanw:

--- Quote from: Jason W on May 30, 2009, 02:41:01 PM ---pkgconfig is usually how ./configure gets it's info, and you don't appear to have it installed.

--- End quote ---

Yes, that could be it, I'll install extension pkg-config and try that.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version