[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FYI: intent to NMU to fix SDL + static X extension library problem



On Sat, Oct 06, 2001 at 09:47:03AM +0200, Adrian Bunk wrote:
> On Fri, 5 Oct 2001, Christian T. Steigies wrote:
> > I tried to build libsdl1.2 from source on i386 and m68k. It fails on both
> > machines, since it tries to call automake:
> >
> > make[3]: Entering directory `/opt/hdb10/cts/debian/package/sdl/1.2/libsdl1.2-1.2.2/src/main'
> > cd ../.. && automake --foreign --include-deps src/main/Makefile
> > automake: configure.in: required file `./depcomp' not found
> >
> > I seem to have (on i386 at least) the same packages Branden used. Did
> > anybody have the same problem? Did anybody succeed building sdl1.2?
> 
> Branden did perhaps use the old automake.
> 
> Do a "automake -a -c" once before building the package.
Good idea, but that didn't work either.

creating SDL.spec
make
make[1]: Entering directory `/opt/hdb10/cts/debian/package/sdl/1.2/libsdl1.2-1.2.2'
Making all in src
make[2]: Entering directory `/opt/hdb10/cts/debian/package/sdl/1.2/libsdl1.2-1.2.2/src'
Makefile:230: *** missing separator.  Stop.


I downgraded automake to 1.4. After installing libasound1-dev (which pulls
in alsa-headers-0.5) instead of alsalib-dev:

Package alsalib-dev is a virtual package provided by:
  libasound2-dev 0.9.0beta7-1
  libasound1-dev 0.5.10-2.1
  libasound0.4-dev 0.4.1e-10.2
You should explicitly select one to install.

Using libasound2-dev (no default, using first one)

it seems to build, that is, it is building since 30min and did not fail yet.

With alsa-headers 0.9+0beta7-2 and libasound2-dev 0.9.0beta7-1, it fails:
SDL_alsa_audio.c:69: parse error before `*'
SDL_alsa_audio.c: In function `init_pcm_cparams':
SDL_alsa_audio.c:71: `snd_pcm_channel_params_t' undeclared (first use in this fu
nction)
...

There is another similar problem (which is already handled by sbuild):
Package libgl-dev is a virtual package provided by:
  xlibmesa-dev 4.1.0-7
  mesag3+ggi-dev 3.4.2.1-3
  mesag-glide2-dev 3.4.2.1-3
  mesag-dev 3.4.2.1-3
  libutahglx-dev 0.0-cvs-20010702-2
Using xlibmesa-dev (selected in sbuildrc)

Christian



Reply to: