On Wed, May 20, 2015 at 04:21:47PM +0000, ScrumpyJack wrote:
> +build() {> + cd "$_builddir"> + ./configure \> + --build=$CBUILD \> + --host=$CHOST \> + --prefix=/usr \> + --without-rcc \> + --with-oss \> + --with-alsa \> + --with-jack \> + --with-aac \> + --with-mp3 \> + --with-musepack \> + --with-vorbis \> + --with-flac \> + --with-wavpack \> + --with-sndfile \> + --with-modplug \> + --with-ffmpeg \> + --with-speex \> + --with-samplerate \> + --with-curl \> + --disable-cache \> + --disable-debug \> + || return 1> + make || return 1> +}
Thanks for this APKBUILD; however, at least on 3.2, I'm unable to complete
the configure step, as it fails very early:
checking build system type... Invalid configuration `x86_64-alpine-linux-musl': machine `x86_64-alpine-linux' not recognized
This is from config.sub:324, which tests $basic_machine and matches *-*-*.
I suppose the best solution here is to patch config.sub to explicitly
consider linux-musl in lines 126-129... of course, this is just one more
argument against autoconf, but perhaps upstream could be convinced to use
a more modern version than whatever was around in November of 2009. How
did you get this to build?
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
On Thu, 28 May 2015 08:52:18 -0400
Andrew Hills <ahills@ednos.net> wrote:
> On Wed, May 20, 2015 at 04:21:47PM +0000, ScrumpyJack wrote:> > +build() {> > + cd "$_builddir"> > + ./configure \> > + --build=$CBUILD \> > + --host=$CHOST \> > + --prefix=/usr \> > + --without-rcc \> > + --with-oss \> > + --with-alsa \> > + --with-jack \> > + --with-aac \> > + --with-mp3 \> > + --with-musepack \> > + --with-vorbis \> > + --with-flac \> > + --with-wavpack \> > + --with-sndfile \> > + --with-modplug \> > + --with-ffmpeg \> > + --with-speex \> > + --with-samplerate \> > + --with-curl \> > + --disable-cache \> > + --disable-debug \> > + || return 1> > + make || return 1> > +}> > Thanks for this APKBUILD; however, at least on 3.2, I'm unable to complete> the configure step, as it fails very early:> > checking build system type... Invalid configuration `x86_64-alpine-linux-musl': machine `x86_64-alpine-linux' not recognized> > This is from config.sub:324, which tests $basic_machine and matches *-*-*.> I suppose the best solution here is to patch config.sub to explicitly> consider linux-musl in lines 126-129... of course, this is just one more> argument against autoconf, but perhaps upstream could be convinced to use> a more modern version than whatever was around in November of 2009. How> did you get this to build?
we normally solve this with:
prepare() {
update_config_sub || return 1
...
}
-nc
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---