Re: Compiling slrn under minGW32

andrew <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
On Sat, Aug 30, 2008 at 12:50:14PM +0200, Thomas Wiegner wrote:
> * Andrew Strong ([email protected]) wrote [Sat, 080830 20:33]:

> Are you using a dosbox or an msys-term? Then perhaps these lines
> should be interesting for you
> 
> #v+
> #-----------------------------------------------------------------------------
> #   Misc Programs
> #-----------------------------------------------------------------------------
> CP = copy
> RM = del
> RMDIR = rmdir /s /q
> #v-

I am not sure how to categorise the Terminal except that it is
whatever is default with windows xp; but the commands above all work
with it.

> On windows slrnfeat.h and config.h are generated by this two lines:
> 
> #v+
> config.h: slrnconf.h
>         $(CP) slrnconf.h config.h
> slrnfeat.h: win32/slrnfeat.def slrnfeat.hin
>         $(SLSH) win32/subst.sl win32/slrnfeat.def slrnfeat.hin slrnfeat.h
> #v-
> 
> Does the Makefile find the slangshell? Is slsh.exe in your
> searchpath?

In fact slsh.exe despite being installed was not in my searchpath, but
it is now. I am not sure how to tell if the Makefile can find the
slangshell? Now config.h is generated but not slrnfeat.h. The error
message is:

#v+
C:\slrn_source\slrn\src>mingw32-make -f Makefile.g32
copy slrnconf.h config.h

        1 file(s) copied.

slsh win32/subst.sl win32/slrnfeat.def slrnfeat.hin slrnfeat.h
require is undefined
.\win32\subst.sl:5:<top-level>:Undefined Name

mingw32-make: *** [slrnfeat.h] Error 38
#v-

I presume this points to a problem with my slsh / slang install as
these:

require ("cmdopt");
require ("readascii");

cannot be found. Things are so much easier in Linux :-).

  Andrew

-- 
Do you think that's air your breathing now?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
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.