Re: mingw32 build (was Re: slrn 0.9.9 release plans)

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]>]
> The problem is that `home' is NULL instead of a string.  How are you
> setting `home'?  Via getenv("HOME")?  If so, does "HOME" exist in the
> environment?

Yes, you are right, I have patched version, that, I suppose, doesn't need to
set it, and I forgot about that.

I looked for it and found a set of patches, which were used by people who
maintained slrn-pl few years ago.
I put them here:
http://www.totn.republika.pl/slrn/patches_slrnpl_win32.rar
Second site with few patches is here:
http://bacza.webpark.pl/

I don't know if any of them would be useful, but I would be gracious for
including slrn-0.9.8.1-group_query_mode.patch, it's very useful for me :)

> I will look into it.  In the mean time, perhaps you can explore this.
> You will have to modify the makefile to link to the iconv library, and
> put
>
>    #define HAVE_ICONV  1
>
> in the src/slrnconf.h file then recompile.

/usr/bin/i586-mingw32msvc-gcc 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 gw32objs/post.o
gw32objs/print.o gw32objs/ranges.o gw32objs/score.o gw32objs/server.o
gw32objs/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 -L/home/zygzak/slangwin/src/gw32objs -lslang
-lwsock32 -lwinspool 
gw32objs/charset.o:charset.c:(.text+0x1cf): undefined reference to `_libiconv' 
gw32objs/charset.o:charset.c:(.text+0x2d2): undefined reference to `_libiconv_open'
gw32objs/charset.o:charset.c:(.text+0x2ff): undefined reference to `_libiconv_close'
gw32objs/charset.o:charset.c:(.text+0x5f7): undefined reference to `_libiconv_open'
gw32objs/charset.o:charset.c:(.text+0x625): undefined reference to `_libiconv_close'
gw32objs/charset.o:charset.c:(.text+0x6b4): undefined reference to `_libiconv_open'
collect2: ld returned 1 exit status make: *** [slrn.exe]
Error 1

But i don't even know if i used right files and in right way modified
makefile...

> From within slrn, press Ctrl-X ESC.  You should see a "S-Lang>"
> prompt.  At the prompt, enter:
>
>    vmessage("%d", _slang_utf8_ok);
>
> If 1 is displayed, then slang is in UTF-8 mode.

I got 0 :(

Marcin Wiśniewski
-- 
An extract from the "Great book of Translation":
"Please, kill me! - Pomóżcie mi!" (TVN, Aliens)
Music: Nirvana - 13 Heartbreaker Jam [1993]


-------------------------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.