Re: getting started with Winelib
Okay, I got it to compile by manipulating the Makefile.in (kicking some *.rc files). But the executable segfaults: [juenglin(a)alpspitze winemine]$ make sed -e 's,@bindir\@,/usr/local/bin,g' -e 's,@winelibdir\@,.,g' ./wineapploader.in >wineapploader || rm -f wineapploader LD_LIBRARY_PATH="/local/lib:$LD_LIBRARY_PATH" /local/bin/wrc -I. -I/local/include/wine/windows -o rsrc.res rsrc.rc gcc -c -I. -I/local/include/wine/windows -g -O2 -fPIC -D_REENTRANT -o dialog.o dialog.c gcc -c -I. -I/local/include/wine/windows -g -O2 -fPIC -D_REENTRANT -o main.o main.c gcc -c -I. -I/local/include/wine/windows -g -O2 -fPIC -D_REENTRANT -o winemine.exe.dbg.o winemine.exe.dbg.c LD_LIBRARY_PATH="/local/lib:$LD_LIBRARY_PATH" /local/bin/winebuild -fPIC -o winemine.exe.spec.c --exe winemine.exe -mgui rsrc.res dialog.o main.o winemine.exe.dbg.o -L/local/lib/wine -L/local/lib/wine -ladvapi32 -lcomdlg32 -lgdi32 -lkernel32 -lodbc32 -lole32 -loleaut32 -lshell32 -luser32 -lwinspool gcc -c -I. -I/local/include/wine/windows -g -O2 -fPIC -D_REENTRANT -o winemine.exe.spec.o winemine.exe.spec.c gcc -shared -Wl,-Bsymbolic -o winemine.exe.so dialog.o main.o winemine.exe.dbg.o winemine.exe.spec.o -L/local/lib -lwine -lwine_unicode -lwine_uuid -lm test -f winemine || install wineapploader winemine [juenglin(a)alpspitze winemine]$ winemine Segmentation fault Might this be a configuration problem, or is something broken in Winelib? Since I have no root account, I had to skip the invocation of /sbin/ldconfig when installing wine-20031016. So I set LD_LIBRARY_PATH to /local/lib:/local/lib/wine. Any help appreciated, Ralf On Mon, 2003-10-27 at 18:23, Ralf Juengling wrote:
On Mon, 2003-10-27 at 13:09, Alexandre Julliard wrote:
Ralf Juengling <juenglin(a)cse.ogi.edu> writes:
So there is nothing I can do about it at the moment? What is the most recent Wine version in which winemaker used to work?
The previous release should work. Or try this patch:
Index: tools/winemaker =================================================================== RCS file: /opt/cvs-commit/wine/tools/winemaker,v retrieving revision 1.65 diff -u -p -r1.65 winemaker --- tools/winemaker 5 Aug 2003 18:31:32 -0000 1.65 +++ tools/winemaker 27 Oct 2003 21:07:38 -0000 @@ -2769,14 +2769,10 @@ then WINE_DLL_ROOT="/lib:/lib/wine:/usr/lib:/usr/lib/wine:/usr/local/lib:/usr/local/lib/wine" fi fi -AC_PATH_FILE(WINE_DLL_ROOT,[libntdll.dll.so],[ - AC_MSG_ERROR([Could not find the Wine dlls (libntdll.dll.so)]) +AC_PATH_FILE(WINE_DLL_ROOT,[libntdll.def],[ + AC_MSG_ERROR([Could not find the Wine dlls (libntdll.def)]) ],[$WINE_DLL_ROOT]) - -AC_PATH_LIBRARY(WINE_DLL_ROOT,[-lntdll.dll],[$WINE_LIBRARY_PATH -lwine -lwine_unicode],[ - AC_MSG_ERROR([Could not link with the Wine dlls (libntdll.dll.so)]) -],[$WINE_DLL_ROOT]) -WINE_DLL_PATH="-L$WINE_DLL_ROOT/wine" +WINE_DLL_PATH="-L$WINE_DLL_ROOT"
if test -z "$WINE_TOOL_PATH" then
Thanks, together with the patch
--- /local/downloads/wine-20031016/tools/winemaker 2003-10-27 18:02:41.000000000 -0800 +++ /local/bin/winemaker 2003-10-27 18:14:22.000000000 -0800 @@ -2635,7 +2635,7 @@ WINE_UNICODE_ROOT="$WINE_ROOT:$WINE_ROOT/lib:$WINE_ROOT/unicode" WINE_UUID_ROOT="$WINE_ROOT:$WINE_ROOT/lib:$WINE_ROOT/ole"
WINE_TOOL_PATH="$WINE_ROOT:$WINE_ROOT/bin:$WINE_ROOT/tools/wrc:$WINE_ROOT/tools/winebuild" - WINE_DLL_ROOT="$WINE_ROOT/dlls:$WINE_ROOT/lib" + WINE_DLL_ROOT="$WINE_ROOT/dlls:$WINE_ROOT/lib:$WINE_ROOT/lib/wine" fi
AC_ARG_WITH(wine-includes,
the generated configure script does its job without errors. Now I the following error from make:
[juenglin(a)alpspitze winemine]$ make sed -e 's,@bindir\@,/usr/local/bin,g' -e 's,@winelibdir\@,.,g' ./wineapploader.in >wineapploader || rm -f wineapploader LD_LIBRARY_PATH="/local/lib:$LD_LIBRARY_PATH" /local/bin/wrc -I. -I/local/include/wine/windows -o En.res En.rc En.rc:23:22: Error: parse error make: *** [En.res] Error 1
-- Ralf Juengling <juenglin(a)cse.ogi.edu>
participants (1)
-
Ralf Juengling