Re: Make OS2 Binaries ?

Jeff Freedman (jsf@hevanet.com)
Mon, 03 Nov 1997 10:00:43 -0800

Stefan Knodt wrote:
>
> Can anybody tell me what tools are needed to make the binaries for OS2 ?

You can get pre-build binaries from hobbes.nmsu.edu. The file is
"sane661.zip", and is either in "/pub/incoming" or
"/pub/os2/apps/graphics/scan".

To build it yourself, you need quite a lot of stuff (also on Hobbes):
1. EMX GCC v. 09c or higher.
2. All the various GNU utilities, including make.
3. KSH.

You also have to do some things to make your system look UNIXy:
1. The tools and build dir. should be in the same partition.
2. Make a "/usr/bin" directory, and copy ksh.exe to sh.exe
there (so the shell scripts are all happy).
3. Create a fake "ln" shell script that just does a copy, and
that strips out the '-s' option.

You should then be able to run the "configure" script, using the
"configure.os2" script. I still get an error about "cmp" not being
found, but it doesn't seem to matter.

Finally, there's one config. item that I haven't automated: In the
"Makefile" in "frontend", you have to change the executable name
"scanimage" to "scanimage.exe" in a couple of places. (Feel free to fix
this in configure.in if you get this far :-).)

Let me know if I've forgotten anything.

-- Jeff

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com