Re: Compiling slrn under minGW32
andrew <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Aug 30, 2008 at 11:48:15AM -0400, John E. Davis wrote: > andrew <[email protected]> wrote: > > slsh win32/subst.sl win32/slrnfeat.def slrnfeat.hin slrnfeat.h > > require is undefined > > .\win32\subst.sl:5:<top-level>:Undefined Name > > This indicates an slsh/slang install problem. If you run slsh using > `slsh -v', what do you see? Do you have other slsh or slang variables > set in your environment? When I set slsh correctly in the environment it starts as expected but complains that it cannot find slsh.rc although this is correctly installed in the default $CONFDIR. But I suspect I see a problem: > If you look at the top-level makefile that m32init.bat creates, you > will see that it contains two variables: > #v+ > PREFIX = /mingw/local > CONFDIR = /mingw/local/etc > #v- > > This means that slsh will get installed under /mingw/local/bin, and > the slsh library files (require, cmdopt, etc) will get placed under > /mingw/local/share/slsh/, which is where slsh will look for its > library files. Also when slsh starts up, it will read slsh.rc from > the CONFDIR location, and then load other files from there. My copy of mingw is actually installed under 'MinGW' rather than 'mingw'. I left the installation directories as quoted above believing that under windows the case did not matter. So is slsh actually looking for /mingw/local/etc/slsh.rc and choking on /MinGW/local/etc/slsh.rc? When I am allowed back on my wife's computer I shall try this and if this fails I will retire to 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=/