archlinux build wine3.16

Questions about Wine on Linux
Locked
uniking
Newbie
Newbie
Posts: 2
Joined: Tue Sep 18, 2018 3:07 am

archlinux build wine3.16

Post by uniking »

help, i get this error. I think I installed all the dependencies.

Code: Select all

checking for pulse/pulseaudio.h... yes
checking for pa_stream_is_corked in -lpulse... yes
checking gst/gst.h usability... no
checking gst/gst.h presence... no
checking for gst/gst.h... no
configure: error: gstreamer-1.0 base plugins 64-bit development files not found, GStreamer won't be supported.
This is an error since --with-gstreamer was requested.
==> ERROR: A failure occurred in build().
    Aborting...
i get PKGBUILD from https://git.archlinux.org/svntogit/comm ... ing/trunk/
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: archlinux build wine3.16

Post by Bob Wya »

uniking wrote:help, i get this error. I think I installed all the dependencies.

Code: Select all

checking for pulse/pulseaudio.h... yes
checking for pa_stream_is_corked in -lpulse... yes
checking gst/gst.h usability... no
checking gst/gst.h presence... no
checking for gst/gst.h... no
configure: error: gstreamer-1.0 base plugins 64-bit development files not found, GStreamer won't be supported.
This is an error since --with-gstreamer was requested.
==> ERROR: A failure occurred in build().
    Aborting...
i get PKGBUILD from https://git.archlinux.org/svntogit/comm ... ing/trunk/
@uniking

Are you building the wine-staging package with:

Code: Select all

makepkg -s
That should pull in dependencies when building an Arch package.
The gstreamer base plugins libraries (32-bit + 64-bit) are a hard build dependency, for this package.
You shouldn't need to manually install this library.

Bob
uniking
Newbie
Newbie
Posts: 2
Joined: Tue Sep 18, 2018 3:07 am

Re: archlinux build wine3.16

Post by uniking »

Bob Wya wrote:
uniking wrote:help, i get this error. I think I installed all the dependencies.

Code: Select all

checking for pulse/pulseaudio.h... yes
checking for pa_stream_is_corked in -lpulse... yes
checking gst/gst.h usability... no
checking gst/gst.h presence... no
checking for gst/gst.h... no
configure: error: gstreamer-1.0 base plugins 64-bit development files not found, GStreamer won't be supported.
This is an error since --with-gstreamer was requested.
==> ERROR: A failure occurred in build().
    Aborting...
i get PKGBUILD from https://git.archlinux.org/svntogit/comm ... ing/trunk/
@uniking

Are you building the wine-staging package with:

Code: Select all

makepkg -s
That should pull in dependencies when building an Arch package.
The gstreamer base plugins libraries (32-bit + 64-bit) are a hard build dependency, for this package.
You shouldn't need to manually install this library.

Bob
Not 'makepkg -s' problem.
i find this code in configure and try to build.

Code: Select all

#include <gst/gst.h>
int
main ()
{
static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
  ;
  return 0;
}
Must build it with

Code: Select all

-I/usr/include/glib-2.0/ -I/usr/lib/glib-2.0/include
configure can't find right head file location in archlinux.
at last i add env, ld cant find right so! i am so sad.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: archlinux build wine3.16

Post by DarkShadow44 »

Code: Select all

checking gst/gst.h usability... yes
checking gst/gst.h presence... yes
checking for gst/gst.h... yes
checking whether gint64 defined by gst/gst.h is indeed 64-bit... yes
Works for me.

What does "find /usr -iname gst.h" yield? I get

Code: Select all

/usr/include/gstreamer-1.0/gst/gst.h
/usr/include/gstreamer-0.10/gst/gst.h
What exactly is the error you get when trying to compile that small sample you gave?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: archlinux build wine3.16

Post by Bob Wya »

@uniking

Why aren't you just use or rebuild the Arch packaged version of Wine?
makepkg will do all the heavy lifting for you - the whole reason why tooling, like this, was created in the first place!

I presume there is a reason why you are trying to build Wine from source manually...
Perhaps you'd share, what is motivating you, with us?
Then we'd have a better idea what you are trying to achieve here! 8)

Bob
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: archlinux build wine3.16

Post by DarkShadow44 »

According to his first post, he is using makepkg.
==> ERROR: A failure occurred in build().
Aborting...
Locked