(K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Questions about Wine on Linux
Locked
Thaodan
Level 2
Level 2
Posts: 10
Joined: Tue Aug 30, 2011 6:13 am

(K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by Thaodan »

Since the latest wine builds wine don't finds the gstreamer-dev files.
When i try to to compile wine 1.3.15 wine finds them but not for wine 1.3.27.
I had a packages installed that are needed to build wine ( i installed them
through apt-get build-dep wine1.3).This problem also happens at the building of the latest ppa packages for ubumtu amd64.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: (K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by vitamin »

Thaodan wrote:Since the latest wine builds wine don't finds the gstreamer-dev files.
Make sure you have correct dev files. Gstreamer has separate development files for 32-bit and 64-bit.

If all fails, look inside config.log for clues to what is missing.
Thaodan
Level 2
Level 2
Posts: 10
Joined: Tue Aug 30, 2011 6:13 am

Post by Thaodan »

in the repositorys they're only files for both but the fault is now the not installed files. Its a bug with wine and gstreamer:

Code: Select all

conftest.c: In function 'main':
conftest.c:212:5: error: size of array 'a' is negative
configure:10535: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "1.3.27"
| #define PACKAGE_STRING "Wine 1.3.27"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL "http://www.winehq.org"
| #define EXEEXT ""
| #define _FILE_OFFSET_BITS 64
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_AL_AL_H 1
| #define HAVE_CL_CL_H 1
| #define HAVE_ALSA_ASOUNDLIB_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_ASM_TYPES_H 1
| #define HAVE_CAPI20_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_ELF_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_FNMATCH_H 1
| #define HAVE_FONTCONFIG_FONTCONFIG_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_GETTEXT_PO_H 1
| #define HAVE_GRP_H 1
| #define HAVE_GSM_H 1
| #define HAVE_GSM_GSM_H 1
| #define HAVE_JPEGLIB_H 1
| #define HAVE_LBER_H 1
| #define HAVE_LCMS_H 1
| #define HAVE_LDAP_H 1
| #define HAVE_LINK_H 1
| #define HAVE_LINUX_CDROM_H 1
| #define HAVE_LINUX_HDREG_H 1
| #define HAVE_LINUX_INPUT_H 1
| #define HAVE_LINUX_IOCTL_H 1
| #define HAVE_LINUX_JOYSTICK_H 1
| #define HAVE_LINUX_MAJOR_H 1
| #define HAVE_LINUX_PARAM_H 1
| #define HAVE_LINUX_SERIAL_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_MNTENT_H 1
| #define HAVE_MPG123_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_OPENSSL_ERR_H 1
| #define HAVE_OPENSSL_SSL_H 1
| #define HAVE_PNG_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_PWD_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_SCHED_H 1
| #define HAVE_SCSI_SCSI_H 1
| #define HAVE_SCSI_SCSI_IOCTL_H 1
| #define HAVE_SCSI_SG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_ASOUNDLIB_H 1
| #define HAVE_SYS_EPOLL_H 1
| #define HAVE_SYS_ERRNO_H 1
| #define HAVE_SYS_INOTIFY_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MSG_H 1
| #define HAVE_SYS_MTIO_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_PRCTL_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SHM_H 1
| #define HAVE_SYS_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SOCKETVAR_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_SYSCALL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_VM86_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYSCALL_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_TIFFIO_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_ZLIB_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NET_IF_H 1
| #define HAVE_NET_IF_ARP_H 1
| #define HAVE_NET_ROUTE_H 1
| #define HAVE_NETINET_IF_ETHER_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_NETINET_UDP_H 1
| #define HAVE_NETIPX_IPX_H 1
| #define HAVE_LINUX_IPX_H 1
| #define HAVE_LINUX_IRDA_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_UCONTEXT_H 1
| #define HAVE_LINUX_VIDEODEV2_H 1
| #define HAVE_LINUX_CAPI_H 1
| #define SONAME_LIBX11 "libX11.so.6"
| #define SONAME_LIBXEXT "libXext.so.6"
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XKBLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_X11_XCURSOR_XCURSOR_H 1
| #define HAVE_X11_EXTENSIONS_SHAPE_H 1
| #define HAVE_X11_EXTENSIONS_XINPUT_H 1
| #define HAVE_X11_EXTENSIONS_XINPUT2_H 1
| #define HAVE_X11_EXTENSIONS_XSHM_H 1
| #define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1
| #define HAVE_X11_EXTENSIONS_XINERAMA_H 1
| #define HAVE_X11_EXTENSIONS_XRANDR_H 1
| #define HAVE_X11_EXTENSIONS_XRENDER_H 1
| #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
| #define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1
| #define HAVE_XKB 1
| #define SONAME_LIBXCURSOR "libXcursor.so.1"
| #define SONAME_LIBXI "libXi.so.6"
| #define HAVE_LIBXXSHM 1
| #define HAVE_LIBXSHAPE 1
| #define SONAME_LIBXXF86VM "libXxf86vm.so.1"
| #define SONAME_LIBXRENDER "libXrender.so.1"
| #define HAVE_XRENDERSETPICTURETRANSFORM 1
| #define SONAME_LIBXRANDR "libXrandr.so.2"
| #define SONAME_LIBXINERAMA "libXinerama.so.1"
| #define SONAME_LIBXCOMPOSITE "libXcomposite.so.1"
| #define HAVE_XICCALLBACK_CALLBACK 1
| #define HAVE_XEVENT_XCOOKIE 1
| #define HAVE_GL_GL_H 1
| #define HAVE_GL_GLX_H 1
| #define HAVE_GL_GLU_H 1
| #define SONAME_LIBGL "libGL.so.1"
| #define HAVE_OPENGL 1
| #define SONAME_LIBGLU "libGLU.so.1"
| #define HAVE_LIBXML_PARSER_H 1
| #define HAVE_LIBXML_XMLSAVE_H 1
| #define HAVE_LIBXML_SAX2_H 1
| #define HAVE_LIBXML2 1
| #define HAVE_XMLREADMEMORY 1
| #define HAVE_XMLNEWDOCPI 1
| #define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1
| #define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1
| #define HAVE_XMLFIRSTELEMENTCHILD 1
| #define HAVE_XMLDOC_PROPERTIES 1
| #define HAVE_LIBXSLT_PATTERN_H 1
| #define HAVE_LIBXSLT_TRANSFORM_H 1
| #define SONAME_LIBXSLT "libxslt.so.1"
| #define HAVE_DBUS_DBUS_H 1
| #define HAVE_HAL_LIBHAL_H 1
| #define SONAME_LIBHAL "libhal.so.1"
| #define SONAME_LIBGNUTLS "libgnutls.so.26"
| #define SONAME_LIBNCURSES "libncurses.so.5"
| #define HAVE_MOUSEMASK 1
| #define SONAME_LIBSANE "libsane.so.1"
| #define SONAME_LIBV4L1 "libv4l1.so.0"
| #define HAVE_GPHOTO2 1
| #define HAVE_RESOLV 1
| #define HAVE_LCMS 1
| #define SONAME_LIBFREETYPE "libfreetype.so.6"
| #define HAVE_FT2BUILD_H 1
| #define HAVE_FREETYPE_FREETYPE_H 1
| #define HAVE_FREETYPE_FTGLYPH_H 1
| #define HAVE_FREETYPE_FTTYPES_H 1
| #define HAVE_FREETYPE_TTTABLES_H 1
| #define HAVE_FREETYPE_FTSNAMES_H 1
| #define HAVE_FREETYPE_TTNAMEID_H 1
| #define HAVE_FREETYPE_FTOUTLN_H 1
| #define HAVE_FREETYPE_FTWINFNT_H 1
| #define HAVE_FREETYPE_FTMODAPI_H 1
| #define HAVE_FREETYPE_FTLCDFIL_H 1
| #define HAVE_FREETYPE_FTTRIGON_H 1
| #define HAVE_FT_TRUETYPEENGINETYPE 1
| #define HAVE_FT_LOAD_SFNT_TABLE 1
| #define HAVE_FREETYPE 1
| #define HAVE_PPDEV 1
| #define HAVE_PTHREAD_GETATTR_NP 1
| #define HAVE_ZLIB 1
| #define HAVE_LIBGETTEXTPO 1
| /* end confdefs.h.  */
| #include <gst/app/gstappsink.h>
| int
| main ()
| {
| int a[sizeof(gint64) > 4 ? 1 : -1]
|   ;
|   return 0;
| }
configure:10621: result: no
[/code]
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Thaodan wrote:in the repositorys they're only files for both
Not, according to Scott Ritchie (Ubuntu Wine packager). 64-bit ubuntu has 64-bit gstreamer headers only. Those won't work for 32-bit Wine.
Thaodan
Level 2
Level 2
Posts: 10
Joined: Tue Aug 30, 2011 6:13 am

Post by Thaodan »

with wine 1.3.15 they were working
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Thaodan wrote:with wine 1.3.15 they were working
No, they weren't. Wine prior to 1.3.26 was using the 64 bit glib headers, and producing a broken winegstreamer. A patch was added in 1.3.26 to prevent this from happening. In current wine, gstreamer support is disabled if the 32 bit headers are not found.

Note that even if you do have the 32 bit headers installed, you have to use 32 bit pkg-config when running ./configure or it will still pick up the 64 bit headers. http://www.winehq.org/pipermail/wine-de ... 91415.html
Thaodan
Level 2
Level 2
Posts: 10
Joined: Tue Aug 30, 2011 6:13 am

Post by Thaodan »

ok thanks
bubba

(K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by bubba »

http://web.archiveorange.com/archive/v/ ... GfJ2q5lvyM

Exactly where can one get the 32bit gstreamer dev files that will
install on 64 bit ubuntu?

--

and hey, let's be careful out there.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: (K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by dimesio »

bubba wrote: Exactly where can one get the 32bit gstreamer dev files that will
install on 64 bit ubuntu?
Ask your distro.
dardack
Level 3
Level 3
Posts: 98
Joined: Mon Sep 05, 2011 3:24 pm

(K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by dardack »

On Sat, Sep 3, 2011 at 11:49 AM, dimesio <[email protected]> wrote:
Thaodan wrote:
with wine 1.3.15 they were working
No, they weren't. Wine prior to 1.3.26 was using the 64 bit glib headers,
and producing a broken winegstreamer. A patch was added in 1.3.26 to prevent
this from happening. In current wine, gstreamer support is disabled if the
32 bit headers are not found.

Note that even if you do have the 32 bit headers installed, you have to use
32 bit pkg-config when running ./configure or it will still pick up the 64
bit headers.
http://www.winehq.org/pipermail/wine-de ... 91415.html



Ok I read that. I'm still confused. I'm just curious if i have this right:
so on ubuntu the ia32-lib files have the correct gstreamer headers for 32
bit, however, pkg-config isn't picking them up (it picks up the 64bit
headers), so you have to do something special to tell ./configure the 32bit
gstreamer headers are there? Otherwise it says gstreamer support disabled
(this is what I get)?

If my understanding is correct, then how would you get ./configure with
32bit pkg-config to find the 32bit gstreamer headers?



--
Sincerely,

MacNean C. Tyrrell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... hment.html>
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: (K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by dimesio »

dardack wrote: If my understanding is correct, then how would you get ./configure with
32bit pkg-config to find the 32bit gstreamer headers?
On openSUSE I do:

Code: Select all

PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure
dardack
Level 3
Level 3
Posts: 98
Joined: Mon Sep 05, 2011 3:24 pm

(K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by dardack »

On Tue, Sep 6, 2011 at 3:51 PM, dimesio <[email protected]> wrote:
dardack wrote:
If my understanding is correct, then how would you get ./configure with
32bit pkg-config to find the 32bit gstreamer headers?
On openSUSE I do:

Code:
PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure



Hmmm i'll have to try that when I get hope. Did you have to install the
32bit pkgconfig? (Sorry don't know much about openSuse, so not sure if you
have something like ia32-libs, or what.



--
Sincerely,

MacNean C. Tyrrell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... hment.html>
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: (K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by dimesio »

dardack wrote:Hmmm i'll have to try that when I get hope. Did you have to install the
32bit pkgconfig?
Yes; the 64 bit one is located in /usr/lib64 on openSUSE. You'll have to figure out the actual path to 32 bit pkgconfig on your system.
dardack
Level 3
Level 3
Posts: 98
Joined: Mon Sep 05, 2011 3:24 pm

(K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by dardack »

On Tue, Sep 6, 2011 at 5:34 PM, dimesio <[email protected]> wrote:
dardack wrote:
Hmmm i'll have to try that when I get hope. Did you have to install the
32bit pkgconfig?
Yes; the 64 bit one is located in /usr/lib64 on openSUSE. You'll have to
figure out the actual path to 32 bit pkgconfig on your system.



If it's how i think it's in /usr/lib32, but i'll check when i get home. TY
for the info.



--
Sincerely,

MacNean C. Tyrrell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... hment.html>
dardack
Level 3
Level 3
Posts: 98
Joined: Mon Sep 05, 2011 3:24 pm

(K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by dardack »

Sigh I tried:

PKG_CONFIG_PATH=/usr/lib32/pkgconfig ./configure

configure: gstreamer-0.10 base plugins 32-bit development files not found,
gstreamer support disabled


However:

Laptop:/usr/lib32$ ls gstreamer*
gstreamer-0.10:
libgstcoreelements.so libgstcoreindexers.so

gstreamer0.10:
gstreamer-0.10


So I think they are there. Not sure what i'm doing wrong.
On Tue, Sep 6, 2011 at 5:38 PM, MacNean Tyrrell <[email protected]> wrote:

On Tue, Sep 6, 2011 at 5:34 PM, dimesio <[email protected]> wrote:
dardack wrote:
Hmmm i'll have to try that when I get hope. Did you have to install the
32bit pkgconfig?
Yes; the 64 bit one is located in /usr/lib64 on openSUSE. You'll have to
figure out the actual path to 32 bit pkgconfig on your system.



If it's how i think it's in /usr/lib32, but i'll check when i get home. TY
for the info.



--
Sincerely,

MacNean C. Tyrrell

--
Sincerely,

MacNean C. Tyrrell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... hment.html>
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: (K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by dimesio »

dardack wrote:Sigh I tried:

PKG_CONFIG_PATH=/usr/lib32/pkgconfig ./configure

configure: gstreamer-0.10 base plugins 32-bit development files not found,
gstreamer support disabled


However:

Laptop:/usr/lib32$ ls gstreamer*
gstreamer-0.10:
libgstcoreelements.so libgstcoreindexers.so

gstreamer0.10:
gstreamer-0.10
You also need 32 bit glibconfig.h. On openSUSE it's found in /usr/lib/glib-2.0/include.
dardack
Level 3
Level 3
Posts: 98
Joined: Mon Sep 05, 2011 3:24 pm

(K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by dardack »

On Tue, Sep 6, 2011 at 9:28 PM, dimesio <[email protected]> wrote:
dardack wrote:
Sigh I tried:

PKG_CONFIG_PATH=/usr/lib32/pkgconfig ./configure

configure: gstreamer-0.10 base plugins 32-bit development files not
found,
gstreamer support disabled


However:

Laptop:/usr/lib32$ ls gstreamer*
gstreamer-0.10:
libgstcoreelements.so libgstcoreindexers.so

gstreamer0.10:
gstreamer-0.10

You also need 32 bit glibconfig.h. On openSUSE it's found in
/usr/lib/glib-2.0/include.


How do you put this in the path? I tried reading the configure.ac and
makefiles, i jsut got lost, sorry.




--
Sincerely,

MacNean C. Tyrrell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... hment.html>
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: (K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by dimesio »

dardack wrote: How do you put this in the path?
I just used PKG_CONFIG_PATH=/usr/lib/pkgconfig, and pkgconfig just found the 32 bit glibconfig.h. Are you sure you have all the 32 bit development files you need installed?

The post from wine-devel that I linked to earlier said something about multiarch support not being enabled by default in Ubuntu. Maybe you have to do something to enable it, but I don't have a clue what, as I don't use Ubuntu. You might want to ask on the Ubuntu forum.
dardack
Level 3
Level 3
Posts: 98
Joined: Mon Sep 05, 2011 3:24 pm

(K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by dardack »

On Wed, Sep 7, 2011 at 9:29 PM, dimesio <[email protected]> wrote:
dardack wrote:
How do you put this in the path?
I just used PKG_CONFIG_PATH=/usr/lib/pkgconfig, and pkgconfig just found
the 32 bit glibconfig.h. Are you sure you have all the 32 bit development
files you need installed?

The post from wine-devel that I linked to earlier said something about
multiarch support not being enabled by default in Ubuntu. Maybe you have to
do something to enable it, but I don't have a clue what, as I don't use
Ubuntu. You might want to ask on the Ubuntu forum.



Yea i know multiarch I can install on 10.10, it's just not well supported,
and with 11.10 coming doubt they will backport much support for it. Yea I
realized after I sent that email, that the glib is a header not a lib.
Ubuntu only has 32bit libs, not headers. So not sure If i can just extract
the i386 libglib-dev deb file, or have to wait. I guess I don't use
gstramer in wine at this time anyways, just like to get rid of all compiling
errors if i can.


--
Sincerely,

MacNean C. Tyrrell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... hment.html>
henry3
Newbie
Newbie
Posts: 2
Joined: Mon Nov 14, 2011 4:29 am

Re: (K)Ubuntu 11.4 x86_64 compiling wine gstreamer

Post by henry3 »

vitamin wrote:
Thaodan wrote:Since the latest wine builds wine don't finds the gstreamer-dev files.
Make sure you have correct dev files. Gstreamer has separate development files for 32-bit and 64-bit.

I had a similar problem but had the wrong dev files. Phew, thanks man! :o
Locked