Two errors compiling wine-devel

Payam Minoofar payam.minoofar at meissner.com
Thu Sep 3 10:44:30 PDT 2009


On Sep 3, 2009, at 9:27 AM, Ryan Schmidt wrote:

> sudo port install wine +universal
>
> and all dependencies will inherit the variant. But of course wine
> itself doesn't have a universal variant. I don't know what will
> happen. You could try it.

Right you are. I managed to get freetype, the last wine dependency to  
compile and install. This is what happened when I tried to build wine.  
I have included the output from two different commands.

[mac0023329b341a:~] payam% sudo port install wine-devel
--->  Computing dependencies for wine-devel
--->  Configuring wine-devel
--->  Building wine-devel
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_wine 
-devel/work/wine-1.1.28" && /usr/bin/make -j2 depend all " returned  
error 2
Command output:       _X11DRV_SetupGCForPatBlt in graphics.o
       _X11DRV_SetCursor in mouse.o
       _X11DRV_SetCursor in mouse.o
   "_XQueryColor", referenced from:
       _X11DRV_PALETTE_ToLogical in palette.o
       _X11DRV_PALETTE_Init in palette.o
       _X11DRV_PALETTE_Init in palette.o
   "_XQueryColors", referenced from:
       _X11DRV_PALETTE_Init in palette.o
   "_XBell", referenced from:
       _X11DRV_Beep in keyboard.o
   "_XSetWMIconName", referenced from:
       _sync_window_text in window.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
winegcc: /usr/bin/gcc-4.2 failed
make[2]: *** [winex11.drv.so] Error 2
make[1]: *** [winex11.drv] Error 2
make[1]: *** Waiting for unfinished jobs....
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../ 
include  -D__WINESRC__ -D_WINX32_  -fowininet_Pt.res wininet_Pt.rc
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../ 
include  -D__WINESRC__ -D_WINX32_  -fowininet_Ro.res wininet_Ro.rc
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../ 
include  -D__WINESRC__ -D_WINX32_  -fowininet_Ru.res wininet_Ru.rc
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../ 
include  -D__WINESRC__ -D_WINX32_  -fowininet_Si.res wininet_Si.rc
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../ 
include  -D__WINESRC__ -D_WINX32_  -fowininet_Sv.res wininet_Sv.rc
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../ 
include  -D__WINESRC__ -D_WINX32_  -fowininet_Tr.res wininet_Tr.rc
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../ 
include  -D__WINESRC__ -D_WINX32_  -fowininet_Uk.res wininet_Uk.rc
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../ 
include  -D__WINESRC__ -D_WINX32_  -fowininet_Zh.res wininet_Zh.rc
../../tools/winegcc/winegcc -m32 -B../../tools/winebuild -- 
sysroot=../.. -shared ./wininet.spec cookie.o dialogs.o ftp.o gopher.o  
http.o internet.o netconnection.o urlcache.o utility.o  
wininet_main.o    version.res wininet_Bg.res wininet_Cs.res  
wininet_Da.res wininet_De.res wininet_En.res wininet_Eo.res  
wininet_Es.res wininet_Fi.res wininet_Fr.res wininet_Hu.res  
wininet_It.res wininet_Ja.res wininet_Ko.res wininet_Lt.res  
wininet_Nl.res wininet_No.res wininet_Pl.res wininet_Pt.res  
wininet_Ro.res wininet_Ru.res wininet_Si.res wininet_Sv.res  
wininet_Tr.res wininet_Uk.res wininet_Zh.res    -o wininet.dll.so - 
lsecur32 -lcrypt32 -lmpr -lshlwapi -lshell32 -luser32 -ladvapi32 - 
lkernel32 -lntdll -Wb,-dsecur32 -Wb,-dcrypt32 ../../libs/port/ 
libwine_port.a -lz -L/opt/local/lib -framework CoreServices -lz
../../tools/winegcc/winegcc -m32 -B../../tools/winebuild -- 
sysroot=../.. -shared ./wininet.spec cookie.o dialogs.o ftp.o gopher.o  
http.o internet.o netconnection.o urlcache.o utility.o  
wininet_main.o    version.res wininet_Bg.res wininet_Cs.res  
wininet_Da.res wininet_De.res wininet_En.res wininet_Eo.res  
wininet_Es.res wininet_Fi.res wininet_Fr.res wininet_Hu.res  
wininet_It.res wininet_Ja.res wininet_Ko.res wininet_Lt.res  
wininet_Nl.res wininet_No.res wininet_Pl.res wininet_Pt.res  
wininet_Ro.res wininet_Ru.res wininet_Si.res wininet_Sv.res  
wininet_Tr.res wininet_Uk.res wininet_Zh.res    -o wininet.dll.fake - 
lsecur32 -lcrypt32 -lmpr -lshlwapi -lshell32 -luser32 -ladvapi32 - 
lkernel32 -lntdll -Wb,-dsecur32 -Wb,-dcrypt32 ../../libs/port/ 
libwine_port.a -lz -L/opt/local/lib -framework CoreServices -lz
make: *** [dlls] Error 2

Error: Status 1 encountered during processing.



And then:

[mac0023329b341a:~] payam% sudo port install wine-devel +universal
Password:
--->  Computing dependencies for wine-devel
--->  Building wine-devel
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_wine 
-devel/work/wine-1.1.28" && /usr/bin/make -j2 depend all " returned  
error 2
Command output: ../../../tools/makedep -xo -xcross.o -C. -S../../.. - 
T../../..  editor.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
cstub.c generated.c ndr_marshall.c rpc.c rpc_async.c rpc_protseq.c  
server.c      server.idl   server.idl server_c.c   server_s.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..  rsaenh.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..  main.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..  main.c  
ntlm.c schannel.c secur32.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
confdlg.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
devinst.c install.c misc.c parser.c query.c stringtable.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
intshcut.c shdocvw.c shortcut.c webbrowser.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
appbar.c autocomplete.c generated.c shelllink.c shellpath.c  
shfldr_special.c shlexec.c shlfileop.c shlfolder.c string.c systray.c   
rsrc.rc
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
assoc.c clist.c clsid.c generated.c istream.c ordinal.c path.c shreg.c  
string.c url.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..  util.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
spoolss.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..  dsm.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
generated.c misc.c protocol.c sec_mgr.c stream.c url.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
broadcast.c class.c clipboard.c combo.c cursoricon.c dce.c dde.c  
dialog.c edit.c generated.c input.c listbox.c menu.c monitor.c msg.c  
resource.c scroll.c static.c sysparams.c text.c win.c winstation.c  
wsprintf.c  resource.rc
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
userenv.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..  usp10.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..  system.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..  info.c  
install.c  version.rc
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
bmpformat.c converter.c palette.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
notification.c url.c winhttp.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..  ftp.c  
generated.c http.c internet.c url.c urlcache.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
capture.c mci.c mixer.c mmio.c timer.c wave.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..  info.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
context.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..  asn.c  
crypt.c register.c softpub.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..  parse.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..   
protocol.c sock.c
../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../..  xinput.c
../tools/makedep  -C. -S.. -T..

Error: Status 1 encountered during processing.







More information about the macports-users mailing list