Re: Compiling slrn under minGW32
"John E. Davis" <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
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 you installed slang, did you specify where you wanted it to go. The INSTALL.pc file in the slang distribution says: #v+ For example, from a CMD window, a mingw32 version may be built and installed using a simple 3-step process: 1. C:\path\to\slang> mkfiles\m32init.bat 2. C:\path\to\slang> mingw32-make 3. C:\path\to\slang> mingw32-make install The first step will generate makefiles for mingw32. In particular, it will create a top-level makefile that contains the locations where the library and its components will get installed. Before, going on to step 2, it is a good idea to look at the makefile and edit it if necessary. #v- 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. I hope this helps. Thanks, --John ------------------------------------------------------------------------- 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=/