Problem compiling Wine with Freetype on Ubuntu Hardy 64

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ethnopunk
Level 2
Level 2
Posts: 12
Joined: Wed Jun 03, 2009 3:38 pm

Problem compiling Wine with Freetype on Ubuntu Hardy 64

Post by ethnopunk »

I have a problem compiling Wine with Freetype. Not sure what to do:

dpkg -i wine*.deb

Code:

checking for freetype-config... freetype-config
checking for -lfreetype... not found
configure: error: FreeType development files not found.
Fonts will not be built. Dialog text may be invisible or unaligned.
Use the --without-freetype option if you really want this.
make: *** [config.status] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Build command 'cd wine-1.0.0 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
afrodeity@afrodeity-desktop:~/wine-1.0.0$

But Freetype is installed:

afrodeity@afrodeity-desktop:~$ dpkg -l "*freetype*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
un freetype <none> (no description available)
un freetype0 <none> (no description available)
un freetype0-dev <none> (no description available)
un freetype1 <none> (no description available)
un freetype1-dev <none> (no description available)
ii libfreetype6 2.3.5-1ubuntu4 FreeType 2 font engine, shared library files
ii libfreetype6-d 2.3.5-1ubuntu4 FreeType 2 font engine, development files
afrodeity@afrodeity-desktop:~$
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Problem compiling Wine with Freetype on Ubuntu Hardy 64

Post by austin987 »

On Thu, Jun 4, 2009 at 2:02 PM, ethnopunk <[email protected]> wrote:
I have a problem compiling Wine with Freetype. Not sure what to do:

dpkg -i wine*.deb

Code:

checking for freetype-config... freetype-config
checking for -lfreetype... not found
configure: error: FreeType development files not found.
Fonts will not be built. Dialog text may be invisible or unaligned.
Use the --without-freetype option if you really want this.
make: *** [config.status] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Build command 'cd wine-1.0.0 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
afrodeity@afrodeity-desktop:~/wine-1.0.0$
http://wiki.winehq.org/Recommended_Packages

--
-Austin
ethnopunk
Level 2
Level 2
Posts: 12
Joined: Wed Jun 03, 2009 3:38 pm

Post by ethnopunk »

You mean http://wiki.winehq.org/WineOn64bit

./configure

checking for i586-mingw32msvc-gcc... no
checking for i386-mingw32msvc-gcc... no
checking for i686-mingw32-gcc... no
checking for i586-mingw32-gcc... no
checking for i386-mingw32-gcc... no
checking for mingw32-gcc... no
checking for mingw-gcc... no
checking for i586-mingw32msvc-dlltool... no
checking for i386-mingw32msvc-dlltool... no
checking for i686-mingw32-dlltool... no
checking for i586-mingw32-dlltool... no
checking for i386-mingw32-dlltool... no
checking for mingw32-dlltool... no
checking for mingw-dlltool... no
checking for i586-mingw32msvc-windres... no
checking for i386-mingw32msvc-windres... no
checking for i686-mingw32-windres... no
checking for i586-mingw32-windres... no
checking for i386-mingw32-windres... no
checking for mingw32-windres... no
checking for mingw-windres... no
checking for i586-mingw32msvc-ar... no
checking for i386-mingw32msvc-ar... no
checking for i686-mingw32-ar... no
checking for i586-mingw32-ar... no
checking for i386-mingw32-ar... no
checking for mingw32-ar... no
checking for mingw-ar... no
checking for -lX11... not found
checking for -lXext... not found
checking for X11/Xlib.h... yes
checking for X11/XKBlib.h... yes
checking for X11/Xutil.h... yes
checking for X11/Xcursor/Xcursor.h... yes
checking for X11/extensions/shape.h... yes
checking for X11/extensions/XInput.h... yes
checking for X11/extensions/XShm.h... yes
checking for X11/extensions/Xcomposite.h... yes
checking for X11/extensions/Xinerama.h... yes
checking for X11/extensions/Xrandr.h... yes
checking for X11/extensions/Xrender.h... yes
checking for X11/extensions/xf86vmode.h... yes
checking for XkbQueryExtension in -lX11... no
checking for -lXcursor... not found
checking for -lXi... not found
checking for XShmQueryExtension in -lXext... no
checking for XShapeQueryExtension in -lXext... no
checking for XF86VidModeQueryExtension in -lXxf86vm... no
checking for -lXinerama... not found
checking for -lXcomposite... not found
checking for XICCallback.callback... yes
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking for GL/glext.h... yes
checking for GL/glu.h... yes
checking for up-to-date OpenGL version... yes
checking for -lGL... not found
checking for -lGL... not found
checking for -lGLU... not found
checking audio/audiolib.h usability... yes
checking audio/audiolib.h presence... yes
checking for audio/audiolib.h... yes
checking for audio/soundlib.h... yes
checking for AuCreateFlow in -laudio... no
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
checking for xmlParseMemory in -lxml2... no
checking for xmlReadMemory in -lxml2... no
checking for xmlNewDocPI in -lxml2... no
checking for libxslt/pattern.h... yes
checking for libxslt/transform.h... yes
checking for xsltCompilePattern in -lxslt... no
checking dbus/dbus.h usability... yes
checking dbus/dbus.h presence... yes
checking for dbus/dbus.h... yes
checking hal/libhal.h usability... yes
checking hal/libhal.h presence... yes
checking for hal/libhal.h... yes
checking for dbus_connection_close in -ldbus-1... no
checking for -lncurses... libncurses.so.5
checking for mousemask... yes
checking for sane-config... sane-config
checking sane/sane.h usability... yes
checking sane/sane.h presence... yes
checking for sane/sane.h... yes
checking for -lsane... not found
checking for gphoto2-config... gphoto2-config
checking for gphoto2-port-config... gphoto2-port-config
checking gphoto2-camera.h usability... yes
checking gphoto2-camera.h presence... yes
checking for gphoto2-camera.h... yes
checking for gp_camera_new in -lgphoto2... no
checking for res_query in -lresolv... yes
checking for cmsOpenProfileFromFile in -llcms... no
checking for ldap_initialize in -lldap_r... no
checking for ldap_count_references... no
checking for ldap_first_reference... no
checking for ldap_next_reference... no
checking for ldap_parse_reference... no
checking for ldap_parse_sort_control... no
checking for ldap_parse_sortresponse_control... no
checking for ldap_parse_vlv_control... no
checking for ldap_parse_vlvresponse_control... no
checking for freetype-config... freetype-config
checking for -lfreetype... not found
configure: error: FreeType development files not found.
Fonts will not be built. Dialog text may be invisible or unaligned.
Use the --without-freetype option if you really want this.

./configure --enable-maintainer-mode
gives the same output.

I have also followed instructions at http://wiki.winehq.org/WineOn64bit#Building Wine on Ubuntu / Kubuntu 8.04 (Hardy Heron)

by manually creating symobolic links as per the list, but still the same problem. Freetype development files not found. What to do?
User avatar
Daemon
Level 4
Level 4
Posts: 101
Joined: Wed Nov 12, 2008 2:24 pm

Re: Problem compiling Wine with Freetype on Ubuntu Hardy 64

Post by Daemon »

It's a pain in da but, so do --without-freetype you'll still have fonts despite what it says. Check the other ./configure --help options for stuff you do/don't want built in. --disable-tests will cut down on the build time. Try the newer version 1.1.22 also...
ethnopunk
Level 2
Level 2
Posts: 12
Joined: Wed Jun 03, 2009 3:38 pm

Post by ethnopunk »

Did a configure with --without-freetype. All good and well. It then asked me to make dep && make, fine with me. I have now done a make install, and it is taking forever. How long is this supposed to last, or is it a runaway process?
ethnopunk
Level 2
Level 2
Posts: 12
Joined: Wed Jun 03, 2009 3:38 pm

Post by ethnopunk »

/usr/bin/ld: skipping incompatible /usr/lib/libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/lib/libXext.a when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../libXext.a when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libXext.a when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/lib/libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/lib/libXext.a when searching for -lXext
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [winex11.drv.so] Error 2
make[2]: Leaving directory `/home/afrodeity/wine-1.0.0/dlls/winex11.drv'
make[1]: *** [winex11.drv/__install-lib__] Error 2
make[1]: Leaving directory `/home/afrodeity/wine-1.0.0/dlls'
make: *** [dlls/__install-lib__] Error 2
ethnopunk
Level 2
Level 2
Posts: 12
Joined: Wed Jun 03, 2009 3:38 pm

Post by ethnopunk »

This thread is not solved. If you think it is, then check this out http://forum.winehq.org/viewtopic.php?t=5175&highlight=
Locked