Re: [AD] Progressions and regressions

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 19 Sep 2001, salvador <salvador@xxxxxxxxxx> wrote:
> 
> Let me see if did it right, I created a file called "allegro.cfg" in the
> demo directory (I'm testing using the demo program) containing:
> [system]
> system = XWIN
> 
> [sound]
> digi_card = ESDD
> ------------
> Is it right?

Yes.

> If that right: doesn't help, the library tries to open /dev/dsp anyways.
> I want to remind you that esd version is 0.2.17. Perhaps the code assumes
> something that fails with this version.

Please edit src/unix/umodules.c and uncomment the bit that says
"useful during development".

And change sound.c, line ~351 to this:

   for (c=0; digi_drivers[c].driver; c++) {
      digi_driver = digi_drivers[c].driver;
      digi_driver->name = digi_driver->desc = get_config_text(digi_driver->ascii_name);
      printf("I have: %s\n", digi_driver->name);
   }

> P.S.2: What this warning means:
> Warning: shared library destination /usr/lib is not in ldd search path.
> Unless you add it to /etc/ld.so.conf, you must set LD_LIBRARY_PATH to
> include
> /usr/lib each time you want to run an Allegro program.
> 
> In my system /usr/lib is where non critical libraries are stored. Is just
> printed or really tested?

Tested, but it's wrong.  I just checked my /etc/ld.so.conf, which
only contains `/usr/X11R6/lib' and `/usr/local/lib'.  The ldconfig
manpage says that it also looks in /lib and /usr/lib.  So we just
have to add those directories to the tests.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/