Re: slrn 0.9.9 release plans (was Re: score-color patch and 0.99x slrn)
Marcin Wiśniewski <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Organization | not interested / Solipsist Nation |
| Message-ID | <[email protected]> |
[*John E. Davis*,([email protected])] [<[email protected]>] > Does it run? Yes, it shows prompt, and $(SLSH) win32/subst.sl in makefile.g32 works. > As I recall, the windows-specific makefile has no > install target, mainly because I am not familiar with windows at that > level, and others create windows-specific binaries (e.g., > <http://www.paneura.com/~dino/wjed.html>). > > The reason I ask, is that you will need slsh to be installed to build > the current development version of slrn. When I find time, I plan to > integrate slrn into my nightly builds, where I also cross-compile > using mingw32. But that is done on a Unix system and is no substitute > for a proper windows build. I am more than willing to accept > patches for a windows-specific install target. Sorry, i'm not a programmer and my knowledge about Windows is very, very limited. But I can say that, from my and Thomas Wiegner's tries, unicode in Windows console works very strange. Also, all newest builds have problems with good showing polish chars in console (or, possibly I can't set it up good). >> There are problems with linking, but i don't know if its not a problem of >> msys w32api (i used w32api-3.10). >> >> http://totn.republika.pl/slrn/slrnmsyserr.txt >> >> Mingw32 makefile - I can't properly add paths for slang.h >> Why old >> SLANG_INC = ../../slang/src# Location of slang.h >> SLANG_LIB = ../../slang/src/gw32objs# >> doesn't work? > > You may need to compile using -DSLANG_DLL=1. As I recall, a dll gets > build under windows, whereas the above assumes a static link. My mistake, I tried once more (with good paths) and it stops on: copy win32/slrnfeat.h . ( in makefile: slrnfeat.h: win32/slrnfeat.h $(CP) win32/slrnfeat.h .) saying that syntax of command is wrong. I copied it manually. Then it gives exactly same error as when compiled with msys: d:\sbin\source\mingw\bin\gcc.exe gw32objs/art.o gw32objs/art_misc.o gw32objs/art_ sort.o gw32objs/charset.o gw32objs/decode.o gw32objs/editscore.o gw32objs/group.o gw32objs/grplens.o gw32objs/hash.o gw32objs/hdrutils.o gw32objs/help.o gw32objs/ hooks.o gw32objs/interp.o gw32objs/menu.o gw32objs/mime.o gw32objs/misc.o gw32obj s/post.o gw32objs/print.o gw32objs/ranges.o gw32objs/score.o gw32objs/server.o gw 32objs/slrn.o gw32objs/slrndir.o gw32objs/snprintf.o gw32objs/sortdate.o gw32objs /startup.o gw32objs/strutil.o gw32objs/ttymsg.o gw32objs/util.o gw32objs/version. o gw32objs/vfile.o gw32objs/xover.o -o slrn.exe -Wl,--subsystem,console -LD:\sbin \source\Subversion\bin\slang\src\gw32objs -Wl,-R,D:\sbin\source\Subversion\bin\sl ang\src\gw32objs -lslang -lwsock32 -lwinspool Info: resolving _SLtt_Screen_Rows by linking to __imp__SLtt_Screen_Rows (auto-imp ort) Info: resolving _SLtt_Term_Cannot_Scroll by linking to __imp__SLtt_Term_Cannot_Sc roll (auto-import) Info: resolving _SL_UserBreak_Error by linking to __imp__SL_UserBreak_Error (auto -import) Info: resolving _SLang_Last_Key_Char by linking to __imp__SLang_Last_Key_Char (au to-import) Info: resolving _SLKeyBoard_Quit by linking to __imp__SLKeyBoard_Quit (auto-impor t) Info: resolving _SLtt_Screen_Cols by linking to __imp__SLtt_Screen_Cols (auto-imp ort) And so on when used 'all' parameter with make, but it produces a binary! With 'slrn' parameter it stops on: D:\sbin\source\Subversion\bin\slrn-pre0.9.9\src> d:\sbin\source\MinGW\bin\mingw32 -make.exe -f Makefile.t32 slrn d:\sbin\source\mingw\bin\gcc.exe -O2 -fno-strength-reduce -W -Wall -ID:\sbin\sour ce\Subversion\bin\slang\src -Wl,--subsystem,console slrn.c -o slrn slrn.c:137: error: `SLRN_SERVER_ID_NNTP' undeclared here (not in a function) slrn.c:138: error: `SLRN_POST_ID_NNTP' undeclared here (not in a function) slrn.c: In function `main_init_and_parse_args': slrn.c:1173: error: `SLRN_CONF_DIR' undeclared (first use in this function) slrn.c:1173: error: (Each undeclared identifier is reported only once slrn.c:1173: error: for each function it appears in.) mingw32-make: *** [slrn] Error 1 Marcin Wiśniewski -- Whenever you find that you are on the side of the majority, it is time to reform -- Mark Twain Music: Cult of Luna - 06 Dim [2006] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/